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 CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB ENABLE_BUILD_WITH_CXX ACLOCAL AUTOCONF AUTOHEADER warn c_warn WARN_PEDANTIC WERROR am__leading_dot DEPDIR CCDEPMODE CXXDEPMODE CPP EGREP CXXCPP 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_CXX_set
=${CXX+set}
773 ac_env_CXX_value
=$CXX
774 ac_cv_env_CXX_set
=${CXX+set}
775 ac_cv_env_CXX_value
=$CXX
776 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
777 ac_env_CXXFLAGS_value
=$CXXFLAGS
778 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
779 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
780 ac_env_CPP_set
=${CPP+set}
781 ac_env_CPP_value
=$CPP
782 ac_cv_env_CPP_set
=${CPP+set}
783 ac_cv_env_CPP_value
=$CPP
784 ac_env_CXXCPP_set
=${CXXCPP+set}
785 ac_env_CXXCPP_value
=$CXXCPP
786 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value
=$CXXCPP
790 # Report the --help message.
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
796 \`configure' configures cpplib to adapt to many kinds of systems.
798 Usage: $0 [OPTION]... [VAR=VALUE]...
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
803 Defaults for the options are specified in brackets.
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
830 For better control, use the options below.
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
850 --build=BUILD configure
for building on BUILD
[guessed
]
851 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
852 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
856 if test -n "$ac_init_help"; then
857 case $ac_init_help in
858 short | recursive
) echo "Configuration of cpplib :";;
863 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
864 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
865 --enable-build-with-cxx build with C
++ compiler instead of C compiler
866 --enable-werror-always enable -Werror despite compiler version
867 --disable-rpath do not hardcode runtime library paths
868 --enable-maintainer-mode enable rules only needed by maintainers
869 --enable-checking enable expensive run-time checks
872 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
873 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
874 --with-gnu-ld assume the C compiler uses GNU ld default
=no
875 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
876 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
878 Some influential environment variables:
879 CC C compiler command
880 CFLAGS C compiler flags
881 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
882 nonstandard directory <lib dir>
883 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
884 headers in a nonstandard directory <include dir>
885 CXX C++ compiler command
886 CXXFLAGS C++ compiler flags
888 CXXCPP C++ preprocessor
890 Use these variables to override the choices made by `configure' or to
help
891 it to
find libraries and programs with nonstandard names
/locations.
893 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
897 if test "$ac_init_help" = "recursive"; then
898 # If there are subdirs, report their specific --help.
900 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
901 test -d $ac_dir ||
continue
904 if test "$ac_dir" != .
; then
905 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906 # A "../" for each directory in $ac_dir_suffix.
907 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
909 ac_dir_suffix
= ac_top_builddir
=
913 .
) # No --srcdir option. We are building in place.
915 if test -z "$ac_top_builddir"; then
918 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
920 [\\/]* | ?
:[\\/]* ) # Absolute path.
921 ac_srcdir
=$srcdir$ac_dir_suffix;
922 ac_top_srcdir
=$srcdir ;;
924 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
925 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
928 # Do not use `cd foo && pwd` to compute absolute paths, because
929 # the directories may not exist.
931 .
) ac_abs_builddir
="$ac_dir";;
934 .
) ac_abs_builddir
=`pwd`;;
935 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
936 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
939 case $ac_abs_builddir in
940 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
942 case ${ac_top_builddir}.
in
943 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
944 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
945 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
948 case $ac_abs_builddir in
949 .
) ac_abs_srcdir
=$ac_srcdir;;
952 .
) ac_abs_srcdir
=$ac_abs_builddir;;
953 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
954 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
957 case $ac_abs_builddir in
958 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
960 case $ac_top_srcdir in
961 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
962 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
963 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
968 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu
; then
971 $SHELL $ac_srcdir/configure.gnu
--help=recursive
972 elif test -f $ac_srcdir/configure
; then
974 $SHELL $ac_srcdir/configure
--help=recursive
975 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.
in; then
980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
986 test -n "$ac_init_help" && exit 0
987 if $ac_init_version; then
990 generated by GNU Autoconf
2.59
992 Copyright
(C
) 2003 Free Software Foundation
, Inc.
993 This configure
script is free software
; the Free Software Foundation
994 gives unlimited permission to copy
, distribute and modify it.
1000 This file contains any messages produced by compilers while
1001 running configure, to aid debugging if configure makes a mistake.
1003 It was created by cpplib $as_me , which was
1004 generated by GNU Autoconf 2.59. Invocation command line was
1015 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1016 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1017 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1018 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1019 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1021 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1022 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1024 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1025 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1026 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1027 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1028 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1029 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1030 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1038 test -z "$as_dir" && as_dir
=.
1039 echo "PATH: $as_dir"
1054 # Keep a trace of the command line.
1055 # Strip out --no-create and --no-recursion so they do not pile up.
1056 # Strip out --silent because we don't want to record it for future runs.
1057 # Also quote any args containing shell meta-characters.
1058 # Make two passes to allow for proper duplicate-argument suppression.
1063 ac_must_keep_next
=false
1069 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1073 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1074 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1077 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1079 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1080 if test $ac_must_keep_next = true
; then
1081 ac_must_keep_next
=false
# Got value, back to normal.
1084 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1085 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1086 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1087 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1088 case "$ac_configure_args0 " in
1089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1092 -* ) ac_must_keep_next
=true
;;
1095 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1096 # Get rid of the leading space.
1102 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1103 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1105 # When interrupted or exit'd, cleanup temporary files, and complete
1106 # config.log. We remove comments because anyway the quotes in there
1107 # would cause problems or look ugly.
1108 # WARNING: Be sure not to use single quotes in there, as some shells,
1109 # such as our DU 5.0 friend, will then `close' the trap.
1110 trap 'exit_status=$?
1111 # Save into config.log some information that might help in debugging.
1116 ## ---------------- ##
1117 ## Cache variables. ##
1118 ## ---------------- ##
1121 # The following way of writing the cache mishandles newlines in values,
1124 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1127 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1132 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1139 ## ----------------- ##
1140 ## Output variables. ##
1141 ## ----------------- ##
1144 for ac_var in $ac_subst_vars
1146 eval ac_val=$`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -n "$ac_subst_files"; then
1158 for ac_var in $ac_subst_files
1160 eval ac_val=$`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1166 if test -s confdefs.h; then
1173 sed "/^$/d" confdefs.h | sort
1176 test "$ac_signal" != 0 &&
1177 echo "$as_me: caught signal $ac_signal"
1178 echo "$as_me: exit $exit_status"
1180 rm -f core *.core &&
1181 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1184 for ac_signal
in 1 2 13 15; do
1185 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1189 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1190 rm -rf conftest
* confdefs.h
1191 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1194 # Predefined preprocessor variables.
1196 cat >>confdefs.h
<<_ACEOF
1197 #define PACKAGE_NAME "$PACKAGE_NAME"
1201 cat >>confdefs.h
<<_ACEOF
1202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1206 cat >>confdefs.h
<<_ACEOF
1207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1211 cat >>confdefs.h
<<_ACEOF
1212 #define PACKAGE_STRING "$PACKAGE_STRING"
1216 cat >>confdefs.h
<<_ACEOF
1217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1221 # Let the site file select an alternate cache file if it wants to.
1222 # Prefer explicitly selected file to automatically selected ones.
1223 if test -z "$CONFIG_SITE"; then
1224 if test "x$prefix" != xNONE
; then
1225 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1227 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1230 for ac_site_file
in $CONFIG_SITE; do
1231 if test -r "$ac_site_file"; then
1232 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1233 echo "$as_me: loading site script $ac_site_file" >&6;}
1234 sed 's/^/| /' "$ac_site_file" >&5
1239 if test -r "$cache_file"; then
1240 # Some versions of bash will fail to source /dev/null (special
1241 # files actually), so we avoid doing that.
1242 if test -f "$cache_file"; then
1243 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1244 echo "$as_me: loading cache $cache_file" >&6;}
1246 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1247 *) . .
/$cache_file;;
1251 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1252 echo "$as_me: creating cache $cache_file" >&6;}
1256 # Check that the precious variables saved in the cache have kept the same
1258 ac_cache_corrupted
=false
1259 for ac_var
in `(set) 2>&1 |
1260 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1261 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1262 eval ac_new_set
=\
$ac_env_${ac_var}_set
1263 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1264 eval ac_new_val
="\$ac_env_${ac_var}_value"
1265 case $ac_old_set,$ac_new_set in
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1269 ac_cache_corrupted
=: ;;
1271 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1272 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1273 ac_cache_corrupted
=: ;;
1276 if test "x$ac_old_val" != "x$ac_new_val"; then
1277 # differences in whitespace do not lead to failure.
1278 ac_old_val_w
=`echo x $ac_old_val`
1279 ac_new_val_w
=`echo x $ac_new_val`
1280 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1281 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1282 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1283 ac_cache_corrupted
=:
1285 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1286 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1287 eval $ac_var=\
$ac_old_val
1289 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1290 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1291 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1292 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1295 # Pass precious variables to config.status.
1296 if test "$ac_new_set" = set; then
1298 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1299 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1300 *) ac_arg
=$ac_var=$ac_new_val ;;
1302 case " $ac_configure_args " in
1303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1304 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1308 if $ac_cache_corrupted; then
1309 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1310 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1311 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1312 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1313 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1314 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1315 { (exit 1); exit 1; }; }
1319 ac_cpp
='$CPP $CPPFLAGS'
1320 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1321 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1322 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1355 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=..
/config
;;
1356 *) ac_macro_dir
=$srcdir/..
/config
;;
1358 if test -d "$ac_macro_dir"; then :
1360 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1361 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1362 { (exit 1); exit 1; }; }
1366 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1367 if test -f $ac_dir/install-sh
; then
1369 ac_install_sh
="$ac_aux_dir/install-sh -c"
1371 elif test -f $ac_dir/install.sh
; then
1373 ac_install_sh
="$ac_aux_dir/install.sh -c"
1375 elif test -f $ac_dir/shtool
; then
1377 ac_install_sh
="$ac_aux_dir/shtool install -c"
1381 if test -z "$ac_aux_dir"; then
1382 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1383 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1384 { (exit 1); exit 1; }; }
1386 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1387 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1388 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1390 # Make sure we can run config.sub.
1391 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1392 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1393 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1394 { (exit 1); exit 1; }; }
1396 echo "$as_me:$LINENO: checking build system type" >&5
1397 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1398 if test "${ac_cv_build+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 ac_cv_build_alias
=$build_alias
1402 test -z "$ac_cv_build_alias" &&
1403 ac_cv_build_alias
=`$ac_config_guess`
1404 test -z "$ac_cv_build_alias" &&
1405 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1406 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1407 { (exit 1); exit 1; }; }
1408 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1415 echo "${ECHO_T}$ac_cv_build" >&6
1417 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1418 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1419 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1422 echo "$as_me:$LINENO: checking host system type" >&5
1423 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1424 if test "${ac_cv_host+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 ac_cv_host_alias
=$host_alias
1428 test -z "$ac_cv_host_alias" &&
1429 ac_cv_host_alias
=$ac_cv_build_alias
1430 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1431 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1432 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1433 { (exit 1); exit 1; }; }
1436 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1437 echo "${ECHO_T}$ac_cv_host" >&6
1439 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1440 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1441 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1444 echo "$as_me:$LINENO: checking target system type" >&5
1445 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1446 if test "${ac_cv_target+set}" = set; then
1447 echo $ECHO_N "(cached) $ECHO_C" >&6
1449 ac_cv_target_alias
=$target_alias
1450 test "x$ac_cv_target_alias" = "x" &&
1451 ac_cv_target_alias
=$ac_cv_host_alias
1452 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1453 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1454 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1455 { (exit 1); exit 1; }; }
1458 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1459 echo "${ECHO_T}$ac_cv_target" >&6
1460 target
=$ac_cv_target
1461 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1462 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1463 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1466 # The aliases save the names the user supplied, while $host etc.
1467 # will get canonicalized.
1468 test -n "$target_alias" &&
1469 test "$program_prefix$program_suffix$program_transform_name" = \
1471 program_prefix
=${target_alias}-
1473 # Checks for programs.
1474 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1475 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1476 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1477 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1480 cat >conftest.
make <<\_ACEOF
1482 @
echo 'ac_maketemp="$(MAKE)"'
1484 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1485 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1486 if test -n "$ac_maketemp"; then
1487 eval ac_cv_prog_make_
${ac_make}_set
=yes
1489 eval ac_cv_prog_make_
${ac_make}_set
=no
1493 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1494 echo "$as_me:$LINENO: result: yes" >&5
1495 echo "${ECHO_T}yes" >&6
1498 echo "$as_me:$LINENO: result: no" >&5
1499 echo "${ECHO_T}no" >&6
1500 SET_MAKE
="MAKE=${MAKE-make}"
1503 # Find a good install program. We prefer a C program (faster),
1504 # so one script is as good as another. But avoid the broken or
1505 # incompatible versions:
1506 # SysV /etc/install, /usr/sbin/install
1507 # SunOS /usr/etc/install
1508 # IRIX /sbin/install
1510 # AmigaOS /C/install, which installs bootblocks on floppy discs
1511 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1512 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1513 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1514 # OS/2's system install, which has a completely different semantic
1515 # ./install, which can be erroneously created by make from ./install.sh.
1516 # Reject install programs that cannot install multiple files.
1517 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1518 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1519 if test -z "$INSTALL"; then
1520 if test "${ac_cv_path_install+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1527 test -z "$as_dir" && as_dir
=.
1528 # Account for people who put trailing slashes in PATH elements.
1530 .
/ | .
// |
/cC
/* | \
1531 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1532 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1535 # OSF1 and SCO ODT 3.0 have their own names for install.
1536 # Don't use installbsd from OSF since it installs stuff as root
1538 for ac_prog
in ginstall scoinst
install; do
1539 for ac_exec_ext
in '' $ac_executable_extensions; do
1540 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1541 if test $ac_prog = install &&
1542 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1543 # AIX install. It has an incompatible calling convention.
1545 elif test $ac_prog = install &&
1546 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1547 # program-specific install script used by HP pwplus--don't use.
1550 rm -rf conftest.one conftest.two conftest.dir
1551 echo one
> conftest.one
1552 echo two
> conftest.two
1554 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1555 test -s conftest.one
&& test -s conftest.two
&&
1556 test -s conftest.dir
/conftest.one
&&
1557 test -s conftest.dir
/conftest.two
1559 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1570 rm -rf conftest.one conftest.two conftest.dir
1573 if test "${ac_cv_path_install+set}" = set; then
1574 INSTALL
=$ac_cv_path_install
1576 # As a last resort, use the slow shell script. Don't cache a
1577 # value for INSTALL within a source directory, because that will
1578 # break other packages using the cache if that directory is
1579 # removed, or if the value is a relative name.
1580 INSTALL
=$ac_install_sh
1583 echo "$as_me:$LINENO: result: $INSTALL" >&5
1584 echo "${ECHO_T}$INSTALL" >&6
1586 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1587 # It thinks the first close brace ends the variable substitution.
1588 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1590 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1592 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1595 ac_cpp
='$CPP $CPPFLAGS'
1596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1599 if test -n "$ac_tool_prefix"; then
1600 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1601 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_CC+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 if test -n "$CC"; then
1608 ac_cv_prog_CC
="$CC" # Let the user override the test.
1610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir
=.
1615 for ac_exec_ext
in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1627 if test -n "$CC"; then
1628 echo "$as_me:$LINENO: result: $CC" >&5
1629 echo "${ECHO_T}$CC" >&6
1631 echo "$as_me:$LINENO: result: no" >&5
1632 echo "${ECHO_T}no" >&6
1636 if test -z "$ac_cv_prog_CC"; then
1638 # Extract the first word of "gcc", so it can be a program name with args.
1639 set dummy gcc
; ac_word
=$2
1640 echo "$as_me:$LINENO: checking for $ac_word" >&5
1641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1642 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 if test -n "$ac_ct_CC"; then
1646 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1652 test -z "$as_dir" && as_dir
=.
1653 for ac_exec_ext
in '' $ac_executable_extensions; do
1654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1655 ac_cv_prog_ac_ct_CC
="gcc"
1656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1664 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1665 if test -n "$ac_ct_CC"; then
1666 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1667 echo "${ECHO_T}$ac_ct_CC" >&6
1669 echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1678 if test -z "$CC"; then
1679 if test -n "$ac_tool_prefix"; then
1680 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1681 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1684 if test "${ac_cv_prog_CC+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1687 if test -n "$CC"; then
1688 ac_cv_prog_CC
="$CC" # Let the user override the test.
1690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1694 test -z "$as_dir" && as_dir
=.
1695 for ac_exec_ext
in '' $ac_executable_extensions; do
1696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1697 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1707 if test -n "$CC"; then
1708 echo "$as_me:$LINENO: result: $CC" >&5
1709 echo "${ECHO_T}$CC" >&6
1711 echo "$as_me:$LINENO: result: no" >&5
1712 echo "${ECHO_T}no" >&6
1716 if test -z "$ac_cv_prog_CC"; then
1718 # Extract the first word of "cc", so it can be a program name with args.
1719 set dummy cc
; ac_word
=$2
1720 echo "$as_me:$LINENO: checking for $ac_word" >&5
1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1723 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 if test -n "$ac_ct_CC"; then
1726 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1732 test -z "$as_dir" && as_dir
=.
1733 for ac_exec_ext
in '' $ac_executable_extensions; do
1734 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1735 ac_cv_prog_ac_ct_CC
="cc"
1736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1745 if test -n "$ac_ct_CC"; then
1746 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1747 echo "${ECHO_T}$ac_ct_CC" >&6
1749 echo "$as_me:$LINENO: result: no" >&5
1750 echo "${ECHO_T}no" >&6
1759 if test -z "$CC"; then
1760 # Extract the first word of "cc", so it can be a program name with args.
1761 set dummy cc
; ac_word
=$2
1762 echo "$as_me:$LINENO: checking for $ac_word" >&5
1763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1764 if test "${ac_cv_prog_CC+set}" = set; then
1765 echo $ECHO_N "(cached) $ECHO_C" >&6
1767 if test -n "$CC"; then
1768 ac_cv_prog_CC
="$CC" # Let the user override the test.
1771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1775 test -z "$as_dir" && as_dir
=.
1776 for ac_exec_ext
in '' $ac_executable_extensions; do
1777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1778 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1779 ac_prog_rejected
=yes
1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 if test $ac_prog_rejected = yes; then
1790 # We found a bogon in the path, so make sure we never use it.
1791 set dummy
$ac_cv_prog_CC
1793 if test $# != 0; then
1794 # We chose a different compiler from the bogus one.
1795 # However, it has the same basename, so the bogon will be chosen
1796 # first if we set CC to just the basename; use the full file name.
1798 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1804 if test -n "$CC"; then
1805 echo "$as_me:$LINENO: result: $CC" >&5
1806 echo "${ECHO_T}$CC" >&6
1808 echo "$as_me:$LINENO: result: no" >&5
1809 echo "${ECHO_T}no" >&6
1813 if test -z "$CC"; then
1814 if test -n "$ac_tool_prefix"; then
1817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1818 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1819 echo "$as_me:$LINENO: checking for $ac_word" >&5
1820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1821 if test "${ac_cv_prog_CC+set}" = set; then
1822 echo $ECHO_N "(cached) $ECHO_C" >&6
1824 if test -n "$CC"; then
1825 ac_cv_prog_CC
="$CC" # Let the user override the test.
1827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1831 test -z "$as_dir" && as_dir
=.
1832 for ac_exec_ext
in '' $ac_executable_extensions; do
1833 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1834 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844 if test -n "$CC"; then
1845 echo "$as_me:$LINENO: result: $CC" >&5
1846 echo "${ECHO_T}$CC" >&6
1848 echo "$as_me:$LINENO: result: no" >&5
1849 echo "${ECHO_T}no" >&6
1852 test -n "$CC" && break
1855 if test -z "$CC"; then
1859 # Extract the first word of "$ac_prog", so it can be a program name with args.
1860 set dummy
$ac_prog; ac_word
=$2
1861 echo "$as_me:$LINENO: checking for $ac_word" >&5
1862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1863 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1864 echo $ECHO_N "(cached) $ECHO_C" >&6
1866 if test -n "$ac_ct_CC"; then
1867 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir
=.
1874 for ac_exec_ext
in '' $ac_executable_extensions; do
1875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1876 ac_cv_prog_ac_ct_CC
="$ac_prog"
1877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1886 if test -n "$ac_ct_CC"; then
1887 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1888 echo "${ECHO_T}$ac_ct_CC" >&6
1890 echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6
1894 test -n "$ac_ct_CC" && break
1903 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1904 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1905 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1906 See \`config.log' for more details." >&5
1907 echo "$as_me: error: no acceptable C compiler found in \$PATH
1908 See \`config.log' for more details." >&2;}
1909 { (exit 1); exit 1; }; }; }
1911 # Provide some information about the compiler.
1912 echo "$as_me:$LINENO:" \
1913 "checking for C compiler version" >&5
1914 ac_compiler
=`set X $ac_compile; echo $2`
1915 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1916 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919 (exit $ac_status); }
1920 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1921 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }
1925 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1926 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929 (exit $ac_status); }
1931 cat >conftest.
$ac_ext <<_ACEOF
1934 cat confdefs.h
>>conftest.
$ac_ext
1935 cat >>conftest.
$ac_ext <<_ACEOF
1936 /* end confdefs.h. */
1946 ac_clean_files_save
=$ac_clean_files
1947 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1948 # Try to create an executable without -o first, disregard a.out.
1949 # It will help us diagnose broken compilers, and finding out an intuition
1951 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1952 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1953 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1954 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1955 (eval $ac_link_default) 2>&5
1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1958 (exit $ac_status); }; then
1959 # Find the output, starting from the most likely. This scheme is
1960 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1963 # Be careful to initialize this variable, since it used to be cached.
1964 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1966 # b.out is created by i960 compilers.
1967 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1969 test -f "$ac_file" ||
continue
1971 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1974 # This is the source file.
1977 # We found the default executable, but exeext='' is most
1981 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 # FIXME: I believe we export ac_cv_exeext for Libtool,
1983 # but it would be cool to find out if it's true. Does anybody
1984 # maintain Libtool? --akim.
1992 echo "$as_me: failed program was:" >&5
1993 sed 's/^/| /' conftest.
$ac_ext >&5
1995 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1996 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1997 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1998 See \`config.log' for more details." >&5
1999 echo "$as_me: error: C compiler cannot create executables
2000 See \`config.log' for more details." >&2;}
2001 { (exit 77); exit 77; }; }; }
2004 ac_exeext
=$ac_cv_exeext
2005 echo "$as_me:$LINENO: result: $ac_file" >&5
2006 echo "${ECHO_T}$ac_file" >&6
2008 # Check the compiler produces executables we can run. If not, either
2009 # the compiler is broken, or we cross compile.
2010 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2011 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2012 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2013 # If not cross compiling, check that we can run a simple program.
2014 if test "$cross_compiling" != yes; then
2015 if { ac_try
='./$ac_file'
2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }; }; then
2023 if test "$cross_compiling" = maybe
; then
2026 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2027 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2028 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2029 If you meant to cross compile, use \`--host'.
2030 See \`config.log' for more details." >&5
2031 echo "$as_me: error: cannot run C compiled programs.
2032 If you meant to cross compile, use \`--host'.
2033 See \`config.log' for more details." >&2;}
2034 { (exit 1); exit 1; }; }; }
2038 echo "$as_me:$LINENO: result: yes" >&5
2039 echo "${ECHO_T}yes" >&6
2041 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2042 ac_clean_files
=$ac_clean_files_save
2043 # Check the compiler produces executables we can run. If not, either
2044 # the compiler is broken, or we cross compile.
2045 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2046 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2047 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2048 echo "${ECHO_T}$cross_compiling" >&6
2050 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2051 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2053 (eval $ac_link) 2>&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; then
2057 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2058 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2059 # work properly (i.e., refer to `conftest.exe'), while it won't with
2061 for ac_file
in conftest.exe conftest conftest.
*; do
2062 test -f "$ac_file" ||
continue
2064 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2065 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2072 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2073 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2074 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2075 See \`config.log' for more details." >&5
2076 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2077 See \`config.log' for more details." >&2;}
2078 { (exit 1); exit 1; }; }; }
2081 rm -f conftest
$ac_cv_exeext
2082 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2083 echo "${ECHO_T}$ac_cv_exeext" >&6
2085 rm -f conftest.
$ac_ext
2086 EXEEXT
=$ac_cv_exeext
2088 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2089 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2090 if test "${ac_cv_objext+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 cat >conftest.
$ac_ext <<_ACEOF
2096 cat confdefs.h
>>conftest.
$ac_ext
2097 cat >>conftest.
$ac_ext <<_ACEOF
2098 /* end confdefs.h. */
2108 rm -f conftest.o conftest.obj
2109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2110 (eval $ac_compile) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; then
2114 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2116 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2117 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2122 echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.
$ac_ext >&5
2125 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2126 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2127 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2128 See \`config.log' for more details." >&5
2129 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2130 See \`config.log' for more details." >&2;}
2131 { (exit 1); exit 1; }; }; }
2134 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2136 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2137 echo "${ECHO_T}$ac_cv_objext" >&6
2138 OBJEXT
=$ac_cv_objext
2140 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2141 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2142 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 cat >conftest.
$ac_ext <<_ACEOF
2148 cat confdefs.h
>>conftest.
$ac_ext
2149 cat >>conftest.
$ac_ext <<_ACEOF
2150 /* end confdefs.h. */
2163 rm -f conftest.
$ac_objext
2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2165 (eval $ac_compile) 2>conftest.er1
2167 grep -v '^ *+' conftest.er1
>conftest.err
2169 cat conftest.err
>&5
2170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171 (exit $ac_status); } &&
2172 { ac_try
='test -z "$ac_c_werror_flag"
2173 || test ! -s conftest.err'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; } &&
2179 { ac_try
='test -s conftest.$ac_objext'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; }; then
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2193 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2196 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2197 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2198 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2199 ac_test_CFLAGS
=${CFLAGS+set}
2200 ac_save_CFLAGS
=$CFLAGS
2202 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2203 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2204 if test "${ac_cv_prog_cc_g+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 cat >conftest.
$ac_ext <<_ACEOF
2210 cat confdefs.h
>>conftest.
$ac_ext
2211 cat >>conftest.
$ac_ext <<_ACEOF
2212 /* end confdefs.h. */
2222 rm -f conftest.
$ac_objext
2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2224 (eval $ac_compile) 2>conftest.er1
2226 grep -v '^ *+' conftest.er1
>conftest.err
2228 cat conftest.err
>&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); } &&
2231 { ac_try
='test -z "$ac_c_werror_flag"
2232 || test ! -s conftest.err'
2233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; } &&
2238 { ac_try
='test -s conftest.$ac_objext'
2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; }; then
2246 echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.
$ac_ext >&5
2251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2253 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2254 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2255 if test "$ac_test_CFLAGS" = set; then
2256 CFLAGS
=$ac_save_CFLAGS
2257 elif test $ac_cv_prog_cc_g = yes; then
2258 if test "$GCC" = yes; then
2264 if test "$GCC" = yes; then
2270 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2271 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2272 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 ac_cv_prog_cc_stdc
=no
2277 cat >conftest.
$ac_ext <<_ACEOF
2280 cat confdefs.h
>>conftest.
$ac_ext
2281 cat >>conftest.
$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2285 #include <sys/types.h>
2286 #include <sys/stat.h>
2287 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2288 struct buf { int x; };
2289 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2290 static char *e (p, i)
2296 static char *f (char * (*g) (char **, int), char **p, ...)
2301 s = g (p, va_arg (v,int));
2306 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2307 function prototypes and stuff, but not '\xHH' hex character constants.
2308 These don't provoke an error unfortunately, instead are silently treated
2309 as 'x'. The following induces an error, until -std1 is added to get
2310 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2311 array size at least. It's necessary to write '\x00'==0 to get something
2312 that's true only with -std1. */
2313 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2315 int test (int i, double x);
2316 struct s1 {int (*f) (int a);};
2317 struct s2 {int (*f) (double a);};
2318 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2324 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2329 # Don't try gcc -ansi; that turns off useful extensions and
2330 # breaks some systems' header files.
2331 # AIX -qlanglvl=ansi
2332 # Ultrix and OSF/1 -std1
2333 # HP-UX 10.20 and later -Ae
2334 # HP-UX older versions -Aa -D_HPUX_SOURCE
2335 # SVR4 -Xc -D__EXTENSIONS__
2336 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2338 CC
="$ac_save_CC $ac_arg"
2339 rm -f conftest.
$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1
>conftest.err
2345 cat conftest.err
>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try
='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try
='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2361 ac_cv_prog_cc_stdc
=$ac_arg
2364 echo "$as_me: failed program was:" >&5
2365 sed 's/^/| /' conftest.
$ac_ext >&5
2368 rm -f conftest.err conftest.
$ac_objext
2370 rm -f conftest.
$ac_ext conftest.
$ac_objext
2375 case "x$ac_cv_prog_cc_stdc" in
2377 echo "$as_me:$LINENO: result: none needed" >&5
2378 echo "${ECHO_T}none needed" >&6 ;;
2380 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2381 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2382 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2385 # Some people use a C++ compiler to compile C. Since we use `exit',
2386 # in C++ we need to declare it. In case someone uses the same compiler
2387 # for both compiling C and C++ we need to have the C++ compiler decide
2388 # the declaration of exit, since it's the most demanding environment.
2389 cat >conftest.
$ac_ext <<_ACEOF
2394 rm -f conftest.
$ac_objext
2395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2396 (eval $ac_compile) 2>conftest.er1
2398 grep -v '^ *+' conftest.er1
>conftest.err
2400 cat conftest.err
>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); } &&
2403 { ac_try
='test -z "$ac_c_werror_flag"
2404 || test ! -s conftest.err'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; } &&
2410 { ac_try
='test -s conftest.$ac_objext'
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; }; then
2416 for ac_declaration
in \
2418 'extern "C" void std::exit (int) throw (); using std::exit;' \
2419 'extern "C" void std::exit (int); using std::exit;' \
2420 'extern "C" void exit (int) throw ();' \
2421 'extern "C" void exit (int);' \
2424 cat >conftest.
$ac_ext <<_ACEOF
2427 cat confdefs.h
>>conftest.
$ac_ext
2428 cat >>conftest.
$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2440 rm -f conftest.
$ac_objext
2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2442 (eval $ac_compile) 2>conftest.er1
2444 grep -v '^ *+' conftest.er1
>conftest.err
2446 cat conftest.err
>&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); } &&
2449 { ac_try
='test -z "$ac_c_werror_flag"
2450 || test ! -s conftest.err'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; } &&
2456 { ac_try
='test -s conftest.$ac_objext'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; }; then
2464 echo "$as_me: failed program was:" >&5
2465 sed 's/^/| /' conftest.
$ac_ext >&5
2469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2470 cat >conftest.
$ac_ext <<_ACEOF
2473 cat confdefs.h
>>conftest.
$ac_ext
2474 cat >>conftest.
$ac_ext <<_ACEOF
2475 /* end confdefs.h. */
2485 rm -f conftest.
$ac_objext
2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487 (eval $ac_compile) 2>conftest.er1
2489 grep -v '^ *+' conftest.er1
>conftest.err
2491 cat conftest.err
>&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); } &&
2494 { ac_try
='test -z "$ac_c_werror_flag"
2495 || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try
='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2516 if test -n "$ac_declaration"; then
2517 echo '#ifdef __cplusplus' >>confdefs.h
2518 echo $ac_declaration >>confdefs.h
2519 echo '#endif' >>confdefs.h
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2529 ac_cpp
='$CPP $CPPFLAGS'
2530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2535 ac_cpp
='$CXXCPP $CPPFLAGS'
2536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2539 if test -n "$ac_tool_prefix"; then
2540 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2542 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2543 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2544 echo "$as_me:$LINENO: checking for $ac_word" >&5
2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2546 if test "${ac_cv_prog_CXX+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 if test -n "$CXX"; then
2550 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2556 test -z "$as_dir" && as_dir
=.
2557 for ac_exec_ext
in '' $ac_executable_extensions; do
2558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2559 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2569 if test -n "$CXX"; then
2570 echo "$as_me:$LINENO: result: $CXX" >&5
2571 echo "${ECHO_T}$CXX" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2577 test -n "$CXX" && break
2580 if test -z "$CXX"; then
2582 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy
$ac_prog; ac_word
=$2
2586 echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2588 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 if test -n "$ac_ct_CXX"; then
2592 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 for ac_exec_ext
in '' $ac_executable_extensions; do
2600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2601 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2611 if test -n "$ac_ct_CXX"; then
2612 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2613 echo "${ECHO_T}$ac_ct_CXX" >&6
2615 echo "$as_me:$LINENO: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2619 test -n "$ac_ct_CXX" && break
2621 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2627 # Provide some information about the compiler.
2628 echo "$as_me:$LINENO:" \
2629 "checking for C++ compiler version" >&5
2630 ac_compiler
=`set X $ac_compile; echo $2`
2631 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2632 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }
2636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2637 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }
2641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2642 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); }
2647 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2648 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2649 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 cat >conftest.
$ac_ext <<_ACEOF
2655 cat confdefs.h
>>conftest.
$ac_ext
2656 cat >>conftest.
$ac_ext <<_ACEOF
2657 /* end confdefs.h. */
2670 rm -f conftest.
$ac_objext
2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672 (eval $ac_compile) 2>conftest.er1
2674 grep -v '^ *+' conftest.er1
>conftest.err
2676 cat conftest.err
>&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } &&
2679 { ac_try
='test -z "$ac_cxx_werror_flag"
2680 || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try
='test -s conftest.$ac_objext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2700 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2703 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2704 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2705 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2706 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2707 ac_save_CXXFLAGS
=$CXXFLAGS
2709 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2710 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2711 if test "${ac_cv_prog_cxx_g+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 cat >conftest.
$ac_ext <<_ACEOF
2717 cat confdefs.h
>>conftest.
$ac_ext
2718 cat >>conftest.
$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.
$ac_objext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>conftest.er1
2733 grep -v '^ *+' conftest.er1
>conftest.err
2735 cat conftest.err
>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); } &&
2738 { ac_try
='test -z "$ac_cxx_werror_flag"
2739 || test ! -s conftest.err'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; } &&
2745 { ac_try
='test -s conftest.$ac_objext'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; }; then
2751 ac_cv_prog_cxx_g
=yes
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.
$ac_ext >&5
2758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2760 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2761 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2762 if test "$ac_test_CXXFLAGS" = set; then
2763 CXXFLAGS
=$ac_save_CXXFLAGS
2764 elif test $ac_cv_prog_cxx_g = yes; then
2765 if test "$GXX" = yes; then
2771 if test "$GXX" = yes; then
2777 for ac_declaration
in \
2779 'extern "C" void std::exit (int) throw (); using std::exit;' \
2780 'extern "C" void std::exit (int); using std::exit;' \
2781 'extern "C" void exit (int) throw ();' \
2782 'extern "C" void exit (int);' \
2785 cat >conftest.
$ac_ext <<_ACEOF
2788 cat confdefs.h
>>conftest.
$ac_ext
2789 cat >>conftest.
$ac_ext <<_ACEOF
2790 /* end confdefs.h. */
2801 rm -f conftest.
$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2805 grep -v '^ *+' conftest.er1
>conftest.err
2807 cat conftest.err
>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try
='test -z "$ac_cxx_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try
='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.
$ac_ext >&5
2830 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2831 cat >conftest.
$ac_ext <<_ACEOF
2834 cat confdefs.h
>>conftest.
$ac_ext
2835 cat >>conftest.
$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2846 rm -f conftest.
$ac_objext
2847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2848 (eval $ac_compile) 2>conftest.er1
2850 grep -v '^ *+' conftest.er1
>conftest.err
2852 cat conftest.err
>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); } &&
2855 { ac_try
='test -z "$ac_cxx_werror_flag"
2856 || test ! -s conftest.err'
2857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; } &&
2862 { ac_try
='test -s conftest.$ac_objext'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; }; then
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.
$ac_ext >&5
2874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2877 if test -n "$ac_declaration"; then
2878 echo '#ifdef __cplusplus' >>confdefs.h
2879 echo $ac_declaration >>confdefs.h
2880 echo '#endif' >>confdefs.h
2884 ac_cpp
='$CPP $CPPFLAGS'
2885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2889 if test -n "$ac_tool_prefix"; then
2890 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2891 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2892 echo "$as_me:$LINENO: checking for $ac_word" >&5
2893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2894 if test "${ac_cv_prog_RANLIB+set}" = set; then
2895 echo $ECHO_N "(cached) $ECHO_C" >&6
2897 if test -n "$RANLIB"; then
2898 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2904 test -z "$as_dir" && as_dir
=.
2905 for ac_exec_ext
in '' $ac_executable_extensions; do
2906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2907 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2916 RANLIB
=$ac_cv_prog_RANLIB
2917 if test -n "$RANLIB"; then
2918 echo "$as_me:$LINENO: result: $RANLIB" >&5
2919 echo "${ECHO_T}$RANLIB" >&6
2921 echo "$as_me:$LINENO: result: no" >&5
2922 echo "${ECHO_T}no" >&6
2926 if test -z "$ac_cv_prog_RANLIB"; then
2927 ac_ct_RANLIB
=$RANLIB
2928 # Extract the first word of "ranlib", so it can be a program name with args.
2929 set dummy ranlib
; ac_word
=$2
2930 echo "$as_me:$LINENO: checking for $ac_word" >&5
2931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2932 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 if test -n "$ac_ct_RANLIB"; then
2936 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir
=.
2943 for ac_exec_ext
in '' $ac_executable_extensions; do
2944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2945 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2952 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2955 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2956 if test -n "$ac_ct_RANLIB"; then
2957 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2958 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2960 echo "$as_me:$LINENO: result: no" >&5
2961 echo "${ECHO_T}no" >&6
2964 RANLIB
=$ac_ct_RANLIB
2966 RANLIB
="$ac_cv_prog_RANLIB"
2970 # See if we are building gcc with C++.
2971 # Do this early so setting lang to C++ affects following tests
2972 # Check whether --enable-build-with-cxx or --disable-build-with-cxx was given.
2973 if test "${enable_build_with_cxx+set}" = set; then
2974 enableval
="$enable_build_with_cxx"
2975 ENABLE_BUILD_WITH_CXX
=$enableval
2977 ENABLE_BUILD_WITH_CXX
=no
2981 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2982 for ac_prog
in aclocal
2984 # Extract the first word of "$ac_prog", so it can be a program name with args.
2985 set dummy
$ac_prog; ac_word
=$2
2986 echo "$as_me:$LINENO: checking for $ac_word" >&5
2987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2988 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2989 echo $ECHO_N "(cached) $ECHO_C" >&6
2991 if test -n "$ACLOCAL"; then
2992 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir
=.
2999 for ac_exec_ext
in '' $ac_executable_extensions; do
3000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3001 ac_cv_prog_ACLOCAL
="$ac_prog"
3002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 ACLOCAL
=$ac_cv_prog_ACLOCAL
3011 if test -n "$ACLOCAL"; then
3012 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
3013 echo "${ECHO_T}$ACLOCAL" >&6
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3019 test -n "$ACLOCAL" && break
3021 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
3023 for ac_prog
in autoconf
3025 # Extract the first word of "$ac_prog", so it can be a program name with args.
3026 set dummy
$ac_prog; ac_word
=$2
3027 echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3029 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 if test -n "$AUTOCONF"; then
3033 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
3035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir
=.
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042 ac_cv_prog_AUTOCONF
="$ac_prog"
3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 AUTOCONF
=$ac_cv_prog_AUTOCONF
3052 if test -n "$AUTOCONF"; then
3053 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
3054 echo "${ECHO_T}$AUTOCONF" >&6
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3060 test -n "$AUTOCONF" && break
3062 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
3064 for ac_prog
in autoheader
3066 # Extract the first word of "$ac_prog", so it can be a program name with args.
3067 set dummy
$ac_prog; ac_word
=$2
3068 echo "$as_me:$LINENO: checking for $ac_word" >&5
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3070 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 if test -n "$AUTOHEADER"; then
3074 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
3076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3080 test -z "$as_dir" && as_dir
=.
3081 for ac_exec_ext
in '' $ac_executable_extensions; do
3082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3083 ac_cv_prog_AUTOHEADER
="$ac_prog"
3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
3093 if test -n "$AUTOHEADER"; then
3094 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
3095 echo "${ECHO_T}$AUTOHEADER" >&6
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3101 test -n "$AUTOHEADER" && break
3103 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
3106 # Figure out what compiler warnings we can enable.
3107 # See config/warnings.m4 for details.
3111 save_CFLAGS
="$CFLAGS"
3112 for option
in -W -Wall -Wwrite-strings \
3113 -Wmissing-format-attribute; do
3114 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3116 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
3117 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
3118 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
3119 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 cat >conftest.
$ac_ext <<_ACEOF
3125 cat confdefs.h
>>conftest.
$ac_ext
3126 cat >>conftest.
$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3137 rm -f conftest.
$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>conftest.er1
3141 grep -v '^ *+' conftest.er1
>conftest.err
3143 cat conftest.err
>&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try
='test -z "$ac_c_werror_flag"
3147 || test ! -s conftest.err'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; } &&
3153 { ac_try
='test -s conftest.$ac_objext'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3159 eval "$as_acx_Woption=yes"
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.
$ac_ext >&5
3164 eval "$as_acx_Woption=no"
3166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3169 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
3170 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
3171 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
3172 warn
="$warn${warn:+ }$option"
3176 CFLAGS
="$save_CFLAGS"
3179 save_CFLAGS
="$CFLAGS"
3180 for option
in -Wstrict-prototypes -Wmissing-prototypes \
3181 -Wold-style-definition -Wc++-compat; do
3182 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3184 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
3185 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
3186 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
3187 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 cat >conftest.
$ac_ext <<_ACEOF
3193 cat confdefs.h
>>conftest.
$ac_ext
3194 cat >>conftest.
$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3205 rm -f conftest.
$ac_objext
3206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3207 (eval $ac_compile) 2>conftest.er1
3209 grep -v '^ *+' conftest.er1
>conftest.err
3211 cat conftest.err
>&5
3212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213 (exit $ac_status); } &&
3214 { ac_try
='test -z "$ac_c_werror_flag"
3215 || test ! -s conftest.err'
3216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); }; } &&
3221 { ac_try
='test -s conftest.$ac_objext'
3222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); }; }; then
3227 eval "$as_acx_Woption=yes"
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.
$ac_ext >&5
3232 eval "$as_acx_Woption=no"
3234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3237 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
3238 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
3239 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
3240 c_warn
="$c_warn${c_warn:+ }$option"
3244 CFLAGS
="$save_CFLAGS"
3247 if test "$GCC" = yes; then
3248 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
3249 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
3250 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 save_CFLAGS
="$CFLAGS"
3254 CFLAGS
="-pedantic -Wno-long-long"
3255 cat >conftest.
$ac_ext <<_ACEOF
3258 cat confdefs.h
>>conftest.
$ac_ext
3259 cat >>conftest.
$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3270 rm -f conftest.
$ac_objext
3271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3272 (eval $ac_compile) 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); } &&
3279 { ac_try
='test -z "$ac_c_werror_flag"
3280 || test ! -s conftest.err'
3281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); }; } &&
3286 { ac_try
='test -s conftest.$ac_objext'
3287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }; }; then
3292 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.
$ac_ext >&5
3297 acx_cv_prog_cc_pedantic__Wno_long_long
=no
3299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3300 CFLAGS
="$save_CFLAGS"
3302 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
3303 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
3304 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
3305 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3313 # Only enable with --enable-werror-always until existing warnings are
3316 # Check whether --enable-werror-always or --disable-werror-always was given.
3317 if test "${enable_werror_always+set}" = set; then
3318 enableval
="$enable_werror_always"
3321 enable_werror_always
=no
3323 if test $enable_werror_always = yes; then
3324 WERROR
="$WERROR${WERROR:+ }-Werror"
3330 # Dependency checking.
3331 rm -rf .tst
2>/dev
/null
3332 mkdir .tst
2>/dev
/null
3333 if test -d .tst
; then
3338 rmdir .tst
2>/dev
/null
3340 DEPDIR
="${am__leading_dot}deps"
3342 ac_config_commands
="$ac_config_commands depdir"
3345 if test "$ENABLE_BUILD_WITH_CXX" = "no"; then
3346 depcc
="$CC" am_compiler_list
=
3348 am_depcomp
=$ac_aux_dir/depcomp
3349 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3350 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3351 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 if test -f "$am_depcomp"; then
3355 # We make a subdir and do the tests there. Otherwise we can end up
3356 # making bogus files that we don't know about and never remove. For
3357 # instance it was reported that on HP-UX the gcc test will end up
3358 # making a dummy file named `D' -- because `-MD' means `put the output
3361 # Copy depcomp to subdir because otherwise we won't find it if we're
3362 # using a relative directory.
3363 cp "$am_depcomp" conftest.dir
3365 # We will build objects and dependencies in a subdirectory because
3366 # it helps to detect inapplicable dependency modes. For instance
3367 # both Tru64's cc and ICC support -MD to output dependencies as a
3368 # side effect of compilation, but ICC will put the dependencies in
3369 # the current directory while Tru64 will put them in the object
3373 am_cv_CC_dependencies_compiler_type
=none
3374 if test "$am_compiler_list" = ""; then
3375 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3377 for depmode
in $am_compiler_list; do
3378 if test $depmode = none
; then break; fi
3380 echo "$as_me:$LINENO: trying $depmode" >&5
3381 # Setup a source with many dependencies, because some compilers
3382 # like to wrap large dependency lists on column 80 (with \), and
3383 # we should not choose a depcomp mode which is confused by this.
3385 # We need to recreate these files for each test, as the compiler may
3386 # overwrite some of them when testing with obscure command lines.
3387 # This happens at least with the AIX C compiler.
3389 for i
in 1 2 3 4 5 6; do
3390 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3391 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3392 # Solaris 8's {/usr,}/bin/sh.
3393 touch sub
/conftst
$i.h
3395 echo "include sub/conftest.Po" > confmf
3397 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3398 # mode. It turns out that the SunPro C++ compiler does not properly
3399 # handle `-M -o', and we need to detect this.
3400 depcmd
="depmode=$depmode \
3401 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3402 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3403 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
3404 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
3405 if env
$depcmd > conftest.err
2>&1 &&
3406 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
3407 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
3408 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
3409 # icc doesn't choke on unknown options, it will just issue warnings
3410 # or remarks (even with -Werror). So we grep stderr for any message
3411 # that says an option was ignored or not supported.
3412 # When given -MP, icc 7.0 and 7.1 complain thusly:
3413 # icc: Command line warning: ignoring option '-M'; no argument required
3414 # The diagnosis changed in icc 8.0:
3415 # icc: Command line remark: option '-MP' not supported
3416 if (grep 'ignoring option' conftest.err ||
3417 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3418 am_cv_CC_dependencies_compiler_type
=$depmode
3419 echo "$as_me:$LINENO: success" >&5
3423 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
3424 sed -e 's/^/| /' < conftest.err
>&5
3430 am_cv_CC_dependencies_compiler_type
=none
3434 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3435 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3436 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
3437 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
3438 echo "$as_me: error: no usable dependency style found" >&2;}
3439 { (exit 1); exit 1; }; }
3440 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3445 depcc
="$CXX" am_compiler_list
=
3447 am_depcomp
=$ac_aux_dir/depcomp
3448 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3449 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3450 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3451 echo $ECHO_N "(cached) $ECHO_C" >&6
3453 if test -f "$am_depcomp"; then
3454 # We make a subdir and do the tests there. Otherwise we can end up
3455 # making bogus files that we don't know about and never remove. For
3456 # instance it was reported that on HP-UX the gcc test will end up
3457 # making a dummy file named `D' -- because `-MD' means `put the output
3460 # Copy depcomp to subdir because otherwise we won't find it if we're
3461 # using a relative directory.
3462 cp "$am_depcomp" conftest.dir
3464 # We will build objects and dependencies in a subdirectory because
3465 # it helps to detect inapplicable dependency modes. For instance
3466 # both Tru64's cc and ICC support -MD to output dependencies as a
3467 # side effect of compilation, but ICC will put the dependencies in
3468 # the current directory while Tru64 will put them in the object
3472 am_cv_CXX_dependencies_compiler_type
=none
3473 if test "$am_compiler_list" = ""; then
3474 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3476 for depmode
in $am_compiler_list; do
3477 if test $depmode = none
; then break; fi
3479 echo "$as_me:$LINENO: trying $depmode" >&5
3480 # Setup a source with many dependencies, because some compilers
3481 # like to wrap large dependency lists on column 80 (with \), and
3482 # we should not choose a depcomp mode which is confused by this.
3484 # We need to recreate these files for each test, as the compiler may
3485 # overwrite some of them when testing with obscure command lines.
3486 # This happens at least with the AIX C compiler.
3488 for i
in 1 2 3 4 5 6; do
3489 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3490 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3491 # Solaris 8's {/usr,}/bin/sh.
3492 touch sub
/conftst
$i.h
3494 echo "include sub/conftest.Po" > confmf
3496 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3497 # mode. It turns out that the SunPro C++ compiler does not properly
3498 # handle `-M -o', and we need to detect this.
3499 depcmd
="depmode=$depmode \
3500 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3501 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3502 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
3503 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
3504 if env
$depcmd > conftest.err
2>&1 &&
3505 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
3506 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
3507 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
3508 # icc doesn't choke on unknown options, it will just issue warnings
3509 # or remarks (even with -Werror). So we grep stderr for any message
3510 # that says an option was ignored or not supported.
3511 # When given -MP, icc 7.0 and 7.1 complain thusly:
3512 # icc: Command line warning: ignoring option '-M'; no argument required
3513 # The diagnosis changed in icc 8.0:
3514 # icc: Command line remark: option '-MP' not supported
3515 if (grep 'ignoring option' conftest.err ||
3516 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3517 am_cv_CXX_dependencies_compiler_type
=$depmode
3518 echo "$as_me:$LINENO: success" >&5
3522 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
3523 sed -e 's/^/| /' < conftest.err
>&5
3529 am_cv_CXX_dependencies_compiler_type
=none
3533 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3534 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3535 if test x
${am_cv_CXX_dependencies_compiler_type-none} = xnone
3536 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
3537 echo "$as_me: error: no usable dependency style found" >&2;}
3538 { (exit 1); exit 1; }; }
3539 else CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3545 # Checks for header files.
3546 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3547 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3548 if test "${ac_cv_header_time+set}" = set; then
3549 echo $ECHO_N "(cached) $ECHO_C" >&6
3551 cat >conftest.
$ac_ext <<_ACEOF
3554 cat confdefs.h
>>conftest.
$ac_ext
3555 cat >>conftest.
$ac_ext <<_ACEOF
3556 /* end confdefs.h. */
3557 #include <sys/types.h>
3558 #include <sys/time.h>
3564 if ((struct tm *) 0)
3570 rm -f conftest.
$ac_objext
3571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3572 (eval $ac_compile) 2>conftest.er1
3574 grep -v '^ *+' conftest.er1
>conftest.err
3576 cat conftest.err
>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } &&
3579 { ac_try
='test -z "$ac_c_werror_flag"
3580 || test ! -s conftest.err'
3581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); }; } &&
3586 { ac_try
='test -s conftest.$ac_objext'
3587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }; }; then
3592 ac_cv_header_time
=yes
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.
$ac_ext >&5
3597 ac_cv_header_time
=no
3599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3602 echo "${ECHO_T}$ac_cv_header_time" >&6
3603 if test $ac_cv_header_time = yes; then
3605 cat >>confdefs.h
<<\_ACEOF
3606 #define TIME_WITH_SYS_TIME 1
3611 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
3612 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
3613 if test "${gcc_cv_header_string+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 cat >conftest.
$ac_ext <<_ACEOF
3619 cat confdefs.h
>>conftest.
$ac_ext
3620 cat >>conftest.
$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3623 #include <strings.h>
3632 rm -f conftest.
$ac_objext
3633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3634 (eval $ac_compile) 2>conftest.er1
3636 grep -v '^ *+' conftest.er1
>conftest.err
3638 cat conftest.err
>&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try
='test -z "$ac_c_werror_flag"
3642 || test ! -s conftest.err'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; } &&
3648 { ac_try
='test -s conftest.$ac_objext'
3649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; }; then
3654 gcc_cv_header_string
=yes
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.
$ac_ext >&5
3659 gcc_cv_header_string
=no
3661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3663 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
3664 echo "${ECHO_T}$gcc_cv_header_string" >&6
3665 if test $gcc_cv_header_string = yes; then
3667 cat >>confdefs.h
<<\_ACEOF
3668 #define STRING_WITH_STRINGS 1
3674 # AC_CHECK_HEADERS is repeated to work around apparent autoconf 2.59 bug. If
3675 # AC_CHECK_HEADERS comes after the if clause, the last AC_LANG call gets used,
3676 # no matter which branch is taken.
3677 if test "$ENABLE_BUILD_WITH_CXX" = "no"; then
3679 ac_cpp
='$CPP $CPPFLAGS'
3680 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3681 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3682 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3685 ac_cpp
='$CPP $CPPFLAGS'
3686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3689 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3690 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3691 # On Suns, sometimes $CPP names a directory.
3692 if test -n "$CPP" && test -d "$CPP"; then
3695 if test -z "$CPP"; then
3696 if test "${ac_cv_prog_CPP+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 # Double quotes because CPP needs to be expanded
3700 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3703 for ac_c_preproc_warn_flag
in '' yes
3705 # Use a header file that comes with gcc, so configuring glibc
3706 # with a fresh cross-compiler works.
3707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3708 # <limits.h> exists even on freestanding compilers.
3709 # On the NeXT, cc -E runs the code through the compiler's parser,
3710 # not just through cpp. "Syntax error" is here to catch this case.
3711 cat >conftest.
$ac_ext <<_ACEOF
3714 cat confdefs.h
>>conftest.
$ac_ext
3715 cat >>conftest.
$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3718 # include <limits.h>
3720 # include <assert.h>
3724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3725 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3727 grep -v '^ *+' conftest.er1
>conftest.err
3729 cat conftest.err
>&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); } >/dev
/null
; then
3732 if test -s conftest.err
; then
3733 ac_cpp_err
=$ac_c_preproc_warn_flag
3734 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3741 if test -z "$ac_cpp_err"; then
3744 echo "$as_me: failed program was:" >&5
3745 sed 's/^/| /' conftest.
$ac_ext >&5
3747 # Broken: fails on valid input.
3750 rm -f conftest.err conftest.
$ac_ext
3752 # OK, works on sane cases. Now check whether non-existent headers
3753 # can be detected and how.
3754 cat >conftest.
$ac_ext <<_ACEOF
3757 cat confdefs.h
>>conftest.
$ac_ext
3758 cat >>conftest.
$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3760 #include <ac_nonexistent.h>
3762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3763 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3765 grep -v '^ *+' conftest.er1
>conftest.err
3767 cat conftest.err
>&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } >/dev
/null
; then
3770 if test -s conftest.err
; then
3771 ac_cpp_err
=$ac_c_preproc_warn_flag
3772 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3779 if test -z "$ac_cpp_err"; then
3780 # Broken: success on invalid input.
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.
$ac_ext >&5
3786 # Passes both tests.
3790 rm -f conftest.err conftest.
$ac_ext
3793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3794 rm -f conftest.err conftest.
$ac_ext
3795 if $ac_preproc_ok; then
3807 echo "$as_me:$LINENO: result: $CPP" >&5
3808 echo "${ECHO_T}$CPP" >&6
3810 for ac_c_preproc_warn_flag
in '' yes
3812 # Use a header file that comes with gcc, so configuring glibc
3813 # with a fresh cross-compiler works.
3814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3815 # <limits.h> exists even on freestanding compilers.
3816 # On the NeXT, cc -E runs the code through the compiler's parser,
3817 # not just through cpp. "Syntax error" is here to catch this case.
3818 cat >conftest.
$ac_ext <<_ACEOF
3821 cat confdefs.h
>>conftest.
$ac_ext
3822 cat >>conftest.
$ac_ext <<_ACEOF
3823 /* end confdefs.h. */
3825 # include <limits.h>
3827 # include <assert.h>
3831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3834 grep -v '^ *+' conftest.er1
>conftest.err
3836 cat conftest.err
>&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); } >/dev
/null
; then
3839 if test -s conftest.err
; then
3840 ac_cpp_err
=$ac_c_preproc_warn_flag
3841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3848 if test -z "$ac_cpp_err"; then
3851 echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.
$ac_ext >&5
3854 # Broken: fails on valid input.
3857 rm -f conftest.err conftest.
$ac_ext
3859 # OK, works on sane cases. Now check whether non-existent headers
3860 # can be detected and how.
3861 cat >conftest.
$ac_ext <<_ACEOF
3864 cat confdefs.h
>>conftest.
$ac_ext
3865 cat >>conftest.
$ac_ext <<_ACEOF
3866 /* end confdefs.h. */
3867 #include <ac_nonexistent.h>
3869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3872 grep -v '^ *+' conftest.er1
>conftest.err
3874 cat conftest.err
>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } >/dev
/null
; then
3877 if test -s conftest.err
; then
3878 ac_cpp_err
=$ac_c_preproc_warn_flag
3879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3886 if test -z "$ac_cpp_err"; then
3887 # Broken: success on invalid input.
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.
$ac_ext >&5
3893 # Passes both tests.
3897 rm -f conftest.err conftest.
$ac_ext
3900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3901 rm -f conftest.err conftest.
$ac_ext
3902 if $ac_preproc_ok; then
3905 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3906 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3907 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3908 See \`config.log' for more details." >&5
3909 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3910 See \`config.log' for more details." >&2;}
3911 { (exit 1); exit 1; }; }; }
3915 ac_cpp
='$CPP $CPPFLAGS'
3916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3921 echo "$as_me:$LINENO: checking for egrep" >&5
3922 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3923 if test "${ac_cv_prog_egrep+set}" = set; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3927 then ac_cv_prog_egrep
='grep -E'
3928 else ac_cv_prog_egrep
='egrep'
3931 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3932 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3933 EGREP
=$ac_cv_prog_egrep
3936 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3937 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3938 if test "${ac_cv_header_stdc+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 cat >conftest.
$ac_ext <<_ACEOF
3944 cat confdefs.h
>>conftest.
$ac_ext
3945 cat >>conftest.
$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3960 rm -f conftest.
$ac_objext
3961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3962 (eval $ac_compile) 2>conftest.er1
3964 grep -v '^ *+' conftest.er1
>conftest.err
3966 cat conftest.err
>&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } &&
3969 { ac_try
='test -z "$ac_c_werror_flag"
3970 || test ! -s conftest.err'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; } &&
3976 { ac_try
='test -s conftest.$ac_objext'
3977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); }; }; then
3982 ac_cv_header_stdc
=yes
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 ac_cv_header_stdc
=no
3989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3991 if test $ac_cv_header_stdc = yes; then
3992 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3993 cat >conftest.
$ac_ext <<_ACEOF
3996 cat confdefs.h
>>conftest.
$ac_ext
3997 cat >>conftest.
$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
4002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4003 $EGREP "memchr" >/dev
/null
2>&1; then
4006 ac_cv_header_stdc
=no
4012 if test $ac_cv_header_stdc = yes; then
4013 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4014 cat >conftest.
$ac_ext <<_ACEOF
4017 cat confdefs.h
>>conftest.
$ac_ext
4018 cat >>conftest.
$ac_ext <<_ACEOF
4019 /* end confdefs.h. */
4023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4024 $EGREP "free" >/dev
/null
2>&1; then
4027 ac_cv_header_stdc
=no
4033 if test $ac_cv_header_stdc = yes; then
4034 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4035 if test "$cross_compiling" = yes; then
4038 cat >conftest.
$ac_ext <<_ACEOF
4041 cat confdefs.h
>>conftest.
$ac_ext
4042 cat >>conftest.
$ac_ext <<_ACEOF
4043 /* end confdefs.h. */
4045 #if ((' ' & 0x0FF) == 0x020)
4046 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4047 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4049 # define ISLOWER(c) \
4050 (('a' <= (c) && (c) <= 'i') \
4051 || ('j' <= (c) && (c) <= 'r') \
4052 || ('s' <= (c) && (c) <= 'z'))
4053 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4056 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4061 for (i = 0; i < 256; i++)
4062 if (XOR (islower (i), ISLOWER (i))
4063 || toupper (i) != TOUPPER (i))
4068 rm -f conftest
$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; }; then
4081 echo "$as_me: program exited with status $ac_status" >&5
4082 echo "$as_me: failed program was:" >&5
4083 sed 's/^/| /' conftest.
$ac_ext >&5
4086 ac_cv_header_stdc
=no
4088 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4092 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4093 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4094 if test $ac_cv_header_stdc = yes; then
4096 cat >>confdefs.h
<<\_ACEOF
4097 #define STDC_HEADERS 1
4102 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4112 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4113 inttypes.h stdint.h unistd.h
4115 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4116 echo "$as_me:$LINENO: checking for $ac_header" >&5
4117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 $ac_includes_default
4129 #include <$ac_header>
4131 rm -f conftest.
$ac_objext
4132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4133 (eval $ac_compile) 2>conftest.er1
4135 grep -v '^ *+' conftest.er1
>conftest.err
4137 cat conftest.err
>&5
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); } &&
4140 { ac_try
='test -z "$ac_c_werror_flag"
4141 || test ! -s conftest.err'
4142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); }; } &&
4147 { ac_try
='test -s conftest.$ac_objext'
4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); }; }; then
4153 eval "$as_ac_Header=yes"
4155 echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.
$ac_ext >&5
4158 eval "$as_ac_Header=no"
4160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4165 cat >>confdefs.h
<<_ACEOF
4166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4183 for ac_header
in locale.h fcntl.h limits.h stddef.h \
4184 stdlib.h
strings.h string.h sys
/file.h unistd.h
4186 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4188 echo "$as_me:$LINENO: checking for $ac_header" >&5
4189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4196 # Is the header compilable?
4197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4199 cat >conftest.
$ac_ext <<_ACEOF
4202 cat confdefs.h
>>conftest.
$ac_ext
4203 cat >>conftest.
$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4205 $ac_includes_default
4206 #include <$ac_header>
4208 rm -f conftest.
$ac_objext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4212 grep -v '^ *+' conftest.er1
>conftest.err
4214 cat conftest.err
>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try
='test -z "$ac_c_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try
='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_header_compiler
=yes
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.
$ac_ext >&5
4235 ac_header_compiler
=no
4237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4239 echo "${ECHO_T}$ac_header_compiler" >&6
4241 # Is the header present?
4242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4244 cat >conftest.
$ac_ext <<_ACEOF
4247 cat confdefs.h
>>conftest.
$ac_ext
4248 cat >>conftest.
$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 #include <$ac_header>
4252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4253 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4255 grep -v '^ *+' conftest.er1
>conftest.err
4257 cat conftest.err
>&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); } >/dev
/null
; then
4260 if test -s conftest.err
; then
4261 ac_cpp_err
=$ac_c_preproc_warn_flag
4262 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4269 if test -z "$ac_cpp_err"; then
4270 ac_header_preproc
=yes
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.
$ac_ext >&5
4275 ac_header_preproc
=no
4277 rm -f conftest.err conftest.
$ac_ext
4278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4279 echo "${ECHO_T}$ac_header_preproc" >&6
4281 # So? What about this header?
4282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4288 ac_header_preproc
=yes
4291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4295 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4297 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4298 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4305 ## ----------------------------------- ##
4306 ## Report this to gcc-bugs@gcc.gnu.org ##
4307 ## ----------------------------------- ##
4310 sed "s/^/$as_me: WARNING: /" >&2
4313 echo "$as_me:$LINENO: checking for $ac_header" >&5
4314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 eval "$as_ac_Header=\$ac_header_preproc"
4320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4325 cat >>confdefs.h
<<_ACEOF
4326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4335 ac_cpp
='$CXXCPP $CPPFLAGS'
4336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4342 ac_cpp
='$CXXCPP $CPPFLAGS'
4343 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4346 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4347 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4348 if test -z "$CXXCPP"; then
4349 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 # Double quotes because CXXCPP needs to be expanded
4353 for CXXCPP
in "$CXX -E" "/lib/cpp"
4356 for ac_cxx_preproc_warn_flag
in '' yes
4358 # Use a header file that comes with gcc, so configuring glibc
4359 # with a fresh cross-compiler works.
4360 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4361 # <limits.h> exists even on freestanding compilers.
4362 # On the NeXT, cc -E runs the code through the compiler's parser,
4363 # not just through cpp. "Syntax error" is here to catch this case.
4364 cat >conftest.
$ac_ext <<_ACEOF
4367 cat confdefs.h
>>conftest.
$ac_ext
4368 cat >>conftest.
$ac_ext <<_ACEOF
4369 /* end confdefs.h. */
4371 # include <limits.h>
4373 # include <assert.h>
4377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4378 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4380 grep -v '^ *+' conftest.er1
>conftest.err
4382 cat conftest.err
>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); } >/dev
/null
; then
4385 if test -s conftest.err
; then
4386 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4387 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4394 if test -z "$ac_cpp_err"; then
4397 echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.
$ac_ext >&5
4400 # Broken: fails on valid input.
4403 rm -f conftest.err conftest.
$ac_ext
4405 # OK, works on sane cases. Now check whether non-existent headers
4406 # can be detected and how.
4407 cat >conftest.
$ac_ext <<_ACEOF
4410 cat confdefs.h
>>conftest.
$ac_ext
4411 cat >>conftest.
$ac_ext <<_ACEOF
4412 /* end confdefs.h. */
4413 #include <ac_nonexistent.h>
4415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4416 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4418 grep -v '^ *+' conftest.er1
>conftest.err
4420 cat conftest.err
>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } >/dev
/null
; then
4423 if test -s conftest.err
; then
4424 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4425 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4432 if test -z "$ac_cpp_err"; then
4433 # Broken: success on invalid input.
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.
$ac_ext >&5
4439 # Passes both tests.
4443 rm -f conftest.err conftest.
$ac_ext
4446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4447 rm -f conftest.err conftest.
$ac_ext
4448 if $ac_preproc_ok; then
4453 ac_cv_prog_CXXCPP
=$CXXCPP
4456 CXXCPP
=$ac_cv_prog_CXXCPP
4458 ac_cv_prog_CXXCPP
=$CXXCPP
4460 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4461 echo "${ECHO_T}$CXXCPP" >&6
4463 for ac_cxx_preproc_warn_flag
in '' yes
4465 # Use a header file that comes with gcc, so configuring glibc
4466 # with a fresh cross-compiler works.
4467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4468 # <limits.h> exists even on freestanding compilers.
4469 # On the NeXT, cc -E runs the code through the compiler's parser,
4470 # not just through cpp. "Syntax error" is here to catch this case.
4471 cat >conftest.
$ac_ext <<_ACEOF
4474 cat confdefs.h
>>conftest.
$ac_ext
4475 cat >>conftest.
$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4478 # include <limits.h>
4480 # include <assert.h>
4484 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4485 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4487 grep -v '^ *+' conftest.er1
>conftest.err
4489 cat conftest.err
>&5
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); } >/dev
/null
; then
4492 if test -s conftest.err
; then
4493 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4494 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4501 if test -z "$ac_cpp_err"; then
4504 echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.
$ac_ext >&5
4507 # Broken: fails on valid input.
4510 rm -f conftest.err conftest.
$ac_ext
4512 # OK, works on sane cases. Now check whether non-existent headers
4513 # can be detected and how.
4514 cat >conftest.
$ac_ext <<_ACEOF
4517 cat confdefs.h
>>conftest.
$ac_ext
4518 cat >>conftest.
$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4520 #include <ac_nonexistent.h>
4522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4523 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4525 grep -v '^ *+' conftest.er1
>conftest.err
4527 cat conftest.err
>&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } >/dev
/null
; then
4530 if test -s conftest.err
; then
4531 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4532 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4539 if test -z "$ac_cpp_err"; then
4540 # Broken: success on invalid input.
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.
$ac_ext >&5
4546 # Passes both tests.
4550 rm -f conftest.err conftest.
$ac_ext
4553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4554 rm -f conftest.err conftest.
$ac_ext
4555 if $ac_preproc_ok; then
4558 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4559 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4560 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4561 See \`config.log' for more details." >&5
4562 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4563 See \`config.log' for more details." >&2;}
4564 { (exit 1); exit 1; }; }; }
4568 ac_cpp
='$CXXCPP $CPPFLAGS'
4569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4583 for ac_header
in locale.h fcntl.h limits.h stddef.h \
4584 stdlib.h
strings.h string.h sys
/file.h unistd.h
4586 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4588 echo "$as_me:$LINENO: checking for $ac_header" >&5
4589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4596 # Is the header compilable?
4597 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4598 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4599 cat >conftest.
$ac_ext <<_ACEOF
4602 cat confdefs.h
>>conftest.
$ac_ext
4603 cat >>conftest.
$ac_ext <<_ACEOF
4604 /* end confdefs.h. */
4605 $ac_includes_default
4606 #include <$ac_header>
4608 rm -f conftest.
$ac_objext
4609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4610 (eval $ac_compile) 2>conftest.er1
4612 grep -v '^ *+' conftest.er1
>conftest.err
4614 cat conftest.err
>&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); } &&
4617 { ac_try
='test -z "$ac_cxx_werror_flag"
4618 || test ! -s conftest.err'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; } &&
4624 { ac_try
='test -s conftest.$ac_objext'
4625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4629 (exit $ac_status); }; }; then
4630 ac_header_compiler
=yes
4632 echo "$as_me: failed program was:" >&5
4633 sed 's/^/| /' conftest.
$ac_ext >&5
4635 ac_header_compiler
=no
4637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4639 echo "${ECHO_T}$ac_header_compiler" >&6
4641 # Is the header present?
4642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4644 cat >conftest.
$ac_ext <<_ACEOF
4647 cat confdefs.h
>>conftest.
$ac_ext
4648 cat >>conftest.
$ac_ext <<_ACEOF
4649 /* end confdefs.h. */
4650 #include <$ac_header>
4652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4655 grep -v '^ *+' conftest.er1
>conftest.err
4657 cat conftest.err
>&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); } >/dev
/null
; then
4660 if test -s conftest.err
; then
4661 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4662 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4669 if test -z "$ac_cpp_err"; then
4670 ac_header_preproc
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_header_preproc
=no
4677 rm -f conftest.err conftest.
$ac_ext
4678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4679 echo "${ECHO_T}$ac_header_preproc" >&6
4681 # So? What about this header?
4682 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4688 ac_header_preproc
=yes
4691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4705 ## ----------------------------------- ##
4706 ## Report this to gcc-bugs@gcc.gnu.org ##
4707 ## ----------------------------------- ##
4710 sed "s/^/$as_me: WARNING: /" >&2
4713 echo "$as_me:$LINENO: checking for $ac_header" >&5
4714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4716 echo $ECHO_N "(cached) $ECHO_C" >&6
4718 eval "$as_ac_Header=\$ac_header_preproc"
4720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4725 cat >>confdefs.h
<<_ACEOF
4726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4735 # Checks for typedefs, structures, and compiler characteristics.
4736 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4737 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4738 if test "${ac_cv_c_const+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 cat >conftest.
$ac_ext <<_ACEOF
4744 cat confdefs.h
>>conftest.
$ac_ext
4745 cat >>conftest.
$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4751 /* FIXME: Include the comments suggested by Paul. */
4753 /* Ultrix mips cc rejects this. */
4754 typedef int charset[2];
4756 /* SunOS 4.1.1 cc rejects this. */
4757 char const *const *ccp;
4759 /* NEC SVR4.0.2 mips cc rejects this. */
4760 struct point {int x, y;};
4761 static struct point const zero = {0,0};
4762 /* AIX XL C 1.02.0.0 rejects this.
4763 It does not let you subtract one const X* pointer from another in
4764 an arm of an if-expression whose if-part is not a constant
4766 const char *g = "string";
4767 ccp = &g + (g ? g-g : 0);
4768 /* HPUX 7.0 cc rejects these. */
4771 ccp = (char const *const *) p;
4772 { /* SCO 3.2v4 cc rejects this. */
4774 char const *s = 0 ? (char *) 0 : (char const *) 0;
4778 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4780 const int *foo = &x[0];
4783 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4784 typedef const int *iptr;
4788 { /* AIX XL C 1.02.0.0 rejects this saying
4789 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4790 struct s { int j; const int *ap[3]; };
4791 struct s *b; b->j = 5;
4793 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4802 rm -f conftest.
$ac_objext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1
>conftest.err
4808 cat conftest.err
>&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try
='test -z "$ac_cxx_werror_flag"
4812 || test ! -s conftest.err'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; } &&
4818 { ac_try
='test -s conftest.$ac_objext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.
$ac_ext >&5
4831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4833 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4834 echo "${ECHO_T}$ac_cv_c_const" >&6
4835 if test $ac_cv_c_const = no
; then
4837 cat >>confdefs.h
<<\_ACEOF
4843 echo "$as_me:$LINENO: checking for inline" >&5
4844 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4845 if test "${ac_cv_c_inline+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 for ac_kw
in inline __inline__ __inline
; do
4850 cat >conftest.
$ac_ext <<_ACEOF
4853 cat confdefs.h
>>conftest.
$ac_ext
4854 cat >>conftest.
$ac_ext <<_ACEOF
4855 /* end confdefs.h. */
4858 static $ac_kw foo_t static_foo () {return 0; }
4859 $ac_kw foo_t foo () {return 0; }
4863 rm -f conftest.
$ac_objext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>conftest.er1
4867 grep -v '^ *+' conftest.er1
>conftest.err
4869 cat conftest.err
>&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
4872 { ac_try
='test -z "$ac_cxx_werror_flag"
4873 || test ! -s conftest.err'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; } &&
4879 { ac_try
='test -s conftest.$ac_objext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4885 ac_cv_c_inline
=$ac_kw; break
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.
$ac_ext >&5
4891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4895 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4896 echo "${ECHO_T}$ac_cv_c_inline" >&6
4899 case $ac_cv_c_inline in
4902 case $ac_cv_c_inline in
4904 *) ac_val
=$ac_cv_c_inline;;
4906 cat >>confdefs.h
<<_ACEOF
4908 #define inline $ac_val
4914 echo "$as_me:$LINENO: checking for obstacks" >&5
4915 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
4916 if test "${ac_cv_func_obstack+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 cat >conftest.
$ac_ext <<_ACEOF
4922 cat confdefs.h
>>conftest.
$ac_ext
4923 cat >>conftest.
$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4925 #include "obstack.h"
4929 struct obstack *mem; obstack_free(mem,(char *) 0)
4934 rm -f conftest.
$ac_objext conftest
$ac_exeext
4935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4936 (eval $ac_link) 2>conftest.er1
4938 grep -v '^ *+' conftest.er1
>conftest.err
4940 cat conftest.err
>&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } &&
4943 { ac_try
='test -z "$ac_cxx_werror_flag"
4944 || test ! -s conftest.err'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; } &&
4950 { ac_try
='test -s conftest$ac_exeext'
4951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); }; }; then
4956 ac_cv_func_obstack
=yes
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.
$ac_ext >&5
4961 ac_cv_func_obstack
=no
4963 rm -f conftest.err conftest.
$ac_objext \
4964 conftest
$ac_exeext conftest.
$ac_ext
4966 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4967 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4968 if test $ac_cv_func_obstack = yes; then
4970 cat >>confdefs.h
<<\_ACEOF
4971 #define HAVE_OBSTACK 1
4976 "obstack.$ac_objext" | \
4977 *" obstack.$ac_objext" | \
4978 "obstack.$ac_objext "* | \
4979 *" obstack.$ac_objext "* ) ;;
4980 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4985 echo "$as_me:$LINENO: checking for off_t" >&5
4986 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4987 if test "${ac_cv_type_off_t+set}" = set; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4990 cat >conftest.
$ac_ext <<_ACEOF
4993 cat confdefs.h
>>conftest.
$ac_ext
4994 cat >>conftest.
$ac_ext <<_ACEOF
4995 /* end confdefs.h. */
4996 $ac_includes_default
5008 rm -f conftest.
$ac_objext
5009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5010 (eval $ac_compile) 2>conftest.er1
5012 grep -v '^ *+' conftest.er1
>conftest.err
5014 cat conftest.err
>&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); } &&
5017 { ac_try
='test -z "$ac_cxx_werror_flag"
5018 || test ! -s conftest.err'
5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 (exit $ac_status); }; } &&
5024 { ac_try
='test -s conftest.$ac_objext'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; }; then
5030 ac_cv_type_off_t
=yes
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.
$ac_ext >&5
5037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5040 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5041 if test $ac_cv_type_off_t = yes; then
5045 cat >>confdefs.h
<<_ACEOF
5051 echo "$as_me:$LINENO: checking for size_t" >&5
5052 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5053 if test "${ac_cv_type_size_t+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 cat >conftest.
$ac_ext <<_ACEOF
5059 cat confdefs.h
>>conftest.
$ac_ext
5060 cat >>conftest.
$ac_ext <<_ACEOF
5061 /* end confdefs.h. */
5062 $ac_includes_default
5068 if (sizeof (size_t))
5074 rm -f conftest.
$ac_objext
5075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5076 (eval $ac_compile) 2>conftest.er1
5078 grep -v '^ *+' conftest.er1
>conftest.err
5080 cat conftest.err
>&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } &&
5083 { ac_try
='test -z "$ac_cxx_werror_flag"
5084 || test ! -s conftest.err'
5085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); }; } &&
5090 { ac_try
='test -s conftest.$ac_objext'
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_type_size_t
=yes
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.
$ac_ext >&5
5101 ac_cv_type_size_t
=no
5103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5105 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5106 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5107 if test $ac_cv_type_size_t = yes; then
5111 cat >>confdefs.h
<<_ACEOF
5112 #define size_t unsigned
5117 echo "$as_me:$LINENO: checking for ssize_t" >&5
5118 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
5119 if test "${ac_cv_type_ssize_t+set}" = set; then
5120 echo $ECHO_N "(cached) $ECHO_C" >&6
5122 cat >conftest.
$ac_ext <<_ACEOF
5125 cat confdefs.h
>>conftest.
$ac_ext
5126 cat >>conftest.
$ac_ext <<_ACEOF
5127 /* end confdefs.h. */
5128 $ac_includes_default
5134 if (sizeof (ssize_t))
5140 rm -f conftest.
$ac_objext
5141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5142 (eval $ac_compile) 2>conftest.er1
5144 grep -v '^ *+' conftest.er1
>conftest.err
5146 cat conftest.err
>&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } &&
5149 { ac_try
='test -z "$ac_cxx_werror_flag"
5150 || test ! -s conftest.err'
5151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); }; } &&
5156 { ac_try
='test -s conftest.$ac_objext'
5157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }; }; then
5162 ac_cv_type_ssize_t
=yes
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.
$ac_ext >&5
5167 ac_cv_type_ssize_t
=no
5169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5171 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5172 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
5173 if test $ac_cv_type_ssize_t = yes; then
5177 cat >>confdefs.h
<<_ACEOF
5183 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5184 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5185 if test "${ac_cv_struct_tm+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 cat >conftest.
$ac_ext <<_ACEOF
5191 cat confdefs.h
>>conftest.
$ac_ext
5192 cat >>conftest.
$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 #include <sys/types.h>
5200 struct tm *tp; tp->tm_sec;
5205 rm -f conftest.
$ac_objext
5206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5207 (eval $ac_compile) 2>conftest.er1
5209 grep -v '^ *+' conftest.er1
>conftest.err
5211 cat conftest.err
>&5
5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5213 (exit $ac_status); } &&
5214 { ac_try
='test -z "$ac_cxx_werror_flag"
5215 || test ! -s conftest.err'
5216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; } &&
5221 { ac_try
='test -s conftest.$ac_objext'
5222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); }; }; then
5227 ac_cv_struct_tm
=time.h
5229 echo "$as_me: failed program was:" >&5
5230 sed 's/^/| /' conftest.
$ac_ext >&5
5232 ac_cv_struct_tm
=sys
/time.h
5234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5236 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5237 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5238 if test $ac_cv_struct_tm = sys
/time.h
; then
5240 cat >>confdefs.h
<<\_ACEOF
5241 #define TM_IN_SYS_TIME 1
5246 echo "$as_me:$LINENO: checking for int" >&5
5247 echo $ECHO_N "checking for int... $ECHO_C" >&6
5248 if test "${ac_cv_type_int+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5257 $ac_includes_default
5269 rm -f conftest.
$ac_objext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5271 (eval $ac_compile) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try
='test -z "$ac_cxx_werror_flag"
5279 || test ! -s conftest.err'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; } &&
5285 { ac_try
='test -s conftest.$ac_objext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.
$ac_ext >&5
5298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5300 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5301 echo "${ECHO_T}$ac_cv_type_int" >&6
5303 echo "$as_me:$LINENO: checking size of int" >&5
5304 echo $ECHO_N "checking size of int... $ECHO_C" >&6
5305 if test "${ac_cv_sizeof_int+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if test "$ac_cv_type_int" = yes; then
5309 # The cast to unsigned long works around a bug in the HP C Compiler
5310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5312 # This bug is HP SR number 8606223364.
5313 if test "$cross_compiling" = yes; then
5314 # Depending upon the size, compute the lo and hi bounds.
5315 cat >conftest.
$ac_ext <<_ACEOF
5318 cat confdefs.h
>>conftest.
$ac_ext
5319 cat >>conftest.
$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 $ac_includes_default
5325 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
5332 rm -f conftest.
$ac_objext
5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334 (eval $ac_compile) 2>conftest.er1
5336 grep -v '^ *+' conftest.er1
>conftest.err
5338 cat conftest.err
>&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } &&
5341 { ac_try
='test -z "$ac_cxx_werror_flag"
5342 || test ! -s conftest.err'
5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }; } &&
5348 { ac_try
='test -s conftest.$ac_objext'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; }; then
5356 cat >conftest.
$ac_ext <<_ACEOF
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5362 $ac_includes_default
5366 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5373 rm -f conftest.
$ac_objext
5374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375 (eval $ac_compile) 2>conftest.er1
5377 grep -v '^ *+' conftest.er1
>conftest.err
5379 cat conftest.err
>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try
='test -z "$ac_cxx_werror_flag"
5383 || test ! -s conftest.err'
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; } &&
5389 { ac_try
='test -s conftest.$ac_objext'
5390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_hi
=$ac_mid; break
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.
$ac_ext >&5
5400 ac_lo
=`expr $ac_mid + 1`
5401 if test $ac_lo -le $ac_mid; then
5405 ac_mid
=`expr 2 '*' $ac_mid + 1`
5407 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5410 echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.
$ac_ext >&5
5413 cat >conftest.
$ac_ext <<_ACEOF
5416 cat confdefs.h
>>conftest.
$ac_ext
5417 cat >>conftest.
$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 $ac_includes_default
5423 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5430 rm -f conftest.
$ac_objext
5431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5432 (eval $ac_compile) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try
='test -z "$ac_cxx_werror_flag"
5440 || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try
='test -s conftest.$ac_objext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5454 cat >conftest.
$ac_ext <<_ACEOF
5457 cat confdefs.h
>>conftest.
$ac_ext
5458 cat >>conftest.
$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5460 $ac_includes_default
5464 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5471 rm -f conftest.
$ac_objext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5473 (eval $ac_compile) 2>conftest.er1
5475 grep -v '^ *+' conftest.er1
>conftest.err
5477 cat conftest.err
>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try
='test -z "$ac_cxx_werror_flag"
5481 || test ! -s conftest.err'
5482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }; } &&
5487 { ac_try
='test -s conftest.$ac_objext'
5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); }; }; then
5493 ac_lo
=$ac_mid; break
5495 echo "$as_me: failed program was:" >&5
5496 sed 's/^/| /' conftest.
$ac_ext >&5
5498 ac_hi
=`expr '(' $ac_mid ')' - 1`
5499 if test $ac_mid -le $ac_hi; then
5503 ac_mid
=`expr 2 '*' $ac_mid`
5505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.
$ac_ext >&5
5513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5516 # Binary search between lo and hi bounds.
5517 while test "x$ac_lo" != "x$ac_hi"; do
5518 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5519 cat >conftest.
$ac_ext <<_ACEOF
5522 cat confdefs.h
>>conftest.
$ac_ext
5523 cat >>conftest.
$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5525 $ac_includes_default
5529 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5536 rm -f conftest.
$ac_objext
5537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5538 (eval $ac_compile) 2>conftest.er1
5540 grep -v '^ *+' conftest.er1
>conftest.err
5542 cat conftest.err
>&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } &&
5545 { ac_try
='test -z "$ac_cxx_werror_flag"
5546 || test ! -s conftest.err'
5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 (exit $ac_status); }; } &&
5552 { ac_try
='test -s conftest.$ac_objext'
5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; }; then
5560 echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.
$ac_ext >&5
5563 ac_lo
=`expr '(' $ac_mid ')' + 1`
5565 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5569 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5570 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5572 See \`config.log' for more details." >&5
5573 echo "$as_me: error: cannot compute sizeof (int), 77
5574 See \`config.log' for more details." >&2;}
5575 { (exit 1); exit 1; }; }; } ;;
5578 if test "$cross_compiling" = yes; then
5579 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5580 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5581 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5582 See \`config.log' for more details." >&5
5583 echo "$as_me: error: cannot run test program while cross compiling
5584 See \`config.log' for more details." >&2;}
5585 { (exit 1); exit 1; }; }; }
5587 cat >conftest.
$ac_ext <<_ACEOF
5590 cat confdefs.h
>>conftest.
$ac_ext
5591 cat >>conftest.
$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5593 $ac_includes_default
5594 long longval () { return (long) (sizeof (int)); }
5595 unsigned long ulongval () { return (long) (sizeof (int)); }
5602 FILE *f = fopen ("conftest.val", "w");
5605 if (((long) (sizeof (int))) < 0)
5607 long i = longval ();
5608 if (i != ((long) (sizeof (int))))
5610 fprintf (f, "%ld\n", i);
5614 unsigned long i = ulongval ();
5615 if (i != ((long) (sizeof (int))))
5617 fprintf (f, "%lu\n", i);
5619 exit (ferror (f) || fclose (f) != 0);
5625 rm -f conftest
$ac_exeext
5626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5627 (eval $ac_link) 2>&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 ac_cv_sizeof_int
=`cat conftest.val`
5638 echo "$as_me: program exited with status $ac_status" >&5
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5643 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5644 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5646 See \`config.log' for more details." >&5
5647 echo "$as_me: error: cannot compute sizeof (int), 77
5648 See \`config.log' for more details." >&2;}
5649 { (exit 1); exit 1; }; }; }
5651 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5660 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5661 cat >>confdefs.h
<<_ACEOF
5662 #define SIZEOF_INT $ac_cv_sizeof_int
5666 echo "$as_me:$LINENO: checking for long" >&5
5667 echo $ECHO_N "checking for long... $ECHO_C" >&6
5668 if test "${ac_cv_type_long+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 cat >conftest.
$ac_ext <<_ACEOF
5674 cat confdefs.h
>>conftest.
$ac_ext
5675 cat >>conftest.
$ac_ext <<_ACEOF
5676 /* end confdefs.h. */
5677 $ac_includes_default
5689 rm -f conftest.
$ac_objext
5690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5691 (eval $ac_compile) 2>conftest.er1
5693 grep -v '^ *+' conftest.er1
>conftest.err
5695 cat conftest.err
>&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -z "$ac_cxx_werror_flag"
5699 || test ! -s conftest.err'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; } &&
5705 { ac_try
='test -s conftest.$ac_objext'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; }; then
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.
$ac_ext >&5
5718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5720 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5721 echo "${ECHO_T}$ac_cv_type_long" >&6
5723 echo "$as_me:$LINENO: checking size of long" >&5
5724 echo $ECHO_N "checking size of long... $ECHO_C" >&6
5725 if test "${ac_cv_sizeof_long+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test "$ac_cv_type_long" = yes; then
5729 # The cast to unsigned long works around a bug in the HP C Compiler
5730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5732 # This bug is HP SR number 8606223364.
5733 if test "$cross_compiling" = yes; then
5734 # Depending upon the size, compute the lo and hi bounds.
5735 cat >conftest.
$ac_ext <<_ACEOF
5738 cat confdefs.h
>>conftest.
$ac_ext
5739 cat >>conftest.
$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 $ac_includes_default
5745 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
5752 rm -f conftest.
$ac_objext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754 (eval $ac_compile) 2>conftest.er1
5756 grep -v '^ *+' conftest.er1
>conftest.err
5758 cat conftest.err
>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); } &&
5761 { ac_try
='test -z "$ac_cxx_werror_flag"
5762 || test ! -s conftest.err'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; } &&
5768 { ac_try
='test -s conftest.$ac_objext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5776 cat >conftest.
$ac_ext <<_ACEOF
5779 cat confdefs.h
>>conftest.
$ac_ext
5780 cat >>conftest.
$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5786 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5793 rm -f conftest.
$ac_objext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5795 (eval $ac_compile) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try
='test -z "$ac_cxx_werror_flag"
5803 || test ! -s conftest.err'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; } &&
5809 { ac_try
='test -s conftest.$ac_objext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 ac_hi
=$ac_mid; break
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.
$ac_ext >&5
5820 ac_lo
=`expr $ac_mid + 1`
5821 if test $ac_lo -le $ac_mid; then
5825 ac_mid
=`expr 2 '*' $ac_mid + 1`
5827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5830 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.
$ac_ext >&5
5833 cat >conftest.
$ac_ext <<_ACEOF
5836 cat confdefs.h
>>conftest.
$ac_ext
5837 cat >>conftest.
$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5839 $ac_includes_default
5843 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
5850 rm -f conftest.
$ac_objext
5851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5852 (eval $ac_compile) 2>conftest.er1
5854 grep -v '^ *+' conftest.er1
>conftest.err
5856 cat conftest.err
>&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } &&
5859 { ac_try
='test -z "$ac_cxx_werror_flag"
5860 || test ! -s conftest.err'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; } &&
5866 { ac_try
='test -s conftest.$ac_objext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5874 cat >conftest.
$ac_ext <<_ACEOF
5877 cat confdefs.h
>>conftest.
$ac_ext
5878 cat >>conftest.
$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 $ac_includes_default
5884 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5891 rm -f conftest.
$ac_objext
5892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893 (eval $ac_compile) 2>conftest.er1
5895 grep -v '^ *+' conftest.er1
>conftest.err
5897 cat conftest.err
>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } &&
5900 { ac_try
='test -z "$ac_cxx_werror_flag"
5901 || test ! -s conftest.err'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; } &&
5907 { ac_try
='test -s conftest.$ac_objext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 ac_lo
=$ac_mid; break
5915 echo "$as_me: failed program was:" >&5
5916 sed 's/^/| /' conftest.
$ac_ext >&5
5918 ac_hi
=`expr '(' $ac_mid ')' - 1`
5919 if test $ac_mid -le $ac_hi; then
5923 ac_mid
=`expr 2 '*' $ac_mid`
5925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.
$ac_ext >&5
5933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5936 # Binary search between lo and hi bounds.
5937 while test "x$ac_lo" != "x$ac_hi"; do
5938 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5939 cat >conftest.
$ac_ext <<_ACEOF
5942 cat confdefs.h
>>conftest.
$ac_ext
5943 cat >>conftest.
$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5945 $ac_includes_default
5949 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5956 rm -f conftest.
$ac_objext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>conftest.er1
5960 grep -v '^ *+' conftest.er1
>conftest.err
5962 cat conftest.err
>&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } &&
5965 { ac_try
='test -z "$ac_cxx_werror_flag"
5966 || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try
='test -s conftest.$ac_objext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5983 ac_lo
=`expr '(' $ac_mid ')' + 1`
5985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5988 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5989 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5990 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5992 See \`config.log' for more details." >&5
5993 echo "$as_me: error: cannot compute sizeof (long), 77
5994 See \`config.log' for more details." >&2;}
5995 { (exit 1); exit 1; }; }; } ;;
5998 if test "$cross_compiling" = yes; then
5999 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6000 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6001 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6002 See \`config.log' for more details." >&5
6003 echo "$as_me: error: cannot run test program while cross compiling
6004 See \`config.log' for more details." >&2;}
6005 { (exit 1); exit 1; }; }; }
6007 cat >conftest.
$ac_ext <<_ACEOF
6010 cat confdefs.h
>>conftest.
$ac_ext
6011 cat >>conftest.
$ac_ext <<_ACEOF
6012 /* end confdefs.h. */
6013 $ac_includes_default
6014 long longval () { return (long) (sizeof (long)); }
6015 unsigned long ulongval () { return (long) (sizeof (long)); }
6022 FILE *f = fopen ("conftest.val", "w");
6025 if (((long) (sizeof (long))) < 0)
6027 long i = longval ();
6028 if (i != ((long) (sizeof (long))))
6030 fprintf (f, "%ld\n", i);
6034 unsigned long i = ulongval ();
6035 if (i != ((long) (sizeof (long))))
6037 fprintf (f, "%lu\n", i);
6039 exit (ferror (f) || fclose (f) != 0);
6045 rm -f conftest
$ac_exeext
6046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6047 (eval $ac_link) 2>&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6055 (exit $ac_status); }; }; then
6056 ac_cv_sizeof_long
=`cat conftest.val`
6058 echo "$as_me: program exited with status $ac_status" >&5
6059 echo "$as_me: failed program was:" >&5
6060 sed 's/^/| /' conftest.
$ac_ext >&5
6063 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6064 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6065 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6066 See \`config.log' for more details." >&5
6067 echo "$as_me: error: cannot compute sizeof (long), 77
6068 See \`config.log' for more details." >&2;}
6069 { (exit 1); exit 1; }; }; }
6071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6079 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6080 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
6081 cat >>confdefs.h
<<_ACEOF
6082 #define SIZEOF_LONG $ac_cv_sizeof_long
6103 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
6105 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6106 echo "$as_me:$LINENO: checking for $ac_func" >&5
6107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6108 if eval "test \"\${$as_ac_var+set}\" = set"; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 cat >conftest.
$ac_ext <<_ACEOF
6114 cat confdefs.h
>>conftest.
$ac_ext
6115 cat >>conftest.
$ac_ext <<_ACEOF
6116 /* end confdefs.h. */
6117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6119 #define $ac_func innocuous_$ac_func
6121 /* System header to define __stub macros and hopefully few prototypes,
6122 which can conflict with char $ac_func (); below.
6123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6124 <limits.h> exists even on freestanding compilers. */
6127 # include <limits.h>
6129 # include <assert.h>
6134 /* Override any gcc2 internal prototype to avoid an error. */
6139 /* We use char because int might match the return type of a gcc2
6140 builtin and then its argument prototype would still apply. */
6142 /* The GNU C library defines this for functions which it implements
6143 to always fail with ENOSYS. Some functions are actually named
6144 something starting with __ and the normal name is an alias. */
6145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6148 char (*f) () = $ac_func;
6157 return f != $ac_func;
6162 rm -f conftest.
$ac_objext conftest
$ac_exeext
6163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6164 (eval $ac_link) 2>conftest.er1
6166 grep -v '^ *+' conftest.er1
>conftest.err
6168 cat conftest.err
>&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); } &&
6171 { ac_try
='test -z "$ac_cxx_werror_flag"
6172 || test ! -s conftest.err'
6173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); }; } &&
6178 { ac_try
='test -s conftest$ac_exeext'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; }; then
6184 eval "$as_ac_var=yes"
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.
$ac_ext >&5
6189 eval "$as_ac_var=no"
6191 rm -f conftest.err conftest.
$ac_objext \
6192 conftest
$ac_exeext conftest.
$ac_ext
6194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6196 if test `eval echo '${'$as_ac_var'}'` = yes; then
6197 cat >>confdefs.h
<<_ACEOF
6198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6204 echo "$as_me:$LINENO: checking whether abort is declared" >&5
6205 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
6206 if test "${ac_cv_have_decl_abort+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6209 cat >conftest.
$ac_ext <<_ACEOF
6212 cat confdefs.h
>>conftest.
$ac_ext
6213 cat >>conftest.
$ac_ext <<_ACEOF
6214 /* end confdefs.h. */
6215 $ac_includes_default
6220 char *p = (char *) abort;
6227 rm -f conftest.
$ac_objext
6228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6229 (eval $ac_compile) 2>conftest.er1
6231 grep -v '^ *+' conftest.er1
>conftest.err
6233 cat conftest.err
>&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } &&
6236 { ac_try
='test -z "$ac_cxx_werror_flag"
6237 || test ! -s conftest.err'
6238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); }; } &&
6243 { ac_try
='test -s conftest.$ac_objext'
6244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then
6249 ac_cv_have_decl_abort
=yes
6251 echo "$as_me: failed program was:" >&5
6252 sed 's/^/| /' conftest.
$ac_ext >&5
6254 ac_cv_have_decl_abort
=no
6256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6258 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
6259 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
6260 if test $ac_cv_have_decl_abort = yes; then
6262 cat >>confdefs.h
<<_ACEOF
6263 #define HAVE_DECL_ABORT 1
6268 cat >>confdefs.h
<<_ACEOF
6269 #define HAVE_DECL_ABORT 0
6274 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
6275 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
6276 if test "${ac_cv_have_decl_asprintf+set}" = set; then
6277 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 cat >conftest.
$ac_ext <<_ACEOF
6282 cat confdefs.h
>>conftest.
$ac_ext
6283 cat >>conftest.
$ac_ext <<_ACEOF
6284 /* end confdefs.h. */
6285 $ac_includes_default
6290 char *p = (char *) asprintf;
6297 rm -f conftest.
$ac_objext
6298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6299 (eval $ac_compile) 2>conftest.er1
6301 grep -v '^ *+' conftest.er1
>conftest.err
6303 cat conftest.err
>&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); } &&
6306 { ac_try
='test -z "$ac_cxx_werror_flag"
6307 || test ! -s conftest.err'
6308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; } &&
6313 { ac_try
='test -s conftest.$ac_objext'
6314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }; }; then
6319 ac_cv_have_decl_asprintf
=yes
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.
$ac_ext >&5
6324 ac_cv_have_decl_asprintf
=no
6326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6328 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
6329 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
6330 if test $ac_cv_have_decl_asprintf = yes; then
6332 cat >>confdefs.h
<<_ACEOF
6333 #define HAVE_DECL_ASPRINTF 1
6338 cat >>confdefs.h
<<_ACEOF
6339 #define HAVE_DECL_ASPRINTF 0
6344 echo "$as_me:$LINENO: checking whether basename is declared" >&5
6345 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
6346 if test "${ac_cv_have_decl_basename+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6349 cat >conftest.
$ac_ext <<_ACEOF
6352 cat confdefs.h
>>conftest.
$ac_ext
6353 cat >>conftest.
$ac_ext <<_ACEOF
6354 /* end confdefs.h. */
6355 $ac_includes_default
6360 char *p = (char *) basename;
6367 rm -f conftest.
$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369 (eval $ac_compile) 2>conftest.er1
6371 grep -v '^ *+' conftest.er1
>conftest.err
6373 cat conftest.err
>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try
='test -z "$ac_cxx_werror_flag"
6377 || test ! -s conftest.err'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; } &&
6383 { ac_try
='test -s conftest.$ac_objext'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; }; then
6389 ac_cv_have_decl_basename
=yes
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.
$ac_ext >&5
6394 ac_cv_have_decl_basename
=no
6396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6398 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
6399 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
6400 if test $ac_cv_have_decl_basename = yes; then
6402 cat >>confdefs.h
<<_ACEOF
6403 #define HAVE_DECL_BASENAME 1
6408 cat >>confdefs.h
<<_ACEOF
6409 #define HAVE_DECL_BASENAME 0
6414 echo "$as_me:$LINENO: checking whether errno is declared" >&5
6415 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
6416 if test "${ac_cv_have_decl_errno+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6419 cat >conftest.
$ac_ext <<_ACEOF
6422 cat confdefs.h
>>conftest.
$ac_ext
6423 cat >>conftest.
$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6425 $ac_includes_default
6430 char *p = (char *) errno;
6437 rm -f conftest.
$ac_objext
6438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6439 (eval $ac_compile) 2>conftest.er1
6441 grep -v '^ *+' conftest.er1
>conftest.err
6443 cat conftest.err
>&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } &&
6446 { ac_try
='test -z "$ac_cxx_werror_flag"
6447 || test ! -s conftest.err'
6448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); }; } &&
6453 { ac_try
='test -s conftest.$ac_objext'
6454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); }; }; then
6459 ac_cv_have_decl_errno
=yes
6461 echo "$as_me: failed program was:" >&5
6462 sed 's/^/| /' conftest.
$ac_ext >&5
6464 ac_cv_have_decl_errno
=no
6466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6468 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
6469 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
6470 if test $ac_cv_have_decl_errno = yes; then
6472 cat >>confdefs.h
<<_ACEOF
6473 #define HAVE_DECL_ERRNO 1
6478 cat >>confdefs.h
<<_ACEOF
6479 #define HAVE_DECL_ERRNO 0
6484 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
6485 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
6486 if test "${ac_cv_have_decl_getopt+set}" = set; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6489 cat >conftest.
$ac_ext <<_ACEOF
6492 cat confdefs.h
>>conftest.
$ac_ext
6493 cat >>conftest.
$ac_ext <<_ACEOF
6494 /* end confdefs.h. */
6495 $ac_includes_default
6500 char *p = (char *) getopt;
6507 rm -f conftest.
$ac_objext
6508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6509 (eval $ac_compile) 2>conftest.er1
6511 grep -v '^ *+' conftest.er1
>conftest.err
6513 cat conftest.err
>&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); } &&
6516 { ac_try
='test -z "$ac_cxx_werror_flag"
6517 || test ! -s conftest.err'
6518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); }; } &&
6523 { ac_try
='test -s conftest.$ac_objext'
6524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); }; }; then
6529 ac_cv_have_decl_getopt
=yes
6531 echo "$as_me: failed program was:" >&5
6532 sed 's/^/| /' conftest.
$ac_ext >&5
6534 ac_cv_have_decl_getopt
=no
6536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6538 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
6539 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
6540 if test $ac_cv_have_decl_getopt = yes; then
6542 cat >>confdefs.h
<<_ACEOF
6543 #define HAVE_DECL_GETOPT 1
6548 cat >>confdefs.h
<<_ACEOF
6549 #define HAVE_DECL_GETOPT 0
6554 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
6555 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
6556 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
6557 echo $ECHO_N "(cached) $ECHO_C" >&6
6559 cat >conftest.
$ac_ext <<_ACEOF
6562 cat confdefs.h
>>conftest.
$ac_ext
6563 cat >>conftest.
$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6565 $ac_includes_default
6569 #ifndef clearerr_unlocked
6570 char *p = (char *) clearerr_unlocked;
6577 rm -f conftest.
$ac_objext
6578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6579 (eval $ac_compile) 2>conftest.er1
6581 grep -v '^ *+' conftest.er1
>conftest.err
6583 cat conftest.err
>&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } &&
6586 { ac_try
='test -z "$ac_cxx_werror_flag"
6587 || test ! -s conftest.err'
6588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); }; } &&
6593 { ac_try
='test -s conftest.$ac_objext'
6594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); }; }; then
6599 ac_cv_have_decl_clearerr_unlocked
=yes
6601 echo "$as_me: failed program was:" >&5
6602 sed 's/^/| /' conftest.
$ac_ext >&5
6604 ac_cv_have_decl_clearerr_unlocked
=no
6606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6608 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
6609 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
6610 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
6612 cat >>confdefs.h
<<_ACEOF
6613 #define HAVE_DECL_CLEARERR_UNLOCKED 1
6618 cat >>confdefs.h
<<_ACEOF
6619 #define HAVE_DECL_CLEARERR_UNLOCKED 0
6624 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
6625 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
6626 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 cat >conftest.
$ac_ext <<_ACEOF
6632 cat confdefs.h
>>conftest.
$ac_ext
6633 cat >>conftest.
$ac_ext <<_ACEOF
6634 /* end confdefs.h. */
6635 $ac_includes_default
6639 #ifndef feof_unlocked
6640 char *p = (char *) feof_unlocked;
6647 rm -f conftest.
$ac_objext
6648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6649 (eval $ac_compile) 2>conftest.er1
6651 grep -v '^ *+' conftest.er1
>conftest.err
6653 cat conftest.err
>&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } &&
6656 { ac_try
='test -z "$ac_cxx_werror_flag"
6657 || test ! -s conftest.err'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; } &&
6663 { ac_try
='test -s conftest.$ac_objext'
6664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; }; then
6669 ac_cv_have_decl_feof_unlocked
=yes
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.
$ac_ext >&5
6674 ac_cv_have_decl_feof_unlocked
=no
6676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6678 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
6679 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
6680 if test $ac_cv_have_decl_feof_unlocked = yes; then
6682 cat >>confdefs.h
<<_ACEOF
6683 #define HAVE_DECL_FEOF_UNLOCKED 1
6688 cat >>confdefs.h
<<_ACEOF
6689 #define HAVE_DECL_FEOF_UNLOCKED 0
6694 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
6695 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
6696 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
6697 echo $ECHO_N "(cached) $ECHO_C" >&6
6699 cat >conftest.
$ac_ext <<_ACEOF
6702 cat confdefs.h
>>conftest.
$ac_ext
6703 cat >>conftest.
$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6705 $ac_includes_default
6709 #ifndef ferror_unlocked
6710 char *p = (char *) ferror_unlocked;
6717 rm -f conftest.
$ac_objext
6718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6719 (eval $ac_compile) 2>conftest.er1
6721 grep -v '^ *+' conftest.er1
>conftest.err
6723 cat conftest.err
>&5
6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 (exit $ac_status); } &&
6726 { ac_try
='test -z "$ac_cxx_werror_flag"
6727 || test ! -s conftest.err'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; } &&
6733 { ac_try
='test -s conftest.$ac_objext'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; }; then
6739 ac_cv_have_decl_ferror_unlocked
=yes
6741 echo "$as_me: failed program was:" >&5
6742 sed 's/^/| /' conftest.
$ac_ext >&5
6744 ac_cv_have_decl_ferror_unlocked
=no
6746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6748 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
6749 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
6750 if test $ac_cv_have_decl_ferror_unlocked = yes; then
6752 cat >>confdefs.h
<<_ACEOF
6753 #define HAVE_DECL_FERROR_UNLOCKED 1
6758 cat >>confdefs.h
<<_ACEOF
6759 #define HAVE_DECL_FERROR_UNLOCKED 0
6764 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
6765 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
6766 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 cat >conftest.
$ac_ext <<_ACEOF
6772 cat confdefs.h
>>conftest.
$ac_ext
6773 cat >>conftest.
$ac_ext <<_ACEOF
6774 /* end confdefs.h. */
6775 $ac_includes_default
6779 #ifndef fflush_unlocked
6780 char *p = (char *) fflush_unlocked;
6787 rm -f conftest.
$ac_objext
6788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6789 (eval $ac_compile) 2>conftest.er1
6791 grep -v '^ *+' conftest.er1
>conftest.err
6793 cat conftest.err
>&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); } &&
6796 { ac_try
='test -z "$ac_cxx_werror_flag"
6797 || test ! -s conftest.err'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; } &&
6803 { ac_try
='test -s conftest.$ac_objext'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; }; then
6809 ac_cv_have_decl_fflush_unlocked
=yes
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.
$ac_ext >&5
6814 ac_cv_have_decl_fflush_unlocked
=no
6816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6818 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
6819 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
6820 if test $ac_cv_have_decl_fflush_unlocked = yes; then
6822 cat >>confdefs.h
<<_ACEOF
6823 #define HAVE_DECL_FFLUSH_UNLOCKED 1
6828 cat >>confdefs.h
<<_ACEOF
6829 #define HAVE_DECL_FFLUSH_UNLOCKED 0
6834 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
6835 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
6836 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 cat >conftest.
$ac_ext <<_ACEOF
6842 cat confdefs.h
>>conftest.
$ac_ext
6843 cat >>conftest.
$ac_ext <<_ACEOF
6844 /* end confdefs.h. */
6845 $ac_includes_default
6849 #ifndef fgetc_unlocked
6850 char *p = (char *) fgetc_unlocked;
6857 rm -f conftest.
$ac_objext
6858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6859 (eval $ac_compile) 2>conftest.er1
6861 grep -v '^ *+' conftest.er1
>conftest.err
6863 cat conftest.err
>&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); } &&
6866 { ac_try
='test -z "$ac_cxx_werror_flag"
6867 || test ! -s conftest.err'
6868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); }; } &&
6873 { ac_try
='test -s conftest.$ac_objext'
6874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6878 (exit $ac_status); }; }; then
6879 ac_cv_have_decl_fgetc_unlocked
=yes
6881 echo "$as_me: failed program was:" >&5
6882 sed 's/^/| /' conftest.
$ac_ext >&5
6884 ac_cv_have_decl_fgetc_unlocked
=no
6886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6888 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
6889 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
6890 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
6892 cat >>confdefs.h
<<_ACEOF
6893 #define HAVE_DECL_FGETC_UNLOCKED 1
6898 cat >>confdefs.h
<<_ACEOF
6899 #define HAVE_DECL_FGETC_UNLOCKED 0
6904 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
6905 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
6906 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 cat >conftest.
$ac_ext <<_ACEOF
6912 cat confdefs.h
>>conftest.
$ac_ext
6913 cat >>conftest.
$ac_ext <<_ACEOF
6914 /* end confdefs.h. */
6915 $ac_includes_default
6919 #ifndef fgets_unlocked
6920 char *p = (char *) fgets_unlocked;
6927 rm -f conftest.
$ac_objext
6928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6929 (eval $ac_compile) 2>conftest.er1
6931 grep -v '^ *+' conftest.er1
>conftest.err
6933 cat conftest.err
>&5
6934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6935 (exit $ac_status); } &&
6936 { ac_try
='test -z "$ac_cxx_werror_flag"
6937 || test ! -s conftest.err'
6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); }; } &&
6943 { ac_try
='test -s conftest.$ac_objext'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; }; then
6949 ac_cv_have_decl_fgets_unlocked
=yes
6951 echo "$as_me: failed program was:" >&5
6952 sed 's/^/| /' conftest.
$ac_ext >&5
6954 ac_cv_have_decl_fgets_unlocked
=no
6956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6958 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
6959 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
6960 if test $ac_cv_have_decl_fgets_unlocked = yes; then
6962 cat >>confdefs.h
<<_ACEOF
6963 #define HAVE_DECL_FGETS_UNLOCKED 1
6968 cat >>confdefs.h
<<_ACEOF
6969 #define HAVE_DECL_FGETS_UNLOCKED 0
6974 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
6975 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
6976 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6979 cat >conftest.
$ac_ext <<_ACEOF
6982 cat confdefs.h
>>conftest.
$ac_ext
6983 cat >>conftest.
$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6985 $ac_includes_default
6989 #ifndef fileno_unlocked
6990 char *p = (char *) fileno_unlocked;
6997 rm -f conftest.
$ac_objext
6998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6999 (eval $ac_compile) 2>conftest.er1
7001 grep -v '^ *+' conftest.er1
>conftest.err
7003 cat conftest.err
>&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } &&
7006 { ac_try
='test -z "$ac_cxx_werror_flag"
7007 || test ! -s conftest.err'
7008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); }; } &&
7013 { ac_try
='test -s conftest.$ac_objext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7019 ac_cv_have_decl_fileno_unlocked
=yes
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.
$ac_ext >&5
7024 ac_cv_have_decl_fileno_unlocked
=no
7026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7028 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
7029 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
7030 if test $ac_cv_have_decl_fileno_unlocked = yes; then
7032 cat >>confdefs.h
<<_ACEOF
7033 #define HAVE_DECL_FILENO_UNLOCKED 1
7038 cat >>confdefs.h
<<_ACEOF
7039 #define HAVE_DECL_FILENO_UNLOCKED 0
7044 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
7045 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
7046 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7049 cat >conftest.
$ac_ext <<_ACEOF
7052 cat confdefs.h
>>conftest.
$ac_ext
7053 cat >>conftest.
$ac_ext <<_ACEOF
7054 /* end confdefs.h. */
7055 $ac_includes_default
7059 #ifndef fprintf_unlocked
7060 char *p = (char *) fprintf_unlocked;
7067 rm -f conftest.
$ac_objext
7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7069 (eval $ac_compile) 2>conftest.er1
7071 grep -v '^ *+' conftest.er1
>conftest.err
7073 cat conftest.err
>&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } &&
7076 { ac_try
='test -z "$ac_cxx_werror_flag"
7077 || test ! -s conftest.err'
7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; } &&
7083 { ac_try
='test -s conftest.$ac_objext'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 ac_cv_have_decl_fprintf_unlocked
=yes
7091 echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.
$ac_ext >&5
7094 ac_cv_have_decl_fprintf_unlocked
=no
7096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7098 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
7099 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
7100 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
7102 cat >>confdefs.h
<<_ACEOF
7103 #define HAVE_DECL_FPRINTF_UNLOCKED 1
7108 cat >>confdefs.h
<<_ACEOF
7109 #define HAVE_DECL_FPRINTF_UNLOCKED 0
7114 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
7115 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
7116 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7119 cat >conftest.
$ac_ext <<_ACEOF
7122 cat confdefs.h
>>conftest.
$ac_ext
7123 cat >>conftest.
$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7129 #ifndef fputc_unlocked
7130 char *p = (char *) fputc_unlocked;
7137 rm -f conftest.
$ac_objext
7138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7139 (eval $ac_compile) 2>conftest.er1
7141 grep -v '^ *+' conftest.er1
>conftest.err
7143 cat conftest.err
>&5
7144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7145 (exit $ac_status); } &&
7146 { ac_try
='test -z "$ac_cxx_werror_flag"
7147 || test ! -s conftest.err'
7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; } &&
7153 { ac_try
='test -s conftest.$ac_objext'
7154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); }; }; then
7159 ac_cv_have_decl_fputc_unlocked
=yes
7161 echo "$as_me: failed program was:" >&5
7162 sed 's/^/| /' conftest.
$ac_ext >&5
7164 ac_cv_have_decl_fputc_unlocked
=no
7166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7168 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
7169 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
7170 if test $ac_cv_have_decl_fputc_unlocked = yes; then
7172 cat >>confdefs.h
<<_ACEOF
7173 #define HAVE_DECL_FPUTC_UNLOCKED 1
7178 cat >>confdefs.h
<<_ACEOF
7179 #define HAVE_DECL_FPUTC_UNLOCKED 0
7184 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
7185 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
7186 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 cat >conftest.
$ac_ext <<_ACEOF
7192 cat confdefs.h
>>conftest.
$ac_ext
7193 cat >>conftest.
$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7195 $ac_includes_default
7199 #ifndef fputs_unlocked
7200 char *p = (char *) fputs_unlocked;
7207 rm -f conftest.
$ac_objext
7208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7209 (eval $ac_compile) 2>conftest.er1
7211 grep -v '^ *+' conftest.er1
>conftest.err
7213 cat conftest.err
>&5
7214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7215 (exit $ac_status); } &&
7216 { ac_try
='test -z "$ac_cxx_werror_flag"
7217 || test ! -s conftest.err'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; } &&
7223 { ac_try
='test -s conftest.$ac_objext'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; }; then
7229 ac_cv_have_decl_fputs_unlocked
=yes
7231 echo "$as_me: failed program was:" >&5
7232 sed 's/^/| /' conftest.
$ac_ext >&5
7234 ac_cv_have_decl_fputs_unlocked
=no
7236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7238 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
7239 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
7240 if test $ac_cv_have_decl_fputs_unlocked = yes; then
7242 cat >>confdefs.h
<<_ACEOF
7243 #define HAVE_DECL_FPUTS_UNLOCKED 1
7248 cat >>confdefs.h
<<_ACEOF
7249 #define HAVE_DECL_FPUTS_UNLOCKED 0
7254 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
7255 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
7256 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 cat >conftest.
$ac_ext <<_ACEOF
7262 cat confdefs.h
>>conftest.
$ac_ext
7263 cat >>conftest.
$ac_ext <<_ACEOF
7264 /* end confdefs.h. */
7265 $ac_includes_default
7269 #ifndef fread_unlocked
7270 char *p = (char *) fread_unlocked;
7277 rm -f conftest.
$ac_objext
7278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7279 (eval $ac_compile) 2>conftest.er1
7281 grep -v '^ *+' conftest.er1
>conftest.err
7283 cat conftest.err
>&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); } &&
7286 { ac_try
='test -z "$ac_cxx_werror_flag"
7287 || test ! -s conftest.err'
7288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); }; } &&
7293 { ac_try
='test -s conftest.$ac_objext'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; }; then
7299 ac_cv_have_decl_fread_unlocked
=yes
7301 echo "$as_me: failed program was:" >&5
7302 sed 's/^/| /' conftest.
$ac_ext >&5
7304 ac_cv_have_decl_fread_unlocked
=no
7306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7308 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
7309 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
7310 if test $ac_cv_have_decl_fread_unlocked = yes; then
7312 cat >>confdefs.h
<<_ACEOF
7313 #define HAVE_DECL_FREAD_UNLOCKED 1
7318 cat >>confdefs.h
<<_ACEOF
7319 #define HAVE_DECL_FREAD_UNLOCKED 0
7324 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
7325 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
7326 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
7327 echo $ECHO_N "(cached) $ECHO_C" >&6
7329 cat >conftest.
$ac_ext <<_ACEOF
7332 cat confdefs.h
>>conftest.
$ac_ext
7333 cat >>conftest.
$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7335 $ac_includes_default
7339 #ifndef fwrite_unlocked
7340 char *p = (char *) fwrite_unlocked;
7347 rm -f conftest.
$ac_objext
7348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7349 (eval $ac_compile) 2>conftest.er1
7351 grep -v '^ *+' conftest.er1
>conftest.err
7353 cat conftest.err
>&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } &&
7356 { ac_try
='test -z "$ac_cxx_werror_flag"
7357 || test ! -s conftest.err'
7358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); }; } &&
7363 { ac_try
='test -s conftest.$ac_objext'
7364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); }; }; then
7369 ac_cv_have_decl_fwrite_unlocked
=yes
7371 echo "$as_me: failed program was:" >&5
7372 sed 's/^/| /' conftest.
$ac_ext >&5
7374 ac_cv_have_decl_fwrite_unlocked
=no
7376 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7378 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
7379 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
7380 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
7382 cat >>confdefs.h
<<_ACEOF
7383 #define HAVE_DECL_FWRITE_UNLOCKED 1
7388 cat >>confdefs.h
<<_ACEOF
7389 #define HAVE_DECL_FWRITE_UNLOCKED 0
7394 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
7395 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
7396 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 cat >conftest.
$ac_ext <<_ACEOF
7402 cat confdefs.h
>>conftest.
$ac_ext
7403 cat >>conftest.
$ac_ext <<_ACEOF
7404 /* end confdefs.h. */
7405 $ac_includes_default
7409 #ifndef getchar_unlocked
7410 char *p = (char *) getchar_unlocked;
7417 rm -f conftest.
$ac_objext
7418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7419 (eval $ac_compile) 2>conftest.er1
7421 grep -v '^ *+' conftest.er1
>conftest.err
7423 cat conftest.err
>&5
7424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7425 (exit $ac_status); } &&
7426 { ac_try
='test -z "$ac_cxx_werror_flag"
7427 || test ! -s conftest.err'
7428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); }; } &&
7433 { ac_try
='test -s conftest.$ac_objext'
7434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); }; }; then
7439 ac_cv_have_decl_getchar_unlocked
=yes
7441 echo "$as_me: failed program was:" >&5
7442 sed 's/^/| /' conftest.
$ac_ext >&5
7444 ac_cv_have_decl_getchar_unlocked
=no
7446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7448 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
7449 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
7450 if test $ac_cv_have_decl_getchar_unlocked = yes; then
7452 cat >>confdefs.h
<<_ACEOF
7453 #define HAVE_DECL_GETCHAR_UNLOCKED 1
7458 cat >>confdefs.h
<<_ACEOF
7459 #define HAVE_DECL_GETCHAR_UNLOCKED 0
7464 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
7465 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
7466 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
7467 echo $ECHO_N "(cached) $ECHO_C" >&6
7469 cat >conftest.
$ac_ext <<_ACEOF
7472 cat confdefs.h
>>conftest.
$ac_ext
7473 cat >>conftest.
$ac_ext <<_ACEOF
7474 /* end confdefs.h. */
7475 $ac_includes_default
7479 #ifndef getc_unlocked
7480 char *p = (char *) getc_unlocked;
7487 rm -f conftest.
$ac_objext
7488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7489 (eval $ac_compile) 2>conftest.er1
7491 grep -v '^ *+' conftest.er1
>conftest.err
7493 cat conftest.err
>&5
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } &&
7496 { ac_try
='test -z "$ac_cxx_werror_flag"
7497 || test ! -s conftest.err'
7498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7502 (exit $ac_status); }; } &&
7503 { ac_try
='test -s conftest.$ac_objext'
7504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); }; }; then
7509 ac_cv_have_decl_getc_unlocked
=yes
7511 echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.
$ac_ext >&5
7514 ac_cv_have_decl_getc_unlocked
=no
7516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7518 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
7519 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
7520 if test $ac_cv_have_decl_getc_unlocked = yes; then
7522 cat >>confdefs.h
<<_ACEOF
7523 #define HAVE_DECL_GETC_UNLOCKED 1
7528 cat >>confdefs.h
<<_ACEOF
7529 #define HAVE_DECL_GETC_UNLOCKED 0
7534 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
7535 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
7536 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
7537 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 cat >conftest.
$ac_ext <<_ACEOF
7542 cat confdefs.h
>>conftest.
$ac_ext
7543 cat >>conftest.
$ac_ext <<_ACEOF
7544 /* end confdefs.h. */
7545 $ac_includes_default
7549 #ifndef putchar_unlocked
7550 char *p = (char *) putchar_unlocked;
7557 rm -f conftest.
$ac_objext
7558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7559 (eval $ac_compile) 2>conftest.er1
7561 grep -v '^ *+' conftest.er1
>conftest.err
7563 cat conftest.err
>&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } &&
7566 { ac_try
='test -z "$ac_cxx_werror_flag"
7567 || test ! -s conftest.err'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try
='test -s conftest.$ac_objext'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 ac_cv_have_decl_putchar_unlocked
=yes
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.
$ac_ext >&5
7584 ac_cv_have_decl_putchar_unlocked
=no
7586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7588 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
7589 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
7590 if test $ac_cv_have_decl_putchar_unlocked = yes; then
7592 cat >>confdefs.h
<<_ACEOF
7593 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
7598 cat >>confdefs.h
<<_ACEOF
7599 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
7604 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
7605 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
7606 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 $ac_includes_default
7619 #ifndef putc_unlocked
7620 char *p = (char *) putc_unlocked;
7627 rm -f conftest.
$ac_objext
7628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7629 (eval $ac_compile) 2>conftest.er1
7631 grep -v '^ *+' conftest.er1
>conftest.err
7633 cat conftest.err
>&5
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } &&
7636 { ac_try
='test -z "$ac_cxx_werror_flag"
7637 || test ! -s conftest.err'
7638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); }; } &&
7643 { ac_try
='test -s conftest.$ac_objext'
7644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648 (exit $ac_status); }; }; then
7649 ac_cv_have_decl_putc_unlocked
=yes
7651 echo "$as_me: failed program was:" >&5
7652 sed 's/^/| /' conftest.
$ac_ext >&5
7654 ac_cv_have_decl_putc_unlocked
=no
7656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7658 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
7659 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
7660 if test $ac_cv_have_decl_putc_unlocked = yes; then
7662 cat >>confdefs.h
<<_ACEOF
7663 #define HAVE_DECL_PUTC_UNLOCKED 1
7668 cat >>confdefs.h
<<_ACEOF
7669 #define HAVE_DECL_PUTC_UNLOCKED 0
7674 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
7675 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
7676 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 cat >conftest.
$ac_ext <<_ACEOF
7682 cat confdefs.h
>>conftest.
$ac_ext
7683 cat >>conftest.
$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7685 $ac_includes_default
7690 char *p = (char *) vasprintf;
7697 rm -f conftest.
$ac_objext
7698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7699 (eval $ac_compile) 2>conftest.er1
7701 grep -v '^ *+' conftest.er1
>conftest.err
7703 cat conftest.err
>&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); } &&
7706 { ac_try
='test -z "$ac_cxx_werror_flag"
7707 || test ! -s conftest.err'
7708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); }; } &&
7713 { ac_try
='test -s conftest.$ac_objext'
7714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7718 (exit $ac_status); }; }; then
7719 ac_cv_have_decl_vasprintf
=yes
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.
$ac_ext >&5
7724 ac_cv_have_decl_vasprintf
=no
7726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7728 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
7729 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
7730 if test $ac_cv_have_decl_vasprintf = yes; then
7732 cat >>confdefs.h
<<_ACEOF
7733 #define HAVE_DECL_VASPRINTF 1
7738 cat >>confdefs.h
<<_ACEOF
7739 #define HAVE_DECL_VASPRINTF 0
7747 # Checks for library functions.
7748 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7749 # for constant arguments. Useless!
7750 echo "$as_me:$LINENO: checking for working alloca.h" >&5
7751 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
7752 if test "${ac_cv_working_alloca_h+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7755 cat >conftest.
$ac_ext <<_ACEOF
7758 cat confdefs.h
>>conftest.
$ac_ext
7759 cat >>conftest.
$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7765 char *p = (char *) alloca (2 * sizeof (int));
7770 rm -f conftest.
$ac_objext conftest
$ac_exeext
7771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7772 (eval $ac_link) 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } &&
7779 { ac_try
='test -z "$ac_cxx_werror_flag"
7780 || test ! -s conftest.err'
7781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); }; } &&
7786 { ac_try
='test -s conftest$ac_exeext'
7787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 ac_cv_working_alloca_h
=yes
7794 echo "$as_me: failed program was:" >&5
7795 sed 's/^/| /' conftest.
$ac_ext >&5
7797 ac_cv_working_alloca_h
=no
7799 rm -f conftest.err conftest.
$ac_objext \
7800 conftest
$ac_exeext conftest.
$ac_ext
7802 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
7803 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
7804 if test $ac_cv_working_alloca_h = yes; then
7806 cat >>confdefs.h
<<\_ACEOF
7807 #define HAVE_ALLOCA_H 1
7812 echo "$as_me:$LINENO: checking for alloca" >&5
7813 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
7814 if test "${ac_cv_func_alloca_works+set}" = set; then
7815 echo $ECHO_N "(cached) $ECHO_C" >&6
7817 cat >conftest.
$ac_ext <<_ACEOF
7820 cat confdefs.h
>>conftest.
$ac_ext
7821 cat >>conftest.
$ac_ext <<_ACEOF
7822 /* end confdefs.h. */
7824 # define alloca __builtin_alloca
7827 # include <malloc.h>
7828 # define alloca _alloca
7831 # include <alloca.h>
7836 # ifndef alloca /* predefined by HP cc +Olibcalls */
7847 char *p = (char *) alloca (1);
7852 rm -f conftest.
$ac_objext conftest
$ac_exeext
7853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7854 (eval $ac_link) 2>conftest.er1
7856 grep -v '^ *+' conftest.er1
>conftest.err
7858 cat conftest.err
>&5
7859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7860 (exit $ac_status); } &&
7861 { ac_try
='test -z "$ac_cxx_werror_flag"
7862 || test ! -s conftest.err'
7863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); }; } &&
7868 { ac_try
='test -s conftest$ac_exeext'
7869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); }; }; then
7874 ac_cv_func_alloca_works
=yes
7876 echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.
$ac_ext >&5
7879 ac_cv_func_alloca_works
=no
7881 rm -f conftest.err conftest.
$ac_objext \
7882 conftest
$ac_exeext conftest.
$ac_ext
7884 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7885 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7887 if test $ac_cv_func_alloca_works = yes; then
7889 cat >>confdefs.h
<<\_ACEOF
7890 #define HAVE_ALLOCA 1
7894 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
7895 # that cause trouble. Some versions do not even contain alloca or
7896 # contain a buggy version. If you still want to use their alloca,
7897 # use ar to extract alloca.o from them instead of compiling alloca.c.
7899 ALLOCA
=alloca.
$ac_objext
7901 cat >>confdefs.h
<<\_ACEOF
7906 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7907 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7908 if test "${ac_cv_os_cray+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 cat >conftest.
$ac_ext <<_ACEOF
7914 cat confdefs.h
>>conftest.
$ac_ext
7915 cat >>conftest.
$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7917 #if defined(CRAY) && ! defined(CRAY2)
7924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7925 $EGREP "webecray" >/dev
/null
2>&1; then
7933 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7934 echo "${ECHO_T}$ac_cv_os_cray" >&6
7935 if test $ac_cv_os_cray = yes; then
7936 for ac_func
in _getb67 GETB67 getb67
; do
7937 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7938 echo "$as_me:$LINENO: checking for $ac_func" >&5
7939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7940 if eval "test \"\${$as_ac_var+set}\" = set"; then
7941 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 cat >conftest.
$ac_ext <<_ACEOF
7946 cat confdefs.h
>>conftest.
$ac_ext
7947 cat >>conftest.
$ac_ext <<_ACEOF
7948 /* end confdefs.h. */
7949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7951 #define $ac_func innocuous_$ac_func
7953 /* System header to define __stub macros and hopefully few prototypes,
7954 which can conflict with char $ac_func (); below.
7955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7956 <limits.h> exists even on freestanding compilers. */
7959 # include <limits.h>
7961 # include <assert.h>
7966 /* Override any gcc2 internal prototype to avoid an error. */
7971 /* We use char because int might match the return type of a gcc2
7972 builtin and then its argument prototype would still apply. */
7974 /* The GNU C library defines this for functions which it implements
7975 to always fail with ENOSYS. Some functions are actually named
7976 something starting with __ and the normal name is an alias. */
7977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7980 char (*f) () = $ac_func;
7989 return f != $ac_func;
7994 rm -f conftest.
$ac_objext conftest
$ac_exeext
7995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7996 (eval $ac_link) 2>conftest.er1
7998 grep -v '^ *+' conftest.er1
>conftest.err
8000 cat conftest.err
>&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); } &&
8003 { ac_try
='test -z "$ac_cxx_werror_flag"
8004 || test ! -s conftest.err'
8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); }; } &&
8010 { ac_try
='test -s conftest$ac_exeext'
8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; }; then
8016 eval "$as_ac_var=yes"
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.
$ac_ext >&5
8021 eval "$as_ac_var=no"
8023 rm -f conftest.err conftest.
$ac_objext \
8024 conftest
$ac_exeext conftest.
$ac_ext
8026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8028 if test `eval echo '${'$as_ac_var'}'` = yes; then
8030 cat >>confdefs.h
<<_ACEOF
8031 #define CRAY_STACKSEG_END $ac_func
8040 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8041 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8042 if test "${ac_cv_c_stack_direction+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6
8045 if test "$cross_compiling" = yes; then
8046 ac_cv_c_stack_direction
=0
8048 cat >conftest.
$ac_ext <<_ACEOF
8051 cat confdefs.h
>>conftest.
$ac_ext
8052 cat >>conftest.
$ac_ext <<_ACEOF
8053 /* end confdefs.h. */
8055 find_stack_direction ()
8057 static char *addr = 0;
8062 return find_stack_direction ();
8065 return (&dummy > addr) ? 1 : -1;
8071 exit (find_stack_direction () < 0);
8074 rm -f conftest
$ac_exeext
8075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8076 (eval $ac_link) 2>&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); }; }; then
8085 ac_cv_c_stack_direction
=1
8087 echo "$as_me: program exited with status $ac_status" >&5
8088 echo "$as_me: failed program was:" >&5
8089 sed 's/^/| /' conftest.
$ac_ext >&5
8092 ac_cv_c_stack_direction
=-1
8094 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8097 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8098 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8100 cat >>confdefs.h
<<_ACEOF
8101 #define STACK_DIRECTION $ac_cv_c_stack_direction
8107 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8108 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8109 if test "${ac_cv_header_stdc+set}" = set; then
8110 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 cat >conftest.
$ac_ext <<_ACEOF
8115 cat confdefs.h
>>conftest.
$ac_ext
8116 cat >>conftest.
$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8131 rm -f conftest.
$ac_objext
8132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8133 (eval $ac_compile) 2>conftest.er1
8135 grep -v '^ *+' conftest.er1
>conftest.err
8137 cat conftest.err
>&5
8138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139 (exit $ac_status); } &&
8140 { ac_try
='test -z "$ac_cxx_werror_flag"
8141 || test ! -s conftest.err'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; } &&
8147 { ac_try
='test -s conftest.$ac_objext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 ac_cv_header_stdc
=yes
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.
$ac_ext >&5
8158 ac_cv_header_stdc
=no
8160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8162 if test $ac_cv_header_stdc = yes; then
8163 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8164 cat >conftest.
$ac_ext <<_ACEOF
8167 cat confdefs.h
>>conftest.
$ac_ext
8168 cat >>conftest.
$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8174 $EGREP "memchr" >/dev
/null
2>&1; then
8177 ac_cv_header_stdc
=no
8183 if test $ac_cv_header_stdc = yes; then
8184 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8185 cat >conftest.
$ac_ext <<_ACEOF
8188 cat confdefs.h
>>conftest.
$ac_ext
8189 cat >>conftest.
$ac_ext <<_ACEOF
8190 /* end confdefs.h. */
8194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8195 $EGREP "free" >/dev
/null
2>&1; then
8198 ac_cv_header_stdc
=no
8204 if test $ac_cv_header_stdc = yes; then
8205 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8206 if test "$cross_compiling" = yes; then
8209 cat >conftest.
$ac_ext <<_ACEOF
8212 cat confdefs.h
>>conftest.
$ac_ext
8213 cat >>conftest.
$ac_ext <<_ACEOF
8214 /* end confdefs.h. */
8216 #if ((' ' & 0x0FF) == 0x020)
8217 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8218 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8220 # define ISLOWER(c) \
8221 (('a' <= (c) && (c) <= 'i') \
8222 || ('j' <= (c) && (c) <= 'r') \
8223 || ('s' <= (c) && (c) <= 'z'))
8224 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8227 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8232 for (i = 0; i < 256; i++)
8233 if (XOR (islower (i), ISLOWER (i))
8234 || toupper (i) != TOUPPER (i))
8239 rm -f conftest
$ac_exeext
8240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8241 (eval $ac_link) 2>&5
8243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8244 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8252 echo "$as_me: program exited with status $ac_status" >&5
8253 echo "$as_me: failed program was:" >&5
8254 sed 's/^/| /' conftest.
$ac_ext >&5
8257 ac_cv_header_stdc
=no
8259 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8263 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8264 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8265 if test $ac_cv_header_stdc = yes; then
8267 cat >>confdefs.h
<<\_ACEOF
8268 #define STDC_HEADERS 1
8274 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
8275 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
8276 if test "${am_cv_langinfo_codeset+set}" = set; then
8277 echo $ECHO_N "(cached) $ECHO_C" >&6
8279 cat >conftest.
$ac_ext <<_ACEOF
8282 cat confdefs.h
>>conftest.
$ac_ext
8283 cat >>conftest.
$ac_ext <<_ACEOF
8284 /* end confdefs.h. */
8285 #include <langinfo.h>
8289 char* cs = nl_langinfo(CODESET);
8294 rm -f conftest.
$ac_objext conftest
$ac_exeext
8295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8296 (eval $ac_link) 2>conftest.er1
8298 grep -v '^ *+' conftest.er1
>conftest.err
8300 cat conftest.err
>&5
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); } &&
8303 { ac_try
='test -z "$ac_cxx_werror_flag"
8304 || test ! -s conftest.err'
8305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; } &&
8310 { ac_try
='test -s conftest$ac_exeext'
8311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); }; }; then
8316 am_cv_langinfo_codeset
=yes
8318 echo "$as_me: failed program was:" >&5
8319 sed 's/^/| /' conftest.
$ac_ext >&5
8321 am_cv_langinfo_codeset
=no
8323 rm -f conftest.err conftest.
$ac_objext \
8324 conftest
$ac_exeext conftest.
$ac_ext
8327 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
8328 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
8329 if test $am_cv_langinfo_codeset = yes; then
8331 cat >>confdefs.h
<<\_ACEOF
8332 #define HAVE_LANGINFO_CODESET 1
8337 # If we haven't got the data from the intl directory,
8338 # assume NLS is disabled.
8347 if test -f ..
/intl
/config.intl
; then
8348 . ..
/intl
/config.intl
8350 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8351 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8352 if test x
"$USE_NLS" != xyes
; then
8353 echo "$as_me:$LINENO: result: no" >&5
8354 echo "${ECHO_T}no" >&6
8356 echo "$as_me:$LINENO: result: yes" >&5
8357 echo "${ECHO_T}yes" >&6
8359 cat >>confdefs.h
<<\_ACEOF
8360 #define ENABLE_NLS 1
8364 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8365 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8366 # Look for .po and .gmo files in the source directory.
8369 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
8370 # If there aren't any .gmo files the shell will give us the
8371 # literal string "../path/to/srcdir/po/*.gmo" which has to be
8373 case "$cat" in *\
**)
8376 # The quadruple backslash is collapsed to a double backslash
8377 # by the backticks, then collapsed again by the double quotes,
8378 # leaving us with one backslash in the sed expression (right
8379 # before the dot that mustn't act as a wildcard).
8380 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
8381 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
8382 # The user is allowed to set LINGUAS to a list of languages to
8383 # install catalogs for. If it's empty that means "all of them."
8384 if test "x$LINGUAS" = x
; then
8385 CATALOGS
="$CATALOGS $cat"
8386 XLINGUAS
="$XLINGUAS $lang"
8388 case "$LINGUAS" in *$lang*)
8389 CATALOGS
="$CATALOGS $cat"
8390 XLINGUAS
="$XLINGUAS $lang"
8396 echo "$as_me:$LINENO: result: $LINGUAS" >&5
8397 echo "${ECHO_T}$LINGUAS" >&6
8410 echo "$as_me:$LINENO: checking for uchar" >&5
8411 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
8412 if test "${gcc_cv_type_uchar+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8415 cat >conftest.
$ac_ext <<_ACEOF
8418 cat confdefs.h
>>conftest.
$ac_ext
8419 cat >>conftest.
$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8422 #include <sys/types.h>
8427 if ((uchar *)0) return 0;
8428 if (sizeof(uchar)) return 0;
8433 rm -f conftest.
$ac_objext
8434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8435 (eval $ac_compile) 2>conftest.er1
8437 grep -v '^ *+' conftest.er1
>conftest.err
8439 cat conftest.err
>&5
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); } &&
8442 { ac_try
='test -z "$ac_cxx_werror_flag"
8443 || test ! -s conftest.err'
8444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); }; } &&
8449 { ac_try
='test -s conftest.$ac_objext'
8450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454 (exit $ac_status); }; }; then
8455 ac_cv_type_uchar
=yes
8457 echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.
$ac_ext >&5
8462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8464 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
8465 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
8466 if test $ac_cv_type_uchar = yes; then
8468 cat >>confdefs.h
<<\_ACEOF
8469 #define HAVE_UCHAR 1
8475 if test "X$prefix" = "XNONE"; then
8476 acl_final_prefix
="$ac_default_prefix"
8478 acl_final_prefix
="$prefix"
8480 if test "X$exec_prefix" = "XNONE"; then
8481 acl_final_exec_prefix
='${prefix}'
8483 acl_final_exec_prefix
="$exec_prefix"
8485 acl_save_prefix
="$prefix"
8486 prefix
="$acl_final_prefix"
8487 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
8488 prefix
="$acl_save_prefix"
8491 # Check whether --with-gnu-ld or --without-gnu-ld was given.
8492 if test "${with_gnu_ld+set}" = set; then
8493 withval
="$with_gnu_ld"
8494 test "$withval" = no || with_gnu_ld
=yes
8498 # Prepare PATH_SEPARATOR.
8499 # The user is always right.
8500 if test "${PATH_SEPARATOR+set}" != set; then
8501 echo "#! /bin/sh" >conf$$.sh
8502 echo "exit 0" >>conf$$.sh
8504 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8512 if test "$GCC" = yes; then
8513 # Check if gcc -print-prog-name=ld gives a path.
8514 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
8515 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
8518 # gcc leaves a trailing carriage return which upsets mingw
8519 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
8521 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
8524 # Accept absolute paths.
8525 [\\/]* |
[A-Za-z
]:[\\/]*)
8526 re_direlt
='/[^/][^/]*/\.\./'
8527 # Canonicalize the path of ld
8528 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
8529 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
8530 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
8532 test -z "$LD" && LD
="$ac_prog"
8535 # If it fails, then pretend we aren't using GCC.
8539 # If it is relative, then search for the first ld in PATH.
8543 elif test "$with_gnu_ld" = yes; then
8544 echo "$as_me:$LINENO: checking for GNU ld" >&5
8545 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8547 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8548 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8550 if test "${acl_cv_path_LD+set}" = set; then
8551 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 if test -z "$LD"; then
8554 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
8555 for ac_dir
in $PATH; do
8556 test -z "$ac_dir" && ac_dir
=.
8557 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
8558 acl_cv_path_LD
="$ac_dir/$ac_prog"
8559 # Check to see if the program is GNU ld. I'd rather use --version,
8560 # but apparently some GNU ld's only accept -v.
8561 # Break only if it was the GNU/non-GNU ld that we prefer.
8562 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
8563 test "$with_gnu_ld" != no
&& break
8565 test "$with_gnu_ld" != yes && break
8571 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
8575 LD
="$acl_cv_path_LD"
8576 if test -n "$LD"; then
8577 echo "$as_me:$LINENO: result: $LD" >&5
8578 echo "${ECHO_T}$LD" >&6
8580 echo "$as_me:$LINENO: result: no" >&5
8581 echo "${ECHO_T}no" >&6
8583 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8584 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8585 { (exit 1); exit 1; }; }
8586 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8587 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8588 if test "${acl_cv_prog_gnu_ld+set}" = set; then
8589 echo $ECHO_N "(cached) $ECHO_C" >&6
8591 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8592 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
8593 acl_cv_prog_gnu_ld
=yes
8595 acl_cv_prog_gnu_ld
=no
8598 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
8599 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
8600 with_gnu_ld
=$acl_cv_prog_gnu_ld
8604 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
8605 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
8606 if test "${acl_cv_rpath+set}" = set; then
8607 echo $ECHO_N "(cached) $ECHO_C" >&6
8610 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
8611 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
8617 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
8618 echo "${ECHO_T}$acl_cv_rpath" >&6
8620 libext
="$acl_cv_libext"
8621 shlibext
="$acl_cv_shlibext"
8622 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
8623 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
8624 hardcode_direct
="$acl_cv_hardcode_direct"
8625 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
8626 # Check whether --enable-rpath or --disable-rpath was given.
8627 if test "${enable_rpath+set}" = set; then
8628 enableval
="$enable_rpath"
8642 acl_save_prefix
="$prefix"
8643 prefix
="$acl_final_prefix"
8644 acl_save_exec_prefix
="$exec_prefix"
8645 exec_prefix
="$acl_final_exec_prefix"
8647 eval additional_includedir
=\"$includedir\"
8648 eval additional_libdir
=\"$libdir\"
8650 exec_prefix
="$acl_save_exec_prefix"
8651 prefix
="$acl_save_prefix"
8654 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
8655 if test "${with_libiconv_prefix+set}" = set; then
8656 withval
="$with_libiconv_prefix"
8658 if test "X$withval" = "Xno"; then
8661 if test "X$withval" = "X"; then
8663 acl_save_prefix
="$prefix"
8664 prefix
="$acl_final_prefix"
8665 acl_save_exec_prefix
="$exec_prefix"
8666 exec_prefix
="$acl_final_exec_prefix"
8668 eval additional_includedir
=\"$includedir\"
8669 eval additional_libdir
=\"$libdir\"
8671 exec_prefix
="$acl_save_exec_prefix"
8672 prefix
="$acl_save_prefix"
8675 additional_includedir
="$withval/include"
8676 additional_libdir
="$withval/lib"
8686 names_already_handled
=
8687 names_next_round
='iconv '
8688 while test -n "$names_next_round"; do
8689 names_this_round
="$names_next_round"
8691 for name
in $names_this_round; do
8693 for n
in $names_already_handled; do
8694 if test "$n" = "$name"; then
8699 if test -z "$already_handled"; then
8700 names_already_handled
="$names_already_handled $name"
8701 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
8702 eval value
=\"\
$HAVE_LIB$uppername\"
8703 if test -n "$value"; then
8704 if test "$value" = yes; then
8705 eval value
=\"\
$LIB$uppername\"
8706 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
8707 eval value
=\"\
$LTLIB$uppername\"
8708 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
8717 if test $use_additional = yes; then
8718 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
8719 found_dir
="$additional_libdir"
8720 found_so
="$additional_libdir/lib$name.$shlibext"
8721 if test -f "$additional_libdir/lib$name.la"; then
8722 found_la
="$additional_libdir/lib$name.la"
8725 if test -f "$additional_libdir/lib$name.$libext"; then
8726 found_dir
="$additional_libdir"
8727 found_a
="$additional_libdir/lib$name.$libext"
8728 if test -f "$additional_libdir/lib$name.la"; then
8729 found_la
="$additional_libdir/lib$name.la"
8734 if test "X$found_dir" = "X"; then
8735 for x
in $LDFLAGS $LTLIBICONV; do
8737 acl_save_prefix
="$prefix"
8738 prefix
="$acl_final_prefix"
8739 acl_save_exec_prefix
="$exec_prefix"
8740 exec_prefix
="$acl_final_exec_prefix"
8742 exec_prefix
="$acl_save_exec_prefix"
8743 prefix
="$acl_save_prefix"
8747 dir
=`echo "X$x" | sed -e 's/^X-L//'`
8748 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
8750 found_so
="$dir/lib$name.$shlibext"
8751 if test -f "$dir/lib$name.la"; then
8752 found_la
="$dir/lib$name.la"
8755 if test -f "$dir/lib$name.$libext"; then
8757 found_a
="$dir/lib$name.$libext"
8758 if test -f "$dir/lib$name.la"; then
8759 found_la
="$dir/lib$name.la"
8765 if test "X$found_dir" != "X"; then
8770 if test "X$found_dir" != "X"; then
8771 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
8772 if test "X$found_so" != "X"; then
8773 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
8774 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8777 for x
in $ltrpathdirs; do
8778 if test "X$x" = "X$found_dir"; then
8783 if test -z "$haveit"; then
8784 ltrpathdirs
="$ltrpathdirs $found_dir"
8786 if test "$hardcode_direct" = yes; then
8787 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8789 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
8790 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8792 for x
in $rpathdirs; do
8793 if test "X$x" = "X$found_dir"; then
8798 if test -z "$haveit"; then
8799 rpathdirs
="$rpathdirs $found_dir"
8803 for x
in $LDFLAGS $LIBICONV; do
8805 acl_save_prefix
="$prefix"
8806 prefix
="$acl_final_prefix"
8807 acl_save_exec_prefix
="$exec_prefix"
8808 exec_prefix
="$acl_final_exec_prefix"
8810 exec_prefix
="$acl_save_exec_prefix"
8811 prefix
="$acl_save_prefix"
8813 if test "X$x" = "X-L$found_dir"; then
8818 if test -z "$haveit"; then
8819 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
8821 if test "$hardcode_minus_L" != no
; then
8822 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
8824 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8830 if test "X$found_a" != "X"; then
8831 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
8833 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
8836 additional_includedir
=
8837 case "$found_dir" in
8839 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
8840 additional_includedir
="$basedir/include"
8843 if test "X$additional_includedir" != "X"; then
8844 if test "X$additional_includedir" != "X/usr/include"; then
8846 if test "X$additional_includedir" = "X/usr/local/include"; then
8847 if test -n "$GCC"; then
8849 linux
*) haveit
=yes;;
8853 if test -z "$haveit"; then
8854 for x
in $CPPFLAGS $INCICONV; do
8856 acl_save_prefix
="$prefix"
8857 prefix
="$acl_final_prefix"
8858 acl_save_exec_prefix
="$exec_prefix"
8859 exec_prefix
="$acl_final_exec_prefix"
8861 exec_prefix
="$acl_save_exec_prefix"
8862 prefix
="$acl_save_prefix"
8864 if test "X$x" = "X-I$additional_includedir"; then
8869 if test -z "$haveit"; then
8870 if test -d "$additional_includedir"; then
8871 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
8877 if test -n "$found_la"; then
8878 save_libdir
="$libdir"
8880 */* |
*\\*) .
"$found_la" ;;
8881 *) .
"./$found_la" ;;
8883 libdir
="$save_libdir"
8884 for dep
in $dependency_libs; do
8887 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
8888 if test "X$additional_libdir" != "X/usr/lib"; then
8890 if test "X$additional_libdir" = "X/usr/local/lib"; then
8891 if test -n "$GCC"; then
8893 linux
*) haveit
=yes;;
8897 if test -z "$haveit"; then
8899 for x
in $LDFLAGS $LIBICONV; do
8901 acl_save_prefix
="$prefix"
8902 prefix
="$acl_final_prefix"
8903 acl_save_exec_prefix
="$exec_prefix"
8904 exec_prefix
="$acl_final_exec_prefix"
8906 exec_prefix
="$acl_save_exec_prefix"
8907 prefix
="$acl_save_prefix"
8909 if test "X$x" = "X-L$additional_libdir"; then
8914 if test -z "$haveit"; then
8915 if test -d "$additional_libdir"; then
8916 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
8920 for x
in $LDFLAGS $LTLIBICONV; do
8922 acl_save_prefix
="$prefix"
8923 prefix
="$acl_final_prefix"
8924 acl_save_exec_prefix
="$exec_prefix"
8925 exec_prefix
="$acl_final_exec_prefix"
8927 exec_prefix
="$acl_save_exec_prefix"
8928 prefix
="$acl_save_prefix"
8930 if test "X$x" = "X-L$additional_libdir"; then
8935 if test -z "$haveit"; then
8936 if test -d "$additional_libdir"; then
8937 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
8944 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
8945 if test "$enable_rpath" != no
; then
8947 for x
in $rpathdirs; do
8948 if test "X$x" = "X$dir"; then
8953 if test -z "$haveit"; then
8954 rpathdirs
="$rpathdirs $dir"
8957 for x
in $ltrpathdirs; do
8958 if test "X$x" = "X$dir"; then
8963 if test -z "$haveit"; then
8964 ltrpathdirs
="$ltrpathdirs $dir"
8969 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8972 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8975 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8976 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8982 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8983 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8989 if test "X$rpathdirs" != "X"; then
8990 if test -n "$hardcode_libdir_separator"; then
8992 for found_dir
in $rpathdirs; do
8993 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8995 acl_save_libdir
="$libdir"
8997 eval flag
=\"$hardcode_libdir_flag_spec\"
8998 libdir
="$acl_save_libdir"
8999 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9001 for found_dir
in $rpathdirs; do
9002 acl_save_libdir
="$libdir"
9004 eval flag
=\"$hardcode_libdir_flag_spec\"
9005 libdir
="$acl_save_libdir"
9006 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
9010 if test "X$ltrpathdirs" != "X"; then
9011 for found_dir
in $ltrpathdirs; do
9012 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
9022 am_save_CPPFLAGS
="$CPPFLAGS"
9024 for element
in $INCICONV; do
9026 for x
in $CPPFLAGS; do
9028 acl_save_prefix
="$prefix"
9029 prefix
="$acl_final_prefix"
9030 acl_save_exec_prefix
="$exec_prefix"
9031 exec_prefix
="$acl_final_exec_prefix"
9033 exec_prefix
="$acl_save_exec_prefix"
9034 prefix
="$acl_save_prefix"
9036 if test "X$x" = "X$element"; then
9041 if test -z "$haveit"; then
9042 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9047 echo "$as_me:$LINENO: checking for iconv" >&5
9048 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
9049 if test "${am_cv_func_iconv+set}" = set; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9053 am_cv_func_iconv
="no, consider installing GNU libiconv"
9055 cat >conftest.
$ac_ext <<_ACEOF
9058 cat confdefs.h
>>conftest.
$ac_ext
9059 cat >>conftest.
$ac_ext <<_ACEOF
9060 /* end confdefs.h. */
9066 iconv_t cd = iconv_open("","");
9067 iconv(cd,NULL,NULL,NULL,NULL);
9073 rm -f conftest.
$ac_objext conftest
$ac_exeext
9074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9075 (eval $ac_link) 2>conftest.er1
9077 grep -v '^ *+' conftest.er1
>conftest.err
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); } &&
9082 { ac_try
='test -z "$ac_cxx_werror_flag"
9083 || test ! -s conftest.err'
9084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); }; } &&
9089 { ac_try
='test -s conftest$ac_exeext'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; }; then
9095 am_cv_func_iconv
=yes
9097 echo "$as_me: failed program was:" >&5
9098 sed 's/^/| /' conftest.
$ac_ext >&5
9101 rm -f conftest.err conftest.
$ac_objext \
9102 conftest
$ac_exeext conftest.
$ac_ext
9103 if test "$am_cv_func_iconv" != yes; then
9104 am_save_LIBS
="$LIBS"
9105 LIBS
="$LIBS $LIBICONV"
9106 cat >conftest.
$ac_ext <<_ACEOF
9109 cat confdefs.h
>>conftest.
$ac_ext
9110 cat >>conftest.
$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9117 iconv_t cd = iconv_open("","");
9118 iconv(cd,NULL,NULL,NULL,NULL);
9124 rm -f conftest.
$ac_objext conftest
$ac_exeext
9125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9126 (eval $ac_link) 2>conftest.er1
9128 grep -v '^ *+' conftest.er1
>conftest.err
9130 cat conftest.err
>&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); } &&
9133 { ac_try
='test -z "$ac_cxx_werror_flag"
9134 || test ! -s conftest.err'
9135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 (exit $ac_status); }; } &&
9140 { ac_try
='test -s conftest$ac_exeext'
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; }; then
9147 am_cv_func_iconv
=yes
9149 echo "$as_me: failed program was:" >&5
9150 sed 's/^/| /' conftest.
$ac_ext >&5
9153 rm -f conftest.err conftest.
$ac_objext \
9154 conftest
$ac_exeext conftest.
$ac_ext
9155 LIBS
="$am_save_LIBS"
9159 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
9160 echo "${ECHO_T}$am_cv_func_iconv" >&6
9161 if test "$am_cv_func_iconv" = yes; then
9163 cat >>confdefs.h
<<\_ACEOF
9164 #define HAVE_ICONV 1
9168 if test "$am_cv_lib_iconv" = yes; then
9169 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
9170 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
9171 echo "$as_me:$LINENO: result: $LIBICONV" >&5
9172 echo "${ECHO_T}$LIBICONV" >&6
9174 CPPFLAGS
="$am_save_CPPFLAGS"
9181 if test "$am_cv_func_iconv" = yes; then
9182 echo "$as_me:$LINENO: checking for iconv declaration" >&5
9183 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
9184 if test "${am_cv_proto_iconv+set}" = set; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 cat >conftest.
$ac_ext <<_ACEOF
9191 cat confdefs.h
>>conftest.
$ac_ext
9192 cat >>conftest.
$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9201 #if defined(__STDC__) || defined(__cplusplus)
9202 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
9215 rm -f conftest.
$ac_objext
9216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9217 (eval $ac_compile) 2>conftest.er1
9219 grep -v '^ *+' conftest.er1
>conftest.err
9221 cat conftest.err
>&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); } &&
9224 { ac_try
='test -z "$ac_cxx_werror_flag"
9225 || test ! -s conftest.err'
9226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230 (exit $ac_status); }; } &&
9231 { ac_try
='test -s conftest.$ac_objext'
9232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; }; then
9237 am_cv_proto_iconv_arg1
=""
9239 echo "$as_me: failed program was:" >&5
9240 sed 's/^/| /' conftest.
$ac_ext >&5
9242 am_cv_proto_iconv_arg1
="const"
9244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9245 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);"
9248 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
9249 echo "$as_me:$LINENO: result: ${ac_t:-
9250 }$am_cv_proto_iconv" >&5
9251 echo "${ECHO_T}${ac_t:-
9252 }$am_cv_proto_iconv" >&6
9254 cat >>confdefs.h
<<_ACEOF
9255 #define ICONV_CONST $am_cv_proto_iconv_arg1
9261 # More defines and substitutions.
9262 PACKAGE
="$PACKAGE_TARNAME"
9264 cat >>confdefs.h
<<_ACEOF
9265 #define PACKAGE "$PACKAGE"
9270 if test "x$enable_nls" != xno
; then
9271 USED_CATALOGS
='$(CATALOGS)'
9277 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
9278 if test "${enable_maintainer_mode+set}" = set; then
9279 enableval
="$enable_maintainer_mode"
9282 enable_maintainer_mode
=no
9285 if test "x$enable_maintainer_mode" = xno
; then
9292 # Check whether --enable-checking or --disable-checking was given.
9293 if test "${enable_checking+set}" = set; then
9294 enableval
="$enable_checking"
9300 if test $enable_checking != no
; then
9302 cat >>confdefs.h
<<\_ACEOF
9303 #define ENABLE_CHECKING 1
9312 arm
*-*-symbianelf* | \
9316 i
[34567]86-*-darwin* | \
9317 i
[34567]86-*-solaris2.1
[0-9]* | \
9325 sh
[123456789lbe
]*-*-* | sh-
*-*)
9326 need_64bit_hwint
=yes ;;
9327 i
[34567]86-*-linux*)
9328 if test "x$enable_targets" = xall
; then
9329 need_64bit_hwint
=yes
9335 need_64bit_hwint
=no
;;
9338 case $need_64bit_hwint:$ac_cv_sizeof_long in
9339 *:8 | no
:*) host_wide_int
=long
;;
9340 *) host_wide_int
='long long' ;;
9345 cat >>confdefs.h
<<_ACEOF
9346 #define HOST_WIDE_INT $host_wide_int
9352 ac_config_headers
="$ac_config_headers config.h:config.in"
9354 ac_config_files
="$ac_config_files Makefile"
9356 cat >confcache
<<\_ACEOF
9357 # This file is a shell script that caches the results of configure
9358 # tests run on this system so they can be shared between configure
9359 # scripts and configure runs, see configure's option --config-cache.
9360 # It is not useful on other systems. If it contains results you don't
9361 # want to keep, you may remove or edit it.
9363 # config.status only pays attention to the cache file if you give it
9364 # the --recheck option to rerun configure.
9366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9372 # The following way of writing the cache mishandles newlines in values,
9373 # but we know of no workaround that is simple, portable, and efficient.
9374 # So, don't put newlines in cache variables' values.
9375 # Ultrix sh set writes to stderr and can't be redirected directly,
9376 # and sets the high bit in the cache file unless we assign to the vars.
9379 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9381 # `set' does not quote correctly, so add quotes (double-quote
9382 # substitution turns \\\\ into \\, and sed turns \\ into \).
9385 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9388 # `set' quotes correctly as required by POSIX, so do not add quotes.
9390 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9397 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9399 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9401 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9402 if test -w $cache_file; then
9403 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9404 cat confcache
>$cache_file
9406 echo "not updating unwritable cache $cache_file"
9411 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9412 # Let make expand exec_prefix.
9413 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9415 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9416 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9417 # trailing colons and then remove the whole line if VPATH becomes empty
9418 # (actually we leave an empty line to preserve line numbers).
9419 if test "x$srcdir" = x.
; then
9420 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9421 s/:*\$(srcdir):*/:/;
9422 s/:*\${srcdir}:*/:/;
9424 s/^\([^=]*=[ ]*\):*/\1/;
9430 DEFS
=-DHAVE_CONFIG_H
9434 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9435 # 1. Remove the extension, and $U if already installed.
9436 ac_i
=`echo "$ac_i" |
9437 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9439 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9440 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9444 LTLIBOBJS
=$ac_ltlibobjs
9448 : ${CONFIG_STATUS=./config.status}
9449 ac_clean_files_save
=$ac_clean_files
9450 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9451 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9452 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9453 cat >$CONFIG_STATUS <<_ACEOF
9455 # Generated by $as_me.
9456 # Run this file to recreate the current configuration.
9457 # Compiler output produced by configure, useful for debugging
9458 # configure, is in config.log if it exists.
9463 SHELL=\${CONFIG_SHELL-$SHELL}
9466 cat >>$CONFIG_STATUS <<\_ACEOF
9467 ## --------------------- ##
9468 ## M4sh Initialization. ##
9469 ## --------------------- ##
9471 # Be Bourne compatible
9472 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9475 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9476 # is contrary to our usage. Disable this feature.
9477 alias -g '${1+"$@"}'='"$@"'
9478 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9481 DUALCASE
=1; export DUALCASE
# for MKS sh
9483 # Support unset when possible.
9484 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9491 # Work around bugs in pre-3.0 UWIN ksh.
9492 $as_unset ENV MAIL MAILPATH
9499 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9500 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9501 LC_TELEPHONE LC_TIME
9503 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9504 eval $as_var=C
; export $as_var
9510 # Required to use basename.
9511 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9517 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9518 as_basename
=basename
9524 # Name of the executable.
9525 as_me
=`$as_basename "$0" ||
9526 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9527 X"$0" : 'X\(//\)$' \| \
9528 X"$0" : 'X\(/\)$' \| \
9529 . : '\(.\)' 2>/dev/null ||
9531 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9532 /^X\/\(\/\/\)$/{ s//\1/; q; }
9533 /^X\/\(\/\).*/{ s//\1/; q; }
9537 # PATH needs CR, and LINENO needs CR and PATH.
9538 # Avoid depending upon Character Ranges.
9539 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9540 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9541 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9542 as_cr_digits
='0123456789'
9543 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9545 # The user is always right.
9546 if test "${PATH_SEPARATOR+set}" != set; then
9547 echo "#! /bin/sh" >conf$$.sh
9548 echo "exit 0" >>conf$$.sh
9550 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9561 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9562 test "x$as_lineno_1" != "x$as_lineno_2" &&
9563 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9564 # Find who we are. Look in the path if we contain no path at all
9567 *[\\/]* ) as_myself
=$0 ;;
9568 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir
=.
9573 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9578 # We did not find ourselves, most probably we were run as `sh COMMAND'
9579 # in which case we are not to be found in the path.
9580 if test "x$as_myself" = x
; then
9583 if test ! -f "$as_myself"; then
9584 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9585 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9586 { (exit 1); exit 1; }; }
9588 case $CONFIG_SHELL in
9590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9591 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9594 test -z "$as_dir" && as_dir
=.
9595 for as_base
in sh bash ksh sh5
; do
9598 if ("$as_dir/$as_base" -c '
9601 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9602 test "x$as_lineno_1" != "x$as_lineno_2" &&
9603 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9604 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9605 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9606 CONFIG_SHELL
=$as_dir/$as_base
9608 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9616 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9617 # uniformly replaced by the line number. The first 'sed' inserts a
9618 # line-number line before each line; the second 'sed' does the real
9619 # work. The second script uses 'N' to pair each line-number line
9620 # with the numbered line, and appends trailing '-' during
9621 # substitution so that $LINENO is not a special case at line end.
9622 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9623 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9624 sed '=' <$as_myself |
9629 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9632 s,^['$as_cr_digits']*\n,,
9634 chmod +x
$as_me.lineno ||
9635 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9636 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9637 { (exit 1); exit 1; }; }
9639 # Don't try to exec as it changes $[0], causing all sort of problems
9640 # (the dirname of $[0] is not the place where we might find the
9641 # original and so on. Autoconf is especially sensible to this).
9643 # Exit status is that of the last command.
9648 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9649 *c
*,-n*) ECHO_N
= ECHO_C
='
9651 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9652 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9655 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9661 rm -f conf$$ conf$$.exe conf$$.
file
9663 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9664 # We could just check for DJGPP; but this test a) works b) is more generic
9665 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9666 if test -f conf$$.exe
; then
9667 # Don't use ln at all; we don't have any links
9672 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9677 rm -f conf$$ conf$$.exe conf$$.
file
9679 if mkdir
-p .
2>/dev
/null
; then
9682 test -d .
/-p && rmdir .
/-p
9686 as_executable_p
="test -f"
9688 # Sed expression to map a string onto a valid CPP name.
9689 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9691 # Sed expression to map a string onto a valid variable name.
9692 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9696 # We need space, tab and new line, in precisely that order.
9706 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9707 # report actual input values of CONFIG_FILES etc. instead of their
9708 # values after options handling. Logging --version etc. is OK.
9712 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9713 ## Running $as_me. ##
9718 This file was extended by cpplib $as_me , which was
9719 generated by GNU Autoconf 2.59. Invocation command line was
9721 CONFIG_FILES = $CONFIG_FILES
9722 CONFIG_HEADERS = $CONFIG_HEADERS
9723 CONFIG_LINKS = $CONFIG_LINKS
9724 CONFIG_COMMANDS = $CONFIG_COMMANDS
9728 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9732 # Files that config.status was made for.
9733 if test -n "$ac_config_files"; then
9734 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9737 if test -n "$ac_config_headers"; then
9738 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9741 if test -n "$ac_config_links"; then
9742 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9745 if test -n "$ac_config_commands"; then
9746 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9749 cat >>$CONFIG_STATUS <<\_ACEOF
9752 \`$as_me' instantiates files from templates according to the
9753 current configuration.
9755 Usage: $0 [OPTIONS] [FILE]...
9757 -h, --help print this help, then exit
9758 -V, --version print version number, then exit
9759 -q, --quiet do not print progress messages
9760 -d, --debug don't remove temporary files
9761 --recheck update $as_me by reconfiguring in the same conditions
9762 --file=FILE[:TEMPLATE]
9763 instantiate the configuration file FILE
9764 --header=FILE[:TEMPLATE]
9765 instantiate the configuration header FILE
9767 Configuration files:
9770 Configuration headers:
9773 Configuration commands:
9776 Report bugs to <bug-autoconf@gnu.org>."
9779 cat >>$CONFIG_STATUS <<_ACEOF
9781 cpplib config.status
9782 configured by $0, generated by GNU Autoconf 2.59,
9783 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9785 Copyright (C) 2003 Free Software Foundation, Inc.
9786 This config.status script is free software; the Free Software Foundation
9787 gives unlimited permission to copy, distribute and modify it."
9792 cat >>$CONFIG_STATUS <<\_ACEOF
9793 # If no file are specified by the user, then we need to provide default
9794 # value. By we need to know if files were specified by the user.
9800 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9801 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9809 *) # This is not an option, so the user has probably given explicit
9812 ac_need_defaults
=false
;;
9816 # Handling of the options.
9818 cat >>$CONFIG_STATUS <<\_ACEOF
9819 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9821 --version |
--vers* |
-V )
9822 echo "$ac_cs_version"; exit 0 ;;
9824 # Conflict between --help and --header
9825 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9826 Try \`$0 --help' for more information." >&5
9827 echo "$as_me: error: ambiguous option: $1
9828 Try \`$0 --help' for more information." >&2;}
9829 { (exit 1); exit 1; }; };;
9830 --help |
--hel |
-h )
9831 echo "$ac_cs_usage"; exit 0 ;;
9832 --debug |
--d* |
-d )
9834 --file |
--fil |
--fi |
--f )
9836 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9837 ac_need_defaults
=false
;;
9838 --header |
--heade |
--head |
--hea )
9840 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9841 ac_need_defaults
=false
;;
9842 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9843 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9847 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9848 Try \`$0 --help' for more information." >&5
9849 echo "$as_me: error: unrecognized option: $1
9850 Try \`$0 --help' for more information." >&2;}
9851 { (exit 1); exit 1; }; } ;;
9853 *) ac_config_targets
="$ac_config_targets $1" ;;
9859 ac_configure_extra_args
=
9861 if $ac_cs_silent; then
9863 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9867 cat >>$CONFIG_STATUS <<_ACEOF
9868 if \$ac_cs_recheck; then
9869 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9870 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9875 cat >>$CONFIG_STATUS <<_ACEOF
9877 # INIT-COMMANDS section.
9880 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
9886 cat >>$CONFIG_STATUS <<\_ACEOF
9887 for ac_config_target
in $ac_config_targets
9889 case "$ac_config_target" in
9890 # Handling of arguments.
9891 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9892 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
9893 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
9894 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9895 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9896 { (exit 1); exit 1; }; };;
9900 # If the user did not use the arguments to specify the items to instantiate,
9901 # then the envvar interface is used. Set only those that are not.
9902 # We use the long form for the default assignment because of an extremely
9903 # bizarre bug on SunOS 4.1.3.
9904 if $ac_need_defaults; then
9905 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9906 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9907 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9910 # Have a temporary directory for convenience. Make it in the build tree
9911 # simply because there is no reason to put it here, and in addition,
9912 # creating and moving files from /tmp can sometimes cause problems.
9913 # Create a temporary directory, and hook for its removal unless debugging.
9916 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9917 trap '{ (exit 1); exit 1; }' 1 2 13 15
9920 # Create a (secure) tmp directory for tmp files.
9923 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9924 test -n "$tmp" && test -d "$tmp"
9927 tmp
=.
/confstat$$
-$RANDOM
9928 (umask 077 && mkdir
$tmp)
9931 echo "$me: cannot create a temporary directory in ." >&2
9932 { (exit 1); exit 1; }
9937 cat >>$CONFIG_STATUS <<_ACEOF
9940 # CONFIG_FILES section.
9943 # No need to generate the scripts if there are no CONFIG_FILES.
9944 # This happens for instance when ./config.status config.h
9945 if test -n "\$CONFIG_FILES"; then
9946 # Protect against being on the right side of a sed subst in config.status.
9947 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9948 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9949 s,@SHELL@,$SHELL,;t t
9950 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9951 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9952 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9953 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9954 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9955 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9956 s,@exec_prefix@,$exec_prefix,;t t
9957 s,@prefix@,$prefix,;t t
9958 s,@program_transform_name@,$program_transform_name,;t t
9959 s,@bindir@,$bindir,;t t
9960 s,@sbindir@,$sbindir,;t t
9961 s,@libexecdir@,$libexecdir,;t t
9962 s,@datadir@,$datadir,;t t
9963 s,@sysconfdir@,$sysconfdir,;t t
9964 s,@sharedstatedir@,$sharedstatedir,;t t
9965 s,@localstatedir@,$localstatedir,;t t
9966 s,@libdir@,$libdir,;t t
9967 s,@includedir@,$includedir,;t t
9968 s,@oldincludedir@,$oldincludedir,;t t
9969 s,@infodir@,$infodir,;t t
9970 s,@mandir@,$mandir,;t t
9971 s,@build_alias@,$build_alias,;t t
9972 s,@host_alias@,$host_alias,;t t
9973 s,@target_alias@,$target_alias,;t t
9975 s,@ECHO_C@,$ECHO_C,;t t
9976 s,@ECHO_N@,$ECHO_N,;t t
9977 s,@ECHO_T@,$ECHO_T,;t t
9979 s,@build@,$build,;t t
9980 s,@build_cpu@,$build_cpu,;t t
9981 s,@build_vendor@,$build_vendor,;t t
9982 s,@build_os@,$build_os,;t t
9984 s,@host_cpu@,$host_cpu,;t t
9985 s,@host_vendor@,$host_vendor,;t t
9986 s,@host_os@,$host_os,;t t
9987 s,@target@,$target,;t t
9988 s,@target_cpu@,$target_cpu,;t t
9989 s,@target_vendor@,$target_vendor,;t t
9990 s,@target_os@,$target_os,;t t
9991 s,@SET_MAKE@,$SET_MAKE,;t t
9992 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9993 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9994 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9996 s,@CFLAGS@,$CFLAGS,;t t
9997 s,@LDFLAGS@,$LDFLAGS,;t t
9998 s,@CPPFLAGS@,$CPPFLAGS,;t t
9999 s,@ac_ct_CC@,$ac_ct_CC,;t t
10000 s,@EXEEXT@,$EXEEXT,;t t
10001 s,@OBJEXT@,$OBJEXT,;t t
10003 s,@CXXFLAGS@,$CXXFLAGS,;t t
10004 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
10005 s,@RANLIB@,$RANLIB,;t t
10006 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10007 s,@ENABLE_BUILD_WITH_CXX@,$ENABLE_BUILD_WITH_CXX,;t t
10008 s,@ACLOCAL@,$ACLOCAL,;t t
10009 s,@AUTOCONF@,$AUTOCONF,;t t
10010 s,@AUTOHEADER@,$AUTOHEADER,;t t
10011 s,@warn@,$warn,;t t
10012 s,@c_warn@,$c_warn,;t t
10013 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
10014 s,@WERROR@,$WERROR,;t t
10015 s,@am__leading_dot@,$am__leading_dot,;t t
10016 s,@DEPDIR@,$DEPDIR,;t t
10017 s,@CCDEPMODE@,$CCDEPMODE,;t t
10018 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
10020 s,@EGREP@,$EGREP,;t t
10021 s,@CXXCPP@,$CXXCPP,;t t
10022 s,@LIBOBJS@,$LIBOBJS,;t t
10023 s,@ALLOCA@,$ALLOCA,;t t
10024 s,@USE_NLS@,$USE_NLS,;t t
10025 s,@LIBINTL@,$LIBINTL,;t t
10026 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
10027 s,@INCINTL@,$INCINTL,;t t
10028 s,@XGETTEXT@,$XGETTEXT,;t t
10029 s,@GMSGFMT@,$GMSGFMT,;t t
10030 s,@POSUB@,$POSUB,;t t
10031 s,@CATALOGS@,$CATALOGS,;t t
10032 s,@DATADIRNAME@,$DATADIRNAME,;t t
10033 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
10034 s,@GENCAT@,$GENCAT,;t t
10035 s,@CATOBJEXT@,$CATOBJEXT,;t t
10036 s,@LIBICONV@,$LIBICONV,;t t
10037 s,@LTLIBICONV@,$LTLIBICONV,;t t
10038 s,@PACKAGE@,$PACKAGE,;t t
10039 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
10040 s,@MAINT@,$MAINT,;t t
10041 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10046 cat >>$CONFIG_STATUS <<\_ACEOF
10047 # Split the substitutions into bite-sized pieces for seds with
10048 # small command number limits, like on Digital OSF/1 and HP-UX.
10049 ac_max_sed_lines
=48
10050 ac_sed_frag
=1 # Number of current file.
10051 ac_beg
=1 # First line for current file.
10052 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10055 while $ac_more_lines; do
10056 if test $ac_beg -gt 1; then
10057 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10059 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10061 if test ! -s $tmp/subs.frag
; then
10062 ac_more_lines
=false
10064 # The purpose of the label and of the branching condition is to
10065 # speed up the sed processing (if there are no `@' at all, there
10066 # is no need to browse any of the substitutions).
10067 # These are the two extra sed commands mentioned above.
10069 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10070 if test -z "$ac_sed_cmds"; then
10071 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10073 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10075 ac_sed_frag
=`expr $ac_sed_frag + 1`
10077 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10080 if test -z "$ac_sed_cmds"; then
10083 fi # test -n "$CONFIG_FILES"
10086 cat >>$CONFIG_STATUS <<\_ACEOF
10087 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10088 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10090 - |
*:- |
*:-:* ) # input from stdin
10092 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10093 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10094 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10095 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10096 * ) ac_file_in
=$ac_file.
in ;;
10099 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10100 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10102 X"$ac_file" : 'X\(//\)[^/]' \| \
10103 X"$ac_file" : 'X\(//\)$' \| \
10104 X"$ac_file" : 'X\(/\)' \| \
10105 . : '\(.\)' 2>/dev/null ||
10107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10109 /^X\(\/\/\)$/{ s//\1/; q; }
10110 /^X\(\/\).*/{ s//\1/; q; }
10112 { if $as_mkdir_p; then
10117 while test ! -d "$as_dir"; do
10118 as_dirs
="$as_dir $as_dirs"
10119 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10121 X"$as_dir" : 'X\(//\)[^/]' \| \
10122 X"$as_dir" : 'X\(//\)$' \| \
10123 X"$as_dir" : 'X\(/\)' \| \
10124 . : '\(.\)' 2>/dev/null ||
10126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10128 /^X\(\/\/\)$/{ s//\1/; q; }
10129 /^X\(\/\).*/{ s//\1/; q; }
10132 test ! -n "$as_dirs" || mkdir
$as_dirs
10133 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10134 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10135 { (exit 1); exit 1; }; }; }
10139 if test "$ac_dir" != .
; then
10140 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10141 # A "../" for each directory in $ac_dir_suffix.
10142 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10144 ac_dir_suffix
= ac_top_builddir
=
10148 .
) # No --srcdir option. We are building in place.
10150 if test -z "$ac_top_builddir"; then
10153 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10155 [\\/]* | ?
:[\\/]* ) # Absolute path.
10156 ac_srcdir
=$srcdir$ac_dir_suffix;
10157 ac_top_srcdir
=$srcdir ;;
10158 *) # Relative path.
10159 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10160 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10163 # Do not use `cd foo && pwd` to compute absolute paths, because
10164 # the directories may not exist.
10166 .
) ac_abs_builddir
="$ac_dir";;
10169 .
) ac_abs_builddir
=`pwd`;;
10170 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10171 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10174 case $ac_abs_builddir in
10175 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10177 case ${ac_top_builddir}.
in
10178 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10179 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10180 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10183 case $ac_abs_builddir in
10184 .
) ac_abs_srcdir
=$ac_srcdir;;
10187 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10188 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10189 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10192 case $ac_abs_builddir in
10193 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10195 case $ac_top_srcdir in
10196 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10197 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10198 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10204 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10205 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10208 if test x
"$ac_file" != x-
; then
10209 { echo "$as_me:$LINENO: creating $ac_file" >&5
10210 echo "$as_me: creating $ac_file" >&6;}
10213 # Let's still pretend it is `configure' which instantiates (i.e., don't
10214 # use $as_me), people would be surprised to read:
10215 # /* config.h. Generated by config.status. */
10216 if test x
"$ac_file" = x-
; then
10219 configure_input
="$ac_file. "
10221 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10222 sed 's,.*/,,'` by configure."
10224 # First look for the input files in the build tree, otherwise in the
10226 ac_file_inputs
=`IFS=:
10227 for f in $ac_file_in; do
10229 -) echo $tmp/stdin ;;
10231 # Absolute (can't be DOS-style, as IFS=:)
10232 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10233 echo "$as_me: error: cannot find input file: $f" >&2;}
10234 { (exit 1); exit 1; }; }
10237 if test -f "$f"; then
10240 elif test -f "$srcdir/$f"; then
10245 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10246 echo "$as_me: error: cannot find input file: $f" >&2;}
10247 { (exit 1); exit 1; }; }
10250 done` ||
{ (exit 1); exit 1; }
10252 cat >>$CONFIG_STATUS <<_ACEOF
10256 cat >>$CONFIG_STATUS <<\_ACEOF
10258 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10259 s
,@configure_input@
,$configure_input,;t t
10260 s
,@srcdir@
,$ac_srcdir,;t t
10261 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10262 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10263 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10264 s
,@builddir@
,$ac_builddir,;t t
10265 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10266 s
,@top_builddir@
,$ac_top_builddir,;t t
10267 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10268 s
,@INSTALL@
,$ac_INSTALL,;t t
10269 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10271 if test x"$ac_file" != x-; then
10272 mv $tmp/out $ac_file
10280 cat >>$CONFIG_STATUS <<\_ACEOF
10283 # CONFIG_HEADER section.
10286 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10287 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10289 # ac_d sets the value in "#define NAME VALUE" lines.
10290 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10291 ac_dB
='[ ].*$,\1#\2'
10294 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10295 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10296 ac_uB
='$,\1#\2define\3'
10300 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10301 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10303 - |
*:- |
*:-:* ) # input from stdin
10305 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10306 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10307 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10308 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10309 * ) ac_file_in
=$ac_file.
in ;;
10312 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10313 echo "$as_me: creating $ac_file" >&6;}
10315 # First look for the input files in the build tree, otherwise in the
10317 ac_file_inputs
=`IFS=:
10318 for f in $ac_file_in; do
10320 -) echo $tmp/stdin ;;
10322 # Absolute (can't be DOS-style, as IFS=:)
10323 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10324 echo "$as_me: error: cannot find input file: $f" >&2;}
10325 { (exit 1); exit 1; }; }
10326 # Do quote $f, to prevent DOS paths from being IFS'd.
10329 if test -f "$f"; then
10332 elif test -f "$srcdir/$f"; then
10337 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10338 echo "$as_me: error: cannot find input file: $f" >&2;}
10339 { (exit 1); exit 1; }; }
10342 done` ||
{ (exit 1); exit 1; }
10343 # Remove the trailing spaces.
10344 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10348 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10349 # `conftest.undefs', that substitutes the proper values into
10350 # config.h.in to produce config.h. The first handles `#define'
10351 # templates, and the second `#undef' templates.
10352 # And first: Protect against being on the right side of a sed subst in
10353 # config.status. Protect against being in an unquoted here document
10354 # in config.status.
10355 rm -f conftest.defines conftest.undefs
10356 # Using a here document instead of a string reduces the quoting nightmare.
10357 # Putting comments in sed scripts is not portable.
10359 # `end' is used to avoid that the second main sed command (meant for
10360 # 0-ary CPP macros) applies to n-ary macro definitions.
10361 # See the Autoconf documentation for `clear'.
10362 cat >confdef2sed.
sed <<\_ACEOF
10367 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10369 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10372 # If some macros were called several times there might be several times
10373 # the same #defines, which is useless. Nevertheless, we may not want to
10374 # sort them, since we want the *last* AC-DEFINE to be honored.
10375 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10376 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10377 rm -f confdef2sed.sed
10379 # This sed command replaces #undef with comments. This is necessary, for
10380 # example, in the case of _POSIX_SOURCE, which is predefined and required
10381 # on some systems where configure will not decide to define it.
10382 cat >>conftest.undefs <<\_ACEOF
10383 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10386 # Break up conftest.defines because some shells have a limit on the size
10387 # of here documents, and old seds have small limits too (100 cmds).
10388 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10389 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10390 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10391 echo ' :' >>$CONFIG_STATUS
10392 rm -f conftest.tail
10393 while grep . conftest.defines >/dev/null
10395 # Write a limited-size here document to $tmp/defines.sed.
10396 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10397 # Speed up: don't consider the non `#define' lines.
10398 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10399 # Work around the forget-to-reset-the-flag bug.
10400 echo 't clr' >>$CONFIG_STATUS
10401 echo ': clr' >>$CONFIG_STATUS
10402 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10404 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10406 mv $tmp/out $tmp/in
10408 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10409 rm -f conftest.defines
10410 mv conftest.
tail conftest.defines
10412 rm -f conftest.defines
10413 echo ' fi # grep' >>$CONFIG_STATUS
10414 echo >>$CONFIG_STATUS
10416 # Break up conftest.undefs because some shells have a limit on the size
10417 # of here documents, and old seds have small limits too (100 cmds).
10418 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10419 rm -f conftest.
tail
10420 while grep . conftest.undefs
>/dev
/null
10422 # Write a limited-size here document to $tmp/undefs.sed.
10423 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10424 # Speed up: don't consider the non
`#undef'
10425 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10426 # Work around the forget-to-reset-the-flag bug.
10427 echo 't clr' >>$CONFIG_STATUS
10428 echo ': clr' >>$CONFIG_STATUS
10429 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10431 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10433 mv $tmp/out $tmp/in
10435 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10436 rm -f conftest.undefs
10437 mv conftest.tail conftest.undefs
10439 rm -f conftest.undefs
10441 cat >>$CONFIG_STATUS <<\_ACEOF
10442 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10443 # use $as_me), people would be surprised to read:
10444 # /* config.h. Generated by config.status. */
10445 if test x
"$ac_file" = x-
; then
10446 echo "/* Generated by configure. */" >$tmp/config.h
10448 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10450 cat $tmp/in >>$tmp/config.h
10452 if test x
"$ac_file" != x-
; then
10453 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10454 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10455 echo "$as_me: $ac_file is unchanged" >&6;}
10457 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10459 X"$ac_file" : 'X\(//\)[^/]' \| \
10460 X"$ac_file" : 'X\(//\)$' \| \
10461 X"$ac_file" : 'X\(/\)' \| \
10462 . : '\(.\)' 2>/dev/null ||
10464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10466 /^X\(\/\/\)$/{ s//\1/; q; }
10467 /^X\(\/\).*/{ s//\1/; q; }
10469 { if $as_mkdir_p; then
10474 while test ! -d "$as_dir"; do
10475 as_dirs
="$as_dir $as_dirs"
10476 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10478 X"$as_dir" : 'X\(//\)[^/]' \| \
10479 X"$as_dir" : 'X\(//\)$' \| \
10480 X"$as_dir" : 'X\(/\)' \| \
10481 . : '\(.\)' 2>/dev/null ||
10483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10485 /^X\(\/\/\)$/{ s//\1/; q; }
10486 /^X\(\/\).*/{ s//\1/; q; }
10489 test ! -n "$as_dirs" || mkdir
$as_dirs
10490 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10492 { (exit 1); exit 1; }; }; }
10495 mv $tmp/config.h
$ac_file
10499 rm -f $tmp/config.h
10501 # Run the commands associated with the file.
10503 config.h
) echo timestamp
> stamp-h1
;;
10507 cat >>$CONFIG_STATUS <<\_ACEOF
10510 # CONFIG_COMMANDS section.
10512 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10513 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10514 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10515 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10516 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10517 X"$ac_dest" : 'X\(//\)[^/]' \| \
10518 X"$ac_dest" : 'X\(//\)$' \| \
10519 X"$ac_dest" : 'X\(/\)' \| \
10520 . : '\(.\)' 2>/dev/null ||
10522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10523 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10524 /^X\(\/\/\)$/{ s//\1/; q; }
10525 /^X\(\/\).*/{ s//\1/; q; }
10527 { if $as_mkdir_p; then
10532 while test ! -d "$as_dir"; do
10533 as_dirs
="$as_dir $as_dirs"
10534 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10535 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10536 X"$as_dir" : 'X\(//\)[^/]' \| \
10537 X"$as_dir" : 'X\(//\)$' \| \
10538 X"$as_dir" : 'X\(/\)' \| \
10539 . : '\(.\)' 2>/dev/null ||
10541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10543 /^X\(\/\/\)$/{ s//\1/; q; }
10544 /^X\(\/\).*/{ s//\1/; q; }
10547 test ! -n "$as_dirs" || mkdir
$as_dirs
10548 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10549 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10550 { (exit 1); exit 1; }; }; }
10554 if test "$ac_dir" != .
; then
10555 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10556 # A "../" for each directory in $ac_dir_suffix.
10557 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10559 ac_dir_suffix
= ac_top_builddir
=
10563 .
) # No --srcdir option. We are building in place.
10565 if test -z "$ac_top_builddir"; then
10568 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10570 [\\/]* | ?
:[\\/]* ) # Absolute path.
10571 ac_srcdir
=$srcdir$ac_dir_suffix;
10572 ac_top_srcdir
=$srcdir ;;
10573 *) # Relative path.
10574 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10575 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10578 # Do not use `cd foo && pwd` to compute absolute paths, because
10579 # the directories may not exist.
10581 .
) ac_abs_builddir
="$ac_dir";;
10584 .
) ac_abs_builddir
=`pwd`;;
10585 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10586 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10589 case $ac_abs_builddir in
10590 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10592 case ${ac_top_builddir}.
in
10593 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10594 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10595 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10598 case $ac_abs_builddir in
10599 .
) ac_abs_srcdir
=$ac_srcdir;;
10602 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10603 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10604 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10607 case $ac_abs_builddir in
10608 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10610 case $ac_top_srcdir in
10611 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10612 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10613 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10618 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10619 echo "$as_me: executing $ac_dest commands" >&6;}
10621 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
10626 cat >>$CONFIG_STATUS <<\_ACEOF
10628 { (exit 0); exit 0; }
10630 chmod +x
$CONFIG_STATUS
10631 ac_clean_files
=$ac_clean_files_save
10634 # configure is writing to config.log, and then calls config.status.
10635 # config.status does its own redirection, appending to config.log.
10636 # Unfortunately, on DOS this fails, as config.log is still kept open
10637 # by configure, so config.status won't be able to write to it; its
10638 # output is simply discarded. So we exec the FD to /dev/null,
10639 # effectively closing config.log, so it can be properly (re)opened and
10640 # appended to by config.status. When coming back to configure, we
10641 # need to make the FD available again.
10642 if test "$no_create" != yes; then
10644 ac_config_status_args
=
10645 test "$silent" = yes &&
10646 ac_config_status_args
="$ac_config_status_args --quiet"
10648 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10650 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10651 # would make configure fail if this is the last instruction.
10652 $ac_cs_success ||
{ (exit 1); exit 1; }