2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for cpplib .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='cpplib'
271 PACKAGE_TARNAME
='cpplib'
273 PACKAGE_STRING
='cpplib '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="ucnid.h"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR am__leading_dot DEPDIR CCDEPMODE CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT LIBICONV LTLIBICONV PACKAGE USED_CATALOGS MAINT LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
778 # Report the --help message.
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
784 \`configure' configures cpplib to adapt to many kinds of systems.
786 Usage: $0 [OPTION]... [VAR=VALUE]...
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
791 Defaults for the options are specified in brackets.
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
818 For better control, use the options below.
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
838 --build=BUILD configure
for building on BUILD
[guessed
]
839 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
844 if test -n "$ac_init_help"; then
845 case $ac_init_help in
846 short | recursive
) echo "Configuration of cpplib :";;
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-werror-always enable -Werror despite compiler version
854 --disable-rpath do not hardcode runtime library paths
855 --enable-maintainer-mode enable rules only needed by maintainers
856 --enable-checking enable expensive run-time checks
859 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
860 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
861 --with-gnu-ld assume the C compiler uses GNU ld default
=no
862 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
863 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
874 Use these variables to override the choices made by `configure' or to
help
875 it to
find libraries and programs with nonstandard names
/locations.
877 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
885 test -d $ac_dir ||
continue
888 if test "$ac_dir" != .
; then
889 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix
= ac_top_builddir
=
897 .
) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
904 [\\/]* | ?
:[\\/]* ) # Absolute path.
905 ac_srcdir
=$srcdir$ac_dir_suffix;
906 ac_top_srcdir
=$srcdir ;;
908 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo && pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .
) ac_abs_builddir
="$ac_dir";;
918 .
) ac_abs_builddir
=`pwd`;;
919 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
920 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
926 case ${ac_top_builddir}.
in
927 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
928 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
929 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
932 case $ac_abs_builddir in
933 .
) ac_abs_srcdir
=$ac_srcdir;;
936 .
) ac_abs_srcdir
=$ac_abs_builddir;;
937 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
938 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
946 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu
; then
955 $SHELL $ac_srcdir/configure.gnu
--help=recursive
956 elif test -f $ac_srcdir/configure
; then
958 $SHELL $ac_srcdir/configure
--help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.
in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
974 generated by GNU Autoconf
2.59
976 Copyright
(C
) 2003 Free Software Foundation
, Inc.
977 This configure
script is free software
; the Free Software Foundation
978 gives unlimited permission to copy
, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by cpplib $as_me , which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir
=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next
=false
1053 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1054 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1055 |
-silent |
--silent |
--silen |
--sile |
--sil)
1057 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true
; then
1065 ac_must_keep_next
=false
# Got value, back to normal.
1068 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1069 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1070 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1071 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next
=true
;;
1079 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1087 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close' the trap.
1094 trap 'exit_status=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var in $ac_subst_vars
1130 eval ac_val=$`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var in $ac_subst_files
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h; then
1157 sed "/^$/d" confdefs.h | sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core *.core &&
1165 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168 for ac_signal
in 1 2 13 15; do
1169 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest
* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h
<<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h
<<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h
<<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h
<<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h
<<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE
; then
1209 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file
in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's/^/| /' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1231 *) . .
/$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted
=false
1243 for ac_var
in `(set) 2>&1 |
1244 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1246 eval ac_new_set
=\
$ac_env_${ac_var}_set
1247 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val
="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253 ac_cache_corrupted
=: ;;
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted
=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 # differences in whitespace do not lead to failure.
1262 ac_old_val_w
=`echo x $ac_old_val`
1263 ac_new_val_w
=`echo x $ac_new_val`
1264 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1266 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1267 ac_cache_corrupted
=:
1269 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1270 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1271 eval $ac_var=\
$ac_old_val
1273 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1274 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1275 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1276 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg
=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1294 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1295 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1296 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1297 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1298 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1299 { (exit 1); exit 1; }; }
1303 ac_cpp
='$CPP $CPPFLAGS'
1304 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1305 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1306 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1339 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=..
/config
;;
1340 *) ac_macro_dir
=$srcdir/..
/config
;;
1342 if test -d "$ac_macro_dir"; then :
1344 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1345 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1346 { (exit 1); exit 1; }; }
1350 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1351 if test -f $ac_dir/install-sh
; then
1353 ac_install_sh
="$ac_aux_dir/install-sh -c"
1355 elif test -f $ac_dir/install.sh
; then
1357 ac_install_sh
="$ac_aux_dir/install.sh -c"
1359 elif test -f $ac_dir/shtool
; then
1361 ac_install_sh
="$ac_aux_dir/shtool install -c"
1365 if test -z "$ac_aux_dir"; then
1366 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1367 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1368 { (exit 1); exit 1; }; }
1370 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1371 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1372 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1374 # Make sure we can run config.sub.
1375 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1376 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1377 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1378 { (exit 1); exit 1; }; }
1380 echo "$as_me:$LINENO: checking build system type" >&5
1381 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1382 if test "${ac_cv_build+set}" = set; then
1383 echo $ECHO_N "(cached) $ECHO_C" >&6
1385 ac_cv_build_alias
=$build_alias
1386 test -z "$ac_cv_build_alias" &&
1387 ac_cv_build_alias
=`$ac_config_guess`
1388 test -z "$ac_cv_build_alias" &&
1389 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1390 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1391 { (exit 1); exit 1; }; }
1392 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1393 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1394 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1395 { (exit 1); exit 1; }; }
1398 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1399 echo "${ECHO_T}$ac_cv_build" >&6
1401 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1402 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1403 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1406 echo "$as_me:$LINENO: checking host system type" >&5
1407 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1408 if test "${ac_cv_host+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 ac_cv_host_alias
=$host_alias
1412 test -z "$ac_cv_host_alias" &&
1413 ac_cv_host_alias
=$ac_cv_build_alias
1414 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1415 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1416 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1417 { (exit 1); exit 1; }; }
1420 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1421 echo "${ECHO_T}$ac_cv_host" >&6
1423 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1424 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1425 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1428 echo "$as_me:$LINENO: checking target system type" >&5
1429 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1430 if test "${ac_cv_target+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1433 ac_cv_target_alias
=$target_alias
1434 test "x$ac_cv_target_alias" = "x" &&
1435 ac_cv_target_alias
=$ac_cv_host_alias
1436 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1443 echo "${ECHO_T}$ac_cv_target" >&6
1444 target
=$ac_cv_target
1445 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 # The aliases save the names the user supplied, while $host etc.
1451 # will get canonicalized.
1452 test -n "$target_alias" &&
1453 test "$program_prefix$program_suffix$program_transform_name" = \
1455 program_prefix
=${target_alias}-
1457 # Checks for programs.
1458 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1459 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1460 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1461 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 cat >conftest.
make <<\_ACEOF
1466 @
echo 'ac_maketemp="$(MAKE)"'
1468 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1469 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1470 if test -n "$ac_maketemp"; then
1471 eval ac_cv_prog_make_
${ac_make}_set
=yes
1473 eval ac_cv_prog_make_
${ac_make}_set
=no
1477 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1478 echo "$as_me:$LINENO: result: yes" >&5
1479 echo "${ECHO_T}yes" >&6
1482 echo "$as_me:$LINENO: result: no" >&5
1483 echo "${ECHO_T}no" >&6
1484 SET_MAKE
="MAKE=${MAKE-make}"
1487 # Find a good install program. We prefer a C program (faster),
1488 # so one script is as good as another. But avoid the broken or
1489 # incompatible versions:
1490 # SysV /etc/install, /usr/sbin/install
1491 # SunOS /usr/etc/install
1492 # IRIX /sbin/install
1494 # AmigaOS /C/install, which installs bootblocks on floppy discs
1495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1498 # OS/2's system install, which has a completely different semantic
1499 # ./install, which can be erroneously created by make from ./install.sh.
1500 # Reject install programs that cannot install multiple files.
1501 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1502 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1503 if test -z "$INSTALL"; then
1504 if test "${ac_cv_path_install+set}" = set; then
1505 echo $ECHO_N "(cached) $ECHO_C" >&6
1507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir
=.
1512 # Account for people who put trailing slashes in PATH elements.
1514 .
/ | .
// |
/cC
/* | \
1515 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1516 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1519 # OSF1 and SCO ODT 3.0 have their own names for install.
1520 # Don't use installbsd from OSF since it installs stuff as root
1522 for ac_prog
in ginstall scoinst
install; do
1523 for ac_exec_ext
in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1525 if test $ac_prog = install &&
1526 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1527 # AIX install. It has an incompatible calling convention.
1529 elif test $ac_prog = install &&
1530 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1531 # program-specific install script used by HP pwplus--don't use.
1534 rm -rf conftest.one conftest.two conftest.dir
1535 echo one
> conftest.one
1536 echo two
> conftest.two
1538 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1539 test -s conftest.one
&& test -s conftest.two
&&
1540 test -s conftest.dir
/conftest.one
&&
1541 test -s conftest.dir
/conftest.two
1543 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1554 rm -rf conftest.one conftest.two conftest.dir
1557 if test "${ac_cv_path_install+set}" = set; then
1558 INSTALL
=$ac_cv_path_install
1560 # As a last resort, use the slow shell script. Don't cache a
1561 # value for INSTALL within a source directory, because that will
1562 # break other packages using the cache if that directory is
1563 # removed, or if the value is a relative name.
1564 INSTALL
=$ac_install_sh
1567 echo "$as_me:$LINENO: result: $INSTALL" >&5
1568 echo "${ECHO_T}$INSTALL" >&6
1570 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1571 # It thinks the first close brace ends the variable substitution.
1572 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1574 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1576 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1579 ac_cpp
='$CPP $CPPFLAGS'
1580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1583 if test -n "$ac_tool_prefix"; then
1584 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1585 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1586 echo "$as_me:$LINENO: checking for $ac_word" >&5
1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588 if test "${ac_cv_prog_CC+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 if test -n "$CC"; then
1592 ac_cv_prog_CC
="$CC" # Let the user override the test.
1594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir
=.
1599 for ac_exec_ext
in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1601 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1611 if test -n "$CC"; then
1612 echo "$as_me:$LINENO: result: $CC" >&5
1613 echo "${ECHO_T}$CC" >&6
1615 echo "$as_me:$LINENO: result: no" >&5
1616 echo "${ECHO_T}no" >&6
1620 if test -z "$ac_cv_prog_CC"; then
1622 # Extract the first word of "gcc", so it can be a program name with args.
1623 set dummy gcc
; ac_word
=$2
1624 echo "$as_me:$LINENO: checking for $ac_word" >&5
1625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 if test -n "$ac_ct_CC"; then
1630 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1636 test -z "$as_dir" && as_dir
=.
1637 for ac_exec_ext
in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639 ac_cv_prog_ac_ct_CC
="gcc"
1640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1648 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1649 if test -n "$ac_ct_CC"; then
1650 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1651 echo "${ECHO_T}$ac_ct_CC" >&6
1653 echo "$as_me:$LINENO: result: no" >&5
1654 echo "${ECHO_T}no" >&6
1662 if test -z "$CC"; then
1663 if test -n "$ac_tool_prefix"; then
1664 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1665 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_CC+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 if test -n "$CC"; then
1672 ac_cv_prog_CC
="$CC" # Let the user override the test.
1674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1678 test -z "$as_dir" && as_dir
=.
1679 for ac_exec_ext
in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1691 if test -n "$CC"; then
1692 echo "$as_me:$LINENO: result: $CC" >&5
1693 echo "${ECHO_T}$CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1700 if test -z "$ac_cv_prog_CC"; then
1702 # Extract the first word of "cc", so it can be a program name with args.
1703 set dummy cc
; ac_word
=$2
1704 echo "$as_me:$LINENO: checking for $ac_word" >&5
1705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1709 if test -n "$ac_ct_CC"; then
1710 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1716 test -z "$as_dir" && as_dir
=.
1717 for ac_exec_ext
in '' $ac_executable_extensions; do
1718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1719 ac_cv_prog_ac_ct_CC
="cc"
1720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1728 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1729 if test -n "$ac_ct_CC"; then
1730 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1731 echo "${ECHO_T}$ac_ct_CC" >&6
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1743 if test -z "$CC"; then
1744 # Extract the first word of "cc", so it can be a program name with args.
1745 set dummy cc
; ac_word
=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$CC"; then
1752 ac_cv_prog_CC
="$CC" # Let the user override the test.
1755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1759 test -z "$as_dir" && as_dir
=.
1760 for ac_exec_ext
in '' $ac_executable_extensions; do
1761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1762 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1763 ac_prog_rejected
=yes
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test $ac_prog_rejected = yes; then
1774 # We found a bogon in the path, so make sure we never use it.
1775 set dummy
$ac_cv_prog_CC
1777 if test $# != 0; then
1778 # We chose a different compiler from the bogus one.
1779 # However, it has the same basename, so the bogon will be chosen
1780 # first if we set CC to just the basename; use the full file name.
1782 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1788 if test -n "$CC"; then
1789 echo "$as_me:$LINENO: result: $CC" >&5
1790 echo "${ECHO_T}$CC" >&6
1792 echo "$as_me:$LINENO: result: no" >&5
1793 echo "${ECHO_T}no" >&6
1797 if test -z "$CC"; then
1798 if test -n "$ac_tool_prefix"; then
1801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1802 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805 if test "${ac_cv_prog_CC+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 if test -n "$CC"; then
1809 ac_cv_prog_CC
="$CC" # Let the user override the test.
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir
=.
1816 for ac_exec_ext
in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 if test -n "$CC"; then
1829 echo "$as_me:$LINENO: result: $CC" >&5
1830 echo "${ECHO_T}$CC" >&6
1832 echo "$as_me:$LINENO: result: no" >&5
1833 echo "${ECHO_T}no" >&6
1836 test -n "$CC" && break
1839 if test -z "$CC"; then
1843 # Extract the first word of "$ac_prog", so it can be a program name with args.
1844 set dummy
$ac_prog; ac_word
=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$ac_ct_CC"; then
1851 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 for ac_exec_ext
in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_ac_ct_CC
="$ac_prog"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1870 if test -n "$ac_ct_CC"; then
1871 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1872 echo "${ECHO_T}$ac_ct_CC" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1878 test -n "$ac_ct_CC" && break
1887 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1888 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1889 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1890 See \`config.log' for more details." >&5
1891 echo "$as_me: error: no acceptable C compiler found in \$PATH
1892 See \`config.log' for more details." >&2;}
1893 { (exit 1); exit 1; }; }; }
1895 # Provide some information about the compiler.
1896 echo "$as_me:$LINENO:" \
1897 "checking for C compiler version" >&5
1898 ac_compiler
=`set X $ac_compile; echo $2`
1899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1900 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903 (exit $ac_status); }
1904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1905 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }
1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1910 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }
1915 cat >conftest.
$ac_ext <<_ACEOF
1918 cat confdefs.h
>>conftest.
$ac_ext
1919 cat >>conftest.
$ac_ext <<_ACEOF
1920 /* end confdefs.h. */
1930 ac_clean_files_save
=$ac_clean_files
1931 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1932 # Try to create an executable without -o first, disregard a.out.
1933 # It will help us diagnose broken compilers, and finding out an intuition
1935 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1936 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1937 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1938 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1939 (eval $ac_link_default) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; then
1943 # Find the output, starting from the most likely. This scheme is
1944 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1947 # Be careful to initialize this variable, since it used to be cached.
1948 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1950 # b.out is created by i960 compilers.
1951 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1953 test -f "$ac_file" ||
continue
1955 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1958 # This is the source file.
1961 # We found the default executable, but exeext='' is most
1965 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1966 # FIXME: I believe we export ac_cv_exeext for Libtool,
1967 # but it would be cool to find out if it's true. Does anybody
1968 # maintain Libtool? --akim.
1976 echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.
$ac_ext >&5
1979 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1980 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1981 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1982 See \`config.log' for more details." >&5
1983 echo "$as_me: error: C compiler cannot create executables
1984 See \`config.log' for more details." >&2;}
1985 { (exit 77); exit 77; }; }; }
1988 ac_exeext
=$ac_cv_exeext
1989 echo "$as_me:$LINENO: result: $ac_file" >&5
1990 echo "${ECHO_T}$ac_file" >&6
1992 # Check the compiler produces executables we can run. If not, either
1993 # the compiler is broken, or we cross compile.
1994 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1995 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1996 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1997 # If not cross compiling, check that we can run a simple program.
1998 if test "$cross_compiling" != yes; then
1999 if { ac_try
='./$ac_file'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; }; then
2007 if test "$cross_compiling" = maybe
; then
2010 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2011 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2012 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2013 If you meant to cross compile, use \`--host'.
2014 See \`config.log' for more details." >&5
2015 echo "$as_me: error: cannot run C compiled programs.
2016 If you meant to cross compile, use \`--host'.
2017 See \`config.log' for more details." >&2;}
2018 { (exit 1); exit 1; }; }; }
2022 echo "$as_me:$LINENO: result: yes" >&5
2023 echo "${ECHO_T}yes" >&6
2025 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2026 ac_clean_files
=$ac_clean_files_save
2027 # Check the compiler produces executables we can run. If not, either
2028 # the compiler is broken, or we cross compile.
2029 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2030 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2031 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2032 echo "${ECHO_T}$cross_compiling" >&6
2034 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2035 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2037 (eval $ac_link) 2>&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; then
2041 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2042 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2043 # work properly (i.e., refer to `conftest.exe'), while it won't with
2045 for ac_file
in conftest.exe conftest conftest.
*; do
2046 test -f "$ac_file" ||
continue
2048 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2049 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2056 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2057 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2058 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2059 See \`config.log' for more details." >&5
2060 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2061 See \`config.log' for more details." >&2;}
2062 { (exit 1); exit 1; }; }; }
2065 rm -f conftest
$ac_cv_exeext
2066 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2067 echo "${ECHO_T}$ac_cv_exeext" >&6
2069 rm -f conftest.
$ac_ext
2070 EXEEXT
=$ac_cv_exeext
2072 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2073 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2074 if test "${ac_cv_objext+set}" = set; then
2075 echo $ECHO_N "(cached) $ECHO_C" >&6
2077 cat >conftest.
$ac_ext <<_ACEOF
2080 cat confdefs.h
>>conftest.
$ac_ext
2081 cat >>conftest.
$ac_ext <<_ACEOF
2082 /* end confdefs.h. */
2092 rm -f conftest.o conftest.obj
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; then
2098 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2100 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2101 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2106 echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.
$ac_ext >&5
2109 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2110 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2111 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2112 See \`config.log' for more details." >&5
2113 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2114 See \`config.log' for more details." >&2;}
2115 { (exit 1); exit 1; }; }; }
2118 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2120 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2121 echo "${ECHO_T}$ac_cv_objext" >&6
2122 OBJEXT
=$ac_cv_objext
2124 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2125 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2126 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 cat >conftest.
$ac_ext <<_ACEOF
2132 cat confdefs.h
>>conftest.
$ac_ext
2133 cat >>conftest.
$ac_ext <<_ACEOF
2134 /* end confdefs.h. */
2147 rm -f conftest.
$ac_objext
2148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2149 (eval $ac_compile) 2>conftest.er1
2151 grep -v '^ *+' conftest.er1
>conftest.err
2153 cat conftest.err
>&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } &&
2156 { ac_try
='test -z "$ac_c_werror_flag"
2157 || test ! -s conftest.err'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; } &&
2163 { ac_try
='test -s conftest.$ac_objext'
2164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); }; }; then
2171 echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.
$ac_ext >&5
2176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2177 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2180 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2181 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2182 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2183 ac_test_CFLAGS
=${CFLAGS+set}
2184 ac_save_CFLAGS
=$CFLAGS
2186 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2187 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2188 if test "${ac_cv_prog_cc_g+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 cat >conftest.
$ac_ext <<_ACEOF
2194 cat confdefs.h
>>conftest.
$ac_ext
2195 cat >>conftest.
$ac_ext <<_ACEOF
2196 /* end confdefs.h. */
2206 rm -f conftest.
$ac_objext
2207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2208 (eval $ac_compile) 2>conftest.er1
2210 grep -v '^ *+' conftest.er1
>conftest.err
2212 cat conftest.err
>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } &&
2215 { ac_try
='test -z "$ac_c_werror_flag"
2216 || test ! -s conftest.err'
2217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2221 (exit $ac_status); }; } &&
2222 { ac_try
='test -s conftest.$ac_objext'
2223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }; }; then
2230 echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.
$ac_ext >&5
2235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2237 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2238 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2239 if test "$ac_test_CFLAGS" = set; then
2240 CFLAGS
=$ac_save_CFLAGS
2241 elif test $ac_cv_prog_cc_g = yes; then
2242 if test "$GCC" = yes; then
2248 if test "$GCC" = yes; then
2254 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2255 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2256 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2257 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 ac_cv_prog_cc_stdc
=no
2261 cat >conftest.
$ac_ext <<_ACEOF
2264 cat confdefs.h
>>conftest.
$ac_ext
2265 cat >>conftest.
$ac_ext <<_ACEOF
2266 /* end confdefs.h. */
2269 #include <sys/types.h>
2270 #include <sys/stat.h>
2271 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2272 struct buf { int x; };
2273 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2274 static char *e (p, i)
2280 static char *f (char * (*g) (char **, int), char **p, ...)
2285 s = g (p, va_arg (v,int));
2290 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2291 function prototypes and stuff, but not '\xHH' hex character constants.
2292 These don't provoke an error unfortunately, instead are silently treated
2293 as 'x'. The following induces an error, until -std1 is added to get
2294 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2295 array size at least. It's necessary to write '\x00'==0 to get something
2296 that's true only with -std1. */
2297 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2299 int test (int i, double x);
2300 struct s1 {int (*f) (int a);};
2301 struct s2 {int (*f) (double a);};
2302 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2308 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2313 # Don't try gcc -ansi; that turns off useful extensions and
2314 # breaks some systems' header files.
2315 # AIX -qlanglvl=ansi
2316 # Ultrix and OSF/1 -std1
2317 # HP-UX 10.20 and later -Ae
2318 # HP-UX older versions -Aa -D_HPUX_SOURCE
2319 # SVR4 -Xc -D__EXTENSIONS__
2320 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2322 CC
="$ac_save_CC $ac_arg"
2323 rm -f conftest.
$ac_objext
2324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2325 (eval $ac_compile) 2>conftest.er1
2327 grep -v '^ *+' conftest.er1
>conftest.err
2329 cat conftest.err
>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); } &&
2332 { ac_try
='test -z "$ac_c_werror_flag"
2333 || test ! -s conftest.err'
2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }; } &&
2339 { ac_try
='test -s conftest.$ac_objext'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; }; then
2345 ac_cv_prog_cc_stdc
=$ac_arg
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.
$ac_ext >&5
2352 rm -f conftest.err conftest.
$ac_objext
2354 rm -f conftest.
$ac_ext conftest.
$ac_objext
2359 case "x$ac_cv_prog_cc_stdc" in
2361 echo "$as_me:$LINENO: result: none needed" >&5
2362 echo "${ECHO_T}none needed" >&6 ;;
2364 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2365 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2366 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2369 # Some people use a C++ compiler to compile C. Since we use `exit',
2370 # in C++ we need to declare it. In case someone uses the same compiler
2371 # for both compiling C and C++ we need to have the C++ compiler decide
2372 # the declaration of exit, since it's the most demanding environment.
2373 cat >conftest.
$ac_ext <<_ACEOF
2378 rm -f conftest.
$ac_objext
2379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380 (eval $ac_compile) 2>conftest.er1
2382 grep -v '^ *+' conftest.er1
>conftest.err
2384 cat conftest.err
>&5
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); } &&
2387 { ac_try
='test -z "$ac_c_werror_flag"
2388 || test ! -s conftest.err'
2389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; } &&
2394 { ac_try
='test -s conftest.$ac_objext'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; }; then
2400 for ac_declaration
in \
2402 'extern "C" void std::exit (int) throw (); using std::exit;' \
2403 'extern "C" void std::exit (int); using std::exit;' \
2404 'extern "C" void exit (int) throw ();' \
2405 'extern "C" void exit (int);' \
2408 cat >conftest.
$ac_ext <<_ACEOF
2411 cat confdefs.h
>>conftest.
$ac_ext
2412 cat >>conftest.
$ac_ext <<_ACEOF
2413 /* end confdefs.h. */
2424 rm -f conftest.
$ac_objext
2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426 (eval $ac_compile) 2>conftest.er1
2428 grep -v '^ *+' conftest.er1
>conftest.err
2430 cat conftest.err
>&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); } &&
2433 { ac_try
='test -z "$ac_c_werror_flag"
2434 || test ! -s conftest.err'
2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; } &&
2440 { ac_try
='test -s conftest.$ac_objext'
2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; }; then
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.
$ac_ext >&5
2453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2454 cat >conftest.
$ac_ext <<_ACEOF
2457 cat confdefs.h
>>conftest.
$ac_ext
2458 cat >>conftest.
$ac_ext <<_ACEOF
2459 /* end confdefs.h. */
2469 rm -f conftest.
$ac_objext
2470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2471 (eval $ac_compile) 2>conftest.er1
2473 grep -v '^ *+' conftest.er1
>conftest.err
2475 cat conftest.err
>&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); } &&
2478 { ac_try
='test -z "$ac_c_werror_flag"
2479 || test ! -s conftest.err'
2480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; } &&
2485 { ac_try
='test -s conftest.$ac_objext'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; }; then
2493 echo "$as_me: failed program was:" >&5
2494 sed 's/^/| /' conftest.
$ac_ext >&5
2497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2500 if test -n "$ac_declaration"; then
2501 echo '#ifdef __cplusplus' >>confdefs.h
2502 echo $ac_declaration >>confdefs.h
2503 echo '#endif' >>confdefs.h
2507 echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.
$ac_ext >&5
2511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2513 ac_cpp
='$CPP $CPPFLAGS'
2514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2520 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_RANLIB+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$RANLIB"; then
2527 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 RANLIB
=$ac_cv_prog_RANLIB
2546 if test -n "$RANLIB"; then
2547 echo "$as_me:$LINENO: result: $RANLIB" >&5
2548 echo "${ECHO_T}$RANLIB" >&6
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2555 if test -z "$ac_cv_prog_RANLIB"; then
2556 ac_ct_RANLIB
=$RANLIB
2557 # Extract the first word of "ranlib", so it can be a program name with args.
2558 set dummy ranlib
; ac_word
=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$ac_ct_RANLIB"; then
2565 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir
=.
2572 for ac_exec_ext
in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2584 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2585 if test -n "$ac_ct_RANLIB"; then
2586 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2587 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2589 echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6
2593 RANLIB
=$ac_ct_RANLIB
2595 RANLIB
="$ac_cv_prog_RANLIB"
2599 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2600 for ac_prog
in aclocal
2602 # Extract the first word of "$ac_prog", so it can be a program name with args.
2603 set dummy
$ac_prog; ac_word
=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2609 if test -n "$ACLOCAL"; then
2610 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2616 test -z "$as_dir" && as_dir
=.
2617 for ac_exec_ext
in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_ACLOCAL
="$ac_prog"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 ACLOCAL
=$ac_cv_prog_ACLOCAL
2629 if test -n "$ACLOCAL"; then
2630 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2631 echo "${ECHO_T}$ACLOCAL" >&6
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2637 test -n "$ACLOCAL" && break
2639 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2641 for ac_prog
in autoconf
2643 # Extract the first word of "$ac_prog", so it can be a program name with args.
2644 set dummy
$ac_prog; ac_word
=$2
2645 echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2647 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 if test -n "$AUTOCONF"; then
2651 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir
=.
2658 for ac_exec_ext
in '' $ac_executable_extensions; do
2659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2660 ac_cv_prog_AUTOCONF
="$ac_prog"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 AUTOCONF
=$ac_cv_prog_AUTOCONF
2670 if test -n "$AUTOCONF"; then
2671 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2672 echo "${ECHO_T}$AUTOCONF" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2678 test -n "$AUTOCONF" && break
2680 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2682 for ac_prog
in autoheader
2684 # Extract the first word of "$ac_prog", so it can be a program name with args.
2685 set dummy
$ac_prog; ac_word
=$2
2686 echo "$as_me:$LINENO: checking for $ac_word" >&5
2687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2688 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 if test -n "$AUTOHEADER"; then
2692 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir
=.
2699 for ac_exec_ext
in '' $ac_executable_extensions; do
2700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2701 ac_cv_prog_AUTOHEADER
="$ac_prog"
2702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2711 if test -n "$AUTOHEADER"; then
2712 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2713 echo "${ECHO_T}$AUTOHEADER" >&6
2715 echo "$as_me:$LINENO: result: no" >&5
2716 echo "${ECHO_T}no" >&6
2719 test -n "$AUTOHEADER" && break
2721 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2724 # Figure out what compiler warnings we can enable.
2725 # See config/warnings.m4 for details.
2729 save_CFLAGS
="$CFLAGS"
2730 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2731 -Wmissing-prototypes -Wold-style-definition \
2732 -Wmissing-format-attribute; do
2733 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2735 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2736 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2737 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758 (eval $ac_compile) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -z "$ac_c_werror_flag"
2766 || test ! -s conftest.err'
2767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; } &&
2772 { ac_try
='test -s conftest.$ac_objext'
2773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777 (exit $ac_status); }; }; then
2778 eval "$as_acx_Woption=yes"
2780 echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.
$ac_ext >&5
2783 eval "$as_acx_Woption=no"
2785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2788 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2789 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2790 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2791 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2795 CFLAGS
="$save_CFLAGS"
2798 if test "$GCC" = yes; then
2799 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2800 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2801 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 save_CFLAGS
="$CFLAGS"
2805 CFLAGS
="-pedantic -Wno-long-long"
2806 cat >conftest.
$ac_ext <<_ACEOF
2809 cat confdefs.h
>>conftest.
$ac_ext
2810 cat >>conftest.
$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.
$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>conftest.er1
2825 grep -v '^ *+' conftest.er1
>conftest.err
2827 cat conftest.err
>&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try
='test -z "$ac_c_werror_flag"
2831 || test ! -s conftest.err'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try
='test -s conftest.$ac_objext'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2843 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.
$ac_ext >&5
2848 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2851 CFLAGS
="$save_CFLAGS"
2853 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2854 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2855 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2856 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2864 # Only enable with --enable-werror-always until existing warnings are
2867 # Check whether --enable-werror-always or --disable-werror-always was given.
2868 if test "${enable_werror_always+set}" = set; then
2869 enableval
="$enable_werror_always"
2872 enable_werror_always
=no
2874 if test $enable_werror_always = yes; then
2875 WERROR
="$WERROR${WERROR:+ }-Werror"
2881 # Dependency checking.
2882 rm -rf .tst
2>/dev
/null
2883 mkdir .tst
2>/dev
/null
2884 if test -d .tst
; then
2889 rmdir .tst
2>/dev
/null
2891 DEPDIR
="${am__leading_dot}deps"
2893 ac_config_commands
="$ac_config_commands depdir"
2896 depcc
="$CC" am_compiler_list
=
2898 am_depcomp
=$ac_aux_dir/depcomp
2899 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2900 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2901 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 if test -f "$am_depcomp"; then
2905 # We make a subdir and do the tests there. Otherwise we can end up
2906 # making bogus files that we don't know about and never remove. For
2907 # instance it was reported that on HP-UX the gcc test will end up
2908 # making a dummy file named `D' -- because `-MD' means `put the output
2911 # Copy depcomp to subdir because otherwise we won't find it if we're
2912 # using a relative directory.
2913 cp "$am_depcomp" conftest.dir
2915 # We will build objects and dependencies in a subdirectory because
2916 # it helps to detect inapplicable dependency modes. For instance
2917 # both Tru64's cc and ICC support -MD to output dependencies as a
2918 # side effect of compilation, but ICC will put the dependencies in
2919 # the current directory while Tru64 will put them in the object
2923 am_cv_CC_dependencies_compiler_type
=none
2924 if test "$am_compiler_list" = ""; then
2925 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2927 for depmode
in $am_compiler_list; do
2928 if test $depmode = none
; then break; fi
2930 echo "$as_me:$LINENO: trying $depmode" >&5
2931 # Setup a source with many dependencies, because some compilers
2932 # like to wrap large dependency lists on column 80 (with \), and
2933 # we should not choose a depcomp mode which is confused by this.
2935 # We need to recreate these files for each test, as the compiler may
2936 # overwrite some of them when testing with obscure command lines.
2937 # This happens at least with the AIX C compiler.
2939 for i
in 1 2 3 4 5 6; do
2940 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2941 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2942 # Solaris 8's {/usr,}/bin/sh.
2943 touch sub
/conftst
$i.h
2945 echo "include sub/conftest.Po" > confmf
2947 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2948 # mode. It turns out that the SunPro C++ compiler does not properly
2949 # handle `-M -o', and we need to detect this.
2950 depcmd
="depmode=$depmode \
2951 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2952 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2953 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2954 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2955 if env
$depcmd > conftest.err
2>&1 &&
2956 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2957 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2958 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2959 # icc doesn't choke on unknown options, it will just issue warnings
2960 # or remarks (even with -Werror). So we grep stderr for any message
2961 # that says an option was ignored or not supported.
2962 # When given -MP, icc 7.0 and 7.1 complain thusly:
2963 # icc: Command line warning: ignoring option '-M'; no argument required
2964 # The diagnosis changed in icc 8.0:
2965 # icc: Command line remark: option '-MP' not supported
2966 if (grep 'ignoring option' conftest.err ||
2967 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2968 am_cv_CC_dependencies_compiler_type
=$depmode
2969 echo "$as_me:$LINENO: success" >&5
2973 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2974 sed -e 's/^/| /' < conftest.err
>&5
2980 am_cv_CC_dependencies_compiler_type
=none
2984 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2985 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2986 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2987 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
2988 echo "$as_me: error: no usable dependency style found" >&2;}
2989 { (exit 1); exit 1; }; }
2990 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2995 # Checks for header files.
2996 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2997 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2998 if test "${ac_cv_header_time+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 cat >conftest.
$ac_ext <<_ACEOF
3004 cat confdefs.h
>>conftest.
$ac_ext
3005 cat >>conftest.
$ac_ext <<_ACEOF
3006 /* end confdefs.h. */
3007 #include <sys/types.h>
3008 #include <sys/time.h>
3014 if ((struct tm *) 0)
3020 rm -f conftest.
$ac_objext
3021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3022 (eval $ac_compile) 2>conftest.er1
3024 grep -v '^ *+' conftest.er1
>conftest.err
3026 cat conftest.err
>&5
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } &&
3029 { ac_try
='test -z "$ac_c_werror_flag"
3030 || test ! -s conftest.err'
3031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; } &&
3036 { ac_try
='test -s conftest.$ac_objext'
3037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; }; then
3042 ac_cv_header_time
=yes
3044 echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.
$ac_ext >&5
3047 ac_cv_header_time
=no
3049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3051 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3052 echo "${ECHO_T}$ac_cv_header_time" >&6
3053 if test $ac_cv_header_time = yes; then
3055 cat >>confdefs.h
<<\_ACEOF
3056 #define TIME_WITH_SYS_TIME 1
3061 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
3062 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
3063 if test "${gcc_cv_header_string+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 cat >conftest.
$ac_ext <<_ACEOF
3069 cat confdefs.h
>>conftest.
$ac_ext
3070 cat >>conftest.
$ac_ext <<_ACEOF
3071 /* end confdefs.h. */
3073 #include <strings.h>
3082 rm -f conftest.
$ac_objext
3083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3084 (eval $ac_compile) 2>conftest.er1
3086 grep -v '^ *+' conftest.er1
>conftest.err
3088 cat conftest.err
>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } &&
3091 { ac_try
='test -z "$ac_c_werror_flag"
3092 || test ! -s conftest.err'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; } &&
3098 { ac_try
='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 gcc_cv_header_string
=yes
3106 echo "$as_me: failed program was:" >&5
3107 sed 's/^/| /' conftest.
$ac_ext >&5
3109 gcc_cv_header_string
=no
3111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3113 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
3114 echo "${ECHO_T}$gcc_cv_header_string" >&6
3115 if test $gcc_cv_header_string = yes; then
3117 cat >>confdefs.h
<<\_ACEOF
3118 #define STRING_WITH_STRINGS 1
3124 ac_cpp
='$CPP $CPPFLAGS'
3125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3128 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3129 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3130 # On Suns, sometimes $CPP names a directory.
3131 if test -n "$CPP" && test -d "$CPP"; then
3134 if test -z "$CPP"; then
3135 if test "${ac_cv_prog_CPP+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 # Double quotes because CPP needs to be expanded
3139 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3142 for ac_c_preproc_warn_flag
in '' yes
3144 # Use a header file that comes with gcc, so configuring glibc
3145 # with a fresh cross-compiler works.
3146 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3147 # <limits.h> exists even on freestanding compilers.
3148 # On the NeXT, cc -E runs the code through the compiler's parser,
3149 # not just through cpp. "Syntax error" is here to catch this case.
3150 cat >conftest.
$ac_ext <<_ACEOF
3153 cat confdefs.h
>>conftest.
$ac_ext
3154 cat >>conftest.
$ac_ext <<_ACEOF
3155 /* end confdefs.h. */
3157 # include <limits.h>
3159 # include <assert.h>
3163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3164 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } >/dev
/null
; then
3171 if test -s conftest.err
; then
3172 ac_cpp_err
=$ac_c_preproc_warn_flag
3173 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3180 if test -z "$ac_cpp_err"; then
3183 echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.
$ac_ext >&5
3186 # Broken: fails on valid input.
3189 rm -f conftest.err conftest.
$ac_ext
3191 # OK, works on sane cases. Now check whether non-existent headers
3192 # can be detected and how.
3193 cat >conftest.
$ac_ext <<_ACEOF
3196 cat confdefs.h
>>conftest.
$ac_ext
3197 cat >>conftest.
$ac_ext <<_ACEOF
3198 /* end confdefs.h. */
3199 #include <ac_nonexistent.h>
3201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3204 grep -v '^ *+' conftest.er1
>conftest.err
3206 cat conftest.err
>&5
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); } >/dev
/null
; then
3209 if test -s conftest.err
; then
3210 ac_cpp_err
=$ac_c_preproc_warn_flag
3211 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3218 if test -z "$ac_cpp_err"; then
3219 # Broken: success on invalid input.
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.
$ac_ext >&5
3225 # Passes both tests.
3229 rm -f conftest.err conftest.
$ac_ext
3232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3233 rm -f conftest.err conftest.
$ac_ext
3234 if $ac_preproc_ok; then
3246 echo "$as_me:$LINENO: result: $CPP" >&5
3247 echo "${ECHO_T}$CPP" >&6
3249 for ac_c_preproc_warn_flag
in '' yes
3251 # Use a header file that comes with gcc, so configuring glibc
3252 # with a fresh cross-compiler works.
3253 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3254 # <limits.h> exists even on freestanding compilers.
3255 # On the NeXT, cc -E runs the code through the compiler's parser,
3256 # not just through cpp. "Syntax error" is here to catch this case.
3257 cat >conftest.
$ac_ext <<_ACEOF
3260 cat confdefs.h
>>conftest.
$ac_ext
3261 cat >>conftest.
$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3264 # include <limits.h>
3266 # include <assert.h>
3270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3271 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3273 grep -v '^ *+' conftest.er1
>conftest.err
3275 cat conftest.err
>&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } >/dev
/null
; then
3278 if test -s conftest.err
; then
3279 ac_cpp_err
=$ac_c_preproc_warn_flag
3280 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3287 if test -z "$ac_cpp_err"; then
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.
$ac_ext >&5
3293 # Broken: fails on valid input.
3296 rm -f conftest.err conftest.
$ac_ext
3298 # OK, works on sane cases. Now check whether non-existent headers
3299 # can be detected and how.
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3306 #include <ac_nonexistent.h>
3308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3311 grep -v '^ *+' conftest.er1
>conftest.err
3313 cat conftest.err
>&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); } >/dev
/null
; then
3316 if test -s conftest.err
; then
3317 ac_cpp_err
=$ac_c_preproc_warn_flag
3318 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3325 if test -z "$ac_cpp_err"; then
3326 # Broken: success on invalid input.
3329 echo "$as_me: failed program was:" >&5
3330 sed 's/^/| /' conftest.
$ac_ext >&5
3332 # Passes both tests.
3336 rm -f conftest.err conftest.
$ac_ext
3339 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3340 rm -f conftest.err conftest.
$ac_ext
3341 if $ac_preproc_ok; then
3344 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3345 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3347 See \`config.log' for more details." >&5
3348 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3349 See \`config.log' for more details." >&2;}
3350 { (exit 1); exit 1; }; }; }
3354 ac_cpp
='$CPP $CPPFLAGS'
3355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3360 echo "$as_me:$LINENO: checking for egrep" >&5
3361 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3362 if test "${ac_cv_prog_egrep+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3366 then ac_cv_prog_egrep
='grep -E'
3367 else ac_cv_prog_egrep
='egrep'
3370 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3371 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3372 EGREP
=$ac_cv_prog_egrep
3375 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3376 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3377 if test "${ac_cv_header_stdc+set}" = set; then
3378 echo $ECHO_N "(cached) $ECHO_C" >&6
3380 cat >conftest.
$ac_ext <<_ACEOF
3383 cat confdefs.h
>>conftest.
$ac_ext
3384 cat >>conftest.
$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3399 rm -f conftest.
$ac_objext
3400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3401 (eval $ac_compile) 2>conftest.er1
3403 grep -v '^ *+' conftest.er1
>conftest.err
3405 cat conftest.err
>&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } &&
3408 { ac_try
='test -z "$ac_c_werror_flag"
3409 || test ! -s conftest.err'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; } &&
3415 { ac_try
='test -s conftest.$ac_objext'
3416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); }; }; then
3421 ac_cv_header_stdc
=yes
3423 echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.
$ac_ext >&5
3426 ac_cv_header_stdc
=no
3428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3430 if test $ac_cv_header_stdc = yes; then
3431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3442 $EGREP "memchr" >/dev
/null
2>&1; then
3445 ac_cv_header_stdc
=no
3451 if test $ac_cv_header_stdc = yes; then
3452 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3453 cat >conftest.
$ac_ext <<_ACEOF
3456 cat confdefs.h
>>conftest.
$ac_ext
3457 cat >>conftest.
$ac_ext <<_ACEOF
3458 /* end confdefs.h. */
3462 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3463 $EGREP "free" >/dev
/null
2>&1; then
3466 ac_cv_header_stdc
=no
3472 if test $ac_cv_header_stdc = yes; then
3473 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3474 if test "$cross_compiling" = yes; then
3477 cat >conftest.
$ac_ext <<_ACEOF
3480 cat confdefs.h
>>conftest.
$ac_ext
3481 cat >>conftest.
$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3484 #if ((' ' & 0x0FF) == 0x020)
3485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3488 # define ISLOWER(c) \
3489 (('a' <= (c) && (c) <= 'i') \
3490 || ('j' <= (c) && (c) <= 'r') \
3491 || ('s' <= (c) && (c) <= 'z'))
3492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3500 for (i = 0; i < 256; i++)
3501 if (XOR (islower (i), ISLOWER (i))
3502 || toupper (i) != TOUPPER (i))
3507 rm -f conftest
$ac_exeext
3508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3509 (eval $ac_link) 2>&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); }; }; then
3520 echo "$as_me: program exited with status $ac_status" >&5
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3525 ac_cv_header_stdc
=no
3527 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3531 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3532 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3533 if test $ac_cv_header_stdc = yes; then
3535 cat >>confdefs.h
<<\_ACEOF
3536 #define STDC_HEADERS 1
3541 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3551 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3552 inttypes.h stdint.h unistd.h
3554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3555 echo "$as_me:$LINENO: checking for $ac_header" >&5
3556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 cat >conftest.
$ac_ext <<_ACEOF
3563 cat confdefs.h
>>conftest.
$ac_ext
3564 cat >>conftest.
$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3566 $ac_includes_default
3568 #include <$ac_header>
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 eval "$as_ac_Header=yes"
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.
$ac_ext >&5
3597 eval "$as_ac_Header=no"
3599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3604 cat >>confdefs.h
<<_ACEOF
3605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3622 for ac_header
in locale.h fcntl.h limits.h stddef.h \
3623 stdlib.h
strings.h string.h sys
/file.h unistd.h
3625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3627 echo "$as_me:$LINENO: checking for $ac_header" >&5
3628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3635 # Is the header compilable?
3636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3638 cat >conftest.
$ac_ext <<_ACEOF
3641 cat confdefs.h
>>conftest.
$ac_ext
3642 cat >>conftest.
$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3644 $ac_includes_default
3645 #include <$ac_header>
3647 rm -f conftest.
$ac_objext
3648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649 (eval $ac_compile) 2>conftest.er1
3651 grep -v '^ *+' conftest.er1
>conftest.err
3653 cat conftest.err
>&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); } &&
3656 { ac_try
='test -z "$ac_c_werror_flag"
3657 || test ! -s conftest.err'
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662 (exit $ac_status); }; } &&
3663 { ac_try
='test -s conftest.$ac_objext'
3664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); }; }; then
3669 ac_header_compiler
=yes
3671 echo "$as_me: failed program was:" >&5
3672 sed 's/^/| /' conftest.
$ac_ext >&5
3674 ac_header_compiler
=no
3676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3678 echo "${ECHO_T}$ac_header_compiler" >&6
3680 # Is the header present?
3681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3683 cat >conftest.
$ac_ext <<_ACEOF
3686 cat confdefs.h
>>conftest.
$ac_ext
3687 cat >>conftest.
$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 #include <$ac_header>
3691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3692 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3694 grep -v '^ *+' conftest.er1
>conftest.err
3696 cat conftest.err
>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } >/dev
/null
; then
3699 if test -s conftest.err
; then
3700 ac_cpp_err
=$ac_c_preproc_warn_flag
3701 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3708 if test -z "$ac_cpp_err"; then
3709 ac_header_preproc
=yes
3711 echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.
$ac_ext >&5
3714 ac_header_preproc
=no
3716 rm -f conftest.err conftest.
$ac_ext
3717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3718 echo "${ECHO_T}$ac_header_preproc" >&6
3720 # So? What about this header?
3721 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3727 ac_header_preproc
=yes
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3744 ## ----------------------------------- ##
3745 ## Report this to gcc-bugs@gcc.gnu.org ##
3746 ## ----------------------------------- ##
3749 sed "s/^/$as_me: WARNING: /" >&2
3752 echo "$as_me:$LINENO: checking for $ac_header" >&5
3753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 eval "$as_ac_Header=\$ac_header_preproc"
3759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3764 cat >>confdefs.h
<<_ACEOF
3765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3773 # Checks for typedefs, structures, and compiler characteristics.
3774 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3775 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3776 if test "${ac_cv_c_const+set}" = set; then
3777 echo $ECHO_N "(cached) $ECHO_C" >&6
3779 cat >conftest.
$ac_ext <<_ACEOF
3782 cat confdefs.h
>>conftest.
$ac_ext
3783 cat >>conftest.
$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3789 /* FIXME: Include the comments suggested by Paul. */
3791 /* Ultrix mips cc rejects this. */
3792 typedef int charset[2];
3794 /* SunOS 4.1.1 cc rejects this. */
3795 char const *const *ccp;
3797 /* NEC SVR4.0.2 mips cc rejects this. */
3798 struct point {int x, y;};
3799 static struct point const zero = {0,0};
3800 /* AIX XL C 1.02.0.0 rejects this.
3801 It does not let you subtract one const X* pointer from another in
3802 an arm of an if-expression whose if-part is not a constant
3804 const char *g = "string";
3805 ccp = &g + (g ? g-g : 0);
3806 /* HPUX 7.0 cc rejects these. */
3809 ccp = (char const *const *) p;
3810 { /* SCO 3.2v4 cc rejects this. */
3812 char const *s = 0 ? (char *) 0 : (char const *) 0;
3816 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3818 const int *foo = &x[0];
3821 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3822 typedef const int *iptr;
3826 { /* AIX XL C 1.02.0.0 rejects this saying
3827 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3828 struct s { int j; const int *ap[3]; };
3829 struct s *b; b->j = 5;
3831 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3840 rm -f conftest.
$ac_objext
3841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3842 (eval $ac_compile) 2>conftest.er1
3844 grep -v '^ *+' conftest.er1
>conftest.err
3846 cat conftest.err
>&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); } &&
3849 { ac_try
='test -z "$ac_c_werror_flag"
3850 || test ! -s conftest.err'
3851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); }; } &&
3856 { ac_try
='test -s conftest.$ac_objext'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; }; then
3864 echo "$as_me: failed program was:" >&5
3865 sed 's/^/| /' conftest.
$ac_ext >&5
3869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3871 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3872 echo "${ECHO_T}$ac_cv_c_const" >&6
3873 if test $ac_cv_c_const = no
; then
3875 cat >>confdefs.h
<<\_ACEOF
3881 echo "$as_me:$LINENO: checking for inline" >&5
3882 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3883 if test "${ac_cv_c_inline+set}" = set; then
3884 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 for ac_kw
in inline __inline__ __inline
; do
3888 cat >conftest.
$ac_ext <<_ACEOF
3891 cat confdefs.h
>>conftest.
$ac_ext
3892 cat >>conftest.
$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3896 static $ac_kw foo_t static_foo () {return 0; }
3897 $ac_kw foo_t foo () {return 0; }
3901 rm -f conftest.
$ac_objext
3902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3903 (eval $ac_compile) 2>conftest.er1
3905 grep -v '^ *+' conftest.er1
>conftest.err
3907 cat conftest.err
>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } &&
3910 { ac_try
='test -z "$ac_c_werror_flag"
3911 || test ! -s conftest.err'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; } &&
3917 { ac_try
='test -s conftest.$ac_objext'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; }; then
3923 ac_cv_c_inline
=$ac_kw; break
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.
$ac_ext >&5
3929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3933 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3934 echo "${ECHO_T}$ac_cv_c_inline" >&6
3937 case $ac_cv_c_inline in
3940 case $ac_cv_c_inline in
3942 *) ac_val
=$ac_cv_c_inline;;
3944 cat >>confdefs.h
<<_ACEOF
3946 #define inline $ac_val
3952 echo "$as_me:$LINENO: checking for obstacks" >&5
3953 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3954 if test "${ac_cv_func_obstack+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 cat >conftest.
$ac_ext <<_ACEOF
3960 cat confdefs.h
>>conftest.
$ac_ext
3961 cat >>conftest.
$ac_ext <<_ACEOF
3962 /* end confdefs.h. */
3963 #include "obstack.h"
3967 struct obstack *mem; obstack_free(mem,(char *) 0)
3972 rm -f conftest.
$ac_objext conftest
$ac_exeext
3973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3974 (eval $ac_link) 2>conftest.er1
3976 grep -v '^ *+' conftest.er1
>conftest.err
3978 cat conftest.err
>&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } &&
3981 { ac_try
='test -z "$ac_c_werror_flag"
3982 || test ! -s conftest.err'
3983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987 (exit $ac_status); }; } &&
3988 { ac_try
='test -s conftest$ac_exeext'
3989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993 (exit $ac_status); }; }; then
3994 ac_cv_func_obstack
=yes
3996 echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.
$ac_ext >&5
3999 ac_cv_func_obstack
=no
4001 rm -f conftest.err conftest.
$ac_objext \
4002 conftest
$ac_exeext conftest.
$ac_ext
4004 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4005 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4006 if test $ac_cv_func_obstack = yes; then
4008 cat >>confdefs.h
<<\_ACEOF
4009 #define HAVE_OBSTACK 1
4014 "obstack.$ac_objext" | \
4015 *" obstack.$ac_objext" | \
4016 "obstack.$ac_objext "* | \
4017 *" obstack.$ac_objext "* ) ;;
4018 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4023 echo "$as_me:$LINENO: checking for off_t" >&5
4024 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4025 if test "${ac_cv_type_off_t+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 cat >conftest.
$ac_ext <<_ACEOF
4031 cat confdefs.h
>>conftest.
$ac_ext
4032 cat >>conftest.
$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 $ac_includes_default
4046 rm -f conftest.
$ac_objext
4047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4048 (eval $ac_compile) 2>conftest.er1
4050 grep -v '^ *+' conftest.er1
>conftest.err
4052 cat conftest.err
>&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); } &&
4055 { ac_try
='test -z "$ac_c_werror_flag"
4056 || test ! -s conftest.err'
4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }; } &&
4062 { ac_try
='test -s conftest.$ac_objext'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; }; then
4068 ac_cv_type_off_t
=yes
4070 echo "$as_me: failed program was:" >&5
4071 sed 's/^/| /' conftest.
$ac_ext >&5
4075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4077 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4078 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4079 if test $ac_cv_type_off_t = yes; then
4083 cat >>confdefs.h
<<_ACEOF
4089 echo "$as_me:$LINENO: checking for size_t" >&5
4090 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4091 if test "${ac_cv_type_size_t+set}" = set; then
4092 echo $ECHO_N "(cached) $ECHO_C" >&6
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4100 $ac_includes_default
4106 if (sizeof (size_t))
4112 rm -f conftest.
$ac_objext
4113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4114 (eval $ac_compile) 2>conftest.er1
4116 grep -v '^ *+' conftest.er1
>conftest.err
4118 cat conftest.err
>&5
4119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } &&
4121 { ac_try
='test -z "$ac_c_werror_flag"
4122 || test ! -s conftest.err'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; } &&
4128 { ac_try
='test -s conftest.$ac_objext'
4129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133 (exit $ac_status); }; }; then
4134 ac_cv_type_size_t
=yes
4136 echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.
$ac_ext >&5
4139 ac_cv_type_size_t
=no
4141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4143 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4144 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4145 if test $ac_cv_type_size_t = yes; then
4149 cat >>confdefs.h
<<_ACEOF
4150 #define size_t unsigned
4155 echo "$as_me:$LINENO: checking for ssize_t" >&5
4156 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4157 if test "${ac_cv_type_ssize_t+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 cat >conftest.
$ac_ext <<_ACEOF
4163 cat confdefs.h
>>conftest.
$ac_ext
4164 cat >>conftest.
$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4166 $ac_includes_default
4172 if (sizeof (ssize_t))
4178 rm -f conftest.
$ac_objext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4180 (eval $ac_compile) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1
>conftest.err
4184 cat conftest.err
>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try
='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try
='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_type_ssize_t
=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.
$ac_ext >&5
4205 ac_cv_type_ssize_t
=no
4207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4210 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4211 if test $ac_cv_type_ssize_t = yes; then
4215 cat >>confdefs.h
<<_ACEOF
4221 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4222 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4223 if test "${ac_cv_struct_tm+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 cat >conftest.
$ac_ext <<_ACEOF
4229 cat confdefs.h
>>conftest.
$ac_ext
4230 cat >>conftest.
$ac_ext <<_ACEOF
4231 /* end confdefs.h. */
4232 #include <sys/types.h>
4238 struct tm *tp; tp->tm_sec;
4243 rm -f conftest.
$ac_objext
4244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4245 (eval $ac_compile) 2>conftest.er1
4247 grep -v '^ *+' conftest.er1
>conftest.err
4249 cat conftest.err
>&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } &&
4252 { ac_try
='test -z "$ac_c_werror_flag"
4253 || test ! -s conftest.err'
4254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); }; } &&
4259 { ac_try
='test -s conftest.$ac_objext'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; }; then
4265 ac_cv_struct_tm
=time.h
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.
$ac_ext >&5
4270 ac_cv_struct_tm
=sys
/time.h
4272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4274 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4275 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4276 if test $ac_cv_struct_tm = sys
/time.h
; then
4278 cat >>confdefs.h
<<\_ACEOF
4279 #define TM_IN_SYS_TIME 1
4284 echo "$as_me:$LINENO: checking for int" >&5
4285 echo $ECHO_N "checking for int... $ECHO_C" >&6
4286 if test "${ac_cv_type_int+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 $ac_includes_default
4307 rm -f conftest.
$ac_objext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>conftest.er1
4311 grep -v '^ *+' conftest.er1
>conftest.err
4313 cat conftest.err
>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); } &&
4316 { ac_try
='test -z "$ac_c_werror_flag"
4317 || test ! -s conftest.err'
4318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); }; } &&
4323 { ac_try
='test -s conftest.$ac_objext'
4324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); }; }; then
4331 echo "$as_me: failed program was:" >&5
4332 sed 's/^/| /' conftest.
$ac_ext >&5
4336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4338 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4339 echo "${ECHO_T}$ac_cv_type_int" >&6
4341 echo "$as_me:$LINENO: checking size of int" >&5
4342 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4343 if test "${ac_cv_sizeof_int+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 if test "$ac_cv_type_int" = yes; then
4347 # The cast to unsigned long works around a bug in the HP C Compiler
4348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4350 # This bug is HP SR number 8606223364.
4351 if test "$cross_compiling" = yes; then
4352 # Depending upon the size, compute the lo and hi bounds.
4353 cat >conftest.
$ac_ext <<_ACEOF
4356 cat confdefs.h
>>conftest.
$ac_ext
4357 cat >>conftest.
$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4359 $ac_includes_default
4363 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4370 rm -f conftest.
$ac_objext
4371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4372 (eval $ac_compile) 2>conftest.er1
4374 grep -v '^ *+' conftest.er1
>conftest.err
4376 cat conftest.err
>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); } &&
4379 { ac_try
='test -z "$ac_c_werror_flag"
4380 || test ! -s conftest.err'
4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; } &&
4386 { ac_try
='test -s conftest.$ac_objext'
4387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; }; then
4394 cat >conftest.
$ac_ext <<_ACEOF
4397 cat confdefs.h
>>conftest.
$ac_ext
4398 cat >>conftest.
$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4400 $ac_includes_default
4404 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4411 rm -f conftest.
$ac_objext
4412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4413 (eval $ac_compile) 2>conftest.er1
4415 grep -v '^ *+' conftest.er1
>conftest.err
4417 cat conftest.err
>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); } &&
4420 { ac_try
='test -z "$ac_c_werror_flag"
4421 || test ! -s conftest.err'
4422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); }; } &&
4427 { ac_try
='test -s conftest.$ac_objext'
4428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); }; }; then
4433 ac_hi
=$ac_mid; break
4435 echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.
$ac_ext >&5
4438 ac_lo
=`expr $ac_mid + 1`
4439 if test $ac_lo -le $ac_mid; then
4443 ac_mid
=`expr 2 '*' $ac_mid + 1`
4445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.
$ac_ext >&5
4451 cat >conftest.
$ac_ext <<_ACEOF
4454 cat confdefs.h
>>conftest.
$ac_ext
4455 cat >>conftest.
$ac_ext <<_ACEOF
4456 /* end confdefs.h. */
4457 $ac_includes_default
4461 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4468 rm -f conftest.
$ac_objext
4469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4470 (eval $ac_compile) 2>conftest.er1
4472 grep -v '^ *+' conftest.er1
>conftest.err
4474 cat conftest.err
>&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } &&
4477 { ac_try
='test -z "$ac_c_werror_flag"
4478 || test ! -s conftest.err'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try
='test -s conftest.$ac_objext'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4492 cat >conftest.
$ac_ext <<_ACEOF
4495 cat confdefs.h
>>conftest.
$ac_ext
4496 cat >>conftest.
$ac_ext <<_ACEOF
4497 /* end confdefs.h. */
4498 $ac_includes_default
4502 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4509 rm -f conftest.
$ac_objext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4511 (eval $ac_compile) 2>conftest.er1
4513 grep -v '^ *+' conftest.er1
>conftest.err
4515 cat conftest.err
>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } &&
4518 { ac_try
='test -z "$ac_c_werror_flag"
4519 || test ! -s conftest.err'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; } &&
4525 { ac_try
='test -s conftest.$ac_objext'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; }; then
4531 ac_lo
=$ac_mid; break
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.
$ac_ext >&5
4536 ac_hi
=`expr '(' $ac_mid ')' - 1`
4537 if test $ac_mid -le $ac_hi; then
4541 ac_mid
=`expr 2 '*' $ac_mid`
4543 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 echo "$as_me: failed program was:" >&5
4547 sed 's/^/| /' conftest.
$ac_ext >&5
4551 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4554 # Binary search between lo and hi bounds.
4555 while test "x$ac_lo" != "x$ac_hi"; do
4556 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4557 cat >conftest.
$ac_ext <<_ACEOF
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4563 $ac_includes_default
4567 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4574 rm -f conftest.
$ac_objext
4575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4576 (eval $ac_compile) 2>conftest.er1
4578 grep -v '^ *+' conftest.er1
>conftest.err
4580 cat conftest.err
>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } &&
4583 { ac_try
='test -z "$ac_c_werror_flag"
4584 || test ! -s conftest.err'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try
='test -s conftest.$ac_objext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.
$ac_ext >&5
4601 ac_lo
=`expr '(' $ac_mid ')' + 1`
4603 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4606 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4607 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4608 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4609 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4610 See \`config.log' for more details." >&5
4611 echo "$as_me: error: cannot compute sizeof (int), 77
4612 See \`config.log' for more details." >&2;}
4613 { (exit 1); exit 1; }; }; } ;;
4616 if test "$cross_compiling" = yes; then
4617 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4618 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4619 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4620 See \`config.log' for more details." >&5
4621 echo "$as_me: error: cannot run test program while cross compiling
4622 See \`config.log' for more details." >&2;}
4623 { (exit 1); exit 1; }; }; }
4625 cat >conftest.
$ac_ext <<_ACEOF
4628 cat confdefs.h
>>conftest.
$ac_ext
4629 cat >>conftest.
$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 $ac_includes_default
4632 long longval () { return (long) (sizeof (int)); }
4633 unsigned long ulongval () { return (long) (sizeof (int)); }
4640 FILE *f = fopen ("conftest.val", "w");
4643 if (((long) (sizeof (int))) < 0)
4645 long i = longval ();
4646 if (i != ((long) (sizeof (int))))
4648 fprintf (f, "%ld\n", i);
4652 unsigned long i = ulongval ();
4653 if (i != ((long) (sizeof (int))))
4655 fprintf (f, "%lu\n", i);
4657 exit (ferror (f) || fclose (f) != 0);
4663 rm -f conftest
$ac_exeext
4664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4665 (eval $ac_link) 2>&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 ac_cv_sizeof_int
=`cat conftest.val`
4676 echo "$as_me: program exited with status $ac_status" >&5
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.
$ac_ext >&5
4681 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4682 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4684 See \`config.log' for more details." >&5
4685 echo "$as_me: error: cannot compute sizeof (int), 77
4686 See \`config.log' for more details." >&2;}
4687 { (exit 1); exit 1; }; }; }
4689 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4697 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4698 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4699 cat >>confdefs.h
<<_ACEOF
4700 #define SIZEOF_INT $ac_cv_sizeof_int
4704 echo "$as_me:$LINENO: checking for long" >&5
4705 echo $ECHO_N "checking for long... $ECHO_C" >&6
4706 if test "${ac_cv_type_long+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 cat >conftest.
$ac_ext <<_ACEOF
4712 cat confdefs.h
>>conftest.
$ac_ext
4713 cat >>conftest.
$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 $ac_includes_default
4727 rm -f conftest.
$ac_objext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4729 (eval $ac_compile) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1
>conftest.err
4733 cat conftest.err
>&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } &&
4736 { ac_try
='test -z "$ac_c_werror_flag"
4737 || test ! -s conftest.err'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; } &&
4743 { ac_try
='test -s conftest.$ac_objext'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; }; then
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.
$ac_ext >&5
4756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4758 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4759 echo "${ECHO_T}$ac_cv_type_long" >&6
4761 echo "$as_me:$LINENO: checking size of long" >&5
4762 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4763 if test "${ac_cv_sizeof_long+set}" = set; then
4764 echo $ECHO_N "(cached) $ECHO_C" >&6
4766 if test "$ac_cv_type_long" = yes; then
4767 # The cast to unsigned long works around a bug in the HP C Compiler
4768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4770 # This bug is HP SR number 8606223364.
4771 if test "$cross_compiling" = yes; then
4772 # Depending upon the size, compute the lo and hi bounds.
4773 cat >conftest.
$ac_ext <<_ACEOF
4776 cat confdefs.h
>>conftest.
$ac_ext
4777 cat >>conftest.
$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 $ac_includes_default
4783 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4790 rm -f conftest.
$ac_objext
4791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4792 (eval $ac_compile) 2>conftest.er1
4794 grep -v '^ *+' conftest.er1
>conftest.err
4796 cat conftest.err
>&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); } &&
4799 { ac_try
='test -z "$ac_c_werror_flag"
4800 || test ! -s conftest.err'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; } &&
4806 { ac_try
='test -s conftest.$ac_objext'
4807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); }; }; then
4814 cat >conftest.
$ac_ext <<_ACEOF
4817 cat confdefs.h
>>conftest.
$ac_ext
4818 cat >>conftest.
$ac_ext <<_ACEOF
4819 /* end confdefs.h. */
4820 $ac_includes_default
4824 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4831 rm -f conftest.
$ac_objext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1
>conftest.err
4837 cat conftest.err
>&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try
='test -z "$ac_c_werror_flag"
4841 || test ! -s conftest.err'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try
='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 ac_hi
=$ac_mid; break
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4858 ac_lo
=`expr $ac_mid + 1`
4859 if test $ac_lo -le $ac_mid; then
4863 ac_mid
=`expr 2 '*' $ac_mid + 1`
4865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.
$ac_ext >&5
4871 cat >conftest.
$ac_ext <<_ACEOF
4874 cat confdefs.h
>>conftest.
$ac_ext
4875 cat >>conftest.
$ac_ext <<_ACEOF
4876 /* end confdefs.h. */
4877 $ac_includes_default
4881 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4888 rm -f conftest.
$ac_objext
4889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4890 (eval $ac_compile) 2>conftest.er1
4892 grep -v '^ *+' conftest.er1
>conftest.err
4894 cat conftest.err
>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try
='test -z "$ac_c_werror_flag"
4898 || test ! -s conftest.err'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; } &&
4904 { ac_try
='test -s conftest.$ac_objext'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; }; then
4912 cat >conftest.
$ac_ext <<_ACEOF
4915 cat confdefs.h
>>conftest.
$ac_ext
4916 cat >>conftest.
$ac_ext <<_ACEOF
4917 /* end confdefs.h. */
4918 $ac_includes_default
4922 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4929 rm -f conftest.
$ac_objext
4930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4931 (eval $ac_compile) 2>conftest.er1
4933 grep -v '^ *+' conftest.er1
>conftest.err
4935 cat conftest.err
>&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); } &&
4938 { ac_try
='test -z "$ac_c_werror_flag"
4939 || test ! -s conftest.err'
4940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); }; } &&
4945 { ac_try
='test -s conftest.$ac_objext'
4946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950 (exit $ac_status); }; }; then
4951 ac_lo
=$ac_mid; break
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.
$ac_ext >&5
4956 ac_hi
=`expr '(' $ac_mid ')' - 1`
4957 if test $ac_mid -le $ac_hi; then
4961 ac_mid
=`expr 2 '*' $ac_mid`
4963 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4966 echo "$as_me: failed program was:" >&5
4967 sed 's/^/| /' conftest.
$ac_ext >&5
4971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4974 # Binary search between lo and hi bounds.
4975 while test "x$ac_lo" != "x$ac_hi"; do
4976 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4977 cat >conftest.
$ac_ext <<_ACEOF
4980 cat confdefs.h
>>conftest.
$ac_ext
4981 cat >>conftest.
$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4983 $ac_includes_default
4987 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4994 rm -f conftest.
$ac_objext
4995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4996 (eval $ac_compile) 2>conftest.er1
4998 grep -v '^ *+' conftest.er1
>conftest.err
5000 cat conftest.err
>&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } &&
5003 { ac_try
='test -z "$ac_c_werror_flag"
5004 || test ! -s conftest.err'
5005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); }; } &&
5010 { ac_try
='test -s conftest.$ac_objext'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5021 ac_lo
=`expr '(' $ac_mid ')' + 1`
5023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5026 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5027 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5030 See \`config.log' for more details." >&5
5031 echo "$as_me: error: cannot compute sizeof (long), 77
5032 See \`config.log' for more details." >&2;}
5033 { (exit 1); exit 1; }; }; } ;;
5036 if test "$cross_compiling" = yes; then
5037 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5038 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5039 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5040 See \`config.log' for more details." >&5
5041 echo "$as_me: error: cannot run test program while cross compiling
5042 See \`config.log' for more details." >&2;}
5043 { (exit 1); exit 1; }; }; }
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 $ac_includes_default
5052 long longval () { return (long) (sizeof (long)); }
5053 unsigned long ulongval () { return (long) (sizeof (long)); }
5060 FILE *f = fopen ("conftest.val", "w");
5063 if (((long) (sizeof (long))) < 0)
5065 long i = longval ();
5066 if (i != ((long) (sizeof (long))))
5068 fprintf (f, "%ld\n", i);
5072 unsigned long i = ulongval ();
5073 if (i != ((long) (sizeof (long))))
5075 fprintf (f, "%lu\n", i);
5077 exit (ferror (f) || fclose (f) != 0);
5083 rm -f conftest
$ac_exeext
5084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5085 (eval $ac_link) 2>&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); }; }; then
5094 ac_cv_sizeof_long
=`cat conftest.val`
5096 echo "$as_me: program exited with status $ac_status" >&5
5097 echo "$as_me: failed program was:" >&5
5098 sed 's/^/| /' conftest.
$ac_ext >&5
5101 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5102 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5104 See \`config.log' for more details." >&5
5105 echo "$as_me: error: cannot compute sizeof (long), 77
5106 See \`config.log' for more details." >&2;}
5107 { (exit 1); exit 1; }; }; }
5109 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5117 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5118 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5119 cat >>confdefs.h
<<_ACEOF
5120 #define SIZEOF_LONG $ac_cv_sizeof_long
5141 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
5143 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5144 echo "$as_me:$LINENO: checking for $ac_func" >&5
5145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5146 if eval "test \"\${$as_ac_var+set}\" = set"; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 cat >conftest.
$ac_ext <<_ACEOF
5152 cat confdefs.h
>>conftest.
$ac_ext
5153 cat >>conftest.
$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5157 #define $ac_func innocuous_$ac_func
5159 /* System header to define __stub macros and hopefully few prototypes,
5160 which can conflict with char $ac_func (); below.
5161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5162 <limits.h> exists even on freestanding compilers. */
5165 # include <limits.h>
5167 # include <assert.h>
5172 /* Override any gcc2 internal prototype to avoid an error. */
5177 /* We use char because int might match the return type of a gcc2
5178 builtin and then its argument prototype would still apply. */
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5186 char (*f) () = $ac_func;
5195 return f != $ac_func;
5200 rm -f conftest.
$ac_objext conftest
$ac_exeext
5201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5202 (eval $ac_link) 2>conftest.er1
5204 grep -v '^ *+' conftest.er1
>conftest.err
5206 cat conftest.err
>&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try
='test -z "$ac_c_werror_flag"
5210 || test ! -s conftest.err'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); }; } &&
5216 { ac_try
='test -s conftest$ac_exeext'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; }; then
5222 eval "$as_ac_var=yes"
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.
$ac_ext >&5
5227 eval "$as_ac_var=no"
5229 rm -f conftest.err conftest.
$ac_objext \
5230 conftest
$ac_exeext conftest.
$ac_ext
5232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5234 if test `eval echo '${'$as_ac_var'}'` = yes; then
5235 cat >>confdefs.h
<<_ACEOF
5236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5242 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5243 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5244 if test "${ac_cv_have_decl_abort+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 cat >conftest.
$ac_ext <<_ACEOF
5250 cat confdefs.h
>>conftest.
$ac_ext
5251 cat >>conftest.
$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 $ac_includes_default
5258 char *p = (char *) abort;
5265 rm -f conftest.
$ac_objext
5266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5267 (eval $ac_compile) 2>conftest.er1
5269 grep -v '^ *+' conftest.er1
>conftest.err
5271 cat conftest.err
>&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } &&
5274 { ac_try
='test -z "$ac_c_werror_flag"
5275 || test ! -s conftest.err'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; } &&
5281 { ac_try
='test -s conftest.$ac_objext'
5282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); }; }; then
5287 ac_cv_have_decl_abort
=yes
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.
$ac_ext >&5
5292 ac_cv_have_decl_abort
=no
5294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5296 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5297 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5298 if test $ac_cv_have_decl_abort = yes; then
5300 cat >>confdefs.h
<<_ACEOF
5301 #define HAVE_DECL_ABORT 1
5306 cat >>confdefs.h
<<_ACEOF
5307 #define HAVE_DECL_ABORT 0
5312 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
5313 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
5314 if test "${ac_cv_have_decl_asprintf+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5317 cat >conftest.
$ac_ext <<_ACEOF
5320 cat confdefs.h
>>conftest.
$ac_ext
5321 cat >>conftest.
$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5323 $ac_includes_default
5328 char *p = (char *) asprintf;
5335 rm -f conftest.
$ac_objext
5336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5337 (eval $ac_compile) 2>conftest.er1
5339 grep -v '^ *+' conftest.er1
>conftest.err
5341 cat conftest.err
>&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } &&
5344 { ac_try
='test -z "$ac_c_werror_flag"
5345 || test ! -s conftest.err'
5346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); }; } &&
5351 { ac_try
='test -s conftest.$ac_objext'
5352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }; }; then
5357 ac_cv_have_decl_asprintf
=yes
5359 echo "$as_me: failed program was:" >&5
5360 sed 's/^/| /' conftest.
$ac_ext >&5
5362 ac_cv_have_decl_asprintf
=no
5364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5366 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
5367 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
5368 if test $ac_cv_have_decl_asprintf = yes; then
5370 cat >>confdefs.h
<<_ACEOF
5371 #define HAVE_DECL_ASPRINTF 1
5376 cat >>confdefs.h
<<_ACEOF
5377 #define HAVE_DECL_ASPRINTF 0
5382 echo "$as_me:$LINENO: checking whether basename is declared" >&5
5383 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
5384 if test "${ac_cv_have_decl_basename+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 cat >conftest.
$ac_ext <<_ACEOF
5390 cat confdefs.h
>>conftest.
$ac_ext
5391 cat >>conftest.
$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5393 $ac_includes_default
5398 char *p = (char *) basename;
5405 rm -f conftest.
$ac_objext
5406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5407 (eval $ac_compile) 2>conftest.er1
5409 grep -v '^ *+' conftest.er1
>conftest.err
5411 cat conftest.err
>&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } &&
5414 { ac_try
='test -z "$ac_c_werror_flag"
5415 || test ! -s conftest.err'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; } &&
5421 { ac_try
='test -s conftest.$ac_objext'
5422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); }; }; then
5427 ac_cv_have_decl_basename
=yes
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.
$ac_ext >&5
5432 ac_cv_have_decl_basename
=no
5434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5436 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
5437 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
5438 if test $ac_cv_have_decl_basename = yes; then
5440 cat >>confdefs.h
<<_ACEOF
5441 #define HAVE_DECL_BASENAME 1
5446 cat >>confdefs.h
<<_ACEOF
5447 #define HAVE_DECL_BASENAME 0
5452 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5453 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5454 if test "${ac_cv_have_decl_errno+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 cat >conftest.
$ac_ext <<_ACEOF
5460 cat confdefs.h
>>conftest.
$ac_ext
5461 cat >>conftest.
$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5463 $ac_includes_default
5468 char *p = (char *) errno;
5475 rm -f conftest.
$ac_objext
5476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5477 (eval $ac_compile) 2>conftest.er1
5479 grep -v '^ *+' conftest.er1
>conftest.err
5481 cat conftest.err
>&5
5482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5483 (exit $ac_status); } &&
5484 { ac_try
='test -z "$ac_c_werror_flag"
5485 || test ! -s conftest.err'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; } &&
5491 { ac_try
='test -s conftest.$ac_objext'
5492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; }; then
5497 ac_cv_have_decl_errno
=yes
5499 echo "$as_me: failed program was:" >&5
5500 sed 's/^/| /' conftest.
$ac_ext >&5
5502 ac_cv_have_decl_errno
=no
5504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5506 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5507 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5508 if test $ac_cv_have_decl_errno = yes; then
5510 cat >>confdefs.h
<<_ACEOF
5511 #define HAVE_DECL_ERRNO 1
5516 cat >>confdefs.h
<<_ACEOF
5517 #define HAVE_DECL_ERRNO 0
5522 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
5523 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
5524 if test "${ac_cv_have_decl_getopt+set}" = set; then
5525 echo $ECHO_N "(cached) $ECHO_C" >&6
5527 cat >conftest.
$ac_ext <<_ACEOF
5530 cat confdefs.h
>>conftest.
$ac_ext
5531 cat >>conftest.
$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5533 $ac_includes_default
5538 char *p = (char *) getopt;
5545 rm -f conftest.
$ac_objext
5546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5547 (eval $ac_compile) 2>conftest.er1
5549 grep -v '^ *+' conftest.er1
>conftest.err
5551 cat conftest.err
>&5
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); } &&
5554 { ac_try
='test -z "$ac_c_werror_flag"
5555 || test ! -s conftest.err'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; } &&
5561 { ac_try
='test -s conftest.$ac_objext'
5562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); }; }; then
5567 ac_cv_have_decl_getopt
=yes
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.
$ac_ext >&5
5572 ac_cv_have_decl_getopt
=no
5574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5576 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
5577 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
5578 if test $ac_cv_have_decl_getopt = yes; then
5580 cat >>confdefs.h
<<_ACEOF
5581 #define HAVE_DECL_GETOPT 1
5586 cat >>confdefs.h
<<_ACEOF
5587 #define HAVE_DECL_GETOPT 0
5592 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
5593 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
5594 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
5595 echo $ECHO_N "(cached) $ECHO_C" >&6
5597 cat >conftest.
$ac_ext <<_ACEOF
5600 cat confdefs.h
>>conftest.
$ac_ext
5601 cat >>conftest.
$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 $ac_includes_default
5607 #ifndef clearerr_unlocked
5608 char *p = (char *) clearerr_unlocked;
5615 rm -f conftest.
$ac_objext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5617 (eval $ac_compile) 2>conftest.er1
5619 grep -v '^ *+' conftest.er1
>conftest.err
5621 cat conftest.err
>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } &&
5624 { ac_try
='test -z "$ac_c_werror_flag"
5625 || test ! -s conftest.err'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; } &&
5631 { ac_try
='test -s conftest.$ac_objext'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; }; then
5637 ac_cv_have_decl_clearerr_unlocked
=yes
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5642 ac_cv_have_decl_clearerr_unlocked
=no
5644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5646 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
5647 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
5648 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
5650 cat >>confdefs.h
<<_ACEOF
5651 #define HAVE_DECL_CLEARERR_UNLOCKED 1
5656 cat >>confdefs.h
<<_ACEOF
5657 #define HAVE_DECL_CLEARERR_UNLOCKED 0
5662 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
5663 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
5664 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 cat >conftest.
$ac_ext <<_ACEOF
5670 cat confdefs.h
>>conftest.
$ac_ext
5671 cat >>conftest.
$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 $ac_includes_default
5677 #ifndef feof_unlocked
5678 char *p = (char *) feof_unlocked;
5685 rm -f conftest.
$ac_objext
5686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5687 (eval $ac_compile) 2>conftest.er1
5689 grep -v '^ *+' conftest.er1
>conftest.err
5691 cat conftest.err
>&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } &&
5694 { ac_try
='test -z "$ac_c_werror_flag"
5695 || test ! -s conftest.err'
5696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); }; } &&
5701 { ac_try
='test -s conftest.$ac_objext'
5702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; }; then
5707 ac_cv_have_decl_feof_unlocked
=yes
5709 echo "$as_me: failed program was:" >&5
5710 sed 's/^/| /' conftest.
$ac_ext >&5
5712 ac_cv_have_decl_feof_unlocked
=no
5714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5716 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
5717 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
5718 if test $ac_cv_have_decl_feof_unlocked = yes; then
5720 cat >>confdefs.h
<<_ACEOF
5721 #define HAVE_DECL_FEOF_UNLOCKED 1
5726 cat >>confdefs.h
<<_ACEOF
5727 #define HAVE_DECL_FEOF_UNLOCKED 0
5732 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
5733 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
5734 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 cat >conftest.
$ac_ext <<_ACEOF
5740 cat confdefs.h
>>conftest.
$ac_ext
5741 cat >>conftest.
$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5743 $ac_includes_default
5747 #ifndef ferror_unlocked
5748 char *p = (char *) ferror_unlocked;
5755 rm -f conftest.
$ac_objext
5756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5757 (eval $ac_compile) 2>conftest.er1
5759 grep -v '^ *+' conftest.er1
>conftest.err
5761 cat conftest.err
>&5
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); } &&
5764 { ac_try
='test -z "$ac_c_werror_flag"
5765 || test ! -s conftest.err'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; } &&
5771 { ac_try
='test -s conftest.$ac_objext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 ac_cv_have_decl_ferror_unlocked
=yes
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5782 ac_cv_have_decl_ferror_unlocked
=no
5784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5786 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
5787 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
5788 if test $ac_cv_have_decl_ferror_unlocked = yes; then
5790 cat >>confdefs.h
<<_ACEOF
5791 #define HAVE_DECL_FERROR_UNLOCKED 1
5796 cat >>confdefs.h
<<_ACEOF
5797 #define HAVE_DECL_FERROR_UNLOCKED 0
5802 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
5803 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
5804 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 cat >conftest.
$ac_ext <<_ACEOF
5810 cat confdefs.h
>>conftest.
$ac_ext
5811 cat >>conftest.
$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5813 $ac_includes_default
5817 #ifndef fflush_unlocked
5818 char *p = (char *) fflush_unlocked;
5825 rm -f conftest.
$ac_objext
5826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5827 (eval $ac_compile) 2>conftest.er1
5829 grep -v '^ *+' conftest.er1
>conftest.err
5831 cat conftest.err
>&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); } &&
5834 { ac_try
='test -z "$ac_c_werror_flag"
5835 || test ! -s conftest.err'
5836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); }; } &&
5841 { ac_try
='test -s conftest.$ac_objext'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; }; then
5847 ac_cv_have_decl_fflush_unlocked
=yes
5849 echo "$as_me: failed program was:" >&5
5850 sed 's/^/| /' conftest.
$ac_ext >&5
5852 ac_cv_have_decl_fflush_unlocked
=no
5854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5856 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
5857 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
5858 if test $ac_cv_have_decl_fflush_unlocked = yes; then
5860 cat >>confdefs.h
<<_ACEOF
5861 #define HAVE_DECL_FFLUSH_UNLOCKED 1
5866 cat >>confdefs.h
<<_ACEOF
5867 #define HAVE_DECL_FFLUSH_UNLOCKED 0
5872 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
5873 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
5874 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5883 $ac_includes_default
5887 #ifndef fgetc_unlocked
5888 char *p = (char *) fgetc_unlocked;
5895 rm -f conftest.
$ac_objext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5897 (eval $ac_compile) 2>conftest.er1
5899 grep -v '^ *+' conftest.er1
>conftest.err
5901 cat conftest.err
>&5
5902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } &&
5904 { ac_try
='test -z "$ac_c_werror_flag"
5905 || test ! -s conftest.err'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; } &&
5911 { ac_try
='test -s conftest.$ac_objext'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; }; then
5917 ac_cv_have_decl_fgetc_unlocked
=yes
5919 echo "$as_me: failed program was:" >&5
5920 sed 's/^/| /' conftest.
$ac_ext >&5
5922 ac_cv_have_decl_fgetc_unlocked
=no
5924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5926 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
5927 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
5928 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
5930 cat >>confdefs.h
<<_ACEOF
5931 #define HAVE_DECL_FGETC_UNLOCKED 1
5936 cat >>confdefs.h
<<_ACEOF
5937 #define HAVE_DECL_FGETC_UNLOCKED 0
5942 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
5943 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
5944 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 cat >conftest.
$ac_ext <<_ACEOF
5950 cat confdefs.h
>>conftest.
$ac_ext
5951 cat >>conftest.
$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5953 $ac_includes_default
5957 #ifndef fgets_unlocked
5958 char *p = (char *) fgets_unlocked;
5965 rm -f conftest.
$ac_objext
5966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5967 (eval $ac_compile) 2>conftest.er1
5969 grep -v '^ *+' conftest.er1
>conftest.err
5971 cat conftest.err
>&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); } &&
5974 { ac_try
='test -z "$ac_c_werror_flag"
5975 || test ! -s conftest.err'
5976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); }; } &&
5981 { ac_try
='test -s conftest.$ac_objext'
5982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }; }; then
5987 ac_cv_have_decl_fgets_unlocked
=yes
5989 echo "$as_me: failed program was:" >&5
5990 sed 's/^/| /' conftest.
$ac_ext >&5
5992 ac_cv_have_decl_fgets_unlocked
=no
5994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5996 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
5997 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
5998 if test $ac_cv_have_decl_fgets_unlocked = yes; then
6000 cat >>confdefs.h
<<_ACEOF
6001 #define HAVE_DECL_FGETS_UNLOCKED 1
6006 cat >>confdefs.h
<<_ACEOF
6007 #define HAVE_DECL_FGETS_UNLOCKED 0
6012 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
6013 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
6014 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 cat >conftest.
$ac_ext <<_ACEOF
6020 cat confdefs.h
>>conftest.
$ac_ext
6021 cat >>conftest.
$ac_ext <<_ACEOF
6022 /* end confdefs.h. */
6023 $ac_includes_default
6027 #ifndef fileno_unlocked
6028 char *p = (char *) fileno_unlocked;
6035 rm -f conftest.
$ac_objext
6036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6037 (eval $ac_compile) 2>conftest.er1
6039 grep -v '^ *+' conftest.er1
>conftest.err
6041 cat conftest.err
>&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); } &&
6044 { ac_try
='test -z "$ac_c_werror_flag"
6045 || test ! -s conftest.err'
6046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6050 (exit $ac_status); }; } &&
6051 { ac_try
='test -s conftest.$ac_objext'
6052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); }; }; then
6057 ac_cv_have_decl_fileno_unlocked
=yes
6059 echo "$as_me: failed program was:" >&5
6060 sed 's/^/| /' conftest.
$ac_ext >&5
6062 ac_cv_have_decl_fileno_unlocked
=no
6064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6066 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
6067 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
6068 if test $ac_cv_have_decl_fileno_unlocked = yes; then
6070 cat >>confdefs.h
<<_ACEOF
6071 #define HAVE_DECL_FILENO_UNLOCKED 1
6076 cat >>confdefs.h
<<_ACEOF
6077 #define HAVE_DECL_FILENO_UNLOCKED 0
6082 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
6083 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
6084 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 cat >conftest.
$ac_ext <<_ACEOF
6090 cat confdefs.h
>>conftest.
$ac_ext
6091 cat >>conftest.
$ac_ext <<_ACEOF
6092 /* end confdefs.h. */
6093 $ac_includes_default
6097 #ifndef fprintf_unlocked
6098 char *p = (char *) fprintf_unlocked;
6105 rm -f conftest.
$ac_objext
6106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6107 (eval $ac_compile) 2>conftest.er1
6109 grep -v '^ *+' conftest.er1
>conftest.err
6111 cat conftest.err
>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } &&
6114 { ac_try
='test -z "$ac_c_werror_flag"
6115 || test ! -s conftest.err'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; } &&
6121 { ac_try
='test -s conftest.$ac_objext'
6122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); }; }; then
6127 ac_cv_have_decl_fprintf_unlocked
=yes
6129 echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.
$ac_ext >&5
6132 ac_cv_have_decl_fprintf_unlocked
=no
6134 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6136 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
6137 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
6138 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
6140 cat >>confdefs.h
<<_ACEOF
6141 #define HAVE_DECL_FPRINTF_UNLOCKED 1
6146 cat >>confdefs.h
<<_ACEOF
6147 #define HAVE_DECL_FPRINTF_UNLOCKED 0
6152 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
6153 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
6154 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 $ac_includes_default
6167 #ifndef fputc_unlocked
6168 char *p = (char *) fputc_unlocked;
6175 rm -f conftest.
$ac_objext
6176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6177 (eval $ac_compile) 2>conftest.er1
6179 grep -v '^ *+' conftest.er1
>conftest.err
6181 cat conftest.err
>&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); } &&
6184 { ac_try
='test -z "$ac_c_werror_flag"
6185 || test ! -s conftest.err'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; } &&
6191 { ac_try
='test -s conftest.$ac_objext'
6192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); }; }; then
6197 ac_cv_have_decl_fputc_unlocked
=yes
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.
$ac_ext >&5
6202 ac_cv_have_decl_fputc_unlocked
=no
6204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6206 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
6207 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
6208 if test $ac_cv_have_decl_fputc_unlocked = yes; then
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_DECL_FPUTC_UNLOCKED 1
6216 cat >>confdefs.h
<<_ACEOF
6217 #define HAVE_DECL_FPUTC_UNLOCKED 0
6222 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
6223 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
6224 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
6225 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 cat >conftest.
$ac_ext <<_ACEOF
6230 cat confdefs.h
>>conftest.
$ac_ext
6231 cat >>conftest.
$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6233 $ac_includes_default
6237 #ifndef fputs_unlocked
6238 char *p = (char *) fputs_unlocked;
6245 rm -f conftest.
$ac_objext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6247 (eval $ac_compile) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1
>conftest.err
6251 cat conftest.err
>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try
='test -z "$ac_c_werror_flag"
6255 || test ! -s conftest.err'
6256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); }; } &&
6261 { ac_try
='test -s conftest.$ac_objext'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 ac_cv_have_decl_fputs_unlocked
=yes
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.
$ac_ext >&5
6272 ac_cv_have_decl_fputs_unlocked
=no
6274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6276 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
6277 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
6278 if test $ac_cv_have_decl_fputs_unlocked = yes; then
6280 cat >>confdefs.h
<<_ACEOF
6281 #define HAVE_DECL_FPUTS_UNLOCKED 1
6286 cat >>confdefs.h
<<_ACEOF
6287 #define HAVE_DECL_FPUTS_UNLOCKED 0
6292 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
6293 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
6294 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6297 cat >conftest.
$ac_ext <<_ACEOF
6300 cat confdefs.h
>>conftest.
$ac_ext
6301 cat >>conftest.
$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 $ac_includes_default
6307 #ifndef fread_unlocked
6308 char *p = (char *) fread_unlocked;
6315 rm -f conftest.
$ac_objext
6316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6317 (eval $ac_compile) 2>conftest.er1
6319 grep -v '^ *+' conftest.er1
>conftest.err
6321 cat conftest.err
>&5
6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323 (exit $ac_status); } &&
6324 { ac_try
='test -z "$ac_c_werror_flag"
6325 || test ! -s conftest.err'
6326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330 (exit $ac_status); }; } &&
6331 { ac_try
='test -s conftest.$ac_objext'
6332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); }; }; then
6337 ac_cv_have_decl_fread_unlocked
=yes
6339 echo "$as_me: failed program was:" >&5
6340 sed 's/^/| /' conftest.
$ac_ext >&5
6342 ac_cv_have_decl_fread_unlocked
=no
6344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6346 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
6347 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
6348 if test $ac_cv_have_decl_fread_unlocked = yes; then
6350 cat >>confdefs.h
<<_ACEOF
6351 #define HAVE_DECL_FREAD_UNLOCKED 1
6356 cat >>confdefs.h
<<_ACEOF
6357 #define HAVE_DECL_FREAD_UNLOCKED 0
6362 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
6363 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
6364 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 cat >conftest.
$ac_ext <<_ACEOF
6370 cat confdefs.h
>>conftest.
$ac_ext
6371 cat >>conftest.
$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 $ac_includes_default
6377 #ifndef fwrite_unlocked
6378 char *p = (char *) fwrite_unlocked;
6385 rm -f conftest.
$ac_objext
6386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6387 (eval $ac_compile) 2>conftest.er1
6389 grep -v '^ *+' conftest.er1
>conftest.err
6391 cat conftest.err
>&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } &&
6394 { ac_try
='test -z "$ac_c_werror_flag"
6395 || test ! -s conftest.err'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; } &&
6401 { ac_try
='test -s conftest.$ac_objext'
6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }; }; then
6407 ac_cv_have_decl_fwrite_unlocked
=yes
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.
$ac_ext >&5
6412 ac_cv_have_decl_fwrite_unlocked
=no
6414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6416 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
6417 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
6418 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
6420 cat >>confdefs.h
<<_ACEOF
6421 #define HAVE_DECL_FWRITE_UNLOCKED 1
6426 cat >>confdefs.h
<<_ACEOF
6427 #define HAVE_DECL_FWRITE_UNLOCKED 0
6432 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
6433 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
6434 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
6435 echo $ECHO_N "(cached) $ECHO_C" >&6
6437 cat >conftest.
$ac_ext <<_ACEOF
6440 cat confdefs.h
>>conftest.
$ac_ext
6441 cat >>conftest.
$ac_ext <<_ACEOF
6442 /* end confdefs.h. */
6443 $ac_includes_default
6447 #ifndef getchar_unlocked
6448 char *p = (char *) getchar_unlocked;
6455 rm -f conftest.
$ac_objext
6456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6457 (eval $ac_compile) 2>conftest.er1
6459 grep -v '^ *+' conftest.er1
>conftest.err
6461 cat conftest.err
>&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } &&
6464 { ac_try
='test -z "$ac_c_werror_flag"
6465 || test ! -s conftest.err'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; } &&
6471 { ac_try
='test -s conftest.$ac_objext'
6472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); }; }; then
6477 ac_cv_have_decl_getchar_unlocked
=yes
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.
$ac_ext >&5
6482 ac_cv_have_decl_getchar_unlocked
=no
6484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6486 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
6487 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
6488 if test $ac_cv_have_decl_getchar_unlocked = yes; then
6490 cat >>confdefs.h
<<_ACEOF
6491 #define HAVE_DECL_GETCHAR_UNLOCKED 1
6496 cat >>confdefs.h
<<_ACEOF
6497 #define HAVE_DECL_GETCHAR_UNLOCKED 0
6502 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
6503 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
6504 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
6505 echo $ECHO_N "(cached) $ECHO_C" >&6
6507 cat >conftest.
$ac_ext <<_ACEOF
6510 cat confdefs.h
>>conftest.
$ac_ext
6511 cat >>conftest.
$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6513 $ac_includes_default
6517 #ifndef getc_unlocked
6518 char *p = (char *) getc_unlocked;
6525 rm -f conftest.
$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>conftest.er1
6529 grep -v '^ *+' conftest.er1
>conftest.err
6531 cat conftest.err
>&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try
='test -z "$ac_c_werror_flag"
6535 || test ! -s conftest.err'
6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; } &&
6541 { ac_try
='test -s conftest.$ac_objext'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }; then
6547 ac_cv_have_decl_getc_unlocked
=yes
6549 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.
$ac_ext >&5
6552 ac_cv_have_decl_getc_unlocked
=no
6554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6556 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
6557 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
6558 if test $ac_cv_have_decl_getc_unlocked = yes; then
6560 cat >>confdefs.h
<<_ACEOF
6561 #define HAVE_DECL_GETC_UNLOCKED 1
6566 cat >>confdefs.h
<<_ACEOF
6567 #define HAVE_DECL_GETC_UNLOCKED 0
6572 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
6573 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
6574 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
6575 echo $ECHO_N "(cached) $ECHO_C" >&6
6577 cat >conftest.
$ac_ext <<_ACEOF
6580 cat confdefs.h
>>conftest.
$ac_ext
6581 cat >>conftest.
$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6583 $ac_includes_default
6587 #ifndef putchar_unlocked
6588 char *p = (char *) putchar_unlocked;
6595 rm -f conftest.
$ac_objext
6596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6597 (eval $ac_compile) 2>conftest.er1
6599 grep -v '^ *+' conftest.er1
>conftest.err
6601 cat conftest.err
>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } &&
6604 { ac_try
='test -z "$ac_c_werror_flag"
6605 || test ! -s conftest.err'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; } &&
6611 { ac_try
='test -s conftest.$ac_objext'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }; then
6617 ac_cv_have_decl_putchar_unlocked
=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.
$ac_ext >&5
6622 ac_cv_have_decl_putchar_unlocked
=no
6624 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6626 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
6627 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
6628 if test $ac_cv_have_decl_putchar_unlocked = yes; then
6630 cat >>confdefs.h
<<_ACEOF
6631 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
6636 cat >>confdefs.h
<<_ACEOF
6637 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
6642 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
6643 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
6644 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
6645 echo $ECHO_N "(cached) $ECHO_C" >&6
6647 cat >conftest.
$ac_ext <<_ACEOF
6650 cat confdefs.h
>>conftest.
$ac_ext
6651 cat >>conftest.
$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 $ac_includes_default
6657 #ifndef putc_unlocked
6658 char *p = (char *) putc_unlocked;
6665 rm -f conftest.
$ac_objext
6666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6667 (eval $ac_compile) 2>conftest.er1
6669 grep -v '^ *+' conftest.er1
>conftest.err
6671 cat conftest.err
>&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } &&
6674 { ac_try
='test -z "$ac_c_werror_flag"
6675 || test ! -s conftest.err'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; } &&
6681 { ac_try
='test -s conftest.$ac_objext'
6682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); }; }; then
6687 ac_cv_have_decl_putc_unlocked
=yes
6689 echo "$as_me: failed program was:" >&5
6690 sed 's/^/| /' conftest.
$ac_ext >&5
6692 ac_cv_have_decl_putc_unlocked
=no
6694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6696 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
6697 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
6698 if test $ac_cv_have_decl_putc_unlocked = yes; then
6700 cat >>confdefs.h
<<_ACEOF
6701 #define HAVE_DECL_PUTC_UNLOCKED 1
6706 cat >>confdefs.h
<<_ACEOF
6707 #define HAVE_DECL_PUTC_UNLOCKED 0
6712 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6713 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6714 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6715 echo $ECHO_N "(cached) $ECHO_C" >&6
6717 cat >conftest.
$ac_ext <<_ACEOF
6720 cat confdefs.h
>>conftest.
$ac_ext
6721 cat >>conftest.
$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6723 $ac_includes_default
6728 char *p = (char *) vasprintf;
6735 rm -f conftest.
$ac_objext
6736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6737 (eval $ac_compile) 2>conftest.er1
6739 grep -v '^ *+' conftest.er1
>conftest.err
6741 cat conftest.err
>&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } &&
6744 { ac_try
='test -z "$ac_c_werror_flag"
6745 || test ! -s conftest.err'
6746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750 (exit $ac_status); }; } &&
6751 { ac_try
='test -s conftest.$ac_objext'
6752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6756 (exit $ac_status); }; }; then
6757 ac_cv_have_decl_vasprintf
=yes
6759 echo "$as_me: failed program was:" >&5
6760 sed 's/^/| /' conftest.
$ac_ext >&5
6762 ac_cv_have_decl_vasprintf
=no
6764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6766 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6767 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6768 if test $ac_cv_have_decl_vasprintf = yes; then
6770 cat >>confdefs.h
<<_ACEOF
6771 #define HAVE_DECL_VASPRINTF 1
6776 cat >>confdefs.h
<<_ACEOF
6777 #define HAVE_DECL_VASPRINTF 0
6785 # Checks for library functions.
6786 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6787 # for constant arguments. Useless!
6788 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6789 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6790 if test "${ac_cv_working_alloca_h+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6793 cat >conftest.
$ac_ext <<_ACEOF
6796 cat confdefs.h
>>conftest.
$ac_ext
6797 cat >>conftest.
$ac_ext <<_ACEOF
6798 /* end confdefs.h. */
6803 char *p = (char *) alloca (2 * sizeof (int));
6808 rm -f conftest.
$ac_objext conftest
$ac_exeext
6809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6810 (eval $ac_link) 2>conftest.er1
6812 grep -v '^ *+' conftest.er1
>conftest.err
6814 cat conftest.err
>&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } &&
6817 { ac_try
='test -z "$ac_c_werror_flag"
6818 || test ! -s conftest.err'
6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); }; } &&
6824 { ac_try
='test -s conftest$ac_exeext'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6830 ac_cv_working_alloca_h
=yes
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6835 ac_cv_working_alloca_h
=no
6837 rm -f conftest.err conftest.
$ac_objext \
6838 conftest
$ac_exeext conftest.
$ac_ext
6840 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6841 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6842 if test $ac_cv_working_alloca_h = yes; then
6844 cat >>confdefs.h
<<\_ACEOF
6845 #define HAVE_ALLOCA_H 1
6850 echo "$as_me:$LINENO: checking for alloca" >&5
6851 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6852 if test "${ac_cv_func_alloca_works+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 cat >conftest.
$ac_ext <<_ACEOF
6858 cat confdefs.h
>>conftest.
$ac_ext
6859 cat >>conftest.
$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6862 # define alloca __builtin_alloca
6865 # include <malloc.h>
6866 # define alloca _alloca
6869 # include <alloca.h>
6874 # ifndef alloca /* predefined by HP cc +Olibcalls */
6885 char *p = (char *) alloca (1);
6890 rm -f conftest.
$ac_objext conftest
$ac_exeext
6891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6892 (eval $ac_link) 2>conftest.er1
6894 grep -v '^ *+' conftest.er1
>conftest.err
6896 cat conftest.err
>&5
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); } &&
6899 { ac_try
='test -z "$ac_c_werror_flag"
6900 || test ! -s conftest.err'
6901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); }; } &&
6906 { ac_try
='test -s conftest$ac_exeext'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; }; then
6912 ac_cv_func_alloca_works
=yes
6914 echo "$as_me: failed program was:" >&5
6915 sed 's/^/| /' conftest.
$ac_ext >&5
6917 ac_cv_func_alloca_works
=no
6919 rm -f conftest.err conftest.
$ac_objext \
6920 conftest
$ac_exeext conftest.
$ac_ext
6922 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6923 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6925 if test $ac_cv_func_alloca_works = yes; then
6927 cat >>confdefs.h
<<\_ACEOF
6928 #define HAVE_ALLOCA 1
6932 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6933 # that cause trouble. Some versions do not even contain alloca or
6934 # contain a buggy version. If you still want to use their alloca,
6935 # use ar to extract alloca.o from them instead of compiling alloca.c.
6937 ALLOCA
=alloca.
$ac_objext
6939 cat >>confdefs.h
<<\_ACEOF
6944 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6945 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6946 if test "${ac_cv_os_cray+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 cat >conftest.
$ac_ext <<_ACEOF
6952 cat confdefs.h
>>conftest.
$ac_ext
6953 cat >>conftest.
$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6955 #if defined(CRAY) && ! defined(CRAY2)
6962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6963 $EGREP "webecray" >/dev
/null
2>&1; then
6971 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6972 echo "${ECHO_T}$ac_cv_os_cray" >&6
6973 if test $ac_cv_os_cray = yes; then
6974 for ac_func
in _getb67 GETB67 getb67
; do
6975 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6976 echo "$as_me:$LINENO: checking for $ac_func" >&5
6977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6978 if eval "test \"\${$as_ac_var+set}\" = set"; then
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
6981 cat >conftest.
$ac_ext <<_ACEOF
6984 cat confdefs.h
>>conftest.
$ac_ext
6985 cat >>conftest.
$ac_ext <<_ACEOF
6986 /* end confdefs.h. */
6987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6989 #define $ac_func innocuous_$ac_func
6991 /* System header to define __stub macros and hopefully few prototypes,
6992 which can conflict with char $ac_func (); below.
6993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6994 <limits.h> exists even on freestanding compilers. */
6997 # include <limits.h>
6999 # include <assert.h>
7004 /* Override any gcc2 internal prototype to avoid an error. */
7009 /* We use char because int might match the return type of a gcc2
7010 builtin and then its argument prototype would still apply. */
7012 /* The GNU C library defines this for functions which it implements
7013 to always fail with ENOSYS. Some functions are actually named
7014 something starting with __ and the normal name is an alias. */
7015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7018 char (*f) () = $ac_func;
7027 return f != $ac_func;
7032 rm -f conftest.
$ac_objext conftest
$ac_exeext
7033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7034 (eval $ac_link) 2>conftest.er1
7036 grep -v '^ *+' conftest.er1
>conftest.err
7038 cat conftest.err
>&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); } &&
7041 { ac_try
='test -z "$ac_c_werror_flag"
7042 || test ! -s conftest.err'
7043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); }; } &&
7048 { ac_try
='test -s conftest$ac_exeext'
7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; }; then
7054 eval "$as_ac_var=yes"
7056 echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.
$ac_ext >&5
7059 eval "$as_ac_var=no"
7061 rm -f conftest.err conftest.
$ac_objext \
7062 conftest
$ac_exeext conftest.
$ac_ext
7064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7066 if test `eval echo '${'$as_ac_var'}'` = yes; then
7068 cat >>confdefs.h
<<_ACEOF
7069 #define CRAY_STACKSEG_END $ac_func
7078 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7079 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7080 if test "${ac_cv_c_stack_direction+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 if test "$cross_compiling" = yes; then
7084 ac_cv_c_stack_direction
=0
7086 cat >conftest.
$ac_ext <<_ACEOF
7089 cat confdefs.h
>>conftest.
$ac_ext
7090 cat >>conftest.
$ac_ext <<_ACEOF
7091 /* end confdefs.h. */
7093 find_stack_direction ()
7095 static char *addr = 0;
7100 return find_stack_direction ();
7103 return (&dummy > addr) ? 1 : -1;
7109 exit (find_stack_direction () < 0);
7112 rm -f conftest
$ac_exeext
7113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7114 (eval $ac_link) 2>&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; }; then
7123 ac_cv_c_stack_direction
=1
7125 echo "$as_me: program exited with status $ac_status" >&5
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.
$ac_ext >&5
7130 ac_cv_c_stack_direction
=-1
7132 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7135 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7136 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7138 cat >>confdefs.h
<<_ACEOF
7139 #define STACK_DIRECTION $ac_cv_c_stack_direction
7145 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7147 if test "${ac_cv_header_stdc+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7150 cat >conftest.
$ac_ext <<_ACEOF
7153 cat confdefs.h
>>conftest.
$ac_ext
7154 cat >>conftest.
$ac_ext <<_ACEOF
7155 /* end confdefs.h. */
7169 rm -f conftest.
$ac_objext
7170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7171 (eval $ac_compile) 2>conftest.er1
7173 grep -v '^ *+' conftest.er1
>conftest.err
7175 cat conftest.err
>&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } &&
7178 { ac_try
='test -z "$ac_c_werror_flag"
7179 || test ! -s conftest.err'
7180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); }; } &&
7185 { ac_try
='test -s conftest.$ac_objext'
7186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7190 (exit $ac_status); }; }; then
7191 ac_cv_header_stdc
=yes
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.
$ac_ext >&5
7196 ac_cv_header_stdc
=no
7198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7200 if test $ac_cv_header_stdc = yes; then
7201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7202 cat >conftest.
$ac_ext <<_ACEOF
7205 cat confdefs.h
>>conftest.
$ac_ext
7206 cat >>conftest.
$ac_ext <<_ACEOF
7207 /* end confdefs.h. */
7211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7212 $EGREP "memchr" >/dev
/null
2>&1; then
7215 ac_cv_header_stdc
=no
7221 if test $ac_cv_header_stdc = yes; then
7222 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7223 cat >conftest.
$ac_ext <<_ACEOF
7226 cat confdefs.h
>>conftest.
$ac_ext
7227 cat >>conftest.
$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7233 $EGREP "free" >/dev
/null
2>&1; then
7236 ac_cv_header_stdc
=no
7242 if test $ac_cv_header_stdc = yes; then
7243 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7244 if test "$cross_compiling" = yes; then
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7254 #if ((' ' & 0x0FF) == 0x020)
7255 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7256 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7258 # define ISLOWER(c) \
7259 (('a' <= (c) && (c) <= 'i') \
7260 || ('j' <= (c) && (c) <= 'r') \
7261 || ('s' <= (c) && (c) <= 'z'))
7262 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7265 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7270 for (i = 0; i < 256; i++)
7271 if (XOR (islower (i), ISLOWER (i))
7272 || toupper (i) != TOUPPER (i))
7277 rm -f conftest
$ac_exeext
7278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7279 (eval $ac_link) 2>&5
7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7290 echo "$as_me: program exited with status $ac_status" >&5
7291 echo "$as_me: failed program was:" >&5
7292 sed 's/^/| /' conftest.
$ac_ext >&5
7295 ac_cv_header_stdc
=no
7297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7301 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7302 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7303 if test $ac_cv_header_stdc = yes; then
7305 cat >>confdefs.h
<<\_ACEOF
7306 #define STDC_HEADERS 1
7312 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
7313 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7314 if test "${am_cv_langinfo_codeset+set}" = set; then
7315 echo $ECHO_N "(cached) $ECHO_C" >&6
7317 cat >conftest.
$ac_ext <<_ACEOF
7320 cat confdefs.h
>>conftest.
$ac_ext
7321 cat >>conftest.
$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7323 #include <langinfo.h>
7327 char* cs = nl_langinfo(CODESET);
7332 rm -f conftest.
$ac_objext conftest
$ac_exeext
7333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7334 (eval $ac_link) 2>conftest.er1
7336 grep -v '^ *+' conftest.er1
>conftest.err
7338 cat conftest.err
>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } &&
7341 { ac_try
='test -z "$ac_c_werror_flag"
7342 || test ! -s conftest.err'
7343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); }; } &&
7348 { ac_try
='test -s conftest$ac_exeext'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; }; then
7354 am_cv_langinfo_codeset
=yes
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.
$ac_ext >&5
7359 am_cv_langinfo_codeset
=no
7361 rm -f conftest.err conftest.
$ac_objext \
7362 conftest
$ac_exeext conftest.
$ac_ext
7365 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
7366 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7367 if test $am_cv_langinfo_codeset = yes; then
7369 cat >>confdefs.h
<<\_ACEOF
7370 #define HAVE_LANGINFO_CODESET 1
7375 # If we haven't got the data from the intl directory,
7376 # assume NLS is disabled.
7385 if test -f ..
/intl
/config.intl
; then
7386 . ..
/intl
/config.intl
7388 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7389 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7390 if test x
"$USE_NLS" != xyes
; then
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7397 cat >>confdefs.h
<<\_ACEOF
7398 #define ENABLE_NLS 1
7402 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7403 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7404 # Look for .po and .gmo files in the source directory.
7407 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
7408 # If there aren't any .gmo files the shell will give us the
7409 # literal string "../path/to/srcdir/po/*.gmo" which has to be
7411 case "$cat" in *\
**)
7414 # The quadruple backslash is collapsed to a double backslash
7415 # by the backticks, then collapsed again by the double quotes,
7416 # leaving us with one backslash in the sed expression (right
7417 # before the dot that mustn't act as a wildcard).
7418 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
7419 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
7420 # The user is allowed to set LINGUAS to a list of languages to
7421 # install catalogs for. If it's empty that means "all of them."
7422 if test "x$LINGUAS" = x
; then
7423 CATALOGS
="$CATALOGS $cat"
7424 XLINGUAS
="$XLINGUAS $lang"
7426 case "$LINGUAS" in *$lang*)
7427 CATALOGS
="$CATALOGS $cat"
7428 XLINGUAS
="$XLINGUAS $lang"
7434 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7435 echo "${ECHO_T}$LINGUAS" >&6
7448 echo "$as_me:$LINENO: checking for uchar" >&5
7449 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
7450 if test "${gcc_cv_type_uchar+set}" = set; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 cat >conftest.
$ac_ext <<_ACEOF
7456 cat confdefs.h
>>conftest.
$ac_ext
7457 cat >>conftest.
$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7460 #include <sys/types.h>
7465 if ((uchar *)0) return 0;
7466 if (sizeof(uchar)) return 0;
7471 rm -f conftest.
$ac_objext
7472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7473 (eval $ac_compile) 2>conftest.er1
7475 grep -v '^ *+' conftest.er1
>conftest.err
7477 cat conftest.err
>&5
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); } &&
7480 { ac_try
='test -z "$ac_c_werror_flag"
7481 || test ! -s conftest.err'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; } &&
7487 { ac_try
='test -s conftest.$ac_objext'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; }; then
7493 ac_cv_type_uchar
=yes
7495 echo "$as_me: failed program was:" >&5
7496 sed 's/^/| /' conftest.
$ac_ext >&5
7500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7502 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
7503 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
7504 if test $ac_cv_type_uchar = yes; then
7506 cat >>confdefs.h
<<\_ACEOF
7507 #define HAVE_UCHAR 1
7513 if test "X$prefix" = "XNONE"; then
7514 acl_final_prefix
="$ac_default_prefix"
7516 acl_final_prefix
="$prefix"
7518 if test "X$exec_prefix" = "XNONE"; then
7519 acl_final_exec_prefix
='${prefix}'
7521 acl_final_exec_prefix
="$exec_prefix"
7523 acl_save_prefix
="$prefix"
7524 prefix
="$acl_final_prefix"
7525 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7526 prefix
="$acl_save_prefix"
7529 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7530 if test "${with_gnu_ld+set}" = set; then
7531 withval
="$with_gnu_ld"
7532 test "$withval" = no || with_gnu_ld
=yes
7536 # Prepare PATH_SEPARATOR.
7537 # The user is always right.
7538 if test "${PATH_SEPARATOR+set}" != set; then
7539 echo "#! /bin/sh" >conf$$.sh
7540 echo "exit 0" >>conf$$.sh
7542 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7550 if test "$GCC" = yes; then
7551 # Check if gcc -print-prog-name=ld gives a path.
7552 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7553 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7556 # gcc leaves a trailing carriage return which upsets mingw
7557 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7559 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7562 # Accept absolute paths.
7563 [\\/]* |
[A-Za-z
]:[\\/]*)
7564 re_direlt
='/[^/][^/]*/\.\./'
7565 # Canonicalize the path of ld
7566 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7567 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7568 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7570 test -z "$LD" && LD
="$ac_prog"
7573 # If it fails, then pretend we aren't using GCC.
7577 # If it is relative, then search for the first ld in PATH.
7581 elif test "$with_gnu_ld" = yes; then
7582 echo "$as_me:$LINENO: checking for GNU ld" >&5
7583 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7585 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7586 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7588 if test "${acl_cv_path_LD+set}" = set; then
7589 echo $ECHO_N "(cached) $ECHO_C" >&6
7591 if test -z "$LD"; then
7592 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7593 for ac_dir
in $PATH; do
7594 test -z "$ac_dir" && ac_dir
=.
7595 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7596 acl_cv_path_LD
="$ac_dir/$ac_prog"
7597 # Check to see if the program is GNU ld. I'd rather use --version,
7598 # but apparently some GNU ld's only accept -v.
7599 # Break only if it was the GNU/non-GNU ld that we prefer.
7600 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7601 test "$with_gnu_ld" != no
&& break
7603 test "$with_gnu_ld" != yes && break
7609 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7613 LD
="$acl_cv_path_LD"
7614 if test -n "$LD"; then
7615 echo "$as_me:$LINENO: result: $LD" >&5
7616 echo "${ECHO_T}$LD" >&6
7618 echo "$as_me:$LINENO: result: no" >&5
7619 echo "${ECHO_T}no" >&6
7621 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7622 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7623 { (exit 1); exit 1; }; }
7624 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7625 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7626 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7630 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7631 acl_cv_prog_gnu_ld
=yes
7633 acl_cv_prog_gnu_ld
=no
7636 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7637 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7638 with_gnu_ld
=$acl_cv_prog_gnu_ld
7642 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7643 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7644 if test "${acl_cv_rpath+set}" = set; then
7645 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7649 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7655 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7656 echo "${ECHO_T}$acl_cv_rpath" >&6
7658 libext
="$acl_cv_libext"
7659 shlibext
="$acl_cv_shlibext"
7660 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7661 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7662 hardcode_direct
="$acl_cv_hardcode_direct"
7663 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7664 # Check whether --enable-rpath or --disable-rpath was given.
7665 if test "${enable_rpath+set}" = set; then
7666 enableval
="$enable_rpath"
7680 acl_save_prefix
="$prefix"
7681 prefix
="$acl_final_prefix"
7682 acl_save_exec_prefix
="$exec_prefix"
7683 exec_prefix
="$acl_final_exec_prefix"
7685 eval additional_includedir
=\"$includedir\"
7686 eval additional_libdir
=\"$libdir\"
7688 exec_prefix
="$acl_save_exec_prefix"
7689 prefix
="$acl_save_prefix"
7692 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7693 if test "${with_libiconv_prefix+set}" = set; then
7694 withval
="$with_libiconv_prefix"
7696 if test "X$withval" = "Xno"; then
7699 if test "X$withval" = "X"; then
7701 acl_save_prefix
="$prefix"
7702 prefix
="$acl_final_prefix"
7703 acl_save_exec_prefix
="$exec_prefix"
7704 exec_prefix
="$acl_final_exec_prefix"
7706 eval additional_includedir
=\"$includedir\"
7707 eval additional_libdir
=\"$libdir\"
7709 exec_prefix
="$acl_save_exec_prefix"
7710 prefix
="$acl_save_prefix"
7713 additional_includedir
="$withval/include"
7714 additional_libdir
="$withval/lib"
7724 names_already_handled
=
7725 names_next_round
='iconv '
7726 while test -n "$names_next_round"; do
7727 names_this_round
="$names_next_round"
7729 for name
in $names_this_round; do
7731 for n
in $names_already_handled; do
7732 if test "$n" = "$name"; then
7737 if test -z "$already_handled"; then
7738 names_already_handled
="$names_already_handled $name"
7739 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7740 eval value
=\"\
$HAVE_LIB$uppername\"
7741 if test -n "$value"; then
7742 if test "$value" = yes; then
7743 eval value
=\"\
$LIB$uppername\"
7744 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7745 eval value
=\"\
$LTLIB$uppername\"
7746 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7755 if test $use_additional = yes; then
7756 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7757 found_dir
="$additional_libdir"
7758 found_so
="$additional_libdir/lib$name.$shlibext"
7759 if test -f "$additional_libdir/lib$name.la"; then
7760 found_la
="$additional_libdir/lib$name.la"
7763 if test -f "$additional_libdir/lib$name.$libext"; then
7764 found_dir
="$additional_libdir"
7765 found_a
="$additional_libdir/lib$name.$libext"
7766 if test -f "$additional_libdir/lib$name.la"; then
7767 found_la
="$additional_libdir/lib$name.la"
7772 if test "X$found_dir" = "X"; then
7773 for x
in $LDFLAGS $LTLIBICONV; do
7775 acl_save_prefix
="$prefix"
7776 prefix
="$acl_final_prefix"
7777 acl_save_exec_prefix
="$exec_prefix"
7778 exec_prefix
="$acl_final_exec_prefix"
7780 exec_prefix
="$acl_save_exec_prefix"
7781 prefix
="$acl_save_prefix"
7785 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7786 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7788 found_so
="$dir/lib$name.$shlibext"
7789 if test -f "$dir/lib$name.la"; then
7790 found_la
="$dir/lib$name.la"
7793 if test -f "$dir/lib$name.$libext"; then
7795 found_a
="$dir/lib$name.$libext"
7796 if test -f "$dir/lib$name.la"; then
7797 found_la
="$dir/lib$name.la"
7803 if test "X$found_dir" != "X"; then
7808 if test "X$found_dir" != "X"; then
7809 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7810 if test "X$found_so" != "X"; then
7811 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7812 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7815 for x
in $ltrpathdirs; do
7816 if test "X$x" = "X$found_dir"; then
7821 if test -z "$haveit"; then
7822 ltrpathdirs
="$ltrpathdirs $found_dir"
7824 if test "$hardcode_direct" = yes; then
7825 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7827 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7828 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7830 for x
in $rpathdirs; do
7831 if test "X$x" = "X$found_dir"; then
7836 if test -z "$haveit"; then
7837 rpathdirs
="$rpathdirs $found_dir"
7841 for x
in $LDFLAGS $LIBICONV; do
7843 acl_save_prefix
="$prefix"
7844 prefix
="$acl_final_prefix"
7845 acl_save_exec_prefix
="$exec_prefix"
7846 exec_prefix
="$acl_final_exec_prefix"
7848 exec_prefix
="$acl_save_exec_prefix"
7849 prefix
="$acl_save_prefix"
7851 if test "X$x" = "X-L$found_dir"; then
7856 if test -z "$haveit"; then
7857 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7859 if test "$hardcode_minus_L" != no
; then
7860 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7862 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7868 if test "X$found_a" != "X"; then
7869 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7871 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7874 additional_includedir
=
7875 case "$found_dir" in
7877 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7878 additional_includedir
="$basedir/include"
7881 if test "X$additional_includedir" != "X"; then
7882 if test "X$additional_includedir" != "X/usr/include"; then
7884 if test "X$additional_includedir" = "X/usr/local/include"; then
7885 if test -n "$GCC"; then
7887 linux
*) haveit
=yes;;
7891 if test -z "$haveit"; then
7892 for x
in $CPPFLAGS $INCICONV; do
7894 acl_save_prefix
="$prefix"
7895 prefix
="$acl_final_prefix"
7896 acl_save_exec_prefix
="$exec_prefix"
7897 exec_prefix
="$acl_final_exec_prefix"
7899 exec_prefix
="$acl_save_exec_prefix"
7900 prefix
="$acl_save_prefix"
7902 if test "X$x" = "X-I$additional_includedir"; then
7907 if test -z "$haveit"; then
7908 if test -d "$additional_includedir"; then
7909 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7915 if test -n "$found_la"; then
7916 save_libdir
="$libdir"
7918 */* |
*\\*) .
"$found_la" ;;
7919 *) .
"./$found_la" ;;
7921 libdir
="$save_libdir"
7922 for dep
in $dependency_libs; do
7925 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7926 if test "X$additional_libdir" != "X/usr/lib"; then
7928 if test "X$additional_libdir" = "X/usr/local/lib"; then
7929 if test -n "$GCC"; then
7931 linux
*) haveit
=yes;;
7935 if test -z "$haveit"; then
7937 for x
in $LDFLAGS $LIBICONV; do
7939 acl_save_prefix
="$prefix"
7940 prefix
="$acl_final_prefix"
7941 acl_save_exec_prefix
="$exec_prefix"
7942 exec_prefix
="$acl_final_exec_prefix"
7944 exec_prefix
="$acl_save_exec_prefix"
7945 prefix
="$acl_save_prefix"
7947 if test "X$x" = "X-L$additional_libdir"; then
7952 if test -z "$haveit"; then
7953 if test -d "$additional_libdir"; then
7954 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7958 for x
in $LDFLAGS $LTLIBICONV; do
7960 acl_save_prefix
="$prefix"
7961 prefix
="$acl_final_prefix"
7962 acl_save_exec_prefix
="$exec_prefix"
7963 exec_prefix
="$acl_final_exec_prefix"
7965 exec_prefix
="$acl_save_exec_prefix"
7966 prefix
="$acl_save_prefix"
7968 if test "X$x" = "X-L$additional_libdir"; then
7973 if test -z "$haveit"; then
7974 if test -d "$additional_libdir"; then
7975 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7982 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7983 if test "$enable_rpath" != no
; then
7985 for x
in $rpathdirs; do
7986 if test "X$x" = "X$dir"; then
7991 if test -z "$haveit"; then
7992 rpathdirs
="$rpathdirs $dir"
7995 for x
in $ltrpathdirs; do
7996 if test "X$x" = "X$dir"; then
8001 if test -z "$haveit"; then
8002 ltrpathdirs
="$ltrpathdirs $dir"
8007 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8010 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8013 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8014 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8020 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8021 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8027 if test "X$rpathdirs" != "X"; then
8028 if test -n "$hardcode_libdir_separator"; then
8030 for found_dir
in $rpathdirs; do
8031 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8033 acl_save_libdir
="$libdir"
8035 eval flag
=\"$hardcode_libdir_flag_spec\"
8036 libdir
="$acl_save_libdir"
8037 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8039 for found_dir
in $rpathdirs; do
8040 acl_save_libdir
="$libdir"
8042 eval flag
=\"$hardcode_libdir_flag_spec\"
8043 libdir
="$acl_save_libdir"
8044 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8048 if test "X$ltrpathdirs" != "X"; then
8049 for found_dir
in $ltrpathdirs; do
8050 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8060 am_save_CPPFLAGS
="$CPPFLAGS"
8062 for element
in $INCICONV; do
8064 for x
in $CPPFLAGS; do
8066 acl_save_prefix
="$prefix"
8067 prefix
="$acl_final_prefix"
8068 acl_save_exec_prefix
="$exec_prefix"
8069 exec_prefix
="$acl_final_exec_prefix"
8071 exec_prefix
="$acl_save_exec_prefix"
8072 prefix
="$acl_save_prefix"
8074 if test "X$x" = "X$element"; then
8079 if test -z "$haveit"; then
8080 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8085 echo "$as_me:$LINENO: checking for iconv" >&5
8086 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8087 if test "${am_cv_func_iconv+set}" = set; then
8088 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 am_cv_func_iconv
="no, consider installing GNU libiconv"
8093 cat >conftest.
$ac_ext <<_ACEOF
8096 cat confdefs.h
>>conftest.
$ac_ext
8097 cat >>conftest.
$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8104 iconv_t cd = iconv_open("","");
8105 iconv(cd,NULL,NULL,NULL,NULL);
8111 rm -f conftest.
$ac_objext conftest
$ac_exeext
8112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8113 (eval $ac_link) 2>conftest.er1
8115 grep -v '^ *+' conftest.er1
>conftest.err
8117 cat conftest.err
>&5
8118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8119 (exit $ac_status); } &&
8120 { ac_try
='test -z "$ac_c_werror_flag"
8121 || test ! -s conftest.err'
8122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8126 (exit $ac_status); }; } &&
8127 { ac_try
='test -s conftest$ac_exeext'
8128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 (exit $ac_status); }; }; then
8133 am_cv_func_iconv
=yes
8135 echo "$as_me: failed program was:" >&5
8136 sed 's/^/| /' conftest.
$ac_ext >&5
8139 rm -f conftest.err conftest.
$ac_objext \
8140 conftest
$ac_exeext conftest.
$ac_ext
8141 if test "$am_cv_func_iconv" != yes; then
8142 am_save_LIBS
="$LIBS"
8143 LIBS
="$LIBS $LIBICONV"
8144 cat >conftest.
$ac_ext <<_ACEOF
8147 cat confdefs.h
>>conftest.
$ac_ext
8148 cat >>conftest.
$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8155 iconv_t cd = iconv_open("","");
8156 iconv(cd,NULL,NULL,NULL,NULL);
8162 rm -f conftest.
$ac_objext conftest
$ac_exeext
8163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8164 (eval $ac_link) 2>conftest.er1
8166 grep -v '^ *+' conftest.er1
>conftest.err
8168 cat conftest.err
>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } &&
8171 { ac_try
='test -z "$ac_c_werror_flag"
8172 || test ! -s conftest.err'
8173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177 (exit $ac_status); }; } &&
8178 { ac_try
='test -s conftest$ac_exeext'
8179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); }; }; then
8185 am_cv_func_iconv
=yes
8187 echo "$as_me: failed program was:" >&5
8188 sed 's/^/| /' conftest.
$ac_ext >&5
8191 rm -f conftest.err conftest.
$ac_objext \
8192 conftest
$ac_exeext conftest.
$ac_ext
8193 LIBS
="$am_save_LIBS"
8197 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8198 echo "${ECHO_T}$am_cv_func_iconv" >&6
8199 if test "$am_cv_func_iconv" = yes; then
8201 cat >>confdefs.h
<<\_ACEOF
8202 #define HAVE_ICONV 1
8206 if test "$am_cv_lib_iconv" = yes; then
8207 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8208 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8209 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8210 echo "${ECHO_T}$LIBICONV" >&6
8212 CPPFLAGS
="$am_save_CPPFLAGS"
8219 if test "$am_cv_func_iconv" = yes; then
8220 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8221 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8222 if test "${am_cv_proto_iconv+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8226 cat >conftest.
$ac_ext <<_ACEOF
8229 cat confdefs.h
>>conftest.
$ac_ext
8230 cat >>conftest.
$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8239 #if defined(__STDC__) || defined(__cplusplus)
8240 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8253 rm -f conftest.
$ac_objext
8254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8255 (eval $ac_compile) 2>conftest.er1
8257 grep -v '^ *+' conftest.er1
>conftest.err
8259 cat conftest.err
>&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); } &&
8262 { ac_try
='test -z "$ac_c_werror_flag"
8263 || test ! -s conftest.err'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; } &&
8269 { ac_try
='test -s conftest.$ac_objext'
8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); }; }; then
8275 am_cv_proto_iconv_arg1
=""
8277 echo "$as_me: failed program was:" >&5
8278 sed 's/^/| /' conftest.
$ac_ext >&5
8280 am_cv_proto_iconv_arg1
="const"
8282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8283 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);"
8286 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8287 echo "$as_me:$LINENO: result: ${ac_t:-
8288 }$am_cv_proto_iconv" >&5
8289 echo "${ECHO_T}${ac_t:-
8290 }$am_cv_proto_iconv" >&6
8292 cat >>confdefs.h
<<_ACEOF
8293 #define ICONV_CONST $am_cv_proto_iconv_arg1
8299 # More defines and substitutions.
8300 PACKAGE
="$PACKAGE_TARNAME"
8302 cat >>confdefs.h
<<_ACEOF
8303 #define PACKAGE "$PACKAGE"
8308 if test "x$enable_nls" != xno
; then
8309 USED_CATALOGS
='$(CATALOGS)'
8315 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8316 if test "${enable_maintainer_mode+set}" = set; then
8317 enableval
="$enable_maintainer_mode"
8320 enable_maintainer_mode
=no
8323 if test "x$enable_maintainer_mode" = xno
; then
8330 # Check whether --enable-checking or --disable-checking was given.
8331 if test "${enable_checking+set}" = set; then
8332 enableval
="$enable_checking"
8338 if test $enable_checking != no
; then
8340 cat >>confdefs.h
<<\_ACEOF
8341 #define ENABLE_CHECKING 1
8350 arm
*-*-symbianelf* | \
8354 i
[34567]86-*-darwin* | \
8355 i
[34567]86-*-solaris2.1
[0-9]* | \
8363 sh
[123456789lbe
]*-*-* | sh-
*-*)
8364 need_64bit_hwint
=yes ;;
8365 i
[34567]86-*-linux*)
8366 if test "x$enable_targets" = xall
; then
8367 need_64bit_hwint
=yes
8373 need_64bit_hwint
=no
;;
8376 case $need_64bit_hwint:$ac_cv_sizeof_long in
8377 *:8 | no
:*) host_wide_int
=long
;;
8378 *) host_wide_int
='long long' ;;
8383 cat >>confdefs.h
<<_ACEOF
8384 #define HOST_WIDE_INT $host_wide_int
8390 ac_config_headers
="$ac_config_headers config.h:config.in"
8392 ac_config_files
="$ac_config_files Makefile"
8394 cat >confcache
<<\_ACEOF
8395 # This file is a shell script that caches the results of configure
8396 # tests run on this system so they can be shared between configure
8397 # scripts and configure runs, see configure's option --config-cache.
8398 # It is not useful on other systems. If it contains results you don't
8399 # want to keep, you may remove or edit it.
8401 # config.status only pays attention to the cache file if you give it
8402 # the --recheck option to rerun configure.
8404 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8405 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8410 # The following way of writing the cache mishandles newlines in values,
8411 # but we know of no workaround that is simple, portable, and efficient.
8412 # So, don't put newlines in cache variables' values.
8413 # Ultrix sh set writes to stderr and can't be redirected directly,
8414 # and sets the high bit in the cache file unless we assign to the vars.
8417 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8419 # `set' does not quote correctly, so add quotes (double-quote
8420 # substitution turns \\\\ into \\, and sed turns \\ into \).
8423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8426 # `set' quotes correctly as required by POSIX, so do not add quotes.
8428 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8435 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8437 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8439 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8440 if test -w $cache_file; then
8441 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8442 cat confcache
>$cache_file
8444 echo "not updating unwritable cache $cache_file"
8449 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8450 # Let make expand exec_prefix.
8451 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8453 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8454 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8455 # trailing colons and then remove the whole line if VPATH becomes empty
8456 # (actually we leave an empty line to preserve line numbers).
8457 if test "x$srcdir" = x.
; then
8458 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8459 s/:*\$(srcdir):*/:/;
8460 s/:*\${srcdir}:*/:/;
8462 s/^\([^=]*=[ ]*\):*/\1/;
8468 DEFS
=-DHAVE_CONFIG_H
8472 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8473 # 1. Remove the extension, and $U if already installed.
8474 ac_i
=`echo "$ac_i" |
8475 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8477 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8478 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8482 LTLIBOBJS
=$ac_ltlibobjs
8486 : ${CONFIG_STATUS=./config.status}
8487 ac_clean_files_save
=$ac_clean_files
8488 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8489 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8490 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8491 cat >$CONFIG_STATUS <<_ACEOF
8493 # Generated by $as_me.
8494 # Run this file to recreate the current configuration.
8495 # Compiler output produced by configure, useful for debugging
8496 # configure, is in config.log if it exists.
8501 SHELL=\${CONFIG_SHELL-$SHELL}
8504 cat >>$CONFIG_STATUS <<\_ACEOF
8505 ## --------------------- ##
8506 ## M4sh Initialization. ##
8507 ## --------------------- ##
8509 # Be Bourne compatible
8510 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8513 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8514 # is contrary to our usage. Disable this feature.
8515 alias -g '${1+"$@"}'='"$@"'
8516 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8519 DUALCASE
=1; export DUALCASE
# for MKS sh
8521 # Support unset when possible.
8522 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8529 # Work around bugs in pre-3.0 UWIN ksh.
8530 $as_unset ENV MAIL MAILPATH
8537 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8538 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8539 LC_TELEPHONE LC_TIME
8541 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8542 eval $as_var=C
; export $as_var
8548 # Required to use basename.
8549 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8555 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8556 as_basename
=basename
8562 # Name of the executable.
8563 as_me
=`$as_basename "$0" ||
8564 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8565 X"$0" : 'X\(//\)$' \| \
8566 X"$0" : 'X\(/\)$' \| \
8567 . : '\(.\)' 2>/dev/null ||
8569 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8570 /^X\/\(\/\/\)$/{ s//\1/; q; }
8571 /^X\/\(\/\).*/{ s//\1/; q; }
8575 # PATH needs CR, and LINENO needs CR and PATH.
8576 # Avoid depending upon Character Ranges.
8577 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8578 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8579 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8580 as_cr_digits
='0123456789'
8581 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8583 # The user is always right.
8584 if test "${PATH_SEPARATOR+set}" != set; then
8585 echo "#! /bin/sh" >conf$$.sh
8586 echo "exit 0" >>conf$$.sh
8588 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8599 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8600 test "x$as_lineno_1" != "x$as_lineno_2" &&
8601 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8602 # Find who we are. Look in the path if we contain no path at all
8605 *[\\/]* ) as_myself
=$0 ;;
8606 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir
=.
8611 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8616 # We did not find ourselves, most probably we were run as `sh COMMAND'
8617 # in which case we are not to be found in the path.
8618 if test "x$as_myself" = x
; then
8621 if test ! -f "$as_myself"; then
8622 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8623 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8624 { (exit 1); exit 1; }; }
8626 case $CONFIG_SHELL in
8628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8629 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8632 test -z "$as_dir" && as_dir
=.
8633 for as_base
in sh bash ksh sh5
; do
8636 if ("$as_dir/$as_base" -c '
8639 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8640 test "x$as_lineno_1" != "x$as_lineno_2" &&
8641 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8642 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8643 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8644 CONFIG_SHELL
=$as_dir/$as_base
8646 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8654 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8655 # uniformly replaced by the line number. The first 'sed' inserts a
8656 # line-number line before each line; the second 'sed' does the real
8657 # work. The second script uses 'N' to pair each line-number line
8658 # with the numbered line, and appends trailing '-' during
8659 # substitution so that $LINENO is not a special case at line end.
8660 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8661 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8662 sed '=' <$as_myself |
8667 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8670 s,^['$as_cr_digits']*\n,,
8672 chmod +x
$as_me.lineno ||
8673 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8674 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8675 { (exit 1); exit 1; }; }
8677 # Don't try to exec as it changes $[0], causing all sort of problems
8678 # (the dirname of $[0] is not the place where we might find the
8679 # original and so on. Autoconf is especially sensible to this).
8681 # Exit status is that of the last command.
8686 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8687 *c
*,-n*) ECHO_N
= ECHO_C
='
8689 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8690 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8693 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8699 rm -f conf$$ conf$$.exe conf$$.
file
8701 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8702 # We could just check for DJGPP; but this test a) works b) is more generic
8703 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8704 if test -f conf$$.exe
; then
8705 # Don't use ln at all; we don't have any links
8710 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8715 rm -f conf$$ conf$$.exe conf$$.
file
8717 if mkdir
-p .
2>/dev
/null
; then
8720 test -d .
/-p && rmdir .
/-p
8724 as_executable_p
="test -f"
8726 # Sed expression to map a string onto a valid CPP name.
8727 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8729 # Sed expression to map a string onto a valid variable name.
8730 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8734 # We need space, tab and new line, in precisely that order.
8744 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8745 # report actual input values of CONFIG_FILES etc. instead of their
8746 # values after options handling. Logging --version etc. is OK.
8750 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8751 ## Running $as_me. ##
8756 This file was extended by cpplib $as_me , which was
8757 generated by GNU Autoconf 2.59. Invocation command line was
8759 CONFIG_FILES = $CONFIG_FILES
8760 CONFIG_HEADERS = $CONFIG_HEADERS
8761 CONFIG_LINKS = $CONFIG_LINKS
8762 CONFIG_COMMANDS = $CONFIG_COMMANDS
8766 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8770 # Files that config.status was made for.
8771 if test -n "$ac_config_files"; then
8772 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8775 if test -n "$ac_config_headers"; then
8776 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8779 if test -n "$ac_config_links"; then
8780 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8783 if test -n "$ac_config_commands"; then
8784 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8787 cat >>$CONFIG_STATUS <<\_ACEOF
8790 \`$as_me' instantiates files from templates according to the
8791 current configuration.
8793 Usage: $0 [OPTIONS] [FILE]...
8795 -h, --help print this help, then exit
8796 -V, --version print version number, then exit
8797 -q, --quiet do not print progress messages
8798 -d, --debug don't remove temporary files
8799 --recheck update $as_me by reconfiguring in the same conditions
8800 --file=FILE[:TEMPLATE]
8801 instantiate the configuration file FILE
8802 --header=FILE[:TEMPLATE]
8803 instantiate the configuration header FILE
8805 Configuration files:
8808 Configuration headers:
8811 Configuration commands:
8814 Report bugs to <bug-autoconf@gnu.org>."
8817 cat >>$CONFIG_STATUS <<_ACEOF
8819 cpplib config.status
8820 configured by $0, generated by GNU Autoconf 2.59,
8821 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8823 Copyright (C) 2003 Free Software Foundation, Inc.
8824 This config.status script is free software; the Free Software Foundation
8825 gives unlimited permission to copy, distribute and modify it."
8830 cat >>$CONFIG_STATUS <<\_ACEOF
8831 # If no file are specified by the user, then we need to provide default
8832 # value. By we need to know if files were specified by the user.
8838 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8839 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8847 *) # This is not an option, so the user has probably given explicit
8850 ac_need_defaults
=false
;;
8854 # Handling of the options.
8856 cat >>$CONFIG_STATUS <<\_ACEOF
8857 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8859 --version |
--vers* |
-V )
8860 echo "$ac_cs_version"; exit 0 ;;
8862 # Conflict between --help and --header
8863 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8864 Try \`$0 --help' for more information." >&5
8865 echo "$as_me: error: ambiguous option: $1
8866 Try \`$0 --help' for more information." >&2;}
8867 { (exit 1); exit 1; }; };;
8868 --help |
--hel |
-h )
8869 echo "$ac_cs_usage"; exit 0 ;;
8870 --debug |
--d* |
-d )
8872 --file |
--fil |
--fi |
--f )
8874 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8875 ac_need_defaults
=false
;;
8876 --header |
--heade |
--head |
--hea )
8878 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8879 ac_need_defaults
=false
;;
8880 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8881 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8885 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8886 Try \`$0 --help' for more information." >&5
8887 echo "$as_me: error: unrecognized option: $1
8888 Try \`$0 --help' for more information." >&2;}
8889 { (exit 1); exit 1; }; } ;;
8891 *) ac_config_targets
="$ac_config_targets $1" ;;
8897 ac_configure_extra_args
=
8899 if $ac_cs_silent; then
8901 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8905 cat >>$CONFIG_STATUS <<_ACEOF
8906 if \$ac_cs_recheck; then
8907 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8908 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8913 cat >>$CONFIG_STATUS <<_ACEOF
8915 # INIT-COMMANDS section.
8918 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8924 cat >>$CONFIG_STATUS <<\_ACEOF
8925 for ac_config_target
in $ac_config_targets
8927 case "$ac_config_target" in
8928 # Handling of arguments.
8929 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8930 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8931 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8932 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8933 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8934 { (exit 1); exit 1; }; };;
8938 # If the user did not use the arguments to specify the items to instantiate,
8939 # then the envvar interface is used. Set only those that are not.
8940 # We use the long form for the default assignment because of an extremely
8941 # bizarre bug on SunOS 4.1.3.
8942 if $ac_need_defaults; then
8943 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8944 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8945 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8948 # Have a temporary directory for convenience. Make it in the build tree
8949 # simply because there is no reason to put it here, and in addition,
8950 # creating and moving files from /tmp can sometimes cause problems.
8951 # Create a temporary directory, and hook for its removal unless debugging.
8954 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8955 trap '{ (exit 1); exit 1; }' 1 2 13 15
8958 # Create a (secure) tmp directory for tmp files.
8961 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8962 test -n "$tmp" && test -d "$tmp"
8965 tmp
=.
/confstat$$
-$RANDOM
8966 (umask 077 && mkdir
$tmp)
8969 echo "$me: cannot create a temporary directory in ." >&2
8970 { (exit 1); exit 1; }
8975 cat >>$CONFIG_STATUS <<_ACEOF
8978 # CONFIG_FILES section.
8981 # No need to generate the scripts if there are no CONFIG_FILES.
8982 # This happens for instance when ./config.status config.h
8983 if test -n "\$CONFIG_FILES"; then
8984 # Protect against being on the right side of a sed subst in config.status.
8985 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8986 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8987 s,@SHELL@,$SHELL,;t t
8988 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8989 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8990 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8991 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8992 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8993 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8994 s,@exec_prefix@,$exec_prefix,;t t
8995 s,@prefix@,$prefix,;t t
8996 s,@program_transform_name@,$program_transform_name,;t t
8997 s,@bindir@,$bindir,;t t
8998 s,@sbindir@,$sbindir,;t t
8999 s,@libexecdir@,$libexecdir,;t t
9000 s,@datadir@,$datadir,;t t
9001 s,@sysconfdir@,$sysconfdir,;t t
9002 s,@sharedstatedir@,$sharedstatedir,;t t
9003 s,@localstatedir@,$localstatedir,;t t
9004 s,@libdir@,$libdir,;t t
9005 s,@includedir@,$includedir,;t t
9006 s,@oldincludedir@,$oldincludedir,;t t
9007 s,@infodir@,$infodir,;t t
9008 s,@mandir@,$mandir,;t t
9009 s,@build_alias@,$build_alias,;t t
9010 s,@host_alias@,$host_alias,;t t
9011 s,@target_alias@,$target_alias,;t t
9013 s,@ECHO_C@,$ECHO_C,;t t
9014 s,@ECHO_N@,$ECHO_N,;t t
9015 s,@ECHO_T@,$ECHO_T,;t t
9017 s,@build@,$build,;t t
9018 s,@build_cpu@,$build_cpu,;t t
9019 s,@build_vendor@,$build_vendor,;t t
9020 s,@build_os@,$build_os,;t t
9022 s,@host_cpu@,$host_cpu,;t t
9023 s,@host_vendor@,$host_vendor,;t t
9024 s,@host_os@,$host_os,;t t
9025 s,@target@,$target,;t t
9026 s,@target_cpu@,$target_cpu,;t t
9027 s,@target_vendor@,$target_vendor,;t t
9028 s,@target_os@,$target_os,;t t
9029 s,@SET_MAKE@,$SET_MAKE,;t t
9030 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9031 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9032 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9034 s,@CFLAGS@,$CFLAGS,;t t
9035 s,@LDFLAGS@,$LDFLAGS,;t t
9036 s,@CPPFLAGS@,$CPPFLAGS,;t t
9037 s,@ac_ct_CC@,$ac_ct_CC,;t t
9038 s,@EXEEXT@,$EXEEXT,;t t
9039 s,@OBJEXT@,$OBJEXT,;t t
9040 s,@RANLIB@,$RANLIB,;t t
9041 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9042 s,@ACLOCAL@,$ACLOCAL,;t t
9043 s,@AUTOCONF@,$AUTOCONF,;t t
9044 s,@AUTOHEADER@,$AUTOHEADER,;t t
9045 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9046 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
9047 s,@WERROR@,$WERROR,;t t
9048 s,@am__leading_dot@,$am__leading_dot,;t t
9049 s,@DEPDIR@,$DEPDIR,;t t
9050 s,@CCDEPMODE@,$CCDEPMODE,;t t
9052 s,@EGREP@,$EGREP,;t t
9053 s,@LIBOBJS@,$LIBOBJS,;t t
9054 s,@ALLOCA@,$ALLOCA,;t t
9055 s,@USE_NLS@,$USE_NLS,;t t
9056 s,@LIBINTL@,$LIBINTL,;t t
9057 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
9058 s,@INCINTL@,$INCINTL,;t t
9059 s,@XGETTEXT@,$XGETTEXT,;t t
9060 s,@GMSGFMT@,$GMSGFMT,;t t
9061 s,@POSUB@,$POSUB,;t t
9062 s,@CATALOGS@,$CATALOGS,;t t
9063 s,@DATADIRNAME@,$DATADIRNAME,;t t
9064 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9065 s,@GENCAT@,$GENCAT,;t t
9066 s,@CATOBJEXT@,$CATOBJEXT,;t t
9067 s,@LIBICONV@,$LIBICONV,;t t
9068 s,@LTLIBICONV@,$LTLIBICONV,;t t
9069 s,@PACKAGE@,$PACKAGE,;t t
9070 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
9071 s,@MAINT@,$MAINT,;t t
9072 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9077 cat >>$CONFIG_STATUS <<\_ACEOF
9078 # Split the substitutions into bite-sized pieces for seds with
9079 # small command number limits, like on Digital OSF/1 and HP-UX.
9081 ac_sed_frag
=1 # Number of current file.
9082 ac_beg
=1 # First line for current file.
9083 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9086 while $ac_more_lines; do
9087 if test $ac_beg -gt 1; then
9088 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9090 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9092 if test ! -s $tmp/subs.frag
; then
9095 # The purpose of the label and of the branching condition is to
9096 # speed up the sed processing (if there are no `@' at all, there
9097 # is no need to browse any of the substitutions).
9098 # These are the two extra sed commands mentioned above.
9100 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9101 if test -z "$ac_sed_cmds"; then
9102 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9104 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9106 ac_sed_frag
=`expr $ac_sed_frag + 1`
9108 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9111 if test -z "$ac_sed_cmds"; then
9114 fi # test -n "$CONFIG_FILES"
9117 cat >>$CONFIG_STATUS <<\_ACEOF
9118 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9119 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9121 - |
*:- |
*:-:* ) # input from stdin
9123 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9124 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9125 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9126 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9127 * ) ac_file_in
=$ac_file.
in ;;
9130 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9131 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9132 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9133 X"$ac_file" : 'X\(//\)[^/]' \| \
9134 X"$ac_file" : 'X\(//\)$' \| \
9135 X"$ac_file" : 'X\(/\)' \| \
9136 . : '\(.\)' 2>/dev/null ||
9138 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9139 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9140 /^X\(\/\/\)$/{ s//\1/; q; }
9141 /^X\(\/\).*/{ s//\1/; q; }
9143 { if $as_mkdir_p; then
9148 while test ! -d "$as_dir"; do
9149 as_dirs
="$as_dir $as_dirs"
9150 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9151 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9152 X"$as_dir" : 'X\(//\)[^/]' \| \
9153 X"$as_dir" : 'X\(//\)$' \| \
9154 X"$as_dir" : 'X\(/\)' \| \
9155 . : '\(.\)' 2>/dev/null ||
9157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9158 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9159 /^X\(\/\/\)$/{ s//\1/; q; }
9160 /^X\(\/\).*/{ s//\1/; q; }
9163 test ! -n "$as_dirs" || mkdir
$as_dirs
9164 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9165 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9166 { (exit 1); exit 1; }; }; }
9170 if test "$ac_dir" != .
; then
9171 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9172 # A "../" for each directory in $ac_dir_suffix.
9173 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9175 ac_dir_suffix
= ac_top_builddir
=
9179 .
) # No --srcdir option. We are building in place.
9181 if test -z "$ac_top_builddir"; then
9184 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9186 [\\/]* | ?
:[\\/]* ) # Absolute path.
9187 ac_srcdir
=$srcdir$ac_dir_suffix;
9188 ac_top_srcdir
=$srcdir ;;
9190 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9191 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9194 # Do not use `cd foo && pwd` to compute absolute paths, because
9195 # the directories may not exist.
9197 .
) ac_abs_builddir
="$ac_dir";;
9200 .
) ac_abs_builddir
=`pwd`;;
9201 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9202 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9205 case $ac_abs_builddir in
9206 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9208 case ${ac_top_builddir}.
in
9209 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9210 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9211 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9214 case $ac_abs_builddir in
9215 .
) ac_abs_srcdir
=$ac_srcdir;;
9218 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9219 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9220 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9223 case $ac_abs_builddir in
9224 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9226 case $ac_top_srcdir in
9227 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9228 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9229 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9235 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9236 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9239 if test x
"$ac_file" != x-
; then
9240 { echo "$as_me:$LINENO: creating $ac_file" >&5
9241 echo "$as_me: creating $ac_file" >&6;}
9244 # Let's still pretend it is `configure' which instantiates (i.e., don't
9245 # use $as_me), people would be surprised to read:
9246 # /* config.h. Generated by config.status. */
9247 if test x
"$ac_file" = x-
; then
9250 configure_input
="$ac_file. "
9252 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9253 sed 's,.*/,,'` by configure."
9255 # First look for the input files in the build tree, otherwise in the
9257 ac_file_inputs
=`IFS=:
9258 for f in $ac_file_in; do
9260 -) echo $tmp/stdin ;;
9262 # Absolute (can't be DOS-style, as IFS=:)
9263 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9264 echo "$as_me: error: cannot find input file: $f" >&2;}
9265 { (exit 1); exit 1; }; }
9268 if test -f "$f"; then
9271 elif test -f "$srcdir/$f"; then
9276 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9277 echo "$as_me: error: cannot find input file: $f" >&2;}
9278 { (exit 1); exit 1; }; }
9281 done` ||
{ (exit 1); exit 1; }
9283 cat >>$CONFIG_STATUS <<_ACEOF
9287 cat >>$CONFIG_STATUS <<\_ACEOF
9289 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9290 s
,@configure_input@
,$configure_input,;t t
9291 s
,@srcdir@
,$ac_srcdir,;t t
9292 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9293 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9294 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9295 s
,@builddir@
,$ac_builddir,;t t
9296 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9297 s
,@top_builddir@
,$ac_top_builddir,;t t
9298 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9299 s
,@INSTALL@
,$ac_INSTALL,;t t
9300 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9302 if test x"$ac_file" != x-; then
9303 mv $tmp/out $ac_file
9311 cat >>$CONFIG_STATUS <<\_ACEOF
9314 # CONFIG_HEADER section.
9317 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9318 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9320 # ac_d sets the value in "#define NAME VALUE" lines.
9321 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9322 ac_dB
='[ ].*$,\1#\2'
9325 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9326 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9327 ac_uB
='$,\1#\2define\3'
9331 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9332 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9334 - |
*:- |
*:-:* ) # input from stdin
9336 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9337 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9338 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9339 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9340 * ) ac_file_in
=$ac_file.
in ;;
9343 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9344 echo "$as_me: creating $ac_file" >&6;}
9346 # First look for the input files in the build tree, otherwise in the
9348 ac_file_inputs
=`IFS=:
9349 for f in $ac_file_in; do
9351 -) echo $tmp/stdin ;;
9353 # Absolute (can't be DOS-style, as IFS=:)
9354 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9355 echo "$as_me: error: cannot find input file: $f" >&2;}
9356 { (exit 1); exit 1; }; }
9357 # Do quote $f, to prevent DOS paths from being IFS'd.
9360 if test -f "$f"; then
9363 elif test -f "$srcdir/$f"; then
9368 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9369 echo "$as_me: error: cannot find input file: $f" >&2;}
9370 { (exit 1); exit 1; }; }
9373 done` ||
{ (exit 1); exit 1; }
9374 # Remove the trailing spaces.
9375 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9379 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9380 # `conftest.undefs', that substitutes the proper values into
9381 # config.h.in to produce config.h. The first handles `#define'
9382 # templates, and the second `#undef' templates.
9383 # And first: Protect against being on the right side of a sed subst in
9384 # config.status. Protect against being in an unquoted here document
9386 rm -f conftest.defines conftest.undefs
9387 # Using a here document instead of a string reduces the quoting nightmare.
9388 # Putting comments in sed scripts is not portable.
9390 # `end' is used to avoid that the second main sed command (meant for
9391 # 0-ary CPP macros) applies to n-ary macro definitions.
9392 # See the Autoconf documentation for `clear'.
9393 cat >confdef2sed.
sed <<\_ACEOF
9398 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9400 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9403 # If some macros were called several times there might be several times
9404 # the same #defines, which is useless. Nevertheless, we may not want to
9405 # sort them, since we want the *last* AC-DEFINE to be honored.
9406 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9407 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9408 rm -f confdef2sed.sed
9410 # This sed command replaces #undef with comments. This is necessary, for
9411 # example, in the case of _POSIX_SOURCE, which is predefined and required
9412 # on some systems where configure will not decide to define it.
9413 cat >>conftest.undefs <<\_ACEOF
9414 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9417 # Break up conftest.defines because some shells have a limit on the size
9418 # of here documents, and old seds have small limits too (100 cmds).
9419 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9420 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9421 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9422 echo ' :' >>$CONFIG_STATUS
9424 while grep . conftest.defines >/dev/null
9426 # Write a limited-size here document to $tmp/defines.sed.
9427 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9428 # Speed up: don't consider the non `#define' lines.
9429 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9430 # Work around the forget-to-reset-the-flag bug.
9431 echo 't clr' >>$CONFIG_STATUS
9432 echo ': clr' >>$CONFIG_STATUS
9433 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9435 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9439 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9440 rm -f conftest.defines
9441 mv conftest.
tail conftest.defines
9443 rm -f conftest.defines
9444 echo ' fi # grep' >>$CONFIG_STATUS
9445 echo >>$CONFIG_STATUS
9447 # Break up conftest.undefs because some shells have a limit on the size
9448 # of here documents, and old seds have small limits too (100 cmds).
9449 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9451 while grep . conftest.undefs
>/dev
/null
9453 # Write a limited-size here document to $tmp/undefs.sed.
9454 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9455 # Speed up: don't consider the non
`#undef'
9456 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9457 # Work around the forget-to-reset-the-flag bug.
9458 echo 't clr' >>$CONFIG_STATUS
9459 echo ': clr' >>$CONFIG_STATUS
9460 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9462 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9466 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9467 rm -f conftest.undefs
9468 mv conftest.tail conftest.undefs
9470 rm -f conftest.undefs
9472 cat >>$CONFIG_STATUS <<\_ACEOF
9473 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9474 # use $as_me), people would be surprised to read:
9475 # /* config.h. Generated by config.status. */
9476 if test x
"$ac_file" = x-
; then
9477 echo "/* Generated by configure. */" >$tmp/config.h
9479 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9481 cat $tmp/in >>$tmp/config.h
9483 if test x
"$ac_file" != x-
; then
9484 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9485 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9486 echo "$as_me: $ac_file is unchanged" >&6;}
9488 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9489 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9490 X"$ac_file" : 'X\(//\)[^/]' \| \
9491 X"$ac_file" : 'X\(//\)$' \| \
9492 X"$ac_file" : 'X\(/\)' \| \
9493 . : '\(.\)' 2>/dev/null ||
9495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9496 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9497 /^X\(\/\/\)$/{ s//\1/; q; }
9498 /^X\(\/\).*/{ s//\1/; q; }
9500 { if $as_mkdir_p; then
9505 while test ! -d "$as_dir"; do
9506 as_dirs
="$as_dir $as_dirs"
9507 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9509 X"$as_dir" : 'X\(//\)[^/]' \| \
9510 X"$as_dir" : 'X\(//\)$' \| \
9511 X"$as_dir" : 'X\(/\)' \| \
9512 . : '\(.\)' 2>/dev/null ||
9514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9515 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9516 /^X\(\/\/\)$/{ s//\1/; q; }
9517 /^X\(\/\).*/{ s//\1/; q; }
9520 test ! -n "$as_dirs" || mkdir
$as_dirs
9521 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9522 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9523 { (exit 1); exit 1; }; }; }
9526 mv $tmp/config.h
$ac_file
9532 # Run the commands associated with the file.
9534 config.h
) echo timestamp
> stamp-h1
;;
9538 cat >>$CONFIG_STATUS <<\_ACEOF
9541 # CONFIG_COMMANDS section.
9543 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9544 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9545 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9546 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9547 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9548 X"$ac_dest" : 'X\(//\)[^/]' \| \
9549 X"$ac_dest" : 'X\(//\)$' \| \
9550 X"$ac_dest" : 'X\(/\)' \| \
9551 . : '\(.\)' 2>/dev/null ||
9553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9555 /^X\(\/\/\)$/{ s//\1/; q; }
9556 /^X\(\/\).*/{ s//\1/; q; }
9558 { if $as_mkdir_p; then
9563 while test ! -d "$as_dir"; do
9564 as_dirs
="$as_dir $as_dirs"
9565 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9567 X"$as_dir" : 'X\(//\)[^/]' \| \
9568 X"$as_dir" : 'X\(//\)$' \| \
9569 X"$as_dir" : 'X\(/\)' \| \
9570 . : '\(.\)' 2>/dev/null ||
9572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9574 /^X\(\/\/\)$/{ s//\1/; q; }
9575 /^X\(\/\).*/{ s//\1/; q; }
9578 test ! -n "$as_dirs" || mkdir
$as_dirs
9579 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9581 { (exit 1); exit 1; }; }; }
9585 if test "$ac_dir" != .
; then
9586 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9587 # A "../" for each directory in $ac_dir_suffix.
9588 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9590 ac_dir_suffix
= ac_top_builddir
=
9594 .
) # No --srcdir option. We are building in place.
9596 if test -z "$ac_top_builddir"; then
9599 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9601 [\\/]* | ?
:[\\/]* ) # Absolute path.
9602 ac_srcdir
=$srcdir$ac_dir_suffix;
9603 ac_top_srcdir
=$srcdir ;;
9605 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9606 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9609 # Do not use `cd foo && pwd` to compute absolute paths, because
9610 # the directories may not exist.
9612 .
) ac_abs_builddir
="$ac_dir";;
9615 .
) ac_abs_builddir
=`pwd`;;
9616 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9617 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9620 case $ac_abs_builddir in
9621 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9623 case ${ac_top_builddir}.
in
9624 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9625 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9626 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9629 case $ac_abs_builddir in
9630 .
) ac_abs_srcdir
=$ac_srcdir;;
9633 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9634 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9635 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9638 case $ac_abs_builddir in
9639 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9641 case $ac_top_srcdir in
9642 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9643 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9644 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9649 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9650 echo "$as_me: executing $ac_dest commands" >&6;}
9652 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
9657 cat >>$CONFIG_STATUS <<\_ACEOF
9659 { (exit 0); exit 0; }
9661 chmod +x
$CONFIG_STATUS
9662 ac_clean_files
=$ac_clean_files_save
9665 # configure is writing to config.log, and then calls config.status.
9666 # config.status does its own redirection, appending to config.log.
9667 # Unfortunately, on DOS this fails, as config.log is still kept open
9668 # by configure, so config.status won't be able to write to it; its
9669 # output is simply discarded. So we exec the FD to /dev/null,
9670 # effectively closing config.log, so it can be properly (re)opened and
9671 # appended to by config.status. When coming back to configure, we
9672 # need to make the FD available again.
9673 if test "$no_create" != yes; then
9675 ac_config_status_args
=
9676 test "$silent" = yes &&
9677 ac_config_status_args
="$ac_config_status_args --quiet"
9679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9682 # would make configure fail if this is the last instruction.
9683 $ac_cs_success ||
{ (exit 1); exit 1; }