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
3623 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3624 stdlib.h
strings.h string.h sys
/file.h unistd.h
3626 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3628 echo "$as_me:$LINENO: checking for $ac_header" >&5
3629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3636 # Is the header compilable?
3637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3639 cat >conftest.
$ac_ext <<_ACEOF
3642 cat confdefs.h
>>conftest.
$ac_ext
3643 cat >>conftest.
$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3645 $ac_includes_default
3646 #include <$ac_header>
3648 rm -f conftest.
$ac_objext
3649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3650 (eval $ac_compile) 2>conftest.er1
3652 grep -v '^ *+' conftest.er1
>conftest.err
3654 cat conftest.err
>&5
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } &&
3657 { ac_try
='test -z "$ac_c_werror_flag"
3658 || test ! -s conftest.err'
3659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); }; } &&
3664 { ac_try
='test -s conftest.$ac_objext'
3665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); }; }; then
3670 ac_header_compiler
=yes
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.
$ac_ext >&5
3675 ac_header_compiler
=no
3677 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3679 echo "${ECHO_T}$ac_header_compiler" >&6
3681 # Is the header present?
3682 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3684 cat >conftest.
$ac_ext <<_ACEOF
3687 cat confdefs.h
>>conftest.
$ac_ext
3688 cat >>conftest.
$ac_ext <<_ACEOF
3689 /* end confdefs.h. */
3690 #include <$ac_header>
3692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3693 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3695 grep -v '^ *+' conftest.er1
>conftest.err
3697 cat conftest.err
>&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } >/dev
/null
; then
3700 if test -s conftest.err
; then
3701 ac_cpp_err
=$ac_c_preproc_warn_flag
3702 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3709 if test -z "$ac_cpp_err"; then
3710 ac_header_preproc
=yes
3712 echo "$as_me: failed program was:" >&5
3713 sed 's/^/| /' conftest.
$ac_ext >&5
3715 ac_header_preproc
=no
3717 rm -f conftest.err conftest.
$ac_ext
3718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3719 echo "${ECHO_T}$ac_header_preproc" >&6
3721 # So? What about this header?
3722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3728 ac_header_preproc
=yes
3731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3745 ## ----------------------------------- ##
3746 ## Report this to gcc-bugs@gcc.gnu.org ##
3747 ## ----------------------------------- ##
3750 sed "s/^/$as_me: WARNING: /" >&2
3753 echo "$as_me:$LINENO: checking for $ac_header" >&5
3754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3758 eval "$as_ac_Header=\$ac_header_preproc"
3760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3765 cat >>confdefs.h
<<_ACEOF
3766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3774 # Checks for typedefs, structures, and compiler characteristics.
3775 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3776 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3777 if test "${ac_cv_c_const+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 cat >conftest.
$ac_ext <<_ACEOF
3783 cat confdefs.h
>>conftest.
$ac_ext
3784 cat >>conftest.
$ac_ext <<_ACEOF
3785 /* end confdefs.h. */
3790 /* FIXME: Include the comments suggested by Paul. */
3792 /* Ultrix mips cc rejects this. */
3793 typedef int charset[2];
3795 /* SunOS 4.1.1 cc rejects this. */
3796 char const *const *ccp;
3798 /* NEC SVR4.0.2 mips cc rejects this. */
3799 struct point {int x, y;};
3800 static struct point const zero = {0,0};
3801 /* AIX XL C 1.02.0.0 rejects this.
3802 It does not let you subtract one const X* pointer from another in
3803 an arm of an if-expression whose if-part is not a constant
3805 const char *g = "string";
3806 ccp = &g + (g ? g-g : 0);
3807 /* HPUX 7.0 cc rejects these. */
3810 ccp = (char const *const *) p;
3811 { /* SCO 3.2v4 cc rejects this. */
3813 char const *s = 0 ? (char *) 0 : (char const *) 0;
3817 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3819 const int *foo = &x[0];
3822 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3823 typedef const int *iptr;
3827 { /* AIX XL C 1.02.0.0 rejects this saying
3828 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3829 struct s { int j; const int *ap[3]; };
3830 struct s *b; b->j = 5;
3832 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3841 rm -f conftest.
$ac_objext
3842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3843 (eval $ac_compile) 2>conftest.er1
3845 grep -v '^ *+' conftest.er1
>conftest.err
3847 cat conftest.err
>&5
3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 (exit $ac_status); } &&
3850 { ac_try
='test -z "$ac_c_werror_flag"
3851 || test ! -s conftest.err'
3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); }; } &&
3857 { ac_try
='test -s conftest.$ac_objext'
3858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); }; }; then
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.
$ac_ext >&5
3870 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3872 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3873 echo "${ECHO_T}$ac_cv_c_const" >&6
3874 if test $ac_cv_c_const = no
; then
3876 cat >>confdefs.h
<<\_ACEOF
3882 echo "$as_me:$LINENO: checking for inline" >&5
3883 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3884 if test "${ac_cv_c_inline+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 for ac_kw
in inline __inline__ __inline
; do
3889 cat >conftest.
$ac_ext <<_ACEOF
3892 cat confdefs.h
>>conftest.
$ac_ext
3893 cat >>conftest.
$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3897 static $ac_kw foo_t static_foo () {return 0; }
3898 $ac_kw foo_t foo () {return 0; }
3902 rm -f conftest.
$ac_objext
3903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3904 (eval $ac_compile) 2>conftest.er1
3906 grep -v '^ *+' conftest.er1
>conftest.err
3908 cat conftest.err
>&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); } &&
3911 { ac_try
='test -z "$ac_c_werror_flag"
3912 || test ! -s conftest.err'
3913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917 (exit $ac_status); }; } &&
3918 { ac_try
='test -s conftest.$ac_objext'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3924 ac_cv_c_inline
=$ac_kw; break
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.
$ac_ext >&5
3930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3934 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3935 echo "${ECHO_T}$ac_cv_c_inline" >&6
3938 case $ac_cv_c_inline in
3941 case $ac_cv_c_inline in
3943 *) ac_val
=$ac_cv_c_inline;;
3945 cat >>confdefs.h
<<_ACEOF
3947 #define inline $ac_val
3953 echo "$as_me:$LINENO: checking for obstacks" >&5
3954 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3955 if test "${ac_cv_func_obstack+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 cat >conftest.
$ac_ext <<_ACEOF
3961 cat confdefs.h
>>conftest.
$ac_ext
3962 cat >>conftest.
$ac_ext <<_ACEOF
3963 /* end confdefs.h. */
3964 #include "obstack.h"
3968 struct obstack *mem; obstack_free(mem,(char *) 0)
3973 rm -f conftest.
$ac_objext conftest
$ac_exeext
3974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3975 (eval $ac_link) 2>conftest.er1
3977 grep -v '^ *+' conftest.er1
>conftest.err
3979 cat conftest.err
>&5
3980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981 (exit $ac_status); } &&
3982 { ac_try
='test -z "$ac_c_werror_flag"
3983 || test ! -s conftest.err'
3984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); }; } &&
3989 { ac_try
='test -s conftest$ac_exeext'
3990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994 (exit $ac_status); }; }; then
3995 ac_cv_func_obstack
=yes
3997 echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.
$ac_ext >&5
4000 ac_cv_func_obstack
=no
4002 rm -f conftest.err conftest.
$ac_objext \
4003 conftest
$ac_exeext conftest.
$ac_ext
4005 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4006 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4007 if test $ac_cv_func_obstack = yes; then
4009 cat >>confdefs.h
<<\_ACEOF
4010 #define HAVE_OBSTACK 1
4015 "obstack.$ac_objext" | \
4016 *" obstack.$ac_objext" | \
4017 "obstack.$ac_objext "* | \
4018 *" obstack.$ac_objext "* ) ;;
4019 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4024 echo "$as_me:$LINENO: checking for off_t" >&5
4025 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4026 if test "${ac_cv_type_off_t+set}" = set; then
4027 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 cat >conftest.
$ac_ext <<_ACEOF
4032 cat confdefs.h
>>conftest.
$ac_ext
4033 cat >>conftest.
$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 $ac_includes_default
4047 rm -f conftest.
$ac_objext
4048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4049 (eval $ac_compile) 2>conftest.er1
4051 grep -v '^ *+' conftest.er1
>conftest.err
4053 cat conftest.err
>&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } &&
4056 { ac_try
='test -z "$ac_c_werror_flag"
4057 || test ! -s conftest.err'
4058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4062 (exit $ac_status); }; } &&
4063 { ac_try
='test -s conftest.$ac_objext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4069 ac_cv_type_off_t
=yes
4071 echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.
$ac_ext >&5
4076 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4078 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4079 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4080 if test $ac_cv_type_off_t = yes; then
4084 cat >>confdefs.h
<<_ACEOF
4090 echo "$as_me:$LINENO: checking for size_t" >&5
4091 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4092 if test "${ac_cv_type_size_t+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 cat >conftest.
$ac_ext <<_ACEOF
4098 cat confdefs.h
>>conftest.
$ac_ext
4099 cat >>conftest.
$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4101 $ac_includes_default
4107 if (sizeof (size_t))
4113 rm -f conftest.
$ac_objext
4114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4115 (eval $ac_compile) 2>conftest.er1
4117 grep -v '^ *+' conftest.er1
>conftest.err
4119 cat conftest.err
>&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } &&
4122 { ac_try
='test -z "$ac_c_werror_flag"
4123 || test ! -s conftest.err'
4124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; } &&
4129 { ac_try
='test -s conftest.$ac_objext'
4130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); }; }; then
4135 ac_cv_type_size_t
=yes
4137 echo "$as_me: failed program was:" >&5
4138 sed 's/^/| /' conftest.
$ac_ext >&5
4140 ac_cv_type_size_t
=no
4142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4144 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4145 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4146 if test $ac_cv_type_size_t = yes; then
4150 cat >>confdefs.h
<<_ACEOF
4151 #define size_t unsigned
4156 echo "$as_me:$LINENO: checking for ssize_t" >&5
4157 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4158 if test "${ac_cv_type_ssize_t+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 cat >conftest.
$ac_ext <<_ACEOF
4164 cat confdefs.h
>>conftest.
$ac_ext
4165 cat >>conftest.
$ac_ext <<_ACEOF
4166 /* end confdefs.h. */
4167 $ac_includes_default
4173 if (sizeof (ssize_t))
4179 rm -f conftest.
$ac_objext
4180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4181 (eval $ac_compile) 2>conftest.er1
4183 grep -v '^ *+' conftest.er1
>conftest.err
4185 cat conftest.err
>&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); } &&
4188 { ac_try
='test -z "$ac_c_werror_flag"
4189 || test ! -s conftest.err'
4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); }; } &&
4195 { ac_try
='test -s conftest.$ac_objext'
4196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); }; }; then
4201 ac_cv_type_ssize_t
=yes
4203 echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 ac_cv_type_ssize_t
=no
4208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4210 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4211 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4212 if test $ac_cv_type_ssize_t = yes; then
4216 cat >>confdefs.h
<<_ACEOF
4222 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4223 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4224 if test "${ac_cv_struct_tm+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 cat >conftest.
$ac_ext <<_ACEOF
4230 cat confdefs.h
>>conftest.
$ac_ext
4231 cat >>conftest.
$ac_ext <<_ACEOF
4232 /* end confdefs.h. */
4233 #include <sys/types.h>
4239 struct tm *tp; tp->tm_sec;
4244 rm -f conftest.
$ac_objext
4245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4246 (eval $ac_compile) 2>conftest.er1
4248 grep -v '^ *+' conftest.er1
>conftest.err
4250 cat conftest.err
>&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); } &&
4253 { ac_try
='test -z "$ac_c_werror_flag"
4254 || test ! -s conftest.err'
4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); }; } &&
4260 { ac_try
='test -s conftest.$ac_objext'
4261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); }; }; then
4266 ac_cv_struct_tm
=time.h
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.
$ac_ext >&5
4271 ac_cv_struct_tm
=sys
/time.h
4273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4275 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4276 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4277 if test $ac_cv_struct_tm = sys
/time.h
; then
4279 cat >>confdefs.h
<<\_ACEOF
4280 #define TM_IN_SYS_TIME 1
4285 echo "$as_me:$LINENO: checking for int" >&5
4286 echo $ECHO_N "checking for int... $ECHO_C" >&6
4287 if test "${ac_cv_type_int+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 cat >conftest.
$ac_ext <<_ACEOF
4293 cat confdefs.h
>>conftest.
$ac_ext
4294 cat >>conftest.
$ac_ext <<_ACEOF
4295 /* end confdefs.h. */
4296 $ac_includes_default
4308 rm -f conftest.
$ac_objext
4309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4310 (eval $ac_compile) 2>conftest.er1
4312 grep -v '^ *+' conftest.er1
>conftest.err
4314 cat conftest.err
>&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); } &&
4317 { ac_try
='test -z "$ac_c_werror_flag"
4318 || test ! -s conftest.err'
4319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; } &&
4324 { ac_try
='test -s conftest.$ac_objext'
4325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; }; then
4332 echo "$as_me: failed program was:" >&5
4333 sed 's/^/| /' conftest.
$ac_ext >&5
4337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4339 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4340 echo "${ECHO_T}$ac_cv_type_int" >&6
4342 echo "$as_me:$LINENO: checking size of int" >&5
4343 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4344 if test "${ac_cv_sizeof_int+set}" = set; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 if test "$ac_cv_type_int" = yes; then
4348 # The cast to unsigned long works around a bug in the HP C Compiler
4349 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4350 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4351 # This bug is HP SR number 8606223364.
4352 if test "$cross_compiling" = yes; then
4353 # Depending upon the size, compute the lo and hi bounds.
4354 cat >conftest.
$ac_ext <<_ACEOF
4357 cat confdefs.h
>>conftest.
$ac_ext
4358 cat >>conftest.
$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4360 $ac_includes_default
4364 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4371 rm -f conftest.
$ac_objext
4372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4373 (eval $ac_compile) 2>conftest.er1
4375 grep -v '^ *+' conftest.er1
>conftest.err
4377 cat conftest.err
>&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); } &&
4380 { ac_try
='test -z "$ac_c_werror_flag"
4381 || test ! -s conftest.err'
4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }; } &&
4387 { ac_try
='test -s conftest.$ac_objext'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; }; then
4395 cat >conftest.
$ac_ext <<_ACEOF
4398 cat confdefs.h
>>conftest.
$ac_ext
4399 cat >>conftest.
$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4401 $ac_includes_default
4405 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4412 rm -f conftest.
$ac_objext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4414 (eval $ac_compile) 2>conftest.er1
4416 grep -v '^ *+' conftest.er1
>conftest.err
4418 cat conftest.err
>&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } &&
4421 { ac_try
='test -z "$ac_c_werror_flag"
4422 || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try
='test -s conftest.$ac_objext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_hi
=$ac_mid; break
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.
$ac_ext >&5
4439 ac_lo
=`expr $ac_mid + 1`
4440 if test $ac_lo -le $ac_mid; then
4444 ac_mid
=`expr 2 '*' $ac_mid + 1`
4446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4449 echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.
$ac_ext >&5
4452 cat >conftest.
$ac_ext <<_ACEOF
4455 cat confdefs.h
>>conftest.
$ac_ext
4456 cat >>conftest.
$ac_ext <<_ACEOF
4457 /* end confdefs.h. */
4458 $ac_includes_default
4462 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4469 rm -f conftest.
$ac_objext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4471 (eval $ac_compile) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -z "$ac_c_werror_flag"
4479 || test ! -s conftest.err'
4480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; } &&
4485 { ac_try
='test -s conftest.$ac_objext'
4486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4490 (exit $ac_status); }; }; then
4493 cat >conftest.
$ac_ext <<_ACEOF
4496 cat confdefs.h
>>conftest.
$ac_ext
4497 cat >>conftest.
$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4499 $ac_includes_default
4503 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4510 rm -f conftest.
$ac_objext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4512 (eval $ac_compile) 2>conftest.er1
4514 grep -v '^ *+' conftest.er1
>conftest.err
4516 cat conftest.err
>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } &&
4519 { ac_try
='test -z "$ac_c_werror_flag"
4520 || test ! -s conftest.err'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; } &&
4526 { ac_try
='test -s conftest.$ac_objext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4532 ac_lo
=$ac_mid; break
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4537 ac_hi
=`expr '(' $ac_mid ')' - 1`
4538 if test $ac_mid -le $ac_hi; then
4542 ac_mid
=`expr 2 '*' $ac_mid`
4544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.
$ac_ext >&5
4552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4555 # Binary search between lo and hi bounds.
4556 while test "x$ac_lo" != "x$ac_hi"; do
4557 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4558 cat >conftest.
$ac_ext <<_ACEOF
4561 cat confdefs.h
>>conftest.
$ac_ext
4562 cat >>conftest.
$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4564 $ac_includes_default
4568 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4575 rm -f conftest.
$ac_objext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4577 (eval $ac_compile) 2>conftest.er1
4579 grep -v '^ *+' conftest.er1
>conftest.err
4581 cat conftest.err
>&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } &&
4584 { ac_try
='test -z "$ac_c_werror_flag"
4585 || test ! -s conftest.err'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; } &&
4591 { ac_try
='test -s conftest.$ac_objext'
4592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; }; then
4599 echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.
$ac_ext >&5
4602 ac_lo
=`expr '(' $ac_mid ')' + 1`
4604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4607 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4608 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4609 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4611 See \`config.log' for more details." >&5
4612 echo "$as_me: error: cannot compute sizeof (int), 77
4613 See \`config.log' for more details." >&2;}
4614 { (exit 1); exit 1; }; }; } ;;
4617 if test "$cross_compiling" = yes; then
4618 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4619 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4620 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4621 See \`config.log' for more details." >&5
4622 echo "$as_me: error: cannot run test program while cross compiling
4623 See \`config.log' for more details." >&2;}
4624 { (exit 1); exit 1; }; }; }
4626 cat >conftest.
$ac_ext <<_ACEOF
4629 cat confdefs.h
>>conftest.
$ac_ext
4630 cat >>conftest.
$ac_ext <<_ACEOF
4631 /* end confdefs.h. */
4632 $ac_includes_default
4633 long longval () { return (long) (sizeof (int)); }
4634 unsigned long ulongval () { return (long) (sizeof (int)); }
4641 FILE *f = fopen ("conftest.val", "w");
4644 if (((long) (sizeof (int))) < 0)
4646 long i = longval ();
4647 if (i != ((long) (sizeof (int))))
4649 fprintf (f, "%ld\n", i);
4653 unsigned long i = ulongval ();
4654 if (i != ((long) (sizeof (int))))
4656 fprintf (f, "%lu\n", i);
4658 exit (ferror (f) || fclose (f) != 0);
4664 rm -f conftest
$ac_exeext
4665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4666 (eval $ac_link) 2>&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; }; then
4675 ac_cv_sizeof_int
=`cat conftest.val`
4677 echo "$as_me: program exited with status $ac_status" >&5
4678 echo "$as_me: failed program was:" >&5
4679 sed 's/^/| /' conftest.
$ac_ext >&5
4682 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4683 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4684 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4685 See \`config.log' for more details." >&5
4686 echo "$as_me: error: cannot compute sizeof (int), 77
4687 See \`config.log' for more details." >&2;}
4688 { (exit 1); exit 1; }; }; }
4690 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4698 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4699 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4700 cat >>confdefs.h
<<_ACEOF
4701 #define SIZEOF_INT $ac_cv_sizeof_int
4705 echo "$as_me:$LINENO: checking for long" >&5
4706 echo $ECHO_N "checking for long... $ECHO_C" >&6
4707 if test "${ac_cv_type_long+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 cat >conftest.
$ac_ext <<_ACEOF
4713 cat confdefs.h
>>conftest.
$ac_ext
4714 cat >>conftest.
$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4716 $ac_includes_default
4728 rm -f conftest.
$ac_objext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730 (eval $ac_compile) 2>conftest.er1
4732 grep -v '^ *+' conftest.er1
>conftest.err
4734 cat conftest.err
>&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); } &&
4737 { ac_try
='test -z "$ac_c_werror_flag"
4738 || test ! -s conftest.err'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; } &&
4744 { ac_try
='test -s conftest.$ac_objext'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; }; then
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.
$ac_ext >&5
4757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4759 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4760 echo "${ECHO_T}$ac_cv_type_long" >&6
4762 echo "$as_me:$LINENO: checking size of long" >&5
4763 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4764 if test "${ac_cv_sizeof_long+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4767 if test "$ac_cv_type_long" = yes; then
4768 # The cast to unsigned long works around a bug in the HP C Compiler
4769 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4770 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4771 # This bug is HP SR number 8606223364.
4772 if test "$cross_compiling" = yes; then
4773 # Depending upon the size, compute the lo and hi bounds.
4774 cat >conftest.
$ac_ext <<_ACEOF
4777 cat confdefs.h
>>conftest.
$ac_ext
4778 cat >>conftest.
$ac_ext <<_ACEOF
4779 /* end confdefs.h. */
4780 $ac_includes_default
4784 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4791 rm -f conftest.
$ac_objext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4793 (eval $ac_compile) 2>conftest.er1
4795 grep -v '^ *+' conftest.er1
>conftest.err
4797 cat conftest.err
>&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try
='test -z "$ac_c_werror_flag"
4801 || test ! -s conftest.err'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; } &&
4807 { ac_try
='test -s conftest.$ac_objext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4815 cat >conftest.
$ac_ext <<_ACEOF
4818 cat confdefs.h
>>conftest.
$ac_ext
4819 cat >>conftest.
$ac_ext <<_ACEOF
4820 /* end confdefs.h. */
4821 $ac_includes_default
4825 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4832 rm -f conftest.
$ac_objext
4833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4834 (eval $ac_compile) 2>conftest.er1
4836 grep -v '^ *+' conftest.er1
>conftest.err
4838 cat conftest.err
>&5
4839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4840 (exit $ac_status); } &&
4841 { ac_try
='test -z "$ac_c_werror_flag"
4842 || test ! -s conftest.err'
4843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; } &&
4848 { ac_try
='test -s conftest.$ac_objext'
4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); }; }; then
4854 ac_hi
=$ac_mid; break
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.
$ac_ext >&5
4859 ac_lo
=`expr $ac_mid + 1`
4860 if test $ac_lo -le $ac_mid; then
4864 ac_mid
=`expr 2 '*' $ac_mid + 1`
4866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4869 echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.
$ac_ext >&5
4872 cat >conftest.
$ac_ext <<_ACEOF
4875 cat confdefs.h
>>conftest.
$ac_ext
4876 cat >>conftest.
$ac_ext <<_ACEOF
4877 /* end confdefs.h. */
4878 $ac_includes_default
4882 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4889 rm -f conftest.
$ac_objext
4890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4891 (eval $ac_compile) 2>conftest.er1
4893 grep -v '^ *+' conftest.er1
>conftest.err
4895 cat conftest.err
>&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } &&
4898 { ac_try
='test -z "$ac_c_werror_flag"
4899 || test ! -s conftest.err'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; } &&
4905 { ac_try
='test -s conftest.$ac_objext'
4906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); }; }; then
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4919 $ac_includes_default
4923 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4930 rm -f conftest.
$ac_objext
4931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4932 (eval $ac_compile) 2>conftest.er1
4934 grep -v '^ *+' conftest.er1
>conftest.err
4936 cat conftest.err
>&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); } &&
4939 { ac_try
='test -z "$ac_c_werror_flag"
4940 || test ! -s conftest.err'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; } &&
4946 { ac_try
='test -s conftest.$ac_objext'
4947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); }; }; then
4952 ac_lo
=$ac_mid; break
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.
$ac_ext >&5
4957 ac_hi
=`expr '(' $ac_mid ')' - 1`
4958 if test $ac_mid -le $ac_hi; then
4962 ac_mid
=`expr 2 '*' $ac_mid`
4964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4967 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.
$ac_ext >&5
4972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4974 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4975 # Binary search between lo and hi bounds.
4976 while test "x$ac_lo" != "x$ac_hi"; do
4977 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4978 cat >conftest.
$ac_ext <<_ACEOF
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 $ac_includes_default
4988 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4995 rm -f conftest.
$ac_objext
4996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4997 (eval $ac_compile) 2>conftest.er1
4999 grep -v '^ *+' conftest.er1
>conftest.err
5001 cat conftest.err
>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } &&
5004 { ac_try
='test -z "$ac_c_werror_flag"
5005 || test ! -s conftest.err'
5006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); }; } &&
5011 { ac_try
='test -s conftest.$ac_objext'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.
$ac_ext >&5
5022 ac_lo
=`expr '(' $ac_mid ')' + 1`
5024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5028 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5029 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5030 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5031 See \`config.log' for more details." >&5
5032 echo "$as_me: error: cannot compute sizeof (long), 77
5033 See \`config.log' for more details." >&2;}
5034 { (exit 1); exit 1; }; }; } ;;
5037 if test "$cross_compiling" = yes; then
5038 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5039 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5040 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5041 See \`config.log' for more details." >&5
5042 echo "$as_me: error: cannot run test program while cross compiling
5043 See \`config.log' for more details." >&2;}
5044 { (exit 1); exit 1; }; }; }
5046 cat >conftest.
$ac_ext <<_ACEOF
5049 cat confdefs.h
>>conftest.
$ac_ext
5050 cat >>conftest.
$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5052 $ac_includes_default
5053 long longval () { return (long) (sizeof (long)); }
5054 unsigned long ulongval () { return (long) (sizeof (long)); }
5061 FILE *f = fopen ("conftest.val", "w");
5064 if (((long) (sizeof (long))) < 0)
5066 long i = longval ();
5067 if (i != ((long) (sizeof (long))))
5069 fprintf (f, "%ld\n", i);
5073 unsigned long i = ulongval ();
5074 if (i != ((long) (sizeof (long))))
5076 fprintf (f, "%lu\n", i);
5078 exit (ferror (f) || fclose (f) != 0);
5084 rm -f conftest
$ac_exeext
5085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5086 (eval $ac_link) 2>&5
5088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; }; then
5095 ac_cv_sizeof_long
=`cat conftest.val`
5097 echo "$as_me: program exited with status $ac_status" >&5
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.
$ac_ext >&5
5102 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5103 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5104 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5105 See \`config.log' for more details." >&5
5106 echo "$as_me: error: cannot compute sizeof (long), 77
5107 See \`config.log' for more details." >&2;}
5108 { (exit 1); exit 1; }; }; }
5110 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5118 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5119 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5120 cat >>confdefs.h
<<_ACEOF
5121 #define SIZEOF_LONG $ac_cv_sizeof_long
5142 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
5144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5145 echo "$as_me:$LINENO: checking for $ac_func" >&5
5146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5147 if eval "test \"\${$as_ac_var+set}\" = set"; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.
$ac_ext <<_ACEOF
5153 cat confdefs.h
>>conftest.
$ac_ext
5154 cat >>conftest.
$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define $ac_func innocuous_$ac_func
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char $ac_func (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5166 # include <limits.h>
5168 # include <assert.h>
5173 /* Override any gcc2 internal prototype to avoid an error. */
5178 /* We use char because int might match the return type of a gcc2
5179 builtin and then its argument prototype would still apply. */
5181 /* The GNU C library defines this for functions which it implements
5182 to always fail with ENOSYS. Some functions are actually named
5183 something starting with __ and the normal name is an alias. */
5184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5187 char (*f) () = $ac_func;
5196 return f != $ac_func;
5201 rm -f conftest.
$ac_objext conftest
$ac_exeext
5202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5203 (eval $ac_link) 2>conftest.er1
5205 grep -v '^ *+' conftest.er1
>conftest.err
5207 cat conftest.err
>&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } &&
5210 { ac_try
='test -z "$ac_c_werror_flag"
5211 || test ! -s conftest.err'
5212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5216 (exit $ac_status); }; } &&
5217 { ac_try
='test -s conftest$ac_exeext'
5218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); }; }; then
5223 eval "$as_ac_var=yes"
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.
$ac_ext >&5
5228 eval "$as_ac_var=no"
5230 rm -f conftest.err conftest.
$ac_objext \
5231 conftest
$ac_exeext conftest.
$ac_ext
5233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5235 if test `eval echo '${'$as_ac_var'}'` = yes; then
5236 cat >>confdefs.h
<<_ACEOF
5237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5243 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5244 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5245 if test "${ac_cv_have_decl_abort+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 cat >conftest.
$ac_ext <<_ACEOF
5251 cat confdefs.h
>>conftest.
$ac_ext
5252 cat >>conftest.
$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 $ac_includes_default
5259 char *p = (char *) abort;
5266 rm -f conftest.
$ac_objext
5267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5268 (eval $ac_compile) 2>conftest.er1
5270 grep -v '^ *+' conftest.er1
>conftest.err
5272 cat conftest.err
>&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); } &&
5275 { ac_try
='test -z "$ac_c_werror_flag"
5276 || test ! -s conftest.err'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; } &&
5282 { ac_try
='test -s conftest.$ac_objext'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; }; then
5288 ac_cv_have_decl_abort
=yes
5290 echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.
$ac_ext >&5
5293 ac_cv_have_decl_abort
=no
5295 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5297 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5298 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5299 if test $ac_cv_have_decl_abort = yes; then
5301 cat >>confdefs.h
<<_ACEOF
5302 #define HAVE_DECL_ABORT 1
5307 cat >>confdefs.h
<<_ACEOF
5308 #define HAVE_DECL_ABORT 0
5313 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
5314 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
5315 if test "${ac_cv_have_decl_asprintf+set}" = set; then
5316 echo $ECHO_N "(cached) $ECHO_C" >&6
5318 cat >conftest.
$ac_ext <<_ACEOF
5321 cat confdefs.h
>>conftest.
$ac_ext
5322 cat >>conftest.
$ac_ext <<_ACEOF
5323 /* end confdefs.h. */
5324 $ac_includes_default
5329 char *p = (char *) asprintf;
5336 rm -f conftest.
$ac_objext
5337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5338 (eval $ac_compile) 2>conftest.er1
5340 grep -v '^ *+' conftest.er1
>conftest.err
5342 cat conftest.err
>&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); } &&
5345 { ac_try
='test -z "$ac_c_werror_flag"
5346 || test ! -s conftest.err'
5347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }; } &&
5352 { ac_try
='test -s conftest.$ac_objext'
5353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); }; }; then
5358 ac_cv_have_decl_asprintf
=yes
5360 echo "$as_me: failed program was:" >&5
5361 sed 's/^/| /' conftest.
$ac_ext >&5
5363 ac_cv_have_decl_asprintf
=no
5365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5367 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
5368 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
5369 if test $ac_cv_have_decl_asprintf = yes; then
5371 cat >>confdefs.h
<<_ACEOF
5372 #define HAVE_DECL_ASPRINTF 1
5377 cat >>confdefs.h
<<_ACEOF
5378 #define HAVE_DECL_ASPRINTF 0
5383 echo "$as_me:$LINENO: checking whether basename is declared" >&5
5384 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
5385 if test "${ac_cv_have_decl_basename+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 cat >conftest.
$ac_ext <<_ACEOF
5391 cat confdefs.h
>>conftest.
$ac_ext
5392 cat >>conftest.
$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5394 $ac_includes_default
5399 char *p = (char *) basename;
5406 rm -f conftest.
$ac_objext
5407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5408 (eval $ac_compile) 2>conftest.er1
5410 grep -v '^ *+' conftest.er1
>conftest.err
5412 cat conftest.err
>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } &&
5415 { ac_try
='test -z "$ac_c_werror_flag"
5416 || test ! -s conftest.err'
5417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); }; } &&
5422 { ac_try
='test -s conftest.$ac_objext'
5423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }; }; then
5428 ac_cv_have_decl_basename
=yes
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.
$ac_ext >&5
5433 ac_cv_have_decl_basename
=no
5435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5437 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
5438 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
5439 if test $ac_cv_have_decl_basename = yes; then
5441 cat >>confdefs.h
<<_ACEOF
5442 #define HAVE_DECL_BASENAME 1
5447 cat >>confdefs.h
<<_ACEOF
5448 #define HAVE_DECL_BASENAME 0
5453 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5454 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5455 if test "${ac_cv_have_decl_errno+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 cat >conftest.
$ac_ext <<_ACEOF
5461 cat confdefs.h
>>conftest.
$ac_ext
5462 cat >>conftest.
$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5464 $ac_includes_default
5469 char *p = (char *) errno;
5476 rm -f conftest.
$ac_objext
5477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5478 (eval $ac_compile) 2>conftest.er1
5480 grep -v '^ *+' conftest.er1
>conftest.err
5482 cat conftest.err
>&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } &&
5485 { ac_try
='test -z "$ac_c_werror_flag"
5486 || test ! -s conftest.err'
5487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }; } &&
5492 { ac_try
='test -s conftest.$ac_objext'
5493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); }; }; then
5498 ac_cv_have_decl_errno
=yes
5500 echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.
$ac_ext >&5
5503 ac_cv_have_decl_errno
=no
5505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5507 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5508 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5509 if test $ac_cv_have_decl_errno = yes; then
5511 cat >>confdefs.h
<<_ACEOF
5512 #define HAVE_DECL_ERRNO 1
5517 cat >>confdefs.h
<<_ACEOF
5518 #define HAVE_DECL_ERRNO 0
5523 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
5524 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
5525 if test "${ac_cv_have_decl_getopt+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 cat >conftest.
$ac_ext <<_ACEOF
5531 cat confdefs.h
>>conftest.
$ac_ext
5532 cat >>conftest.
$ac_ext <<_ACEOF
5533 /* end confdefs.h. */
5534 $ac_includes_default
5539 char *p = (char *) getopt;
5546 rm -f conftest.
$ac_objext
5547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5548 (eval $ac_compile) 2>conftest.er1
5550 grep -v '^ *+' conftest.er1
>conftest.err
5552 cat conftest.err
>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } &&
5555 { ac_try
='test -z "$ac_c_werror_flag"
5556 || test ! -s conftest.err'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; } &&
5562 { ac_try
='test -s conftest.$ac_objext'
5563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); }; }; then
5568 ac_cv_have_decl_getopt
=yes
5570 echo "$as_me: failed program was:" >&5
5571 sed 's/^/| /' conftest.
$ac_ext >&5
5573 ac_cv_have_decl_getopt
=no
5575 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5577 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
5578 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
5579 if test $ac_cv_have_decl_getopt = yes; then
5581 cat >>confdefs.h
<<_ACEOF
5582 #define HAVE_DECL_GETOPT 1
5587 cat >>confdefs.h
<<_ACEOF
5588 #define HAVE_DECL_GETOPT 0
5593 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
5594 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
5595 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
5596 echo $ECHO_N "(cached) $ECHO_C" >&6
5598 cat >conftest.
$ac_ext <<_ACEOF
5601 cat confdefs.h
>>conftest.
$ac_ext
5602 cat >>conftest.
$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5604 $ac_includes_default
5608 #ifndef clearerr_unlocked
5609 char *p = (char *) clearerr_unlocked;
5616 rm -f conftest.
$ac_objext
5617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618 (eval $ac_compile) 2>conftest.er1
5620 grep -v '^ *+' conftest.er1
>conftest.err
5622 cat conftest.err
>&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } &&
5625 { ac_try
='test -z "$ac_c_werror_flag"
5626 || test ! -s conftest.err'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; } &&
5632 { ac_try
='test -s conftest.$ac_objext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 ac_cv_have_decl_clearerr_unlocked
=yes
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.
$ac_ext >&5
5643 ac_cv_have_decl_clearerr_unlocked
=no
5645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5647 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
5648 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
5649 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
5651 cat >>confdefs.h
<<_ACEOF
5652 #define HAVE_DECL_CLEARERR_UNLOCKED 1
5657 cat >>confdefs.h
<<_ACEOF
5658 #define HAVE_DECL_CLEARERR_UNLOCKED 0
5663 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
5664 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
5665 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 cat >conftest.
$ac_ext <<_ACEOF
5671 cat confdefs.h
>>conftest.
$ac_ext
5672 cat >>conftest.
$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5674 $ac_includes_default
5678 #ifndef feof_unlocked
5679 char *p = (char *) feof_unlocked;
5686 rm -f conftest.
$ac_objext
5687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5688 (eval $ac_compile) 2>conftest.er1
5690 grep -v '^ *+' conftest.er1
>conftest.err
5692 cat conftest.err
>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } &&
5695 { ac_try
='test -z "$ac_c_werror_flag"
5696 || test ! -s conftest.err'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; } &&
5702 { ac_try
='test -s conftest.$ac_objext'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; }; then
5708 ac_cv_have_decl_feof_unlocked
=yes
5710 echo "$as_me: failed program was:" >&5
5711 sed 's/^/| /' conftest.
$ac_ext >&5
5713 ac_cv_have_decl_feof_unlocked
=no
5715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5717 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
5718 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
5719 if test $ac_cv_have_decl_feof_unlocked = yes; then
5721 cat >>confdefs.h
<<_ACEOF
5722 #define HAVE_DECL_FEOF_UNLOCKED 1
5727 cat >>confdefs.h
<<_ACEOF
5728 #define HAVE_DECL_FEOF_UNLOCKED 0
5733 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
5734 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
5735 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 cat >conftest.
$ac_ext <<_ACEOF
5741 cat confdefs.h
>>conftest.
$ac_ext
5742 cat >>conftest.
$ac_ext <<_ACEOF
5743 /* end confdefs.h. */
5744 $ac_includes_default
5748 #ifndef ferror_unlocked
5749 char *p = (char *) ferror_unlocked;
5756 rm -f conftest.
$ac_objext
5757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5758 (eval $ac_compile) 2>conftest.er1
5760 grep -v '^ *+' conftest.er1
>conftest.err
5762 cat conftest.err
>&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } &&
5765 { ac_try
='test -z "$ac_c_werror_flag"
5766 || test ! -s conftest.err'
5767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }; } &&
5772 { ac_try
='test -s conftest.$ac_objext'
5773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); }; }; then
5778 ac_cv_have_decl_ferror_unlocked
=yes
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.
$ac_ext >&5
5783 ac_cv_have_decl_ferror_unlocked
=no
5785 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5787 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
5788 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
5789 if test $ac_cv_have_decl_ferror_unlocked = yes; then
5791 cat >>confdefs.h
<<_ACEOF
5792 #define HAVE_DECL_FERROR_UNLOCKED 1
5797 cat >>confdefs.h
<<_ACEOF
5798 #define HAVE_DECL_FERROR_UNLOCKED 0
5803 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
5804 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
5805 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 cat >conftest.
$ac_ext <<_ACEOF
5811 cat confdefs.h
>>conftest.
$ac_ext
5812 cat >>conftest.
$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5814 $ac_includes_default
5818 #ifndef fflush_unlocked
5819 char *p = (char *) fflush_unlocked;
5826 rm -f conftest.
$ac_objext
5827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5828 (eval $ac_compile) 2>conftest.er1
5830 grep -v '^ *+' conftest.er1
>conftest.err
5832 cat conftest.err
>&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } &&
5835 { ac_try
='test -z "$ac_c_werror_flag"
5836 || test ! -s conftest.err'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; } &&
5842 { ac_try
='test -s conftest.$ac_objext'
5843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5847 (exit $ac_status); }; }; then
5848 ac_cv_have_decl_fflush_unlocked
=yes
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.
$ac_ext >&5
5853 ac_cv_have_decl_fflush_unlocked
=no
5855 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5857 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
5858 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
5859 if test $ac_cv_have_decl_fflush_unlocked = yes; then
5861 cat >>confdefs.h
<<_ACEOF
5862 #define HAVE_DECL_FFLUSH_UNLOCKED 1
5867 cat >>confdefs.h
<<_ACEOF
5868 #define HAVE_DECL_FFLUSH_UNLOCKED 0
5873 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
5874 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
5875 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 cat >conftest.
$ac_ext <<_ACEOF
5881 cat confdefs.h
>>conftest.
$ac_ext
5882 cat >>conftest.
$ac_ext <<_ACEOF
5883 /* end confdefs.h. */
5884 $ac_includes_default
5888 #ifndef fgetc_unlocked
5889 char *p = (char *) fgetc_unlocked;
5896 rm -f conftest.
$ac_objext
5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5898 (eval $ac_compile) 2>conftest.er1
5900 grep -v '^ *+' conftest.er1
>conftest.err
5902 cat conftest.err
>&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); } &&
5905 { ac_try
='test -z "$ac_c_werror_flag"
5906 || test ! -s conftest.err'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); }; } &&
5912 { ac_try
='test -s conftest.$ac_objext'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; }; then
5918 ac_cv_have_decl_fgetc_unlocked
=yes
5920 echo "$as_me: failed program was:" >&5
5921 sed 's/^/| /' conftest.
$ac_ext >&5
5923 ac_cv_have_decl_fgetc_unlocked
=no
5925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5927 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
5928 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
5929 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
5931 cat >>confdefs.h
<<_ACEOF
5932 #define HAVE_DECL_FGETC_UNLOCKED 1
5937 cat >>confdefs.h
<<_ACEOF
5938 #define HAVE_DECL_FGETC_UNLOCKED 0
5943 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
5944 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
5945 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
5946 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 cat >conftest.
$ac_ext <<_ACEOF
5951 cat confdefs.h
>>conftest.
$ac_ext
5952 cat >>conftest.
$ac_ext <<_ACEOF
5953 /* end confdefs.h. */
5954 $ac_includes_default
5958 #ifndef fgets_unlocked
5959 char *p = (char *) fgets_unlocked;
5966 rm -f conftest.
$ac_objext
5967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5968 (eval $ac_compile) 2>conftest.er1
5970 grep -v '^ *+' conftest.er1
>conftest.err
5972 cat conftest.err
>&5
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); } &&
5975 { ac_try
='test -z "$ac_c_werror_flag"
5976 || test ! -s conftest.err'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; } &&
5982 { ac_try
='test -s conftest.$ac_objext'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; }; then
5988 ac_cv_have_decl_fgets_unlocked
=yes
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.
$ac_ext >&5
5993 ac_cv_have_decl_fgets_unlocked
=no
5995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5997 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
5998 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
5999 if test $ac_cv_have_decl_fgets_unlocked = yes; then
6001 cat >>confdefs.h
<<_ACEOF
6002 #define HAVE_DECL_FGETS_UNLOCKED 1
6007 cat >>confdefs.h
<<_ACEOF
6008 #define HAVE_DECL_FGETS_UNLOCKED 0
6013 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
6014 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
6015 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 cat >conftest.
$ac_ext <<_ACEOF
6021 cat confdefs.h
>>conftest.
$ac_ext
6022 cat >>conftest.
$ac_ext <<_ACEOF
6023 /* end confdefs.h. */
6024 $ac_includes_default
6028 #ifndef fileno_unlocked
6029 char *p = (char *) fileno_unlocked;
6036 rm -f conftest.
$ac_objext
6037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6038 (eval $ac_compile) 2>conftest.er1
6040 grep -v '^ *+' conftest.er1
>conftest.err
6042 cat conftest.err
>&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } &&
6045 { ac_try
='test -z "$ac_c_werror_flag"
6046 || test ! -s conftest.err'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; } &&
6052 { ac_try
='test -s conftest.$ac_objext'
6053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; }; then
6058 ac_cv_have_decl_fileno_unlocked
=yes
6060 echo "$as_me: failed program was:" >&5
6061 sed 's/^/| /' conftest.
$ac_ext >&5
6063 ac_cv_have_decl_fileno_unlocked
=no
6065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6067 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
6068 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
6069 if test $ac_cv_have_decl_fileno_unlocked = yes; then
6071 cat >>confdefs.h
<<_ACEOF
6072 #define HAVE_DECL_FILENO_UNLOCKED 1
6077 cat >>confdefs.h
<<_ACEOF
6078 #define HAVE_DECL_FILENO_UNLOCKED 0
6083 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
6084 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
6085 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
6086 echo $ECHO_N "(cached) $ECHO_C" >&6
6088 cat >conftest.
$ac_ext <<_ACEOF
6091 cat confdefs.h
>>conftest.
$ac_ext
6092 cat >>conftest.
$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6094 $ac_includes_default
6098 #ifndef fprintf_unlocked
6099 char *p = (char *) fprintf_unlocked;
6106 rm -f conftest.
$ac_objext
6107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6108 (eval $ac_compile) 2>conftest.er1
6110 grep -v '^ *+' conftest.er1
>conftest.err
6112 cat conftest.err
>&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); } &&
6115 { ac_try
='test -z "$ac_c_werror_flag"
6116 || test ! -s conftest.err'
6117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121 (exit $ac_status); }; } &&
6122 { ac_try
='test -s conftest.$ac_objext'
6123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); }; }; then
6128 ac_cv_have_decl_fprintf_unlocked
=yes
6130 echo "$as_me: failed program was:" >&5
6131 sed 's/^/| /' conftest.
$ac_ext >&5
6133 ac_cv_have_decl_fprintf_unlocked
=no
6135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6137 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
6138 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
6139 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
6141 cat >>confdefs.h
<<_ACEOF
6142 #define HAVE_DECL_FPRINTF_UNLOCKED 1
6147 cat >>confdefs.h
<<_ACEOF
6148 #define HAVE_DECL_FPRINTF_UNLOCKED 0
6153 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
6154 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
6155 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 cat >conftest.
$ac_ext <<_ACEOF
6161 cat confdefs.h
>>conftest.
$ac_ext
6162 cat >>conftest.
$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6164 $ac_includes_default
6168 #ifndef fputc_unlocked
6169 char *p = (char *) fputc_unlocked;
6176 rm -f conftest.
$ac_objext
6177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6178 (eval $ac_compile) 2>conftest.er1
6180 grep -v '^ *+' conftest.er1
>conftest.err
6182 cat conftest.err
>&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } &&
6185 { ac_try
='test -z "$ac_c_werror_flag"
6186 || test ! -s conftest.err'
6187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); }; } &&
6192 { ac_try
='test -s conftest.$ac_objext'
6193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then
6198 ac_cv_have_decl_fputc_unlocked
=yes
6200 echo "$as_me: failed program was:" >&5
6201 sed 's/^/| /' conftest.
$ac_ext >&5
6203 ac_cv_have_decl_fputc_unlocked
=no
6205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6207 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
6208 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
6209 if test $ac_cv_have_decl_fputc_unlocked = yes; then
6211 cat >>confdefs.h
<<_ACEOF
6212 #define HAVE_DECL_FPUTC_UNLOCKED 1
6217 cat >>confdefs.h
<<_ACEOF
6218 #define HAVE_DECL_FPUTC_UNLOCKED 0
6223 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
6224 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
6225 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 cat >conftest.
$ac_ext <<_ACEOF
6231 cat confdefs.h
>>conftest.
$ac_ext
6232 cat >>conftest.
$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6234 $ac_includes_default
6238 #ifndef fputs_unlocked
6239 char *p = (char *) fputs_unlocked;
6246 rm -f conftest.
$ac_objext
6247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6248 (eval $ac_compile) 2>conftest.er1
6250 grep -v '^ *+' conftest.er1
>conftest.err
6252 cat conftest.err
>&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); } &&
6255 { ac_try
='test -z "$ac_c_werror_flag"
6256 || test ! -s conftest.err'
6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; } &&
6262 { ac_try
='test -s conftest.$ac_objext'
6263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267 (exit $ac_status); }; }; then
6268 ac_cv_have_decl_fputs_unlocked
=yes
6270 echo "$as_me: failed program was:" >&5
6271 sed 's/^/| /' conftest.
$ac_ext >&5
6273 ac_cv_have_decl_fputs_unlocked
=no
6275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6277 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
6278 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
6279 if test $ac_cv_have_decl_fputs_unlocked = yes; then
6281 cat >>confdefs.h
<<_ACEOF
6282 #define HAVE_DECL_FPUTS_UNLOCKED 1
6287 cat >>confdefs.h
<<_ACEOF
6288 #define HAVE_DECL_FPUTS_UNLOCKED 0
6293 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
6294 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
6295 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
6296 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 cat >conftest.
$ac_ext <<_ACEOF
6301 cat confdefs.h
>>conftest.
$ac_ext
6302 cat >>conftest.
$ac_ext <<_ACEOF
6303 /* end confdefs.h. */
6304 $ac_includes_default
6308 #ifndef fread_unlocked
6309 char *p = (char *) fread_unlocked;
6316 rm -f conftest.
$ac_objext
6317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6318 (eval $ac_compile) 2>conftest.er1
6320 grep -v '^ *+' conftest.er1
>conftest.err
6322 cat conftest.err
>&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } &&
6325 { ac_try
='test -z "$ac_c_werror_flag"
6326 || test ! -s conftest.err'
6327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; } &&
6332 { ac_try
='test -s conftest.$ac_objext'
6333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }; }; then
6338 ac_cv_have_decl_fread_unlocked
=yes
6340 echo "$as_me: failed program was:" >&5
6341 sed 's/^/| /' conftest.
$ac_ext >&5
6343 ac_cv_have_decl_fread_unlocked
=no
6345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6347 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
6348 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
6349 if test $ac_cv_have_decl_fread_unlocked = yes; then
6351 cat >>confdefs.h
<<_ACEOF
6352 #define HAVE_DECL_FREAD_UNLOCKED 1
6357 cat >>confdefs.h
<<_ACEOF
6358 #define HAVE_DECL_FREAD_UNLOCKED 0
6363 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
6364 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
6365 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
6366 echo $ECHO_N "(cached) $ECHO_C" >&6
6368 cat >conftest.
$ac_ext <<_ACEOF
6371 cat confdefs.h
>>conftest.
$ac_ext
6372 cat >>conftest.
$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374 $ac_includes_default
6378 #ifndef fwrite_unlocked
6379 char *p = (char *) fwrite_unlocked;
6386 rm -f conftest.
$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>conftest.er1
6390 grep -v '^ *+' conftest.er1
>conftest.err
6392 cat conftest.err
>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try
='test -z "$ac_c_werror_flag"
6396 || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try
='test -s conftest.$ac_objext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_cv_have_decl_fwrite_unlocked
=yes
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 ac_cv_have_decl_fwrite_unlocked
=no
6415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6417 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
6418 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
6419 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
6421 cat >>confdefs.h
<<_ACEOF
6422 #define HAVE_DECL_FWRITE_UNLOCKED 1
6427 cat >>confdefs.h
<<_ACEOF
6428 #define HAVE_DECL_FWRITE_UNLOCKED 0
6433 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
6434 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
6435 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
6436 echo $ECHO_N "(cached) $ECHO_C" >&6
6438 cat >conftest.
$ac_ext <<_ACEOF
6441 cat confdefs.h
>>conftest.
$ac_ext
6442 cat >>conftest.
$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6444 $ac_includes_default
6448 #ifndef getchar_unlocked
6449 char *p = (char *) getchar_unlocked;
6456 rm -f conftest.
$ac_objext
6457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6458 (eval $ac_compile) 2>conftest.er1
6460 grep -v '^ *+' conftest.er1
>conftest.err
6462 cat conftest.err
>&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); } &&
6465 { ac_try
='test -z "$ac_c_werror_flag"
6466 || test ! -s conftest.err'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; } &&
6472 { ac_try
='test -s conftest.$ac_objext'
6473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); }; }; then
6478 ac_cv_have_decl_getchar_unlocked
=yes
6480 echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.
$ac_ext >&5
6483 ac_cv_have_decl_getchar_unlocked
=no
6485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6487 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
6488 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
6489 if test $ac_cv_have_decl_getchar_unlocked = yes; then
6491 cat >>confdefs.h
<<_ACEOF
6492 #define HAVE_DECL_GETCHAR_UNLOCKED 1
6497 cat >>confdefs.h
<<_ACEOF
6498 #define HAVE_DECL_GETCHAR_UNLOCKED 0
6503 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
6504 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
6505 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 cat >conftest.
$ac_ext <<_ACEOF
6511 cat confdefs.h
>>conftest.
$ac_ext
6512 cat >>conftest.
$ac_ext <<_ACEOF
6513 /* end confdefs.h. */
6514 $ac_includes_default
6518 #ifndef getc_unlocked
6519 char *p = (char *) getc_unlocked;
6526 rm -f conftest.
$ac_objext
6527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6528 (eval $ac_compile) 2>conftest.er1
6530 grep -v '^ *+' conftest.er1
>conftest.err
6532 cat conftest.err
>&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); } &&
6535 { ac_try
='test -z "$ac_c_werror_flag"
6536 || test ! -s conftest.err'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; } &&
6542 { ac_try
='test -s conftest.$ac_objext'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; }; then
6548 ac_cv_have_decl_getc_unlocked
=yes
6550 echo "$as_me: failed program was:" >&5
6551 sed 's/^/| /' conftest.
$ac_ext >&5
6553 ac_cv_have_decl_getc_unlocked
=no
6555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6557 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
6558 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
6559 if test $ac_cv_have_decl_getc_unlocked = yes; then
6561 cat >>confdefs.h
<<_ACEOF
6562 #define HAVE_DECL_GETC_UNLOCKED 1
6567 cat >>confdefs.h
<<_ACEOF
6568 #define HAVE_DECL_GETC_UNLOCKED 0
6573 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
6574 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
6575 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
6576 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 cat >conftest.
$ac_ext <<_ACEOF
6581 cat confdefs.h
>>conftest.
$ac_ext
6582 cat >>conftest.
$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6584 $ac_includes_default
6588 #ifndef putchar_unlocked
6589 char *p = (char *) putchar_unlocked;
6596 rm -f conftest.
$ac_objext
6597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6598 (eval $ac_compile) 2>conftest.er1
6600 grep -v '^ *+' conftest.er1
>conftest.err
6602 cat conftest.err
>&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); } &&
6605 { ac_try
='test -z "$ac_c_werror_flag"
6606 || test ! -s conftest.err'
6607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); }; } &&
6612 { ac_try
='test -s conftest.$ac_objext'
6613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); }; }; then
6618 ac_cv_have_decl_putchar_unlocked
=yes
6620 echo "$as_me: failed program was:" >&5
6621 sed 's/^/| /' conftest.
$ac_ext >&5
6623 ac_cv_have_decl_putchar_unlocked
=no
6625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6627 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
6628 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
6629 if test $ac_cv_have_decl_putchar_unlocked = yes; then
6631 cat >>confdefs.h
<<_ACEOF
6632 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
6637 cat >>confdefs.h
<<_ACEOF
6638 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
6643 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
6644 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
6645 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 cat >conftest.
$ac_ext <<_ACEOF
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 $ac_includes_default
6658 #ifndef putc_unlocked
6659 char *p = (char *) putc_unlocked;
6666 rm -f conftest.
$ac_objext
6667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6668 (eval $ac_compile) 2>conftest.er1
6670 grep -v '^ *+' conftest.er1
>conftest.err
6672 cat conftest.err
>&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } &&
6675 { ac_try
='test -z "$ac_c_werror_flag"
6676 || test ! -s conftest.err'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; } &&
6682 { ac_try
='test -s conftest.$ac_objext'
6683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); }; }; then
6688 ac_cv_have_decl_putc_unlocked
=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.
$ac_ext >&5
6693 ac_cv_have_decl_putc_unlocked
=no
6695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6697 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
6698 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
6699 if test $ac_cv_have_decl_putc_unlocked = yes; then
6701 cat >>confdefs.h
<<_ACEOF
6702 #define HAVE_DECL_PUTC_UNLOCKED 1
6707 cat >>confdefs.h
<<_ACEOF
6708 #define HAVE_DECL_PUTC_UNLOCKED 0
6713 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6714 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6715 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 cat >conftest.
$ac_ext <<_ACEOF
6721 cat confdefs.h
>>conftest.
$ac_ext
6722 cat >>conftest.
$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 $ac_includes_default
6729 char *p = (char *) vasprintf;
6736 rm -f conftest.
$ac_objext
6737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6738 (eval $ac_compile) 2>conftest.er1
6740 grep -v '^ *+' conftest.er1
>conftest.err
6742 cat conftest.err
>&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } &&
6745 { ac_try
='test -z "$ac_c_werror_flag"
6746 || test ! -s conftest.err'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); }; } &&
6752 { ac_try
='test -s conftest.$ac_objext'
6753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); }; }; then
6758 ac_cv_have_decl_vasprintf
=yes
6760 echo "$as_me: failed program was:" >&5
6761 sed 's/^/| /' conftest.
$ac_ext >&5
6763 ac_cv_have_decl_vasprintf
=no
6765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6767 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6768 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6769 if test $ac_cv_have_decl_vasprintf = yes; then
6771 cat >>confdefs.h
<<_ACEOF
6772 #define HAVE_DECL_VASPRINTF 1
6777 cat >>confdefs.h
<<_ACEOF
6778 #define HAVE_DECL_VASPRINTF 0
6786 # Checks for library functions.
6787 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6788 # for constant arguments. Useless!
6789 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6790 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6791 if test "${ac_cv_working_alloca_h+set}" = set; then
6792 echo $ECHO_N "(cached) $ECHO_C" >&6
6794 cat >conftest.
$ac_ext <<_ACEOF
6797 cat confdefs.h
>>conftest.
$ac_ext
6798 cat >>conftest.
$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6804 char *p = (char *) alloca (2 * sizeof (int));
6809 rm -f conftest.
$ac_objext conftest
$ac_exeext
6810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6811 (eval $ac_link) 2>conftest.er1
6813 grep -v '^ *+' conftest.er1
>conftest.err
6815 cat conftest.err
>&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); } &&
6818 { ac_try
='test -z "$ac_c_werror_flag"
6819 || test ! -s conftest.err'
6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; } &&
6825 { ac_try
='test -s conftest$ac_exeext'
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); }; }; then
6831 ac_cv_working_alloca_h
=yes
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.
$ac_ext >&5
6836 ac_cv_working_alloca_h
=no
6838 rm -f conftest.err conftest.
$ac_objext \
6839 conftest
$ac_exeext conftest.
$ac_ext
6841 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6842 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6843 if test $ac_cv_working_alloca_h = yes; then
6845 cat >>confdefs.h
<<\_ACEOF
6846 #define HAVE_ALLOCA_H 1
6851 echo "$as_me:$LINENO: checking for alloca" >&5
6852 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6853 if test "${ac_cv_func_alloca_works+set}" = set; then
6854 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 cat >conftest.
$ac_ext <<_ACEOF
6859 cat confdefs.h
>>conftest.
$ac_ext
6860 cat >>conftest.
$ac_ext <<_ACEOF
6861 /* end confdefs.h. */
6863 # define alloca __builtin_alloca
6866 # include <malloc.h>
6867 # define alloca _alloca
6870 # include <alloca.h>
6875 # ifndef alloca /* predefined by HP cc +Olibcalls */
6886 char *p = (char *) alloca (1);
6891 rm -f conftest.
$ac_objext conftest
$ac_exeext
6892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6893 (eval $ac_link) 2>conftest.er1
6895 grep -v '^ *+' conftest.er1
>conftest.err
6897 cat conftest.err
>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } &&
6900 { ac_try
='test -z "$ac_c_werror_flag"
6901 || test ! -s conftest.err'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; } &&
6907 { ac_try
='test -s conftest$ac_exeext'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; }; then
6913 ac_cv_func_alloca_works
=yes
6915 echo "$as_me: failed program was:" >&5
6916 sed 's/^/| /' conftest.
$ac_ext >&5
6918 ac_cv_func_alloca_works
=no
6920 rm -f conftest.err conftest.
$ac_objext \
6921 conftest
$ac_exeext conftest.
$ac_ext
6923 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6924 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6926 if test $ac_cv_func_alloca_works = yes; then
6928 cat >>confdefs.h
<<\_ACEOF
6929 #define HAVE_ALLOCA 1
6933 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6934 # that cause trouble. Some versions do not even contain alloca or
6935 # contain a buggy version. If you still want to use their alloca,
6936 # use ar to extract alloca.o from them instead of compiling alloca.c.
6938 ALLOCA
=alloca.
$ac_objext
6940 cat >>confdefs.h
<<\_ACEOF
6945 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6946 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6947 if test "${ac_cv_os_cray+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 cat >conftest.
$ac_ext <<_ACEOF
6953 cat confdefs.h
>>conftest.
$ac_ext
6954 cat >>conftest.
$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 #if defined(CRAY) && ! defined(CRAY2)
6963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6964 $EGREP "webecray" >/dev
/null
2>&1; then
6972 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6973 echo "${ECHO_T}$ac_cv_os_cray" >&6
6974 if test $ac_cv_os_cray = yes; then
6975 for ac_func
in _getb67 GETB67 getb67
; do
6976 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6977 echo "$as_me:$LINENO: checking for $ac_func" >&5
6978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6979 if eval "test \"\${$as_ac_var+set}\" = set"; then
6980 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 cat >conftest.
$ac_ext <<_ACEOF
6985 cat confdefs.h
>>conftest.
$ac_ext
6986 cat >>conftest.
$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6990 #define $ac_func innocuous_$ac_func
6992 /* System header to define __stub macros and hopefully few prototypes,
6993 which can conflict with char $ac_func (); below.
6994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6995 <limits.h> exists even on freestanding compilers. */
6998 # include <limits.h>
7000 # include <assert.h>
7005 /* Override any gcc2 internal prototype to avoid an error. */
7010 /* We use char because int might match the return type of a gcc2
7011 builtin and then its argument prototype would still apply. */
7013 /* The GNU C library defines this for functions which it implements
7014 to always fail with ENOSYS. Some functions are actually named
7015 something starting with __ and the normal name is an alias. */
7016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7019 char (*f) () = $ac_func;
7028 return f != $ac_func;
7033 rm -f conftest.
$ac_objext conftest
$ac_exeext
7034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7035 (eval $ac_link) 2>conftest.er1
7037 grep -v '^ *+' conftest.er1
>conftest.err
7039 cat conftest.err
>&5
7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 (exit $ac_status); } &&
7042 { ac_try
='test -z "$ac_c_werror_flag"
7043 || test ! -s conftest.err'
7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); }; } &&
7049 { ac_try
='test -s conftest$ac_exeext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7055 eval "$as_ac_var=yes"
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.
$ac_ext >&5
7060 eval "$as_ac_var=no"
7062 rm -f conftest.err conftest.
$ac_objext \
7063 conftest
$ac_exeext conftest.
$ac_ext
7065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7067 if test `eval echo '${'$as_ac_var'}'` = yes; then
7069 cat >>confdefs.h
<<_ACEOF
7070 #define CRAY_STACKSEG_END $ac_func
7079 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7080 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7081 if test "${ac_cv_c_stack_direction+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 if test "$cross_compiling" = yes; then
7085 ac_cv_c_stack_direction
=0
7087 cat >conftest.
$ac_ext <<_ACEOF
7090 cat confdefs.h
>>conftest.
$ac_ext
7091 cat >>conftest.
$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7094 find_stack_direction ()
7096 static char *addr = 0;
7101 return find_stack_direction ();
7104 return (&dummy > addr) ? 1 : -1;
7110 exit (find_stack_direction () < 0);
7113 rm -f conftest
$ac_exeext
7114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7115 (eval $ac_link) 2>&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); }; }; then
7124 ac_cv_c_stack_direction
=1
7126 echo "$as_me: program exited with status $ac_status" >&5
7127 echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.
$ac_ext >&5
7131 ac_cv_c_stack_direction
=-1
7133 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7136 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7137 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7139 cat >>confdefs.h
<<_ACEOF
7140 #define STACK_DIRECTION $ac_cv_c_stack_direction
7146 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7147 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7148 if test "${ac_cv_header_stdc+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7151 cat >conftest.
$ac_ext <<_ACEOF
7154 cat confdefs.h
>>conftest.
$ac_ext
7155 cat >>conftest.
$ac_ext <<_ACEOF
7156 /* end confdefs.h. */
7170 rm -f conftest.
$ac_objext
7171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7172 (eval $ac_compile) 2>conftest.er1
7174 grep -v '^ *+' conftest.er1
>conftest.err
7176 cat conftest.err
>&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); } &&
7179 { ac_try
='test -z "$ac_c_werror_flag"
7180 || test ! -s conftest.err'
7181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; } &&
7186 { ac_try
='test -s conftest.$ac_objext'
7187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7191 (exit $ac_status); }; }; then
7192 ac_cv_header_stdc
=yes
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.
$ac_ext >&5
7197 ac_cv_header_stdc
=no
7199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7201 if test $ac_cv_header_stdc = yes; then
7202 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7203 cat >conftest.
$ac_ext <<_ACEOF
7206 cat confdefs.h
>>conftest.
$ac_ext
7207 cat >>conftest.
$ac_ext <<_ACEOF
7208 /* end confdefs.h. */
7212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7213 $EGREP "memchr" >/dev
/null
2>&1; then
7216 ac_cv_header_stdc
=no
7222 if test $ac_cv_header_stdc = yes; then
7223 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7224 cat >conftest.
$ac_ext <<_ACEOF
7227 cat confdefs.h
>>conftest.
$ac_ext
7228 cat >>conftest.
$ac_ext <<_ACEOF
7229 /* end confdefs.h. */
7233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7234 $EGREP "free" >/dev
/null
2>&1; then
7237 ac_cv_header_stdc
=no
7243 if test $ac_cv_header_stdc = yes; then
7244 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7245 if test "$cross_compiling" = yes; then
7248 cat >conftest.
$ac_ext <<_ACEOF
7251 cat confdefs.h
>>conftest.
$ac_ext
7252 cat >>conftest.
$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7255 #if ((' ' & 0x0FF) == 0x020)
7256 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7257 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7259 # define ISLOWER(c) \
7260 (('a' <= (c) && (c) <= 'i') \
7261 || ('j' <= (c) && (c) <= 'r') \
7262 || ('s' <= (c) && (c) <= 'z'))
7263 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7266 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7271 for (i = 0; i < 256; i++)
7272 if (XOR (islower (i), ISLOWER (i))
7273 || toupper (i) != TOUPPER (i))
7278 rm -f conftest
$ac_exeext
7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7280 (eval $ac_link) 2>&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; }; then
7291 echo "$as_me: program exited with status $ac_status" >&5
7292 echo "$as_me: failed program was:" >&5
7293 sed 's/^/| /' conftest.
$ac_ext >&5
7296 ac_cv_header_stdc
=no
7298 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7302 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7303 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7304 if test $ac_cv_header_stdc = yes; then
7306 cat >>confdefs.h
<<\_ACEOF
7307 #define STDC_HEADERS 1
7313 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
7314 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7315 if test "${am_cv_langinfo_codeset+set}" = set; then
7316 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 cat >conftest.
$ac_ext <<_ACEOF
7321 cat confdefs.h
>>conftest.
$ac_ext
7322 cat >>conftest.
$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <langinfo.h>
7328 char* cs = nl_langinfo(CODESET);
7333 rm -f conftest.
$ac_objext conftest
$ac_exeext
7334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7335 (eval $ac_link) 2>conftest.er1
7337 grep -v '^ *+' conftest.er1
>conftest.err
7339 cat conftest.err
>&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); } &&
7342 { ac_try
='test -z "$ac_c_werror_flag"
7343 || test ! -s conftest.err'
7344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); }; } &&
7349 { ac_try
='test -s conftest$ac_exeext'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; }; then
7355 am_cv_langinfo_codeset
=yes
7357 echo "$as_me: failed program was:" >&5
7358 sed 's/^/| /' conftest.
$ac_ext >&5
7360 am_cv_langinfo_codeset
=no
7362 rm -f conftest.err conftest.
$ac_objext \
7363 conftest
$ac_exeext conftest.
$ac_ext
7366 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
7367 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7368 if test $am_cv_langinfo_codeset = yes; then
7370 cat >>confdefs.h
<<\_ACEOF
7371 #define HAVE_LANGINFO_CODESET 1
7376 # If we haven't got the data from the intl directory,
7377 # assume NLS is disabled.
7386 if test -f ..
/intl
/config.intl
; then
7387 . ..
/intl
/config.intl
7389 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7390 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7391 if test x
"$USE_NLS" != xyes
; then
7392 echo "$as_me:$LINENO: result: no" >&5
7393 echo "${ECHO_T}no" >&6
7395 echo "$as_me:$LINENO: result: yes" >&5
7396 echo "${ECHO_T}yes" >&6
7398 cat >>confdefs.h
<<\_ACEOF
7399 #define ENABLE_NLS 1
7403 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7404 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7405 # Look for .po and .gmo files in the source directory.
7408 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
7409 # If there aren't any .gmo files the shell will give us the
7410 # literal string "../path/to/srcdir/po/*.gmo" which has to be
7412 case "$cat" in *\
**)
7415 # The quadruple backslash is collapsed to a double backslash
7416 # by the backticks, then collapsed again by the double quotes,
7417 # leaving us with one backslash in the sed expression (right
7418 # before the dot that mustn't act as a wildcard).
7419 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
7420 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
7421 # The user is allowed to set LINGUAS to a list of languages to
7422 # install catalogs for. If it's empty that means "all of them."
7423 if test "x$LINGUAS" = x
; then
7424 CATALOGS
="$CATALOGS $cat"
7425 XLINGUAS
="$XLINGUAS $lang"
7427 case "$LINGUAS" in *$lang*)
7428 CATALOGS
="$CATALOGS $cat"
7429 XLINGUAS
="$XLINGUAS $lang"
7435 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7436 echo "${ECHO_T}$LINGUAS" >&6
7449 echo "$as_me:$LINENO: checking for uchar" >&5
7450 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
7451 if test "${gcc_cv_type_uchar+set}" = set; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7461 #include <sys/types.h>
7466 if ((uchar *)0) return 0;
7467 if (sizeof(uchar)) return 0;
7472 rm -f conftest.
$ac_objext
7473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7474 (eval $ac_compile) 2>conftest.er1
7476 grep -v '^ *+' conftest.er1
>conftest.err
7478 cat conftest.err
>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try
='test -z "$ac_c_werror_flag"
7482 || test ! -s conftest.err'
7483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); }; } &&
7488 { ac_try
='test -s conftest.$ac_objext'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; }; then
7494 ac_cv_type_uchar
=yes
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.
$ac_ext >&5
7501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7503 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
7504 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
7505 if test $ac_cv_type_uchar = yes; then
7507 cat >>confdefs.h
<<\_ACEOF
7508 #define HAVE_UCHAR 1
7514 if test "X$prefix" = "XNONE"; then
7515 acl_final_prefix
="$ac_default_prefix"
7517 acl_final_prefix
="$prefix"
7519 if test "X$exec_prefix" = "XNONE"; then
7520 acl_final_exec_prefix
='${prefix}'
7522 acl_final_exec_prefix
="$exec_prefix"
7524 acl_save_prefix
="$prefix"
7525 prefix
="$acl_final_prefix"
7526 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7527 prefix
="$acl_save_prefix"
7530 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7531 if test "${with_gnu_ld+set}" = set; then
7532 withval
="$with_gnu_ld"
7533 test "$withval" = no || with_gnu_ld
=yes
7537 # Prepare PATH_SEPARATOR.
7538 # The user is always right.
7539 if test "${PATH_SEPARATOR+set}" != set; then
7540 echo "#! /bin/sh" >conf$$.sh
7541 echo "exit 0" >>conf$$.sh
7543 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7551 if test "$GCC" = yes; then
7552 # Check if gcc -print-prog-name=ld gives a path.
7553 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7554 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7557 # gcc leaves a trailing carriage return which upsets mingw
7558 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7560 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7563 # Accept absolute paths.
7564 [\\/]* |
[A-Za-z
]:[\\/]*)
7565 re_direlt
='/[^/][^/]*/\.\./'
7566 # Canonicalize the path of ld
7567 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7568 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7569 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7571 test -z "$LD" && LD
="$ac_prog"
7574 # If it fails, then pretend we aren't using GCC.
7578 # If it is relative, then search for the first ld in PATH.
7582 elif test "$with_gnu_ld" = yes; then
7583 echo "$as_me:$LINENO: checking for GNU ld" >&5
7584 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7586 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7587 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7589 if test "${acl_cv_path_LD+set}" = set; then
7590 echo $ECHO_N "(cached) $ECHO_C" >&6
7592 if test -z "$LD"; then
7593 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7594 for ac_dir
in $PATH; do
7595 test -z "$ac_dir" && ac_dir
=.
7596 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7597 acl_cv_path_LD
="$ac_dir/$ac_prog"
7598 # Check to see if the program is GNU ld. I'd rather use --version,
7599 # but apparently some GNU ld's only accept -v.
7600 # Break only if it was the GNU/non-GNU ld that we prefer.
7601 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7602 test "$with_gnu_ld" != no
&& break
7604 test "$with_gnu_ld" != yes && break
7610 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7614 LD
="$acl_cv_path_LD"
7615 if test -n "$LD"; then
7616 echo "$as_me:$LINENO: result: $LD" >&5
7617 echo "${ECHO_T}$LD" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7622 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7623 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7624 { (exit 1); exit 1; }; }
7625 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7626 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7627 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7628 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7631 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7632 acl_cv_prog_gnu_ld
=yes
7634 acl_cv_prog_gnu_ld
=no
7637 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7638 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7639 with_gnu_ld
=$acl_cv_prog_gnu_ld
7643 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7644 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7645 if test "${acl_cv_rpath+set}" = set; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7649 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7650 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7656 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7657 echo "${ECHO_T}$acl_cv_rpath" >&6
7659 libext
="$acl_cv_libext"
7660 shlibext
="$acl_cv_shlibext"
7661 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7662 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7663 hardcode_direct
="$acl_cv_hardcode_direct"
7664 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7665 # Check whether --enable-rpath or --disable-rpath was given.
7666 if test "${enable_rpath+set}" = set; then
7667 enableval
="$enable_rpath"
7681 acl_save_prefix
="$prefix"
7682 prefix
="$acl_final_prefix"
7683 acl_save_exec_prefix
="$exec_prefix"
7684 exec_prefix
="$acl_final_exec_prefix"
7686 eval additional_includedir
=\"$includedir\"
7687 eval additional_libdir
=\"$libdir\"
7689 exec_prefix
="$acl_save_exec_prefix"
7690 prefix
="$acl_save_prefix"
7693 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7694 if test "${with_libiconv_prefix+set}" = set; then
7695 withval
="$with_libiconv_prefix"
7697 if test "X$withval" = "Xno"; then
7700 if test "X$withval" = "X"; then
7702 acl_save_prefix
="$prefix"
7703 prefix
="$acl_final_prefix"
7704 acl_save_exec_prefix
="$exec_prefix"
7705 exec_prefix
="$acl_final_exec_prefix"
7707 eval additional_includedir
=\"$includedir\"
7708 eval additional_libdir
=\"$libdir\"
7710 exec_prefix
="$acl_save_exec_prefix"
7711 prefix
="$acl_save_prefix"
7714 additional_includedir
="$withval/include"
7715 additional_libdir
="$withval/lib"
7725 names_already_handled
=
7726 names_next_round
='iconv '
7727 while test -n "$names_next_round"; do
7728 names_this_round
="$names_next_round"
7730 for name
in $names_this_round; do
7732 for n
in $names_already_handled; do
7733 if test "$n" = "$name"; then
7738 if test -z "$already_handled"; then
7739 names_already_handled
="$names_already_handled $name"
7740 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7741 eval value
=\"\
$HAVE_LIB$uppername\"
7742 if test -n "$value"; then
7743 if test "$value" = yes; then
7744 eval value
=\"\
$LIB$uppername\"
7745 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7746 eval value
=\"\
$LTLIB$uppername\"
7747 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7756 if test $use_additional = yes; then
7757 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7758 found_dir
="$additional_libdir"
7759 found_so
="$additional_libdir/lib$name.$shlibext"
7760 if test -f "$additional_libdir/lib$name.la"; then
7761 found_la
="$additional_libdir/lib$name.la"
7764 if test -f "$additional_libdir/lib$name.$libext"; then
7765 found_dir
="$additional_libdir"
7766 found_a
="$additional_libdir/lib$name.$libext"
7767 if test -f "$additional_libdir/lib$name.la"; then
7768 found_la
="$additional_libdir/lib$name.la"
7773 if test "X$found_dir" = "X"; then
7774 for x
in $LDFLAGS $LTLIBICONV; do
7776 acl_save_prefix
="$prefix"
7777 prefix
="$acl_final_prefix"
7778 acl_save_exec_prefix
="$exec_prefix"
7779 exec_prefix
="$acl_final_exec_prefix"
7781 exec_prefix
="$acl_save_exec_prefix"
7782 prefix
="$acl_save_prefix"
7786 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7787 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7789 found_so
="$dir/lib$name.$shlibext"
7790 if test -f "$dir/lib$name.la"; then
7791 found_la
="$dir/lib$name.la"
7794 if test -f "$dir/lib$name.$libext"; then
7796 found_a
="$dir/lib$name.$libext"
7797 if test -f "$dir/lib$name.la"; then
7798 found_la
="$dir/lib$name.la"
7804 if test "X$found_dir" != "X"; then
7809 if test "X$found_dir" != "X"; then
7810 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7811 if test "X$found_so" != "X"; then
7812 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7813 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7816 for x
in $ltrpathdirs; do
7817 if test "X$x" = "X$found_dir"; then
7822 if test -z "$haveit"; then
7823 ltrpathdirs
="$ltrpathdirs $found_dir"
7825 if test "$hardcode_direct" = yes; then
7826 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7828 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7829 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7831 for x
in $rpathdirs; do
7832 if test "X$x" = "X$found_dir"; then
7837 if test -z "$haveit"; then
7838 rpathdirs
="$rpathdirs $found_dir"
7842 for x
in $LDFLAGS $LIBICONV; do
7844 acl_save_prefix
="$prefix"
7845 prefix
="$acl_final_prefix"
7846 acl_save_exec_prefix
="$exec_prefix"
7847 exec_prefix
="$acl_final_exec_prefix"
7849 exec_prefix
="$acl_save_exec_prefix"
7850 prefix
="$acl_save_prefix"
7852 if test "X$x" = "X-L$found_dir"; then
7857 if test -z "$haveit"; then
7858 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7860 if test "$hardcode_minus_L" != no
; then
7861 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7863 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7869 if test "X$found_a" != "X"; then
7870 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7872 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7875 additional_includedir
=
7876 case "$found_dir" in
7878 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7879 additional_includedir
="$basedir/include"
7882 if test "X$additional_includedir" != "X"; then
7883 if test "X$additional_includedir" != "X/usr/include"; then
7885 if test "X$additional_includedir" = "X/usr/local/include"; then
7886 if test -n "$GCC"; then
7888 linux
*) haveit
=yes;;
7892 if test -z "$haveit"; then
7893 for x
in $CPPFLAGS $INCICONV; do
7895 acl_save_prefix
="$prefix"
7896 prefix
="$acl_final_prefix"
7897 acl_save_exec_prefix
="$exec_prefix"
7898 exec_prefix
="$acl_final_exec_prefix"
7900 exec_prefix
="$acl_save_exec_prefix"
7901 prefix
="$acl_save_prefix"
7903 if test "X$x" = "X-I$additional_includedir"; then
7908 if test -z "$haveit"; then
7909 if test -d "$additional_includedir"; then
7910 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7916 if test -n "$found_la"; then
7917 save_libdir
="$libdir"
7919 */* |
*\\*) .
"$found_la" ;;
7920 *) .
"./$found_la" ;;
7922 libdir
="$save_libdir"
7923 for dep
in $dependency_libs; do
7926 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7927 if test "X$additional_libdir" != "X/usr/lib"; then
7929 if test "X$additional_libdir" = "X/usr/local/lib"; then
7930 if test -n "$GCC"; then
7932 linux
*) haveit
=yes;;
7936 if test -z "$haveit"; then
7938 for x
in $LDFLAGS $LIBICONV; do
7940 acl_save_prefix
="$prefix"
7941 prefix
="$acl_final_prefix"
7942 acl_save_exec_prefix
="$exec_prefix"
7943 exec_prefix
="$acl_final_exec_prefix"
7945 exec_prefix
="$acl_save_exec_prefix"
7946 prefix
="$acl_save_prefix"
7948 if test "X$x" = "X-L$additional_libdir"; then
7953 if test -z "$haveit"; then
7954 if test -d "$additional_libdir"; then
7955 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7959 for x
in $LDFLAGS $LTLIBICONV; do
7961 acl_save_prefix
="$prefix"
7962 prefix
="$acl_final_prefix"
7963 acl_save_exec_prefix
="$exec_prefix"
7964 exec_prefix
="$acl_final_exec_prefix"
7966 exec_prefix
="$acl_save_exec_prefix"
7967 prefix
="$acl_save_prefix"
7969 if test "X$x" = "X-L$additional_libdir"; then
7974 if test -z "$haveit"; then
7975 if test -d "$additional_libdir"; then
7976 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7983 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7984 if test "$enable_rpath" != no
; then
7986 for x
in $rpathdirs; do
7987 if test "X$x" = "X$dir"; then
7992 if test -z "$haveit"; then
7993 rpathdirs
="$rpathdirs $dir"
7996 for x
in $ltrpathdirs; do
7997 if test "X$x" = "X$dir"; then
8002 if test -z "$haveit"; then
8003 ltrpathdirs
="$ltrpathdirs $dir"
8008 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
8011 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
8014 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
8015 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
8021 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
8022 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
8028 if test "X$rpathdirs" != "X"; then
8029 if test -n "$hardcode_libdir_separator"; then
8031 for found_dir
in $rpathdirs; do
8032 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8034 acl_save_libdir
="$libdir"
8036 eval flag
=\"$hardcode_libdir_flag_spec\"
8037 libdir
="$acl_save_libdir"
8038 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8040 for found_dir
in $rpathdirs; do
8041 acl_save_libdir
="$libdir"
8043 eval flag
=\"$hardcode_libdir_flag_spec\"
8044 libdir
="$acl_save_libdir"
8045 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8049 if test "X$ltrpathdirs" != "X"; then
8050 for found_dir
in $ltrpathdirs; do
8051 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8061 am_save_CPPFLAGS
="$CPPFLAGS"
8063 for element
in $INCICONV; do
8065 for x
in $CPPFLAGS; do
8067 acl_save_prefix
="$prefix"
8068 prefix
="$acl_final_prefix"
8069 acl_save_exec_prefix
="$exec_prefix"
8070 exec_prefix
="$acl_final_exec_prefix"
8072 exec_prefix
="$acl_save_exec_prefix"
8073 prefix
="$acl_save_prefix"
8075 if test "X$x" = "X$element"; then
8080 if test -z "$haveit"; then
8081 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8086 echo "$as_me:$LINENO: checking for iconv" >&5
8087 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8088 if test "${am_cv_func_iconv+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 am_cv_func_iconv
="no, consider installing GNU libiconv"
8094 cat >conftest.
$ac_ext <<_ACEOF
8097 cat confdefs.h
>>conftest.
$ac_ext
8098 cat >>conftest.
$ac_ext <<_ACEOF
8099 /* end confdefs.h. */
8105 iconv_t cd = iconv_open("","");
8106 iconv(cd,NULL,NULL,NULL,NULL);
8112 rm -f conftest.
$ac_objext conftest
$ac_exeext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8114 (eval $ac_link) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1
>conftest.err
8118 cat conftest.err
>&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try
='test -z "$ac_c_werror_flag"
8122 || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try
='test -s conftest$ac_exeext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 am_cv_func_iconv
=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.
$ac_ext >&5
8140 rm -f conftest.err conftest.
$ac_objext \
8141 conftest
$ac_exeext conftest.
$ac_ext
8142 if test "$am_cv_func_iconv" != yes; then
8143 am_save_LIBS
="$LIBS"
8144 LIBS
="$LIBS $LIBICONV"
8145 cat >conftest.
$ac_ext <<_ACEOF
8148 cat confdefs.h
>>conftest.
$ac_ext
8149 cat >>conftest.
$ac_ext <<_ACEOF
8150 /* end confdefs.h. */
8156 iconv_t cd = iconv_open("","");
8157 iconv(cd,NULL,NULL,NULL,NULL);
8163 rm -f conftest.
$ac_objext conftest
$ac_exeext
8164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8165 (eval $ac_link) 2>conftest.er1
8167 grep -v '^ *+' conftest.er1
>conftest.err
8169 cat conftest.err
>&5
8170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8171 (exit $ac_status); } &&
8172 { ac_try
='test -z "$ac_c_werror_flag"
8173 || test ! -s conftest.err'
8174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); }; } &&
8179 { ac_try
='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8186 am_cv_func_iconv
=yes
8188 echo "$as_me: failed program was:" >&5
8189 sed 's/^/| /' conftest.
$ac_ext >&5
8192 rm -f conftest.err conftest.
$ac_objext \
8193 conftest
$ac_exeext conftest.
$ac_ext
8194 LIBS
="$am_save_LIBS"
8198 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8199 echo "${ECHO_T}$am_cv_func_iconv" >&6
8200 if test "$am_cv_func_iconv" = yes; then
8202 cat >>confdefs.h
<<\_ACEOF
8203 #define HAVE_ICONV 1
8207 if test "$am_cv_lib_iconv" = yes; then
8208 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8209 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8210 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8211 echo "${ECHO_T}$LIBICONV" >&6
8213 CPPFLAGS
="$am_save_CPPFLAGS"
8220 if test "$am_cv_func_iconv" = yes; then
8221 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8222 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8223 if test "${am_cv_proto_iconv+set}" = set; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 cat >conftest.
$ac_ext <<_ACEOF
8230 cat confdefs.h
>>conftest.
$ac_ext
8231 cat >>conftest.
$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8240 #if defined(__STDC__) || defined(__cplusplus)
8241 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8254 rm -f conftest.
$ac_objext
8255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8256 (eval $ac_compile) 2>conftest.er1
8258 grep -v '^ *+' conftest.er1
>conftest.err
8260 cat conftest.err
>&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); } &&
8263 { ac_try
='test -z "$ac_c_werror_flag"
8264 || test ! -s conftest.err'
8265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; } &&
8270 { ac_try
='test -s conftest.$ac_objext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 am_cv_proto_iconv_arg1
=""
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.
$ac_ext >&5
8281 am_cv_proto_iconv_arg1
="const"
8283 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8284 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);"
8287 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8288 echo "$as_me:$LINENO: result: ${ac_t:-
8289 }$am_cv_proto_iconv" >&5
8290 echo "${ECHO_T}${ac_t:-
8291 }$am_cv_proto_iconv" >&6
8293 cat >>confdefs.h
<<_ACEOF
8294 #define ICONV_CONST $am_cv_proto_iconv_arg1
8300 # More defines and substitutions.
8301 PACKAGE
="$PACKAGE_TARNAME"
8303 cat >>confdefs.h
<<_ACEOF
8304 #define PACKAGE "$PACKAGE"
8309 if test "x$enable_nls" != xno
; then
8310 USED_CATALOGS
='$(CATALOGS)'
8316 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8317 if test "${enable_maintainer_mode+set}" = set; then
8318 enableval
="$enable_maintainer_mode"
8321 enable_maintainer_mode
=no
8324 if test "x$enable_maintainer_mode" = xno
; then
8331 # Check whether --enable-checking or --disable-checking was given.
8332 if test "${enable_checking+set}" = set; then
8333 enableval
="$enable_checking"
8339 if test $enable_checking != no
; then
8341 cat >>confdefs.h
<<\_ACEOF
8342 #define ENABLE_CHECKING 1
8351 arm
*-*-symbianelf* | \
8355 i
[34567]86-*-darwin* | \
8356 i
[34567]86-*-solaris2.1
[0-9]* | \
8364 sh
[123456789lbe
]*-*-* | sh-
*-*)
8365 need_64bit_hwint
=yes ;;
8366 i
[34567]86-*-linux*)
8367 if test "x$enable_targets" = xall
; then
8368 need_64bit_hwint
=yes
8374 need_64bit_hwint
=no
;;
8377 case $need_64bit_hwint:$ac_cv_sizeof_long in
8378 *:8 | no
:*) host_wide_int
=long
;;
8379 *) host_wide_int
='long long' ;;
8384 cat >>confdefs.h
<<_ACEOF
8385 #define HOST_WIDE_INT $host_wide_int
8391 ac_config_headers
="$ac_config_headers config.h:config.in"
8393 ac_config_files
="$ac_config_files Makefile"
8395 cat >confcache
<<\_ACEOF
8396 # This file is a shell script that caches the results of configure
8397 # tests run on this system so they can be shared between configure
8398 # scripts and configure runs, see configure's option --config-cache.
8399 # It is not useful on other systems. If it contains results you don't
8400 # want to keep, you may remove or edit it.
8402 # config.status only pays attention to the cache file if you give it
8403 # the --recheck option to rerun configure.
8405 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8406 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8411 # The following way of writing the cache mishandles newlines in values,
8412 # but we know of no workaround that is simple, portable, and efficient.
8413 # So, don't put newlines in cache variables' values.
8414 # Ultrix sh set writes to stderr and can't be redirected directly,
8415 # and sets the high bit in the cache file unless we assign to the vars.
8418 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8420 # `set' does not quote correctly, so add quotes (double-quote
8421 # substitution turns \\\\ into \\, and sed turns \\ into \).
8424 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8427 # `set' quotes correctly as required by POSIX, so do not add quotes.
8429 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8438 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8440 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8441 if test -w $cache_file; then
8442 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8443 cat confcache
>$cache_file
8445 echo "not updating unwritable cache $cache_file"
8450 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8451 # Let make expand exec_prefix.
8452 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8454 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8455 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8456 # trailing colons and then remove the whole line if VPATH becomes empty
8457 # (actually we leave an empty line to preserve line numbers).
8458 if test "x$srcdir" = x.
; then
8459 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8460 s/:*\$(srcdir):*/:/;
8461 s/:*\${srcdir}:*/:/;
8463 s/^\([^=]*=[ ]*\):*/\1/;
8469 DEFS
=-DHAVE_CONFIG_H
8473 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8474 # 1. Remove the extension, and $U if already installed.
8475 ac_i
=`echo "$ac_i" |
8476 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8478 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8479 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8483 LTLIBOBJS
=$ac_ltlibobjs
8487 : ${CONFIG_STATUS=./config.status}
8488 ac_clean_files_save
=$ac_clean_files
8489 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8490 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8491 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8492 cat >$CONFIG_STATUS <<_ACEOF
8494 # Generated by $as_me.
8495 # Run this file to recreate the current configuration.
8496 # Compiler output produced by configure, useful for debugging
8497 # configure, is in config.log if it exists.
8502 SHELL=\${CONFIG_SHELL-$SHELL}
8505 cat >>$CONFIG_STATUS <<\_ACEOF
8506 ## --------------------- ##
8507 ## M4sh Initialization. ##
8508 ## --------------------- ##
8510 # Be Bourne compatible
8511 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8514 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8515 # is contrary to our usage. Disable this feature.
8516 alias -g '${1+"$@"}'='"$@"'
8517 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8520 DUALCASE
=1; export DUALCASE
# for MKS sh
8522 # Support unset when possible.
8523 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8530 # Work around bugs in pre-3.0 UWIN ksh.
8531 $as_unset ENV MAIL MAILPATH
8538 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8539 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8540 LC_TELEPHONE LC_TIME
8542 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8543 eval $as_var=C
; export $as_var
8549 # Required to use basename.
8550 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8556 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8557 as_basename
=basename
8563 # Name of the executable.
8564 as_me
=`$as_basename "$0" ||
8565 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8566 X"$0" : 'X\(//\)$' \| \
8567 X"$0" : 'X\(/\)$' \| \
8568 . : '\(.\)' 2>/dev/null ||
8570 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8571 /^X\/\(\/\/\)$/{ s//\1/; q; }
8572 /^X\/\(\/\).*/{ s//\1/; q; }
8576 # PATH needs CR, and LINENO needs CR and PATH.
8577 # Avoid depending upon Character Ranges.
8578 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8579 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8580 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8581 as_cr_digits
='0123456789'
8582 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8584 # The user is always right.
8585 if test "${PATH_SEPARATOR+set}" != set; then
8586 echo "#! /bin/sh" >conf$$.sh
8587 echo "exit 0" >>conf$$.sh
8589 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8600 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8601 test "x$as_lineno_1" != "x$as_lineno_2" &&
8602 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8603 # Find who we are. Look in the path if we contain no path at all
8606 *[\\/]* ) as_myself
=$0 ;;
8607 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8611 test -z "$as_dir" && as_dir
=.
8612 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8617 # We did not find ourselves, most probably we were run as `sh COMMAND'
8618 # in which case we are not to be found in the path.
8619 if test "x$as_myself" = x
; then
8622 if test ! -f "$as_myself"; then
8623 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8624 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8625 { (exit 1); exit 1; }; }
8627 case $CONFIG_SHELL in
8629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8630 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8633 test -z "$as_dir" && as_dir
=.
8634 for as_base
in sh bash ksh sh5
; do
8637 if ("$as_dir/$as_base" -c '
8640 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8641 test "x$as_lineno_1" != "x$as_lineno_2" &&
8642 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8643 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8644 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8645 CONFIG_SHELL
=$as_dir/$as_base
8647 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8655 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8656 # uniformly replaced by the line number. The first 'sed' inserts a
8657 # line-number line before each line; the second 'sed' does the real
8658 # work. The second script uses 'N' to pair each line-number line
8659 # with the numbered line, and appends trailing '-' during
8660 # substitution so that $LINENO is not a special case at line end.
8661 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8662 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8663 sed '=' <$as_myself |
8668 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8671 s,^['$as_cr_digits']*\n,,
8673 chmod +x
$as_me.lineno ||
8674 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8675 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8676 { (exit 1); exit 1; }; }
8678 # Don't try to exec as it changes $[0], causing all sort of problems
8679 # (the dirname of $[0] is not the place where we might find the
8680 # original and so on. Autoconf is especially sensible to this).
8682 # Exit status is that of the last command.
8687 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8688 *c
*,-n*) ECHO_N
= ECHO_C
='
8690 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8691 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8694 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8700 rm -f conf$$ conf$$.exe conf$$.
file
8702 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8703 # We could just check for DJGPP; but this test a) works b) is more generic
8704 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8705 if test -f conf$$.exe
; then
8706 # Don't use ln at all; we don't have any links
8711 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8716 rm -f conf$$ conf$$.exe conf$$.
file
8718 if mkdir
-p .
2>/dev
/null
; then
8721 test -d .
/-p && rmdir .
/-p
8725 as_executable_p
="test -f"
8727 # Sed expression to map a string onto a valid CPP name.
8728 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8730 # Sed expression to map a string onto a valid variable name.
8731 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8735 # We need space, tab and new line, in precisely that order.
8745 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8746 # report actual input values of CONFIG_FILES etc. instead of their
8747 # values after options handling. Logging --version etc. is OK.
8751 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8752 ## Running $as_me. ##
8757 This file was extended by cpplib $as_me , which was
8758 generated by GNU Autoconf 2.59. Invocation command line was
8760 CONFIG_FILES = $CONFIG_FILES
8761 CONFIG_HEADERS = $CONFIG_HEADERS
8762 CONFIG_LINKS = $CONFIG_LINKS
8763 CONFIG_COMMANDS = $CONFIG_COMMANDS
8767 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8771 # Files that config.status was made for.
8772 if test -n "$ac_config_files"; then
8773 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8776 if test -n "$ac_config_headers"; then
8777 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8780 if test -n "$ac_config_links"; then
8781 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8784 if test -n "$ac_config_commands"; then
8785 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8788 cat >>$CONFIG_STATUS <<\_ACEOF
8791 \`$as_me' instantiates files from templates according to the
8792 current configuration.
8794 Usage: $0 [OPTIONS] [FILE]...
8796 -h, --help print this help, then exit
8797 -V, --version print version number, then exit
8798 -q, --quiet do not print progress messages
8799 -d, --debug don't remove temporary files
8800 --recheck update $as_me by reconfiguring in the same conditions
8801 --file=FILE[:TEMPLATE]
8802 instantiate the configuration file FILE
8803 --header=FILE[:TEMPLATE]
8804 instantiate the configuration header FILE
8806 Configuration files:
8809 Configuration headers:
8812 Configuration commands:
8815 Report bugs to <bug-autoconf@gnu.org>."
8818 cat >>$CONFIG_STATUS <<_ACEOF
8820 cpplib config.status
8821 configured by $0, generated by GNU Autoconf 2.59,
8822 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8824 Copyright (C) 2003 Free Software Foundation, Inc.
8825 This config.status script is free software; the Free Software Foundation
8826 gives unlimited permission to copy, distribute and modify it."
8831 cat >>$CONFIG_STATUS <<\_ACEOF
8832 # If no file are specified by the user, then we need to provide default
8833 # value. By we need to know if files were specified by the user.
8839 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8840 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8848 *) # This is not an option, so the user has probably given explicit
8851 ac_need_defaults
=false
;;
8855 # Handling of the options.
8857 cat >>$CONFIG_STATUS <<\_ACEOF
8858 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8860 --version |
--vers* |
-V )
8861 echo "$ac_cs_version"; exit 0 ;;
8863 # Conflict between --help and --header
8864 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8865 Try \`$0 --help' for more information." >&5
8866 echo "$as_me: error: ambiguous option: $1
8867 Try \`$0 --help' for more information." >&2;}
8868 { (exit 1); exit 1; }; };;
8869 --help |
--hel |
-h )
8870 echo "$ac_cs_usage"; exit 0 ;;
8871 --debug |
--d* |
-d )
8873 --file |
--fil |
--fi |
--f )
8875 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8876 ac_need_defaults
=false
;;
8877 --header |
--heade |
--head |
--hea )
8879 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8880 ac_need_defaults
=false
;;
8881 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8882 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8886 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8887 Try \`$0 --help' for more information." >&5
8888 echo "$as_me: error: unrecognized option: $1
8889 Try \`$0 --help' for more information." >&2;}
8890 { (exit 1); exit 1; }; } ;;
8892 *) ac_config_targets
="$ac_config_targets $1" ;;
8898 ac_configure_extra_args
=
8900 if $ac_cs_silent; then
8902 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8906 cat >>$CONFIG_STATUS <<_ACEOF
8907 if \$ac_cs_recheck; then
8908 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8909 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8914 cat >>$CONFIG_STATUS <<_ACEOF
8916 # INIT-COMMANDS section.
8919 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8925 cat >>$CONFIG_STATUS <<\_ACEOF
8926 for ac_config_target
in $ac_config_targets
8928 case "$ac_config_target" in
8929 # Handling of arguments.
8930 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8931 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8932 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8933 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8934 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8935 { (exit 1); exit 1; }; };;
8939 # If the user did not use the arguments to specify the items to instantiate,
8940 # then the envvar interface is used. Set only those that are not.
8941 # We use the long form for the default assignment because of an extremely
8942 # bizarre bug on SunOS 4.1.3.
8943 if $ac_need_defaults; then
8944 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8945 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8946 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8949 # Have a temporary directory for convenience. Make it in the build tree
8950 # simply because there is no reason to put it here, and in addition,
8951 # creating and moving files from /tmp can sometimes cause problems.
8952 # Create a temporary directory, and hook for its removal unless debugging.
8955 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8956 trap '{ (exit 1); exit 1; }' 1 2 13 15
8959 # Create a (secure) tmp directory for tmp files.
8962 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8963 test -n "$tmp" && test -d "$tmp"
8966 tmp
=.
/confstat$$
-$RANDOM
8967 (umask 077 && mkdir
$tmp)
8970 echo "$me: cannot create a temporary directory in ." >&2
8971 { (exit 1); exit 1; }
8976 cat >>$CONFIG_STATUS <<_ACEOF
8979 # CONFIG_FILES section.
8982 # No need to generate the scripts if there are no CONFIG_FILES.
8983 # This happens for instance when ./config.status config.h
8984 if test -n "\$CONFIG_FILES"; then
8985 # Protect against being on the right side of a sed subst in config.status.
8986 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8987 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8988 s,@SHELL@,$SHELL,;t t
8989 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8990 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8991 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8992 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8993 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8994 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8995 s,@exec_prefix@,$exec_prefix,;t t
8996 s,@prefix@,$prefix,;t t
8997 s,@program_transform_name@,$program_transform_name,;t t
8998 s,@bindir@,$bindir,;t t
8999 s,@sbindir@,$sbindir,;t t
9000 s,@libexecdir@,$libexecdir,;t t
9001 s,@datadir@,$datadir,;t t
9002 s,@sysconfdir@,$sysconfdir,;t t
9003 s,@sharedstatedir@,$sharedstatedir,;t t
9004 s,@localstatedir@,$localstatedir,;t t
9005 s,@libdir@,$libdir,;t t
9006 s,@includedir@,$includedir,;t t
9007 s,@oldincludedir@,$oldincludedir,;t t
9008 s,@infodir@,$infodir,;t t
9009 s,@mandir@,$mandir,;t t
9010 s,@build_alias@,$build_alias,;t t
9011 s,@host_alias@,$host_alias,;t t
9012 s,@target_alias@,$target_alias,;t t
9014 s,@ECHO_C@,$ECHO_C,;t t
9015 s,@ECHO_N@,$ECHO_N,;t t
9016 s,@ECHO_T@,$ECHO_T,;t t
9018 s,@build@,$build,;t t
9019 s,@build_cpu@,$build_cpu,;t t
9020 s,@build_vendor@,$build_vendor,;t t
9021 s,@build_os@,$build_os,;t t
9023 s,@host_cpu@,$host_cpu,;t t
9024 s,@host_vendor@,$host_vendor,;t t
9025 s,@host_os@,$host_os,;t t
9026 s,@target@,$target,;t t
9027 s,@target_cpu@,$target_cpu,;t t
9028 s,@target_vendor@,$target_vendor,;t t
9029 s,@target_os@,$target_os,;t t
9030 s,@SET_MAKE@,$SET_MAKE,;t t
9031 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9032 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9033 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9035 s,@CFLAGS@,$CFLAGS,;t t
9036 s,@LDFLAGS@,$LDFLAGS,;t t
9037 s,@CPPFLAGS@,$CPPFLAGS,;t t
9038 s,@ac_ct_CC@,$ac_ct_CC,;t t
9039 s,@EXEEXT@,$EXEEXT,;t t
9040 s,@OBJEXT@,$OBJEXT,;t t
9041 s,@RANLIB@,$RANLIB,;t t
9042 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9043 s,@ACLOCAL@,$ACLOCAL,;t t
9044 s,@AUTOCONF@,$AUTOCONF,;t t
9045 s,@AUTOHEADER@,$AUTOHEADER,;t t
9046 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9047 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
9048 s,@WERROR@,$WERROR,;t t
9049 s,@am__leading_dot@,$am__leading_dot,;t t
9050 s,@DEPDIR@,$DEPDIR,;t t
9051 s,@CCDEPMODE@,$CCDEPMODE,;t t
9053 s,@EGREP@,$EGREP,;t t
9054 s,@LIBOBJS@,$LIBOBJS,;t t
9055 s,@ALLOCA@,$ALLOCA,;t t
9056 s,@USE_NLS@,$USE_NLS,;t t
9057 s,@LIBINTL@,$LIBINTL,;t t
9058 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
9059 s,@INCINTL@,$INCINTL,;t t
9060 s,@XGETTEXT@,$XGETTEXT,;t t
9061 s,@GMSGFMT@,$GMSGFMT,;t t
9062 s,@POSUB@,$POSUB,;t t
9063 s,@CATALOGS@,$CATALOGS,;t t
9064 s,@DATADIRNAME@,$DATADIRNAME,;t t
9065 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9066 s,@GENCAT@,$GENCAT,;t t
9067 s,@CATOBJEXT@,$CATOBJEXT,;t t
9068 s,@LIBICONV@,$LIBICONV,;t t
9069 s,@LTLIBICONV@,$LTLIBICONV,;t t
9070 s,@PACKAGE@,$PACKAGE,;t t
9071 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
9072 s,@MAINT@,$MAINT,;t t
9073 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9078 cat >>$CONFIG_STATUS <<\_ACEOF
9079 # Split the substitutions into bite-sized pieces for seds with
9080 # small command number limits, like on Digital OSF/1 and HP-UX.
9082 ac_sed_frag
=1 # Number of current file.
9083 ac_beg
=1 # First line for current file.
9084 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9087 while $ac_more_lines; do
9088 if test $ac_beg -gt 1; then
9089 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9091 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9093 if test ! -s $tmp/subs.frag
; then
9096 # The purpose of the label and of the branching condition is to
9097 # speed up the sed processing (if there are no `@' at all, there
9098 # is no need to browse any of the substitutions).
9099 # These are the two extra sed commands mentioned above.
9101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9102 if test -z "$ac_sed_cmds"; then
9103 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9105 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9107 ac_sed_frag
=`expr $ac_sed_frag + 1`
9109 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9112 if test -z "$ac_sed_cmds"; then
9115 fi # test -n "$CONFIG_FILES"
9118 cat >>$CONFIG_STATUS <<\_ACEOF
9119 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9120 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9122 - |
*:- |
*:-:* ) # input from stdin
9124 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9125 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9126 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9127 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9128 * ) ac_file_in
=$ac_file.
in ;;
9131 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9132 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9133 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9134 X"$ac_file" : 'X\(//\)[^/]' \| \
9135 X"$ac_file" : 'X\(//\)$' \| \
9136 X"$ac_file" : 'X\(/\)' \| \
9137 . : '\(.\)' 2>/dev/null ||
9139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9141 /^X\(\/\/\)$/{ s//\1/; q; }
9142 /^X\(\/\).*/{ s//\1/; q; }
9144 { if $as_mkdir_p; then
9149 while test ! -d "$as_dir"; do
9150 as_dirs
="$as_dir $as_dirs"
9151 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9153 X"$as_dir" : 'X\(//\)[^/]' \| \
9154 X"$as_dir" : 'X\(//\)$' \| \
9155 X"$as_dir" : 'X\(/\)' \| \
9156 . : '\(.\)' 2>/dev/null ||
9158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9159 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9160 /^X\(\/\/\)$/{ s//\1/; q; }
9161 /^X\(\/\).*/{ s//\1/; q; }
9164 test ! -n "$as_dirs" || mkdir
$as_dirs
9165 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9166 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9167 { (exit 1); exit 1; }; }; }
9171 if test "$ac_dir" != .
; then
9172 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9173 # A "../" for each directory in $ac_dir_suffix.
9174 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9176 ac_dir_suffix
= ac_top_builddir
=
9180 .
) # No --srcdir option. We are building in place.
9182 if test -z "$ac_top_builddir"; then
9185 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9187 [\\/]* | ?
:[\\/]* ) # Absolute path.
9188 ac_srcdir
=$srcdir$ac_dir_suffix;
9189 ac_top_srcdir
=$srcdir ;;
9191 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9192 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9195 # Do not use `cd foo && pwd` to compute absolute paths, because
9196 # the directories may not exist.
9198 .
) ac_abs_builddir
="$ac_dir";;
9201 .
) ac_abs_builddir
=`pwd`;;
9202 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9203 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9206 case $ac_abs_builddir in
9207 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9209 case ${ac_top_builddir}.
in
9210 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9211 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9212 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9215 case $ac_abs_builddir in
9216 .
) ac_abs_srcdir
=$ac_srcdir;;
9219 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9220 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9221 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9224 case $ac_abs_builddir in
9225 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9227 case $ac_top_srcdir in
9228 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9229 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9230 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9236 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9237 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9240 if test x
"$ac_file" != x-
; then
9241 { echo "$as_me:$LINENO: creating $ac_file" >&5
9242 echo "$as_me: creating $ac_file" >&6;}
9245 # Let's still pretend it is `configure' which instantiates (i.e., don't
9246 # use $as_me), people would be surprised to read:
9247 # /* config.h. Generated by config.status. */
9248 if test x
"$ac_file" = x-
; then
9251 configure_input
="$ac_file. "
9253 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9254 sed 's,.*/,,'` by configure."
9256 # First look for the input files in the build tree, otherwise in the
9258 ac_file_inputs
=`IFS=:
9259 for f in $ac_file_in; do
9261 -) echo $tmp/stdin ;;
9263 # Absolute (can't be DOS-style, as IFS=:)
9264 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9265 echo "$as_me: error: cannot find input file: $f" >&2;}
9266 { (exit 1); exit 1; }; }
9269 if test -f "$f"; then
9272 elif test -f "$srcdir/$f"; then
9277 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9278 echo "$as_me: error: cannot find input file: $f" >&2;}
9279 { (exit 1); exit 1; }; }
9282 done` ||
{ (exit 1); exit 1; }
9284 cat >>$CONFIG_STATUS <<_ACEOF
9288 cat >>$CONFIG_STATUS <<\_ACEOF
9290 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9291 s
,@configure_input@
,$configure_input,;t t
9292 s
,@srcdir@
,$ac_srcdir,;t t
9293 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9294 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9295 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9296 s
,@builddir@
,$ac_builddir,;t t
9297 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9298 s
,@top_builddir@
,$ac_top_builddir,;t t
9299 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9300 s
,@INSTALL@
,$ac_INSTALL,;t t
9301 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9303 if test x"$ac_file" != x-; then
9304 mv $tmp/out $ac_file
9312 cat >>$CONFIG_STATUS <<\_ACEOF
9315 # CONFIG_HEADER section.
9318 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9319 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9321 # ac_d sets the value in "#define NAME VALUE" lines.
9322 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9323 ac_dB
='[ ].*$,\1#\2'
9326 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9327 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9328 ac_uB
='$,\1#\2define\3'
9332 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9333 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9335 - |
*:- |
*:-:* ) # input from stdin
9337 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9338 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9339 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9340 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9341 * ) ac_file_in
=$ac_file.
in ;;
9344 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9345 echo "$as_me: creating $ac_file" >&6;}
9347 # First look for the input files in the build tree, otherwise in the
9349 ac_file_inputs
=`IFS=:
9350 for f in $ac_file_in; do
9352 -) echo $tmp/stdin ;;
9354 # Absolute (can't be DOS-style, as IFS=:)
9355 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9356 echo "$as_me: error: cannot find input file: $f" >&2;}
9357 { (exit 1); exit 1; }; }
9358 # Do quote $f, to prevent DOS paths from being IFS'd.
9361 if test -f "$f"; then
9364 elif test -f "$srcdir/$f"; then
9369 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9370 echo "$as_me: error: cannot find input file: $f" >&2;}
9371 { (exit 1); exit 1; }; }
9374 done` ||
{ (exit 1); exit 1; }
9375 # Remove the trailing spaces.
9376 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9380 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9381 # `conftest.undefs', that substitutes the proper values into
9382 # config.h.in to produce config.h. The first handles `#define'
9383 # templates, and the second `#undef' templates.
9384 # And first: Protect against being on the right side of a sed subst in
9385 # config.status. Protect against being in an unquoted here document
9387 rm -f conftest.defines conftest.undefs
9388 # Using a here document instead of a string reduces the quoting nightmare.
9389 # Putting comments in sed scripts is not portable.
9391 # `end' is used to avoid that the second main sed command (meant for
9392 # 0-ary CPP macros) applies to n-ary macro definitions.
9393 # See the Autoconf documentation for `clear'.
9394 cat >confdef2sed.
sed <<\_ACEOF
9399 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9401 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9404 # If some macros were called several times there might be several times
9405 # the same #defines, which is useless. Nevertheless, we may not want to
9406 # sort them, since we want the *last* AC-DEFINE to be honored.
9407 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9408 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9409 rm -f confdef2sed.sed
9411 # This sed command replaces #undef with comments. This is necessary, for
9412 # example, in the case of _POSIX_SOURCE, which is predefined and required
9413 # on some systems where configure will not decide to define it.
9414 cat >>conftest.undefs <<\_ACEOF
9415 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9418 # Break up conftest.defines because some shells have a limit on the size
9419 # of here documents, and old seds have small limits too (100 cmds).
9420 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9421 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9422 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9423 echo ' :' >>$CONFIG_STATUS
9425 while grep . conftest.defines >/dev/null
9427 # Write a limited-size here document to $tmp/defines.sed.
9428 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9429 # Speed up: don't consider the non `#define' lines.
9430 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9431 # Work around the forget-to-reset-the-flag bug.
9432 echo 't clr' >>$CONFIG_STATUS
9433 echo ': clr' >>$CONFIG_STATUS
9434 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9436 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9440 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9441 rm -f conftest.defines
9442 mv conftest.
tail conftest.defines
9444 rm -f conftest.defines
9445 echo ' fi # grep' >>$CONFIG_STATUS
9446 echo >>$CONFIG_STATUS
9448 # Break up conftest.undefs because some shells have a limit on the size
9449 # of here documents, and old seds have small limits too (100 cmds).
9450 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9452 while grep . conftest.undefs
>/dev
/null
9454 # Write a limited-size here document to $tmp/undefs.sed.
9455 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9456 # Speed up: don't consider the non
`#undef'
9457 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9458 # Work around the forget-to-reset-the-flag bug.
9459 echo 't clr' >>$CONFIG_STATUS
9460 echo ': clr' >>$CONFIG_STATUS
9461 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9463 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9467 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9468 rm -f conftest.undefs
9469 mv conftest.tail conftest.undefs
9471 rm -f conftest.undefs
9473 cat >>$CONFIG_STATUS <<\_ACEOF
9474 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9475 # use $as_me), people would be surprised to read:
9476 # /* config.h. Generated by config.status. */
9477 if test x
"$ac_file" = x-
; then
9478 echo "/* Generated by configure. */" >$tmp/config.h
9480 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9482 cat $tmp/in >>$tmp/config.h
9484 if test x
"$ac_file" != x-
; then
9485 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9486 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9487 echo "$as_me: $ac_file is unchanged" >&6;}
9489 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9491 X"$ac_file" : 'X\(//\)[^/]' \| \
9492 X"$ac_file" : 'X\(//\)$' \| \
9493 X"$ac_file" : 'X\(/\)' \| \
9494 . : '\(.\)' 2>/dev/null ||
9496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9498 /^X\(\/\/\)$/{ s//\1/; q; }
9499 /^X\(\/\).*/{ s//\1/; q; }
9501 { if $as_mkdir_p; then
9506 while test ! -d "$as_dir"; do
9507 as_dirs
="$as_dir $as_dirs"
9508 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9509 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9510 X"$as_dir" : 'X\(//\)[^/]' \| \
9511 X"$as_dir" : 'X\(//\)$' \| \
9512 X"$as_dir" : 'X\(/\)' \| \
9513 . : '\(.\)' 2>/dev/null ||
9515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9517 /^X\(\/\/\)$/{ s//\1/; q; }
9518 /^X\(\/\).*/{ s//\1/; q; }
9521 test ! -n "$as_dirs" || mkdir
$as_dirs
9522 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9523 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9524 { (exit 1); exit 1; }; }; }
9527 mv $tmp/config.h
$ac_file
9533 # Run the commands associated with the file.
9535 config.h
) echo timestamp
> stamp-h1
;;
9539 cat >>$CONFIG_STATUS <<\_ACEOF
9542 # CONFIG_COMMANDS section.
9544 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9545 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9546 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9547 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9548 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9549 X"$ac_dest" : 'X\(//\)[^/]' \| \
9550 X"$ac_dest" : 'X\(//\)$' \| \
9551 X"$ac_dest" : 'X\(/\)' \| \
9552 . : '\(.\)' 2>/dev/null ||
9554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9555 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9556 /^X\(\/\/\)$/{ s//\1/; q; }
9557 /^X\(\/\).*/{ s//\1/; q; }
9559 { if $as_mkdir_p; then
9564 while test ! -d "$as_dir"; do
9565 as_dirs
="$as_dir $as_dirs"
9566 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9567 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9568 X"$as_dir" : 'X\(//\)[^/]' \| \
9569 X"$as_dir" : 'X\(//\)$' \| \
9570 X"$as_dir" : 'X\(/\)' \| \
9571 . : '\(.\)' 2>/dev/null ||
9573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9575 /^X\(\/\/\)$/{ s//\1/; q; }
9576 /^X\(\/\).*/{ s//\1/; q; }
9579 test ! -n "$as_dirs" || mkdir
$as_dirs
9580 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9581 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9582 { (exit 1); exit 1; }; }; }
9586 if test "$ac_dir" != .
; then
9587 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9588 # A "../" for each directory in $ac_dir_suffix.
9589 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9591 ac_dir_suffix
= ac_top_builddir
=
9595 .
) # No --srcdir option. We are building in place.
9597 if test -z "$ac_top_builddir"; then
9600 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9602 [\\/]* | ?
:[\\/]* ) # Absolute path.
9603 ac_srcdir
=$srcdir$ac_dir_suffix;
9604 ac_top_srcdir
=$srcdir ;;
9606 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9607 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9610 # Do not use `cd foo && pwd` to compute absolute paths, because
9611 # the directories may not exist.
9613 .
) ac_abs_builddir
="$ac_dir";;
9616 .
) ac_abs_builddir
=`pwd`;;
9617 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9618 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9621 case $ac_abs_builddir in
9622 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9624 case ${ac_top_builddir}.
in
9625 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9626 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9627 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9630 case $ac_abs_builddir in
9631 .
) ac_abs_srcdir
=$ac_srcdir;;
9634 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9635 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9636 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9639 case $ac_abs_builddir in
9640 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9642 case $ac_top_srcdir in
9643 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9644 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9645 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9650 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9651 echo "$as_me: executing $ac_dest commands" >&6;}
9653 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
9658 cat >>$CONFIG_STATUS <<\_ACEOF
9660 { (exit 0); exit 0; }
9662 chmod +x
$CONFIG_STATUS
9663 ac_clean_files
=$ac_clean_files_save
9666 # configure is writing to config.log, and then calls config.status.
9667 # config.status does its own redirection, appending to config.log.
9668 # Unfortunately, on DOS this fails, as config.log is still kept open
9669 # by configure, so config.status won't be able to write to it; its
9670 # output is simply discarded. So we exec the FD to /dev/null,
9671 # effectively closing config.log, so it can be properly (re)opened and
9672 # appended to by config.status. When coming back to configure, we
9673 # need to make the FD available again.
9674 if test "$no_create" != yes; then
9676 ac_config_status_args
=
9677 test "$silent" = yes &&
9678 ac_config_status_args
="$ac_config_status_args --quiet"
9680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9683 # would make configure fail if this is the last instruction.
9684 $ac_cs_success ||
{ (exit 1); exit 1; }