2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for cpplib .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='cpplib'
271 PACKAGE_TARNAME
='cpplib'
273 PACKAGE_STRING
='cpplib '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="ucnid.h"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR am__leading_dot DEPDIR CCDEPMODE CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT LIBICONV LTLIBICONV PACKAGE USED_CATALOGS MAINT LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures cpplib to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of cpplib :";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-werror-always enable -Werror despite compiler version
853 --disable-rpath do not hardcode runtime library paths
854 --enable-maintainer-mode enable rules only needed by maintainers
855 --enable-checking enable expensive run-time checks
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-gnu-ld assume the C compiler uses GNU ld default
=no
861 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
862 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
864 Some influential environment variables:
865 CC C compiler command
866 CFLAGS C compiler flags
867 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
868 nonstandard directory <lib dir>
869 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
870 headers in a nonstandard directory <include dir>
873 Use these variables to override the choices made by `configure' or to
help
874 it to
find libraries and programs with nonstandard names
/locations.
876 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
884 test -d $ac_dir ||
continue
887 if test "$ac_dir" != .
; then
888 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix
= ac_top_builddir
=
896 .
) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?
:[\\/]* ) # Absolute path.
904 ac_srcdir
=$srcdir$ac_dir_suffix;
905 ac_top_srcdir
=$srcdir ;;
907 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
911 # Do not use `cd foo && pwd` to compute absolute paths, because
912 # the directories may not exist.
914 .
) ac_abs_builddir
="$ac_dir";;
917 .
) ac_abs_builddir
=`pwd`;;
918 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
919 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
922 case $ac_abs_builddir in
923 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
925 case ${ac_top_builddir}.
in
926 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
927 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
928 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
931 case $ac_abs_builddir in
932 .
) ac_abs_srcdir
=$ac_srcdir;;
935 .
) ac_abs_srcdir
=$ac_abs_builddir;;
936 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
937 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
940 case $ac_abs_builddir in
941 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
943 case $ac_top_srcdir in
944 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
945 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu
; then
954 $SHELL $ac_srcdir/configure.gnu
--help=recursive
955 elif test -f $ac_srcdir/configure
; then
957 $SHELL $ac_srcdir/configure
--help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.
in; then
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 test -n "$ac_init_help" && exit 0
970 if $ac_init_version; then
973 generated by GNU Autoconf
2.59
975 Copyright
(C
) 2003 Free Software Foundation
, Inc.
976 This configure
script is free software
; the Free Software Foundation
977 gives unlimited permission to copy
, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by cpplib $as_me , which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
999 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1000 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1001 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1002 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1004 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1005 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1007 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1008 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1009 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1010 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1011 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1012 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1013 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir
=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next
=false
1052 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1053 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1054 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true
; then
1064 ac_must_keep_next
=false
# Got value, back to normal.
1067 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1068 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1069 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1070 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next
=true
;;
1078 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1086 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close' the trap.
1093 trap 'exit_status=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var in $ac_subst_vars
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var in $ac_subst_files
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h; then
1156 sed "/^$/d" confdefs.h | sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core *.core &&
1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1167 for ac_signal
in 1 2 13 15; do
1168 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest
* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h
<<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h
<<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h
<<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE
; then
1208 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file
in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's/^/| /' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1230 *) . .
/$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted
=false
1242 for ac_var
in `(set) 2>&1 |
1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1244 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1245 eval ac_new_set
=\
$ac_env_${ac_var}_set
1246 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val
="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1252 ac_cache_corrupted
=: ;;
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted
=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 # differences in whitespace do not lead to failure.
1261 ac_old_val_w
=`echo x $ac_old_val`
1262 ac_new_val_w
=`echo x $ac_new_val`
1263 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1265 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1266 ac_cache_corrupted
=:
1268 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1269 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1270 eval $ac_var=\
$ac_old_val
1272 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1273 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1274 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1275 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1278 # Pass precious variables to config.status.
1279 if test "$ac_new_set" = set; then
1281 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1282 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1283 *) ac_arg
=$ac_var=$ac_new_val ;;
1285 case " $ac_configure_args " in
1286 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1287 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1291 if $ac_cache_corrupted; then
1292 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1294 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1295 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1296 { (exit 1); exit 1; }; }
1300 ac_cpp
='$CPP $CPPFLAGS'
1301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1333 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=..
/config
;;
1334 *) ac_macro_dir
=$srcdir/..
/config
;;
1336 if test -d "$ac_macro_dir"; then :
1338 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1339 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1340 { (exit 1); exit 1; }; }
1344 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1345 if test -f $ac_dir/install-sh
; then
1347 ac_install_sh
="$ac_aux_dir/install-sh -c"
1349 elif test -f $ac_dir/install.sh
; then
1351 ac_install_sh
="$ac_aux_dir/install.sh -c"
1353 elif test -f $ac_dir/shtool
; then
1355 ac_install_sh
="$ac_aux_dir/shtool install -c"
1359 if test -z "$ac_aux_dir"; then
1360 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1361 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1362 { (exit 1); exit 1; }; }
1364 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1365 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1366 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1368 # Make sure we can run config.sub.
1369 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1370 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1371 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1372 { (exit 1); exit 1; }; }
1374 echo "$as_me:$LINENO: checking build system type" >&5
1375 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1376 if test "${ac_cv_build+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 ac_cv_build_alias
=$build_alias
1380 test -z "$ac_cv_build_alias" &&
1381 ac_cv_build_alias
=`$ac_config_guess`
1382 test -z "$ac_cv_build_alias" &&
1383 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1384 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1385 { (exit 1); exit 1; }; }
1386 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1387 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1388 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1389 { (exit 1); exit 1; }; }
1392 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1393 echo "${ECHO_T}$ac_cv_build" >&6
1395 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1396 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1397 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1400 echo "$as_me:$LINENO: checking host system type" >&5
1401 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1402 if test "${ac_cv_host+set}" = set; then
1403 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 ac_cv_host_alias
=$host_alias
1406 test -z "$ac_cv_host_alias" &&
1407 ac_cv_host_alias
=$ac_cv_build_alias
1408 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1409 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1410 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1411 { (exit 1); exit 1; }; }
1414 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1415 echo "${ECHO_T}$ac_cv_host" >&6
1417 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1418 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1419 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1422 echo "$as_me:$LINENO: checking target system type" >&5
1423 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1424 if test "${ac_cv_target+set}" = set; then
1425 echo $ECHO_N "(cached) $ECHO_C" >&6
1427 ac_cv_target_alias
=$target_alias
1428 test "x$ac_cv_target_alias" = "x" &&
1429 ac_cv_target_alias
=$ac_cv_host_alias
1430 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1431 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1432 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1433 { (exit 1); exit 1; }; }
1436 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1437 echo "${ECHO_T}$ac_cv_target" >&6
1438 target
=$ac_cv_target
1439 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1440 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1441 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1444 # The aliases save the names the user supplied, while $host etc.
1445 # will get canonicalized.
1446 test -n "$target_alias" &&
1447 test "$program_prefix$program_suffix$program_transform_name" = \
1449 program_prefix
=${target_alias}-
1451 # Checks for programs.
1452 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1453 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1454 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1455 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1456 echo $ECHO_N "(cached) $ECHO_C" >&6
1458 cat >conftest.
make <<\_ACEOF
1460 @
echo 'ac_maketemp="$(MAKE)"'
1462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1463 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1464 if test -n "$ac_maketemp"; then
1465 eval ac_cv_prog_make_
${ac_make}_set
=yes
1467 eval ac_cv_prog_make_
${ac_make}_set
=no
1471 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1472 echo "$as_me:$LINENO: result: yes" >&5
1473 echo "${ECHO_T}yes" >&6
1476 echo "$as_me:$LINENO: result: no" >&5
1477 echo "${ECHO_T}no" >&6
1478 SET_MAKE
="MAKE=${MAKE-make}"
1481 # Find a good install program. We prefer a C program (faster),
1482 # so one script is as good as another. But avoid the broken or
1483 # incompatible versions:
1484 # SysV /etc/install, /usr/sbin/install
1485 # SunOS /usr/etc/install
1486 # IRIX /sbin/install
1488 # AmigaOS /C/install, which installs bootblocks on floppy discs
1489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1492 # OS/2's system install, which has a completely different semantic
1493 # ./install, which can be erroneously created by make from ./install.sh.
1494 # Reject install programs that cannot install multiple files.
1495 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1496 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1497 if test -z "$INSTALL"; then
1498 if test "${ac_cv_path_install+set}" = set; then
1499 echo $ECHO_N "(cached) $ECHO_C" >&6
1501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir
=.
1506 # Account for people who put trailing slashes in PATH elements.
1508 .
/ | .
// |
/cC
/* | \
1509 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1510 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1513 # OSF1 and SCO ODT 3.0 have their own names for install.
1514 # Don't use installbsd from OSF since it installs stuff as root
1516 for ac_prog
in ginstall scoinst
install; do
1517 for ac_exec_ext
in '' $ac_executable_extensions; do
1518 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1519 if test $ac_prog = install &&
1520 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1521 # AIX install. It has an incompatible calling convention.
1523 elif test $ac_prog = install &&
1524 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1525 # program-specific install script used by HP pwplus--don't use.
1528 rm -rf conftest.one conftest.two conftest.dir
1529 echo one
> conftest.one
1530 echo two
> conftest.two
1532 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1533 test -s conftest.one
&& test -s conftest.two
&&
1534 test -s conftest.dir
/conftest.one
&&
1535 test -s conftest.dir
/conftest.two
1537 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1548 rm -rf conftest.one conftest.two conftest.dir
1551 if test "${ac_cv_path_install+set}" = set; then
1552 INSTALL
=$ac_cv_path_install
1554 # As a last resort, use the slow shell script. Don't cache a
1555 # value for INSTALL within a source directory, because that will
1556 # break other packages using the cache if that directory is
1557 # removed, or if the value is a relative name.
1558 INSTALL
=$ac_install_sh
1561 echo "$as_me:$LINENO: result: $INSTALL" >&5
1562 echo "${ECHO_T}$INSTALL" >&6
1564 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1565 # It thinks the first close brace ends the variable substitution.
1566 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1568 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1570 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1573 ac_cpp
='$CPP $CPPFLAGS'
1574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1577 if test -n "$ac_tool_prefix"; then
1578 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1579 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_prog_CC+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 if test -n "$CC"; then
1586 ac_cv_prog_CC
="$CC" # Let the user override the test.
1588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir
=.
1593 for ac_exec_ext
in '' $ac_executable_extensions; do
1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1595 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 if test -n "$CC"; then
1606 echo "$as_me:$LINENO: result: $CC" >&5
1607 echo "${ECHO_T}$CC" >&6
1609 echo "$as_me:$LINENO: result: no" >&5
1610 echo "${ECHO_T}no" >&6
1614 if test -z "$ac_cv_prog_CC"; then
1616 # Extract the first word of "gcc", so it can be a program name with args.
1617 set dummy gcc
; ac_word
=$2
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 if test -n "$ac_ct_CC"; then
1624 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir
=.
1631 for ac_exec_ext
in '' $ac_executable_extensions; do
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1633 ac_cv_prog_ac_ct_CC
="gcc"
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1643 if test -n "$ac_ct_CC"; then
1644 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1645 echo "${ECHO_T}$ac_ct_CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1656 if test -z "$CC"; then
1657 if test -n "$ac_tool_prefix"; then
1658 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1659 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$CC"; then
1666 ac_cv_prog_CC
="$CC" # Let the user override the test.
1668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir
=.
1673 for ac_exec_ext
in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1685 if test -n "$CC"; then
1686 echo "$as_me:$LINENO: result: $CC" >&5
1687 echo "${ECHO_T}$CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1694 if test -z "$ac_cv_prog_CC"; then
1696 # Extract the first word of "cc", so it can be a program name with args.
1697 set dummy cc
; ac_word
=$2
1698 echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$ac_ct_CC"; then
1704 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir
=.
1711 for ac_exec_ext
in '' $ac_executable_extensions; do
1712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713 ac_cv_prog_ac_ct_CC
="cc"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1722 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1723 if test -n "$ac_ct_CC"; then
1724 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1725 echo "${ECHO_T}$ac_ct_CC" >&6
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1737 if test -z "$CC"; then
1738 # Extract the first word of "cc", so it can be a program name with args.
1739 set dummy cc
; ac_word
=$2
1740 echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1742 if test "${ac_cv_prog_CC+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 if test -n "$CC"; then
1746 ac_cv_prog_CC
="$CC" # Let the user override the test.
1749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir
=.
1754 for ac_exec_ext
in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1756 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1757 ac_prog_rejected
=yes
1761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1767 if test $ac_prog_rejected = yes; then
1768 # We found a bogon in the path, so make sure we never use it.
1769 set dummy
$ac_cv_prog_CC
1771 if test $# != 0; then
1772 # We chose a different compiler from the bogus one.
1773 # However, it has the same basename, so the bogon will be chosen
1774 # first if we set CC to just the basename; use the full file name.
1776 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1782 if test -n "$CC"; then
1783 echo "$as_me:$LINENO: result: $CC" >&5
1784 echo "${ECHO_T}$CC" >&6
1786 echo "$as_me:$LINENO: result: no" >&5
1787 echo "${ECHO_T}no" >&6
1791 if test -z "$CC"; then
1792 if test -n "$ac_tool_prefix"; then
1795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1796 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1797 echo "$as_me:$LINENO: checking for $ac_word" >&5
1798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1799 if test "${ac_cv_prog_CC+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1802 if test -n "$CC"; then
1803 ac_cv_prog_CC
="$CC" # Let the user override the test.
1805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1809 test -z "$as_dir" && as_dir
=.
1810 for ac_exec_ext
in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1812 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1822 if test -n "$CC"; then
1823 echo "$as_me:$LINENO: result: $CC" >&5
1824 echo "${ECHO_T}$CC" >&6
1826 echo "$as_me:$LINENO: result: no" >&5
1827 echo "${ECHO_T}no" >&6
1830 test -n "$CC" && break
1833 if test -z "$CC"; then
1837 # Extract the first word of "$ac_prog", so it can be a program name with args.
1838 set dummy
$ac_prog; ac_word
=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$ac_ct_CC"; then
1845 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir
=.
1852 for ac_exec_ext
in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_CC
="$ac_prog"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1864 if test -n "$ac_ct_CC"; then
1865 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1866 echo "${ECHO_T}$ac_ct_CC" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1872 test -n "$ac_ct_CC" && break
1881 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1882 See \`config.log' for more details." >&5
1883 echo "$as_me: error: no acceptable C compiler found in \$PATH
1884 See \`config.log' for more details." >&2;}
1885 { (exit 1); exit 1; }; }
1887 # Provide some information about the compiler.
1888 echo "$as_me:$LINENO:" \
1889 "checking for C compiler version" >&5
1890 ac_compiler
=`set X $ac_compile; echo $2`
1891 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1892 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }
1896 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1897 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1900 (exit $ac_status); }
1901 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1902 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 (exit $ac_status); }
1907 cat >conftest.
$ac_ext <<_ACEOF
1910 cat confdefs.h
>>conftest.
$ac_ext
1911 cat >>conftest.
$ac_ext <<_ACEOF
1912 /* end confdefs.h. */
1922 ac_clean_files_save
=$ac_clean_files
1923 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1924 # Try to create an executable without -o first, disregard a.out.
1925 # It will help us diagnose broken compilers, and finding out an intuition
1927 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1928 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1929 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1930 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1931 (eval $ac_link_default) 2>&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; then
1935 # Find the output, starting from the most likely. This scheme is
1936 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1939 # Be careful to initialize this variable, since it used to be cached.
1940 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1942 # b.out is created by i960 compilers.
1943 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1945 test -f "$ac_file" ||
continue
1947 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1950 # This is the source file.
1953 # We found the default executable, but exeext='' is most
1957 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1958 # FIXME: I believe we export ac_cv_exeext for Libtool,
1959 # but it would be cool to find out if it's true. Does anybody
1960 # maintain Libtool? --akim.
1968 echo "$as_me: failed program was:" >&5
1969 sed 's/^/| /' conftest.
$ac_ext >&5
1971 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1972 See \`config.log' for more details." >&5
1973 echo "$as_me: error: C compiler cannot create executables
1974 See \`config.log' for more details." >&2;}
1975 { (exit 77); exit 77; }; }
1978 ac_exeext
=$ac_cv_exeext
1979 echo "$as_me:$LINENO: result: $ac_file" >&5
1980 echo "${ECHO_T}$ac_file" >&6
1982 # Check the compiler produces executables we can run. If not, either
1983 # the compiler is broken, or we cross compile.
1984 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1985 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1986 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1987 # If not cross compiling, check that we can run a simple program.
1988 if test "$cross_compiling" != yes; then
1989 if { ac_try
='./$ac_file'
1990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); }; }; then
1997 if test "$cross_compiling" = maybe
; then
2000 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2001 If you meant to cross compile, use \`--host'.
2002 See \`config.log' for more details." >&5
2003 echo "$as_me: error: cannot run C compiled programs.
2004 If you meant to cross compile, use \`--host'.
2005 See \`config.log' for more details." >&2;}
2006 { (exit 1); exit 1; }; }
2010 echo "$as_me:$LINENO: result: yes" >&5
2011 echo "${ECHO_T}yes" >&6
2013 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2014 ac_clean_files
=$ac_clean_files_save
2015 # Check the compiler produces executables we can run. If not, either
2016 # the compiler is broken, or we cross compile.
2017 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2018 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2019 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2020 echo "${ECHO_T}$cross_compiling" >&6
2022 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2023 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2025 (eval $ac_link) 2>&5
2027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2028 (exit $ac_status); }; then
2029 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2030 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2031 # work properly (i.e., refer to `conftest.exe'), while it won't with
2033 for ac_file
in conftest.exe conftest conftest.
*; do
2034 test -f "$ac_file" ||
continue
2036 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2037 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2044 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2045 See \`config.log' for more details." >&5
2046 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2047 See \`config.log' for more details." >&2;}
2048 { (exit 1); exit 1; }; }
2051 rm -f conftest
$ac_cv_exeext
2052 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2053 echo "${ECHO_T}$ac_cv_exeext" >&6
2055 rm -f conftest.
$ac_ext
2056 EXEEXT
=$ac_cv_exeext
2058 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2059 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2060 if test "${ac_cv_objext+set}" = set; then
2061 echo $ECHO_N "(cached) $ECHO_C" >&6
2063 cat >conftest.
$ac_ext <<_ACEOF
2066 cat confdefs.h
>>conftest.
$ac_ext
2067 cat >>conftest.
$ac_ext <<_ACEOF
2068 /* end confdefs.h. */
2078 rm -f conftest.o conftest.obj
2079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2080 (eval $ac_compile) 2>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; then
2084 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2086 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2087 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.
$ac_ext >&5
2095 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2096 See \`config.log' for more details." >&5
2097 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2098 See \`config.log' for more details." >&2;}
2099 { (exit 1); exit 1; }; }
2102 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2104 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2105 echo "${ECHO_T}$ac_cv_objext" >&6
2106 OBJEXT
=$ac_cv_objext
2108 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2109 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2110 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 cat >conftest.
$ac_ext <<_ACEOF
2116 cat confdefs.h
>>conftest.
$ac_ext
2117 cat >>conftest.
$ac_ext <<_ACEOF
2118 /* end confdefs.h. */
2131 rm -f conftest.
$ac_objext
2132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2133 (eval $ac_compile) 2>conftest.er1
2135 grep -v '^ *+' conftest.er1
>conftest.err
2137 cat conftest.err
>&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); } &&
2140 { ac_try
='test -z "$ac_c_werror_flag"
2141 || test ! -s conftest.err'
2142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); }; } &&
2147 { ac_try
='test -s conftest.$ac_objext'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; }; then
2155 echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.
$ac_ext >&5
2160 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2161 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2164 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2165 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2166 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2167 ac_test_CFLAGS
=${CFLAGS+set}
2168 ac_save_CFLAGS
=$CFLAGS
2170 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2171 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2172 if test "${ac_cv_prog_cc_g+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 cat >conftest.
$ac_ext <<_ACEOF
2178 cat confdefs.h
>>conftest.
$ac_ext
2179 cat >>conftest.
$ac_ext <<_ACEOF
2180 /* end confdefs.h. */
2190 rm -f conftest.
$ac_objext
2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192 (eval $ac_compile) 2>conftest.er1
2194 grep -v '^ *+' conftest.er1
>conftest.err
2196 cat conftest.err
>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); } &&
2199 { ac_try
='test -z "$ac_c_werror_flag"
2200 || test ! -s conftest.err'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; } &&
2206 { ac_try
='test -s conftest.$ac_objext'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; }; then
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.
$ac_ext >&5
2219 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2221 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2222 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2223 if test "$ac_test_CFLAGS" = set; then
2224 CFLAGS
=$ac_save_CFLAGS
2225 elif test $ac_cv_prog_cc_g = yes; then
2226 if test "$GCC" = yes; then
2232 if test "$GCC" = yes; then
2238 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2239 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2240 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2241 echo $ECHO_N "(cached) $ECHO_C" >&6
2243 ac_cv_prog_cc_stdc
=no
2245 cat >conftest.
$ac_ext <<_ACEOF
2248 cat confdefs.h
>>conftest.
$ac_ext
2249 cat >>conftest.
$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2253 #include <sys/types.h>
2254 #include <sys/stat.h>
2255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2256 struct buf { int x; };
2257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2258 static char *e (p, i)
2264 static char *f (char * (*g) (char **, int), char **p, ...)
2269 s = g (p, va_arg (v,int));
2274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2275 function prototypes and stuff, but not '\xHH' hex character constants.
2276 These don't provoke an error unfortunately, instead are silently treated
2277 as 'x'. The following induces an error, until -std1 is added to get
2278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2279 array size at least. It's necessary to write '\x00'==0 to get something
2280 that's true only with -std1. */
2281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2283 int test (int i, double x);
2284 struct s1 {int (*f) (int a);};
2285 struct s2 {int (*f) (double a);};
2286 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2292 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2297 # Don't try gcc -ansi; that turns off useful extensions and
2298 # breaks some systems' header files.
2299 # AIX -qlanglvl=ansi
2300 # Ultrix and OSF/1 -std1
2301 # HP-UX 10.20 and later -Ae
2302 # HP-UX older versions -Aa -D_HPUX_SOURCE
2303 # SVR4 -Xc -D__EXTENSIONS__
2304 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2306 CC
="$ac_save_CC $ac_arg"
2307 rm -f conftest.
$ac_objext
2308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2309 (eval $ac_compile) 2>conftest.er1
2311 grep -v '^ *+' conftest.er1
>conftest.err
2313 cat conftest.err
>&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); } &&
2316 { ac_try
='test -z "$ac_c_werror_flag"
2317 || test ! -s conftest.err'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; } &&
2323 { ac_try
='test -s conftest.$ac_objext'
2324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2329 ac_cv_prog_cc_stdc
=$ac_arg
2332 echo "$as_me: failed program was:" >&5
2333 sed 's/^/| /' conftest.
$ac_ext >&5
2336 rm -f conftest.err conftest.
$ac_objext
2338 rm -f conftest.
$ac_ext conftest.
$ac_objext
2343 case "x$ac_cv_prog_cc_stdc" in
2345 echo "$as_me:$LINENO: result: none needed" >&5
2346 echo "${ECHO_T}none needed" >&6 ;;
2348 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2349 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2350 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2353 # Some people use a C++ compiler to compile C. Since we use `exit',
2354 # in C++ we need to declare it. In case someone uses the same compiler
2355 # for both compiling C and C++ we need to have the C++ compiler decide
2356 # the declaration of exit, since it's the most demanding environment.
2357 cat >conftest.
$ac_ext <<_ACEOF
2362 rm -f conftest.
$ac_objext
2363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364 (eval $ac_compile) 2>conftest.er1
2366 grep -v '^ *+' conftest.er1
>conftest.err
2368 cat conftest.err
>&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); } &&
2371 { ac_try
='test -z "$ac_c_werror_flag"
2372 || test ! -s conftest.err'
2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; } &&
2378 { ac_try
='test -s conftest.$ac_objext'
2379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }; }; then
2384 for ac_declaration
in \
2386 'extern "C" void std::exit (int) throw (); using std::exit;' \
2387 'extern "C" void std::exit (int); using std::exit;' \
2388 'extern "C" void exit (int) throw ();' \
2389 'extern "C" void exit (int);' \
2392 cat >conftest.
$ac_ext <<_ACEOF
2395 cat confdefs.h
>>conftest.
$ac_ext
2396 cat >>conftest.
$ac_ext <<_ACEOF
2397 /* end confdefs.h. */
2408 rm -f conftest.
$ac_objext
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>conftest.er1
2412 grep -v '^ *+' conftest.er1
>conftest.err
2414 cat conftest.err
>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); } &&
2417 { ac_try
='test -z "$ac_c_werror_flag"
2418 || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.
$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1
>conftest.err
2459 cat conftest.err
>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } &&
2462 { ac_try
='test -z "$ac_c_werror_flag"
2463 || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try
='test -s conftest.$ac_objext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.
$ac_ext >&5
2481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2484 if test -n "$ac_declaration"; then
2485 echo '#ifdef __cplusplus' >>confdefs.h
2486 echo $ac_declaration >>confdefs.h
2487 echo '#endif' >>confdefs.h
2491 echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.
$ac_ext >&5
2495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2497 ac_cpp
='$CPP $CPPFLAGS'
2498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2502 if test -n "$ac_tool_prefix"; then
2503 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2504 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2505 echo "$as_me:$LINENO: checking for $ac_word" >&5
2506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2507 if test "${ac_cv_prog_RANLIB+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 if test -n "$RANLIB"; then
2511 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2520 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 RANLIB
=$ac_cv_prog_RANLIB
2530 if test -n "$RANLIB"; then
2531 echo "$as_me:$LINENO: result: $RANLIB" >&5
2532 echo "${ECHO_T}$RANLIB" >&6
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2539 if test -z "$ac_cv_prog_RANLIB"; then
2540 ac_ct_RANLIB
=$RANLIB
2541 # Extract the first word of "ranlib", so it can be a program name with args.
2542 set dummy ranlib
; ac_word
=$2
2543 echo "$as_me:$LINENO: checking for $ac_word" >&5
2544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2545 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2546 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 if test -n "$ac_ct_RANLIB"; then
2549 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2555 test -z "$as_dir" && as_dir
=.
2556 for ac_exec_ext
in '' $ac_executable_extensions; do
2557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2558 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2568 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2569 if test -n "$ac_ct_RANLIB"; then
2570 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2571 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2573 echo "$as_me:$LINENO: result: no" >&5
2574 echo "${ECHO_T}no" >&6
2577 RANLIB
=$ac_ct_RANLIB
2579 RANLIB
="$ac_cv_prog_RANLIB"
2583 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2584 for ac_prog
in aclocal
2586 # Extract the first word of "$ac_prog", so it can be a program name with args.
2587 set dummy
$ac_prog; ac_word
=$2
2588 echo "$as_me:$LINENO: checking for $ac_word" >&5
2589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2590 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2591 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 if test -n "$ACLOCAL"; then
2594 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2600 test -z "$as_dir" && as_dir
=.
2601 for ac_exec_ext
in '' $ac_executable_extensions; do
2602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2603 ac_cv_prog_ACLOCAL
="$ac_prog"
2604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 ACLOCAL
=$ac_cv_prog_ACLOCAL
2613 if test -n "$ACLOCAL"; then
2614 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2615 echo "${ECHO_T}$ACLOCAL" >&6
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2621 test -n "$ACLOCAL" && break
2623 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2625 for ac_prog
in autoconf
2627 # Extract the first word of "$ac_prog", so it can be a program name with args.
2628 set dummy
$ac_prog; ac_word
=$2
2629 echo "$as_me:$LINENO: checking for $ac_word" >&5
2630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2631 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2632 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 if test -n "$AUTOCONF"; then
2635 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2641 test -z "$as_dir" && as_dir
=.
2642 for ac_exec_ext
in '' $ac_executable_extensions; do
2643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2644 ac_cv_prog_AUTOCONF
="$ac_prog"
2645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 AUTOCONF
=$ac_cv_prog_AUTOCONF
2654 if test -n "$AUTOCONF"; then
2655 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2656 echo "${ECHO_T}$AUTOCONF" >&6
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2662 test -n "$AUTOCONF" && break
2664 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2666 for ac_prog
in autoheader
2668 # Extract the first word of "$ac_prog", so it can be a program name with args.
2669 set dummy
$ac_prog; ac_word
=$2
2670 echo "$as_me:$LINENO: checking for $ac_word" >&5
2671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2672 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2673 echo $ECHO_N "(cached) $ECHO_C" >&6
2675 if test -n "$AUTOHEADER"; then
2676 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2682 test -z "$as_dir" && as_dir
=.
2683 for ac_exec_ext
in '' $ac_executable_extensions; do
2684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2685 ac_cv_prog_AUTOHEADER
="$ac_prog"
2686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2695 if test -n "$AUTOHEADER"; then
2696 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2697 echo "${ECHO_T}$AUTOHEADER" >&6
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2703 test -n "$AUTOHEADER" && break
2705 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2708 # Figure out what compiler warnings we can enable.
2709 # See config/warnings.m4 for details.
2713 save_CFLAGS
="$CFLAGS"
2714 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2715 -Wmissing-prototypes -Wold-style-definition \
2716 -Wmissing-format-attribute; do
2717 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2719 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2720 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2721 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2722 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 cat >conftest.
$ac_ext <<_ACEOF
2728 cat confdefs.h
>>conftest.
$ac_ext
2729 cat >>conftest.
$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2740 rm -f conftest.
$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try
='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 eval "$as_acx_Woption=yes"
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2767 eval "$as_acx_Woption=no"
2769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2772 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2773 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2774 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2775 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2779 CFLAGS
="$save_CFLAGS"
2782 if test "$GCC" = yes; then
2783 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2784 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2785 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 save_CFLAGS
="$CFLAGS"
2789 CFLAGS
="-pedantic -Wno-long-long"
2790 cat >conftest.
$ac_ext <<_ACEOF
2793 cat confdefs.h
>>conftest.
$ac_ext
2794 cat >>conftest.
$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2805 rm -f conftest.
$ac_objext
2806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807 (eval $ac_compile) 2>conftest.er1
2809 grep -v '^ *+' conftest.er1
>conftest.err
2811 cat conftest.err
>&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); } &&
2814 { ac_try
='test -z "$ac_c_werror_flag"
2815 || test ! -s conftest.err'
2816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; } &&
2821 { ac_try
='test -s conftest.$ac_objext'
2822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); }; }; then
2827 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2829 echo "$as_me: failed program was:" >&5
2830 sed 's/^/| /' conftest.
$ac_ext >&5
2832 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2835 CFLAGS
="$save_CFLAGS"
2837 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2838 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2839 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2840 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2848 # Only enable with --enable-werror-always until existing warnings are
2851 # Check whether --enable-werror-always or --disable-werror-always was given.
2852 if test "${enable_werror_always+set}" = set; then
2853 enableval
="$enable_werror_always"
2856 enable_werror_always
=no
2858 if test $enable_werror_always = yes; then
2859 WERROR
="$WERROR${WERROR:+ }-Werror"
2865 # Dependency checking.
2866 rm -rf .tst
2>/dev
/null
2867 mkdir .tst
2>/dev
/null
2868 if test -d .tst
; then
2873 rmdir .tst
2>/dev
/null
2875 DEPDIR
="${am__leading_dot}deps"
2877 ac_config_commands
="$ac_config_commands depdir"
2880 depcc
="$CC" am_compiler_list
=
2882 am_depcomp
=$ac_aux_dir/depcomp
2883 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2884 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2885 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 if test -f "$am_depcomp"; then
2889 # We make a subdir and do the tests there. Otherwise we can end up
2890 # making bogus files that we don't know about and never remove. For
2891 # instance it was reported that on HP-UX the gcc test will end up
2892 # making a dummy file named `D' -- because `-MD' means `put the output
2895 # Copy depcomp to subdir because otherwise we won't find it if we're
2896 # using a relative directory.
2897 cp "$am_depcomp" conftest.dir
2899 # We will build objects and dependencies in a subdirectory because
2900 # it helps to detect inapplicable dependency modes. For instance
2901 # both Tru64's cc and ICC support -MD to output dependencies as a
2902 # side effect of compilation, but ICC will put the dependencies in
2903 # the current directory while Tru64 will put them in the object
2907 am_cv_CC_dependencies_compiler_type
=none
2908 if test "$am_compiler_list" = ""; then
2909 am_compiler_list
=`sed -n 's/^\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2911 for depmode
in $am_compiler_list; do
2912 if test $depmode = none
; then break; fi
2914 echo "$as_me:$LINENO: trying $depmode" >&5
2915 # Setup a source with many dependencies, because some compilers
2916 # like to wrap large dependency lists on column 80 (with \), and
2917 # we should not choose a depcomp mode which is confused by this.
2919 # We need to recreate these files for each test, as the compiler may
2920 # overwrite some of them when testing with obscure command lines.
2921 # This happens at least with the AIX C compiler.
2923 for i
in 1 2 3 4 5 6; do
2924 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2925 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2926 # Solaris 8's {/usr,}/bin/sh.
2927 touch sub
/conftst
$i.h
2929 echo "include sub/conftest.Po" > confmf
2931 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2932 # mode. It turns out that the SunPro C++ compiler does not properly
2933 # handle `-M -o', and we need to detect this.
2934 depcmd
="depmode=$depmode \
2935 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2936 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2937 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
2938 echo "| $depcmd" |
sed -e 's/ */ /g' >&5
2939 if env
$depcmd > conftest.err
2>&1 &&
2940 grep sub
/conftst6.h sub
/conftest.Po
>>conftest.err
2>&1 &&
2941 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
>>conftest.err
2>&1 &&
2942 ${MAKE-make} -s -f confmf
>>conftest.err
2>&1; then
2943 # icc doesn't choke on unknown options, it will just issue warnings
2944 # or remarks (even with -Werror). So we grep stderr for any message
2945 # that says an option was ignored or not supported.
2946 # When given -MP, icc 7.0 and 7.1 complain thusly:
2947 # icc: Command line warning: ignoring option '-M'; no argument required
2948 # The diagnosis changed in icc 8.0:
2949 # icc: Command line remark: option '-MP' not supported
2950 if (grep 'ignoring option' conftest.err ||
2951 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2952 am_cv_CC_dependencies_compiler_type
=$depmode
2953 echo "$as_me:$LINENO: success" >&5
2957 echo "$as_me:$LINENO: failure, diagnostics are:" >&5
2958 sed -e 's/^/| /' < conftest.err
>&5
2964 am_cv_CC_dependencies_compiler_type
=none
2968 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2969 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2970 if test x
${am_cv_CC_dependencies_compiler_type-none} = xnone
2971 then { { echo "$as_me:$LINENO: error: no usable dependency style found" >&5
2972 echo "$as_me: error: no usable dependency style found" >&2;}
2973 { (exit 1); exit 1; }; }
2974 else CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2979 # Checks for header files.
2980 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2981 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2982 if test "${ac_cv_header_time+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 cat >conftest.
$ac_ext <<_ACEOF
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
2991 #include <sys/types.h>
2992 #include <sys/time.h>
2998 if ((struct tm *) 0)
3004 rm -f conftest.
$ac_objext
3005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3006 (eval $ac_compile) 2>conftest.er1
3008 grep -v '^ *+' conftest.er1
>conftest.err
3010 cat conftest.err
>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); } &&
3013 { ac_try
='test -z "$ac_c_werror_flag"
3014 || test ! -s conftest.err'
3015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; } &&
3020 { ac_try
='test -s conftest.$ac_objext'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; }; then
3026 ac_cv_header_time
=yes
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.
$ac_ext >&5
3031 ac_cv_header_time
=no
3033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3035 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3036 echo "${ECHO_T}$ac_cv_header_time" >&6
3037 if test $ac_cv_header_time = yes; then
3039 cat >>confdefs.h
<<\_ACEOF
3040 #define TIME_WITH_SYS_TIME 1
3045 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
3046 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
3047 if test "${gcc_cv_header_string+set}" = set; then
3048 echo $ECHO_N "(cached) $ECHO_C" >&6
3050 cat >conftest.
$ac_ext <<_ACEOF
3053 cat confdefs.h
>>conftest.
$ac_ext
3054 cat >>conftest.
$ac_ext <<_ACEOF
3055 /* end confdefs.h. */
3057 #include <strings.h>
3066 rm -f conftest.
$ac_objext
3067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3068 (eval $ac_compile) 2>conftest.er1
3070 grep -v '^ *+' conftest.er1
>conftest.err
3072 cat conftest.err
>&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } &&
3075 { ac_try
='test -z "$ac_c_werror_flag"
3076 || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try
='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 gcc_cv_header_string
=yes
3090 echo "$as_me: failed program was:" >&5
3091 sed 's/^/| /' conftest.
$ac_ext >&5
3093 gcc_cv_header_string
=no
3095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3097 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
3098 echo "${ECHO_T}$gcc_cv_header_string" >&6
3099 if test $gcc_cv_header_string = yes; then
3101 cat >>confdefs.h
<<\_ACEOF
3102 #define STRING_WITH_STRINGS 1
3108 ac_cpp
='$CPP $CPPFLAGS'
3109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3112 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3113 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3114 # On Suns, sometimes $CPP names a directory.
3115 if test -n "$CPP" && test -d "$CPP"; then
3118 if test -z "$CPP"; then
3119 if test "${ac_cv_prog_CPP+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3122 # Double quotes because CPP needs to be expanded
3123 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3126 for ac_c_preproc_warn_flag
in '' yes
3128 # Use a header file that comes with gcc, so configuring glibc
3129 # with a fresh cross-compiler works.
3130 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3131 # <limits.h> exists even on freestanding compilers.
3132 # On the NeXT, cc -E runs the code through the compiler's parser,
3133 # not just through cpp. "Syntax error" is here to catch this case.
3134 cat >conftest.
$ac_ext <<_ACEOF
3137 cat confdefs.h
>>conftest.
$ac_ext
3138 cat >>conftest.
$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3141 # include <limits.h>
3143 # include <assert.h>
3147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3150 grep -v '^ *+' conftest.er1
>conftest.err
3152 cat conftest.err
>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); } >/dev
/null
; then
3155 if test -s conftest.err
; then
3156 ac_cpp_err
=$ac_c_preproc_warn_flag
3157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3164 if test -z "$ac_cpp_err"; then
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.
$ac_ext >&5
3170 # Broken: fails on valid input.
3173 rm -f conftest.err conftest.
$ac_ext
3175 # OK, works on sane cases. Now check whether non-existent headers
3176 # can be detected and how.
3177 cat >conftest.
$ac_ext <<_ACEOF
3180 cat confdefs.h
>>conftest.
$ac_ext
3181 cat >>conftest.
$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3183 #include <ac_nonexistent.h>
3185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3188 grep -v '^ *+' conftest.er1
>conftest.err
3190 cat conftest.err
>&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } >/dev
/null
; then
3193 if test -s conftest.err
; then
3194 ac_cpp_err
=$ac_c_preproc_warn_flag
3195 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3202 if test -z "$ac_cpp_err"; then
3203 # Broken: success on invalid input.
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.
$ac_ext >&5
3209 # Passes both tests.
3213 rm -f conftest.err conftest.
$ac_ext
3216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3217 rm -f conftest.err conftest.
$ac_ext
3218 if $ac_preproc_ok; then
3230 echo "$as_me:$LINENO: result: $CPP" >&5
3231 echo "${ECHO_T}$CPP" >&6
3233 for ac_c_preproc_warn_flag
in '' yes
3235 # Use a header file that comes with gcc, so configuring glibc
3236 # with a fresh cross-compiler works.
3237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3238 # <limits.h> exists even on freestanding compilers.
3239 # On the NeXT, cc -E runs the code through the compiler's parser,
3240 # not just through cpp. "Syntax error" is here to catch this case.
3241 cat >conftest.
$ac_ext <<_ACEOF
3244 cat confdefs.h
>>conftest.
$ac_ext
3245 cat >>conftest.
$ac_ext <<_ACEOF
3246 /* end confdefs.h. */
3248 # include <limits.h>
3250 # include <assert.h>
3254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3255 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } >/dev
/null
; then
3262 if test -s conftest.err
; then
3263 ac_cpp_err
=$ac_c_preproc_warn_flag
3264 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3271 if test -z "$ac_cpp_err"; then
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.
$ac_ext >&5
3277 # Broken: fails on valid input.
3280 rm -f conftest.err conftest.
$ac_ext
3282 # OK, works on sane cases. Now check whether non-existent headers
3283 # can be detected and how.
3284 cat >conftest.
$ac_ext <<_ACEOF
3287 cat confdefs.h
>>conftest.
$ac_ext
3288 cat >>conftest.
$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3290 #include <ac_nonexistent.h>
3292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1
>conftest.err
3297 cat conftest.err
>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } >/dev
/null
; then
3300 if test -s conftest.err
; then
3301 ac_cpp_err
=$ac_c_preproc_warn_flag
3302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3309 if test -z "$ac_cpp_err"; then
3310 # Broken: success on invalid input.
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3316 # Passes both tests.
3320 rm -f conftest.err conftest.
$ac_ext
3323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3324 rm -f conftest.err conftest.
$ac_ext
3325 if $ac_preproc_ok; then
3328 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3329 See \`config.log' for more details." >&5
3330 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3331 See \`config.log' for more details." >&2;}
3332 { (exit 1); exit 1; }; }
3336 ac_cpp
='$CPP $CPPFLAGS'
3337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3342 echo "$as_me:$LINENO: checking for egrep" >&5
3343 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3344 if test "${ac_cv_prog_egrep+set}" = set; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3347 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3348 then ac_cv_prog_egrep
='grep -E'
3349 else ac_cv_prog_egrep
='egrep'
3352 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3353 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3354 EGREP
=$ac_cv_prog_egrep
3357 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3358 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3359 if test "${ac_cv_header_stdc+set}" = set; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 cat >conftest.
$ac_ext <<_ACEOF
3365 cat confdefs.h
>>conftest.
$ac_ext
3366 cat >>conftest.
$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3381 rm -f conftest.
$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try
='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try
='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3403 ac_cv_header_stdc
=yes
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.
$ac_ext >&5
3408 ac_cv_header_stdc
=no
3410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3412 if test $ac_cv_header_stdc = yes; then
3413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3414 cat >conftest.
$ac_ext <<_ACEOF
3417 cat confdefs.h
>>conftest.
$ac_ext
3418 cat >>conftest.
$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3424 $EGREP "memchr" >/dev
/null
2>&1; then
3427 ac_cv_header_stdc
=no
3433 if test $ac_cv_header_stdc = yes; then
3434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3435 cat >conftest.
$ac_ext <<_ACEOF
3438 cat confdefs.h
>>conftest.
$ac_ext
3439 cat >>conftest.
$ac_ext <<_ACEOF
3440 /* end confdefs.h. */
3444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3445 $EGREP "free" >/dev
/null
2>&1; then
3448 ac_cv_header_stdc
=no
3454 if test $ac_cv_header_stdc = yes; then
3455 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3456 if test "$cross_compiling" = yes; then
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3466 #if ((' ' & 0x0FF) == 0x020)
3467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3470 # define ISLOWER(c) \
3471 (('a' <= (c) && (c) <= 'i') \
3472 || ('j' <= (c) && (c) <= 'r') \
3473 || ('s' <= (c) && (c) <= 'z'))
3474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3482 for (i = 0; i < 256; i++)
3483 if (XOR (islower (i), ISLOWER (i))
3484 || toupper (i) != TOUPPER (i))
3489 rm -f conftest
$ac_exeext
3490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3491 (eval $ac_link) 2>&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; }; then
3502 echo "$as_me: program exited with status $ac_status" >&5
3503 echo "$as_me: failed program was:" >&5
3504 sed 's/^/| /' conftest.
$ac_ext >&5
3507 ac_cv_header_stdc
=no
3509 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3513 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3514 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3515 if test $ac_cv_header_stdc = yes; then
3517 cat >>confdefs.h
<<\_ACEOF
3518 #define STDC_HEADERS 1
3523 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3533 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3534 inttypes.h stdint.h unistd.h
3536 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3537 echo "$as_me:$LINENO: checking for $ac_header" >&5
3538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 cat >conftest.
$ac_ext <<_ACEOF
3545 cat confdefs.h
>>conftest.
$ac_ext
3546 cat >>conftest.
$ac_ext <<_ACEOF
3547 /* end confdefs.h. */
3548 $ac_includes_default
3550 #include <$ac_header>
3552 rm -f conftest.
$ac_objext
3553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3554 (eval $ac_compile) 2>conftest.er1
3556 grep -v '^ *+' conftest.er1
>conftest.err
3558 cat conftest.err
>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } &&
3561 { ac_try
='test -z "$ac_c_werror_flag"
3562 || test ! -s conftest.err'
3563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; } &&
3568 { ac_try
='test -s conftest.$ac_objext'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; }; then
3574 eval "$as_ac_Header=yes"
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.
$ac_ext >&5
3579 eval "$as_ac_Header=no"
3581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3586 cat >>confdefs.h
<<_ACEOF
3587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3605 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3606 stdlib.h
strings.h string.h sys
/file.h unistd.h
3608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3610 echo "$as_me:$LINENO: checking for $ac_header" >&5
3611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3618 # Is the header compilable?
3619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3621 cat >conftest.
$ac_ext <<_ACEOF
3624 cat confdefs.h
>>conftest.
$ac_ext
3625 cat >>conftest.
$ac_ext <<_ACEOF
3626 /* end confdefs.h. */
3627 $ac_includes_default
3628 #include <$ac_header>
3630 rm -f conftest.
$ac_objext
3631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3632 (eval $ac_compile) 2>conftest.er1
3634 grep -v '^ *+' conftest.er1
>conftest.err
3636 cat conftest.err
>&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } &&
3639 { ac_try
='test -z "$ac_c_werror_flag"
3640 || test ! -s conftest.err'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; } &&
3646 { ac_try
='test -s conftest.$ac_objext'
3647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }; }; then
3652 ac_header_compiler
=yes
3654 echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.
$ac_ext >&5
3657 ac_header_compiler
=no
3659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3661 echo "${ECHO_T}$ac_header_compiler" >&6
3663 # Is the header present?
3664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3666 cat >conftest.
$ac_ext <<_ACEOF
3669 cat confdefs.h
>>conftest.
$ac_ext
3670 cat >>conftest.
$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3672 #include <$ac_header>
3674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3675 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } >/dev
/null
; then
3682 if test -s conftest.err
; then
3683 ac_cpp_err
=$ac_c_preproc_warn_flag
3684 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3691 if test -z "$ac_cpp_err"; then
3692 ac_header_preproc
=yes
3694 echo "$as_me: failed program was:" >&5
3695 sed 's/^/| /' conftest.
$ac_ext >&5
3697 ac_header_preproc
=no
3699 rm -f conftest.err conftest.
$ac_ext
3700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3701 echo "${ECHO_T}$ac_header_preproc" >&6
3703 # So? What about this header?
3704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3709 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3710 ac_header_preproc
=yes
3713 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3714 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3715 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3716 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3717 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3718 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3719 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3720 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3723 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3724 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3727 ## ----------------------------------- ##
3728 ## Report this to gcc-bugs@gcc.gnu.org ##
3729 ## ----------------------------------- ##
3732 sed "s/^/$as_me: WARNING: /" >&2
3735 echo "$as_me:$LINENO: checking for $ac_header" >&5
3736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3740 eval "$as_ac_Header=\$ac_header_preproc"
3742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3747 cat >>confdefs.h
<<_ACEOF
3748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3756 # Checks for typedefs, structures, and compiler characteristics.
3757 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3758 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3759 if test "${ac_cv_c_const+set}" = set; then
3760 echo $ECHO_N "(cached) $ECHO_C" >&6
3762 cat >conftest.
$ac_ext <<_ACEOF
3765 cat confdefs.h
>>conftest.
$ac_ext
3766 cat >>conftest.
$ac_ext <<_ACEOF
3767 /* end confdefs.h. */
3772 /* FIXME: Include the comments suggested by Paul. */
3774 /* Ultrix mips cc rejects this. */
3775 typedef int charset[2];
3777 /* SunOS 4.1.1 cc rejects this. */
3778 char const *const *ccp;
3780 /* NEC SVR4.0.2 mips cc rejects this. */
3781 struct point {int x, y;};
3782 static struct point const zero = {0,0};
3783 /* AIX XL C 1.02.0.0 rejects this.
3784 It does not let you subtract one const X* pointer from another in
3785 an arm of an if-expression whose if-part is not a constant
3787 const char *g = "string";
3788 ccp = &g + (g ? g-g : 0);
3789 /* HPUX 7.0 cc rejects these. */
3792 ccp = (char const *const *) p;
3793 { /* SCO 3.2v4 cc rejects this. */
3795 char const *s = 0 ? (char *) 0 : (char const *) 0;
3799 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3801 const int *foo = &x[0];
3804 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3805 typedef const int *iptr;
3809 { /* AIX XL C 1.02.0.0 rejects this saying
3810 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3811 struct s { int j; const int *ap[3]; };
3812 struct s *b; b->j = 5;
3814 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3823 rm -f conftest.
$ac_objext
3824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3825 (eval $ac_compile) 2>conftest.er1
3827 grep -v '^ *+' conftest.er1
>conftest.err
3829 cat conftest.err
>&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); } &&
3832 { ac_try
='test -z "$ac_c_werror_flag"
3833 || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try
='test -s conftest.$ac_objext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3854 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3855 echo "${ECHO_T}$ac_cv_c_const" >&6
3856 if test $ac_cv_c_const = no
; then
3858 cat >>confdefs.h
<<\_ACEOF
3864 echo "$as_me:$LINENO: checking for inline" >&5
3865 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3866 if test "${ac_cv_c_inline+set}" = set; then
3867 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 for ac_kw
in inline __inline__ __inline
; do
3871 cat >conftest.
$ac_ext <<_ACEOF
3874 cat confdefs.h
>>conftest.
$ac_ext
3875 cat >>conftest.
$ac_ext <<_ACEOF
3876 /* end confdefs.h. */
3879 static $ac_kw foo_t static_foo () {return 0; }
3880 $ac_kw foo_t foo () {return 0; }
3884 rm -f conftest.
$ac_objext
3885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3886 (eval $ac_compile) 2>conftest.er1
3888 grep -v '^ *+' conftest.er1
>conftest.err
3890 cat conftest.err
>&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); } &&
3893 { ac_try
='test -z "$ac_c_werror_flag"
3894 || test ! -s conftest.err'
3895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); }; } &&
3900 { ac_try
='test -s conftest.$ac_objext'
3901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); }; }; then
3906 ac_cv_c_inline
=$ac_kw; break
3908 echo "$as_me: failed program was:" >&5
3909 sed 's/^/| /' conftest.
$ac_ext >&5
3912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3916 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3917 echo "${ECHO_T}$ac_cv_c_inline" >&6
3920 case $ac_cv_c_inline in
3923 case $ac_cv_c_inline in
3925 *) ac_val
=$ac_cv_c_inline;;
3927 cat >>confdefs.h
<<_ACEOF
3929 #define inline $ac_val
3935 echo "$as_me:$LINENO: checking for obstacks" >&5
3936 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3937 if test "${ac_cv_func_obstack+set}" = set; then
3938 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 cat >conftest.
$ac_ext <<_ACEOF
3943 cat confdefs.h
>>conftest.
$ac_ext
3944 cat >>conftest.
$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3946 #include "obstack.h"
3950 struct obstack *mem; obstack_free(mem,(char *) 0)
3955 rm -f conftest.
$ac_objext conftest
$ac_exeext
3956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3957 (eval $ac_link) 2>conftest.er1
3959 grep -v '^ *+' conftest.er1
>conftest.err
3961 cat conftest.err
>&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } &&
3964 { ac_try
='test -z "$ac_c_werror_flag"
3965 || test ! -s conftest.err'
3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); }; } &&
3971 { ac_try
='test -s conftest$ac_exeext'
3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; }; then
3977 ac_cv_func_obstack
=yes
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.
$ac_ext >&5
3982 ac_cv_func_obstack
=no
3984 rm -f conftest.err conftest.
$ac_objext \
3985 conftest
$ac_exeext conftest.
$ac_ext
3987 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
3988 echo "${ECHO_T}$ac_cv_func_obstack" >&6
3989 if test $ac_cv_func_obstack = yes; then
3991 cat >>confdefs.h
<<\_ACEOF
3992 #define HAVE_OBSTACK 1
3997 "obstack.$ac_objext" | \
3998 *" obstack.$ac_objext" | \
3999 "obstack.$ac_objext "* | \
4000 *" obstack.$ac_objext "* ) ;;
4001 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4006 echo "$as_me:$LINENO: checking for off_t" >&5
4007 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4008 if test "${ac_cv_type_off_t+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 cat >conftest.
$ac_ext <<_ACEOF
4014 cat confdefs.h
>>conftest.
$ac_ext
4015 cat >>conftest.
$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4017 $ac_includes_default
4029 rm -f conftest.
$ac_objext
4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4031 (eval $ac_compile) 2>conftest.er1
4033 grep -v '^ *+' conftest.er1
>conftest.err
4035 cat conftest.err
>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } &&
4038 { ac_try
='test -z "$ac_c_werror_flag"
4039 || test ! -s conftest.err'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; } &&
4045 { ac_try
='test -s conftest.$ac_objext'
4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; }; then
4051 ac_cv_type_off_t
=yes
4053 echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.
$ac_ext >&5
4058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4060 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4061 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4062 if test $ac_cv_type_off_t = yes; then
4066 cat >>confdefs.h
<<_ACEOF
4072 echo "$as_me:$LINENO: checking for size_t" >&5
4073 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4074 if test "${ac_cv_type_size_t+set}" = set; then
4075 echo $ECHO_N "(cached) $ECHO_C" >&6
4077 cat >conftest.
$ac_ext <<_ACEOF
4080 cat confdefs.h
>>conftest.
$ac_ext
4081 cat >>conftest.
$ac_ext <<_ACEOF
4082 /* end confdefs.h. */
4083 $ac_includes_default
4089 if (sizeof (size_t))
4095 rm -f conftest.
$ac_objext
4096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4097 (eval $ac_compile) 2>conftest.er1
4099 grep -v '^ *+' conftest.er1
>conftest.err
4101 cat conftest.err
>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } &&
4104 { ac_try
='test -z "$ac_c_werror_flag"
4105 || test ! -s conftest.err'
4106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4110 (exit $ac_status); }; } &&
4111 { ac_try
='test -s conftest.$ac_objext'
4112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); }; }; then
4117 ac_cv_type_size_t
=yes
4119 echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.
$ac_ext >&5
4122 ac_cv_type_size_t
=no
4124 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4126 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4127 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4128 if test $ac_cv_type_size_t = yes; then
4132 cat >>confdefs.h
<<_ACEOF
4133 #define size_t unsigned
4138 echo "$as_me:$LINENO: checking for ssize_t" >&5
4139 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4140 if test "${ac_cv_type_ssize_t+set}" = set; then
4141 echo $ECHO_N "(cached) $ECHO_C" >&6
4143 cat >conftest.
$ac_ext <<_ACEOF
4146 cat confdefs.h
>>conftest.
$ac_ext
4147 cat >>conftest.
$ac_ext <<_ACEOF
4148 /* end confdefs.h. */
4149 $ac_includes_default
4155 if (sizeof (ssize_t))
4161 rm -f conftest.
$ac_objext
4162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4163 (eval $ac_compile) 2>conftest.er1
4165 grep -v '^ *+' conftest.er1
>conftest.err
4167 cat conftest.err
>&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } &&
4170 { ac_try
='test -z "$ac_c_werror_flag"
4171 || test ! -s conftest.err'
4172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); }; } &&
4177 { ac_try
='test -s conftest.$ac_objext'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; }; then
4183 ac_cv_type_ssize_t
=yes
4185 echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.
$ac_ext >&5
4188 ac_cv_type_ssize_t
=no
4190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4192 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4193 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4194 if test $ac_cv_type_ssize_t = yes; then
4198 cat >>confdefs.h
<<_ACEOF
4204 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4205 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4206 if test "${ac_cv_struct_tm+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 cat >conftest.
$ac_ext <<_ACEOF
4212 cat confdefs.h
>>conftest.
$ac_ext
4213 cat >>conftest.
$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4215 #include <sys/types.h>
4221 struct tm *tp; tp->tm_sec;
4226 rm -f conftest.
$ac_objext
4227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4228 (eval $ac_compile) 2>conftest.er1
4230 grep -v '^ *+' conftest.er1
>conftest.err
4232 cat conftest.err
>&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } &&
4235 { ac_try
='test -z "$ac_c_werror_flag"
4236 || test ! -s conftest.err'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; } &&
4242 { ac_try
='test -s conftest.$ac_objext'
4243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; }; then
4248 ac_cv_struct_tm
=time.h
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.
$ac_ext >&5
4253 ac_cv_struct_tm
=sys
/time.h
4255 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4257 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4258 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4259 if test $ac_cv_struct_tm = sys
/time.h
; then
4261 cat >>confdefs.h
<<\_ACEOF
4262 #define TM_IN_SYS_TIME 1
4267 echo "$as_me:$LINENO: checking for int" >&5
4268 echo $ECHO_N "checking for int... $ECHO_C" >&6
4269 if test "${ac_cv_type_int+set}" = set; then
4270 echo $ECHO_N "(cached) $ECHO_C" >&6
4272 cat >conftest.
$ac_ext <<_ACEOF
4275 cat confdefs.h
>>conftest.
$ac_ext
4276 cat >>conftest.
$ac_ext <<_ACEOF
4277 /* end confdefs.h. */
4278 $ac_includes_default
4290 rm -f conftest.
$ac_objext
4291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4292 (eval $ac_compile) 2>conftest.er1
4294 grep -v '^ *+' conftest.er1
>conftest.err
4296 cat conftest.err
>&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); } &&
4299 { ac_try
='test -z "$ac_c_werror_flag"
4300 || test ! -s conftest.err'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try
='test -s conftest.$ac_objext'
4307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); }; }; then
4314 echo "$as_me: failed program was:" >&5
4315 sed 's/^/| /' conftest.
$ac_ext >&5
4319 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4321 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4322 echo "${ECHO_T}$ac_cv_type_int" >&6
4324 echo "$as_me:$LINENO: checking size of int" >&5
4325 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4326 if test "${ac_cv_sizeof_int+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test "$ac_cv_type_int" = yes; then
4330 # The cast to unsigned long works around a bug in the HP C Compiler
4331 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4332 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4333 # This bug is HP SR number 8606223364.
4334 if test "$cross_compiling" = yes; then
4335 # Depending upon the size, compute the lo and hi bounds.
4336 cat >conftest.
$ac_ext <<_ACEOF
4339 cat confdefs.h
>>conftest.
$ac_ext
4340 cat >>conftest.
$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4342 $ac_includes_default
4346 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4353 rm -f conftest.
$ac_objext
4354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4355 (eval $ac_compile) 2>conftest.er1
4357 grep -v '^ *+' conftest.er1
>conftest.err
4359 cat conftest.err
>&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } &&
4362 { ac_try
='test -z "$ac_c_werror_flag"
4363 || test ! -s conftest.err'
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; } &&
4369 { ac_try
='test -s conftest.$ac_objext'
4370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4377 cat >conftest.
$ac_ext <<_ACEOF
4380 cat confdefs.h
>>conftest.
$ac_ext
4381 cat >>conftest.
$ac_ext <<_ACEOF
4382 /* end confdefs.h. */
4383 $ac_includes_default
4387 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4394 rm -f conftest.
$ac_objext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>conftest.er1
4398 grep -v '^ *+' conftest.er1
>conftest.err
4400 cat conftest.err
>&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); } &&
4403 { ac_try
='test -z "$ac_c_werror_flag"
4404 || test ! -s conftest.err'
4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; } &&
4410 { ac_try
='test -s conftest.$ac_objext'
4411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); }; }; then
4416 ac_hi
=$ac_mid; break
4418 echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.
$ac_ext >&5
4421 ac_lo
=`expr $ac_mid + 1`
4422 if test $ac_lo -le $ac_mid; then
4426 ac_mid
=`expr 2 '*' $ac_mid + 1`
4428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.
$ac_ext >&5
4434 cat >conftest.
$ac_ext <<_ACEOF
4437 cat confdefs.h
>>conftest.
$ac_ext
4438 cat >>conftest.
$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4440 $ac_includes_default
4444 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4451 rm -f conftest.
$ac_objext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>conftest.er1
4455 grep -v '^ *+' conftest.er1
>conftest.err
4457 cat conftest.err
>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); } &&
4460 { ac_try
='test -z "$ac_c_werror_flag"
4461 || test ! -s conftest.err'
4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; } &&
4467 { ac_try
='test -s conftest.$ac_objext'
4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4472 (exit $ac_status); }; }; then
4475 cat >conftest.
$ac_ext <<_ACEOF
4478 cat confdefs.h
>>conftest.
$ac_ext
4479 cat >>conftest.
$ac_ext <<_ACEOF
4480 /* end confdefs.h. */
4481 $ac_includes_default
4485 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4492 rm -f conftest.
$ac_objext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4494 (eval $ac_compile) 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try
='test -z "$ac_c_werror_flag"
4502 || test ! -s conftest.err'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; } &&
4508 { ac_try
='test -s conftest.$ac_objext'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; }; then
4514 ac_lo
=$ac_mid; break
4516 echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.
$ac_ext >&5
4519 ac_hi
=`expr '(' $ac_mid ')' - 1`
4520 if test $ac_mid -le $ac_hi; then
4524 ac_mid
=`expr 2 '*' $ac_mid`
4526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4529 echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.
$ac_ext >&5
4534 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4537 # Binary search between lo and hi bounds.
4538 while test "x$ac_lo" != "x$ac_hi"; do
4539 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4540 cat >conftest.
$ac_ext <<_ACEOF
4543 cat confdefs.h
>>conftest.
$ac_ext
4544 cat >>conftest.
$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4546 $ac_includes_default
4550 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4557 rm -f conftest.
$ac_objext
4558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>conftest.er1
4561 grep -v '^ *+' conftest.er1
>conftest.err
4563 cat conftest.err
>&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try
='test -z "$ac_c_werror_flag"
4567 || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try
='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.
$ac_ext >&5
4584 ac_lo
=`expr '(' $ac_mid ')' + 1`
4586 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4589 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4590 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4591 See \`config.log' for more details." >&5
4592 echo "$as_me: error: cannot compute sizeof (int), 77
4593 See \`config.log' for more details." >&2;}
4594 { (exit 1); exit 1; }; } ;;
4597 if test "$cross_compiling" = yes; then
4598 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4599 See \`config.log' for more details." >&5
4600 echo "$as_me: error: cannot run test program while cross compiling
4601 See \`config.log' for more details." >&2;}
4602 { (exit 1); exit 1; }; }
4604 cat >conftest.
$ac_ext <<_ACEOF
4607 cat confdefs.h
>>conftest.
$ac_ext
4608 cat >>conftest.
$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4610 $ac_includes_default
4611 long longval () { return (long) (sizeof (int)); }
4612 unsigned long ulongval () { return (long) (sizeof (int)); }
4619 FILE *f = fopen ("conftest.val", "w");
4622 if (((long) (sizeof (int))) < 0)
4624 long i = longval ();
4625 if (i != ((long) (sizeof (int))))
4627 fprintf (f, "%ld\n", i);
4631 unsigned long i = ulongval ();
4632 if (i != ((long) (sizeof (int))))
4634 fprintf (f, "%lu\n", i);
4636 exit (ferror (f) || fclose (f) != 0);
4642 rm -f conftest
$ac_exeext
4643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4644 (eval $ac_link) 2>&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; }; then
4653 ac_cv_sizeof_int
=`cat conftest.val`
4655 echo "$as_me: program exited with status $ac_status" >&5
4656 echo "$as_me: failed program was:" >&5
4657 sed 's/^/| /' conftest.
$ac_ext >&5
4660 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4661 See \`config.log' for more details." >&5
4662 echo "$as_me: error: cannot compute sizeof (int), 77
4663 See \`config.log' for more details." >&2;}
4664 { (exit 1); exit 1; }; }
4666 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4674 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4675 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4676 cat >>confdefs.h
<<_ACEOF
4677 #define SIZEOF_INT $ac_cv_sizeof_int
4681 echo "$as_me:$LINENO: checking for long" >&5
4682 echo $ECHO_N "checking for long... $ECHO_C" >&6
4683 if test "${ac_cv_type_long+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 cat >conftest.
$ac_ext <<_ACEOF
4689 cat confdefs.h
>>conftest.
$ac_ext
4690 cat >>conftest.
$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 $ac_includes_default
4704 rm -f conftest.
$ac_objext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4706 (eval $ac_compile) 2>conftest.er1
4708 grep -v '^ *+' conftest.er1
>conftest.err
4710 cat conftest.err
>&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } &&
4713 { ac_try
='test -z "$ac_c_werror_flag"
4714 || test ! -s conftest.err'
4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); }; } &&
4720 { ac_try
='test -s conftest.$ac_objext'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; }; then
4728 echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.
$ac_ext >&5
4733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4735 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4736 echo "${ECHO_T}$ac_cv_type_long" >&6
4738 echo "$as_me:$LINENO: checking size of long" >&5
4739 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4740 if test "${ac_cv_sizeof_long+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test "$ac_cv_type_long" = yes; then
4744 # The cast to unsigned long works around a bug in the HP C Compiler
4745 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4746 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4747 # This bug is HP SR number 8606223364.
4748 if test "$cross_compiling" = yes; then
4749 # Depending upon the size, compute the lo and hi bounds.
4750 cat >conftest.
$ac_ext <<_ACEOF
4753 cat confdefs.h
>>conftest.
$ac_ext
4754 cat >>conftest.
$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4756 $ac_includes_default
4760 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4767 rm -f conftest.
$ac_objext
4768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4769 (eval $ac_compile) 2>conftest.er1
4771 grep -v '^ *+' conftest.er1
>conftest.err
4773 cat conftest.err
>&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); } &&
4776 { ac_try
='test -z "$ac_c_werror_flag"
4777 || test ! -s conftest.err'
4778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; } &&
4783 { ac_try
='test -s conftest.$ac_objext'
4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; }; then
4791 cat >conftest.
$ac_ext <<_ACEOF
4794 cat confdefs.h
>>conftest.
$ac_ext
4795 cat >>conftest.
$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 $ac_includes_default
4801 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4808 rm -f conftest.
$ac_objext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810 (eval $ac_compile) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1
>conftest.err
4814 cat conftest.err
>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try
='test -z "$ac_c_werror_flag"
4818 || test ! -s conftest.err'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; } &&
4824 { ac_try
='test -s conftest.$ac_objext'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; }; then
4830 ac_hi
=$ac_mid; break
4832 echo "$as_me: failed program was:" >&5
4833 sed 's/^/| /' conftest.
$ac_ext >&5
4835 ac_lo
=`expr $ac_mid + 1`
4836 if test $ac_lo -le $ac_mid; then
4840 ac_mid
=`expr 2 '*' $ac_mid + 1`
4842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.
$ac_ext >&5
4848 cat >conftest.
$ac_ext <<_ACEOF
4851 cat confdefs.h
>>conftest.
$ac_ext
4852 cat >>conftest.
$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4854 $ac_includes_default
4858 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4865 rm -f conftest.
$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1
>conftest.err
4871 cat conftest.err
>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try
='test -z "$ac_c_werror_flag"
4875 || test ! -s conftest.err'
4876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); }; } &&
4881 { ac_try
='test -s conftest.$ac_objext'
4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then
4889 cat >conftest.
$ac_ext <<_ACEOF
4892 cat confdefs.h
>>conftest.
$ac_ext
4893 cat >>conftest.
$ac_ext <<_ACEOF
4894 /* end confdefs.h. */
4895 $ac_includes_default
4899 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4906 rm -f conftest.
$ac_objext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4908 (eval $ac_compile) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1
>conftest.err
4912 cat conftest.err
>&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } &&
4915 { ac_try
='test -z "$ac_c_werror_flag"
4916 || test ! -s conftest.err'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; } &&
4922 { ac_try
='test -s conftest.$ac_objext'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; }; then
4928 ac_lo
=$ac_mid; break
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.
$ac_ext >&5
4933 ac_hi
=`expr '(' $ac_mid ')' - 1`
4934 if test $ac_mid -le $ac_hi; then
4938 ac_mid
=`expr 2 '*' $ac_mid`
4940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.
$ac_ext >&5
4948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4951 # Binary search between lo and hi bounds.
4952 while test "x$ac_lo" != "x$ac_hi"; do
4953 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4954 cat >conftest.
$ac_ext <<_ACEOF
4957 cat confdefs.h
>>conftest.
$ac_ext
4958 cat >>conftest.
$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4960 $ac_includes_default
4964 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4971 rm -f conftest.
$ac_objext
4972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4973 (eval $ac_compile) 2>conftest.er1
4975 grep -v '^ *+' conftest.er1
>conftest.err
4977 cat conftest.err
>&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } &&
4980 { ac_try
='test -z "$ac_c_werror_flag"
4981 || test ! -s conftest.err'
4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); }; } &&
4987 { ac_try
='test -s conftest.$ac_objext'
4988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992 (exit $ac_status); }; }; then
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.
$ac_ext >&5
4998 ac_lo
=`expr '(' $ac_mid ')' + 1`
5000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5003 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5004 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5005 See \`config.log' for more details." >&5
5006 echo "$as_me: error: cannot compute sizeof (long), 77
5007 See \`config.log' for more details." >&2;}
5008 { (exit 1); exit 1; }; } ;;
5011 if test "$cross_compiling" = yes; then
5012 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5013 See \`config.log' for more details." >&5
5014 echo "$as_me: error: cannot run test program while cross compiling
5015 See \`config.log' for more details." >&2;}
5016 { (exit 1); exit 1; }; }
5018 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5024 $ac_includes_default
5025 long longval () { return (long) (sizeof (long)); }
5026 unsigned long ulongval () { return (long) (sizeof (long)); }
5033 FILE *f = fopen ("conftest.val", "w");
5036 if (((long) (sizeof (long))) < 0)
5038 long i = longval ();
5039 if (i != ((long) (sizeof (long))))
5041 fprintf (f, "%ld\n", i);
5045 unsigned long i = ulongval ();
5046 if (i != ((long) (sizeof (long))))
5048 fprintf (f, "%lu\n", i);
5050 exit (ferror (f) || fclose (f) != 0);
5056 rm -f conftest
$ac_exeext
5057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5058 (eval $ac_link) 2>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); }; }; then
5067 ac_cv_sizeof_long
=`cat conftest.val`
5069 echo "$as_me: program exited with status $ac_status" >&5
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5074 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5075 See \`config.log' for more details." >&5
5076 echo "$as_me: error: cannot compute sizeof (long), 77
5077 See \`config.log' for more details." >&2;}
5078 { (exit 1); exit 1; }; }
5080 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5088 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5089 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5090 cat >>confdefs.h
<<_ACEOF
5091 #define SIZEOF_LONG $ac_cv_sizeof_long
5112 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
5114 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5115 echo "$as_me:$LINENO: checking for $ac_func" >&5
5116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5117 if eval "test \"\${$as_ac_var+set}\" = set"; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 cat >conftest.
$ac_ext <<_ACEOF
5123 cat confdefs.h
>>conftest.
$ac_ext
5124 cat >>conftest.
$ac_ext <<_ACEOF
5125 /* end confdefs.h. */
5126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5128 #define $ac_func innocuous_$ac_func
5130 /* System header to define __stub macros and hopefully few prototypes,
5131 which can conflict with char $ac_func (); below.
5132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5133 <limits.h> exists even on freestanding compilers. */
5136 # include <limits.h>
5138 # include <assert.h>
5143 /* Override any gcc2 internal prototype to avoid an error. */
5148 /* We use char because int might match the return type of a gcc2
5149 builtin and then its argument prototype would still apply. */
5151 /* The GNU C library defines this for functions which it implements
5152 to always fail with ENOSYS. Some functions are actually named
5153 something starting with __ and the normal name is an alias. */
5154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5157 char (*f) () = $ac_func;
5166 return f != $ac_func;
5171 rm -f conftest.
$ac_objext conftest
$ac_exeext
5172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5173 (eval $ac_link) 2>conftest.er1
5175 grep -v '^ *+' conftest.er1
>conftest.err
5177 cat conftest.err
>&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); } &&
5180 { ac_try
='test -z "$ac_c_werror_flag"
5181 || test ! -s conftest.err'
5182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); }; } &&
5187 { ac_try
='test -s conftest$ac_exeext'
5188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); }; }; then
5193 eval "$as_ac_var=yes"
5195 echo "$as_me: failed program was:" >&5
5196 sed 's/^/| /' conftest.
$ac_ext >&5
5198 eval "$as_ac_var=no"
5200 rm -f conftest.err conftest.
$ac_objext \
5201 conftest
$ac_exeext conftest.
$ac_ext
5203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5205 if test `eval echo '${'$as_ac_var'}'` = yes; then
5206 cat >>confdefs.h
<<_ACEOF
5207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5213 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5214 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5215 if test "${ac_cv_have_decl_abort+set}" = set; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 cat >conftest.
$ac_ext <<_ACEOF
5221 cat confdefs.h
>>conftest.
$ac_ext
5222 cat >>conftest.
$ac_ext <<_ACEOF
5223 /* end confdefs.h. */
5224 $ac_includes_default
5229 char *p = (char *) abort;
5236 rm -f conftest.
$ac_objext
5237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5238 (eval $ac_compile) 2>conftest.er1
5240 grep -v '^ *+' conftest.er1
>conftest.err
5242 cat conftest.err
>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } &&
5245 { ac_try
='test -z "$ac_c_werror_flag"
5246 || test ! -s conftest.err'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; } &&
5252 { ac_try
='test -s conftest.$ac_objext'
5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }; }; then
5258 ac_cv_have_decl_abort
=yes
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.
$ac_ext >&5
5263 ac_cv_have_decl_abort
=no
5265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5268 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5269 if test $ac_cv_have_decl_abort = yes; then
5271 cat >>confdefs.h
<<_ACEOF
5272 #define HAVE_DECL_ABORT 1
5277 cat >>confdefs.h
<<_ACEOF
5278 #define HAVE_DECL_ABORT 0
5283 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
5284 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
5285 if test "${ac_cv_have_decl_asprintf+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5288 cat >conftest.
$ac_ext <<_ACEOF
5291 cat confdefs.h
>>conftest.
$ac_ext
5292 cat >>conftest.
$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5294 $ac_includes_default
5299 char *p = (char *) asprintf;
5306 rm -f conftest.
$ac_objext
5307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5308 (eval $ac_compile) 2>conftest.er1
5310 grep -v '^ *+' conftest.er1
>conftest.err
5312 cat conftest.err
>&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } &&
5315 { ac_try
='test -z "$ac_c_werror_flag"
5316 || test ! -s conftest.err'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; } &&
5322 { ac_try
='test -s conftest.$ac_objext'
5323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); }; }; then
5328 ac_cv_have_decl_asprintf
=yes
5330 echo "$as_me: failed program was:" >&5
5331 sed 's/^/| /' conftest.
$ac_ext >&5
5333 ac_cv_have_decl_asprintf
=no
5335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5337 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
5338 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
5339 if test $ac_cv_have_decl_asprintf = yes; then
5341 cat >>confdefs.h
<<_ACEOF
5342 #define HAVE_DECL_ASPRINTF 1
5347 cat >>confdefs.h
<<_ACEOF
5348 #define HAVE_DECL_ASPRINTF 0
5353 echo "$as_me:$LINENO: checking whether basename is declared" >&5
5354 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
5355 if test "${ac_cv_have_decl_basename+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 cat >conftest.
$ac_ext <<_ACEOF
5361 cat confdefs.h
>>conftest.
$ac_ext
5362 cat >>conftest.
$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5364 $ac_includes_default
5369 char *p = (char *) basename;
5376 rm -f conftest.
$ac_objext
5377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5378 (eval $ac_compile) 2>conftest.er1
5380 grep -v '^ *+' conftest.er1
>conftest.err
5382 cat conftest.err
>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); } &&
5385 { ac_try
='test -z "$ac_c_werror_flag"
5386 || test ! -s conftest.err'
5387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }; } &&
5392 { ac_try
='test -s conftest.$ac_objext'
5393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); }; }; then
5398 ac_cv_have_decl_basename
=yes
5400 echo "$as_me: failed program was:" >&5
5401 sed 's/^/| /' conftest.
$ac_ext >&5
5403 ac_cv_have_decl_basename
=no
5405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5407 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
5408 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
5409 if test $ac_cv_have_decl_basename = yes; then
5411 cat >>confdefs.h
<<_ACEOF
5412 #define HAVE_DECL_BASENAME 1
5417 cat >>confdefs.h
<<_ACEOF
5418 #define HAVE_DECL_BASENAME 0
5423 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5424 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5425 if test "${ac_cv_have_decl_errno+set}" = set; then
5426 echo $ECHO_N "(cached) $ECHO_C" >&6
5428 cat >conftest.
$ac_ext <<_ACEOF
5431 cat confdefs.h
>>conftest.
$ac_ext
5432 cat >>conftest.
$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5434 $ac_includes_default
5439 char *p = (char *) errno;
5446 rm -f conftest.
$ac_objext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448 (eval $ac_compile) 2>conftest.er1
5450 grep -v '^ *+' conftest.er1
>conftest.err
5452 cat conftest.err
>&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); } &&
5455 { ac_try
='test -z "$ac_c_werror_flag"
5456 || test ! -s conftest.err'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; } &&
5462 { ac_try
='test -s conftest.$ac_objext'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5468 ac_cv_have_decl_errno
=yes
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.
$ac_ext >&5
5473 ac_cv_have_decl_errno
=no
5475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5477 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5478 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5479 if test $ac_cv_have_decl_errno = yes; then
5481 cat >>confdefs.h
<<_ACEOF
5482 #define HAVE_DECL_ERRNO 1
5487 cat >>confdefs.h
<<_ACEOF
5488 #define HAVE_DECL_ERRNO 0
5493 echo "$as_me:$LINENO: checking whether getopt is declared" >&5
5494 echo $ECHO_N "checking whether getopt is declared... $ECHO_C" >&6
5495 if test "${ac_cv_have_decl_getopt+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 cat >conftest.
$ac_ext <<_ACEOF
5501 cat confdefs.h
>>conftest.
$ac_ext
5502 cat >>conftest.
$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 $ac_includes_default
5509 char *p = (char *) getopt;
5516 rm -f conftest.
$ac_objext
5517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5518 (eval $ac_compile) 2>conftest.er1
5520 grep -v '^ *+' conftest.er1
>conftest.err
5522 cat conftest.err
>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } &&
5525 { ac_try
='test -z "$ac_c_werror_flag"
5526 || test ! -s conftest.err'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; } &&
5532 { ac_try
='test -s conftest.$ac_objext'
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; }; then
5538 ac_cv_have_decl_getopt
=yes
5540 echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.
$ac_ext >&5
5543 ac_cv_have_decl_getopt
=no
5545 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5547 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt" >&5
5548 echo "${ECHO_T}$ac_cv_have_decl_getopt" >&6
5549 if test $ac_cv_have_decl_getopt = yes; then
5551 cat >>confdefs.h
<<_ACEOF
5552 #define HAVE_DECL_GETOPT 1
5557 cat >>confdefs.h
<<_ACEOF
5558 #define HAVE_DECL_GETOPT 0
5563 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
5564 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
5565 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
5566 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 cat >conftest.
$ac_ext <<_ACEOF
5571 cat confdefs.h
>>conftest.
$ac_ext
5572 cat >>conftest.
$ac_ext <<_ACEOF
5573 /* end confdefs.h. */
5574 $ac_includes_default
5578 #ifndef clearerr_unlocked
5579 char *p = (char *) clearerr_unlocked;
5586 rm -f conftest.
$ac_objext
5587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5588 (eval $ac_compile) 2>conftest.er1
5590 grep -v '^ *+' conftest.er1
>conftest.err
5592 cat conftest.err
>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } &&
5595 { ac_try
='test -z "$ac_c_werror_flag"
5596 || test ! -s conftest.err'
5597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; } &&
5602 { ac_try
='test -s conftest.$ac_objext'
5603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); }; }; then
5608 ac_cv_have_decl_clearerr_unlocked
=yes
5610 echo "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.
$ac_ext >&5
5613 ac_cv_have_decl_clearerr_unlocked
=no
5615 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5617 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
5618 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
5619 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
5621 cat >>confdefs.h
<<_ACEOF
5622 #define HAVE_DECL_CLEARERR_UNLOCKED 1
5627 cat >>confdefs.h
<<_ACEOF
5628 #define HAVE_DECL_CLEARERR_UNLOCKED 0
5633 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
5634 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
5635 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5644 $ac_includes_default
5648 #ifndef feof_unlocked
5649 char *p = (char *) feof_unlocked;
5656 rm -f conftest.
$ac_objext
5657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5658 (eval $ac_compile) 2>conftest.er1
5660 grep -v '^ *+' conftest.er1
>conftest.err
5662 cat conftest.err
>&5
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); } &&
5665 { ac_try
='test -z "$ac_c_werror_flag"
5666 || test ! -s conftest.err'
5667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671 (exit $ac_status); }; } &&
5672 { ac_try
='test -s conftest.$ac_objext'
5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; }; then
5678 ac_cv_have_decl_feof_unlocked
=yes
5680 echo "$as_me: failed program was:" >&5
5681 sed 's/^/| /' conftest.
$ac_ext >&5
5683 ac_cv_have_decl_feof_unlocked
=no
5685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5687 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
5688 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
5689 if test $ac_cv_have_decl_feof_unlocked = yes; then
5691 cat >>confdefs.h
<<_ACEOF
5692 #define HAVE_DECL_FEOF_UNLOCKED 1
5697 cat >>confdefs.h
<<_ACEOF
5698 #define HAVE_DECL_FEOF_UNLOCKED 0
5703 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
5704 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
5705 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5708 cat >conftest.
$ac_ext <<_ACEOF
5711 cat confdefs.h
>>conftest.
$ac_ext
5712 cat >>conftest.
$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5714 $ac_includes_default
5718 #ifndef ferror_unlocked
5719 char *p = (char *) ferror_unlocked;
5726 rm -f conftest.
$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>conftest.er1
5730 grep -v '^ *+' conftest.er1
>conftest.err
5732 cat conftest.err
>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } &&
5735 { ac_try
='test -z "$ac_c_werror_flag"
5736 || test ! -s conftest.err'
5737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); }; } &&
5742 { ac_try
='test -s conftest.$ac_objext'
5743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); }; }; then
5748 ac_cv_have_decl_ferror_unlocked
=yes
5750 echo "$as_me: failed program was:" >&5
5751 sed 's/^/| /' conftest.
$ac_ext >&5
5753 ac_cv_have_decl_ferror_unlocked
=no
5755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5757 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
5758 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
5759 if test $ac_cv_have_decl_ferror_unlocked = yes; then
5761 cat >>confdefs.h
<<_ACEOF
5762 #define HAVE_DECL_FERROR_UNLOCKED 1
5767 cat >>confdefs.h
<<_ACEOF
5768 #define HAVE_DECL_FERROR_UNLOCKED 0
5773 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
5774 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
5775 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 cat >conftest.
$ac_ext <<_ACEOF
5781 cat confdefs.h
>>conftest.
$ac_ext
5782 cat >>conftest.
$ac_ext <<_ACEOF
5783 /* end confdefs.h. */
5784 $ac_includes_default
5788 #ifndef fflush_unlocked
5789 char *p = (char *) fflush_unlocked;
5796 rm -f conftest.
$ac_objext
5797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5798 (eval $ac_compile) 2>conftest.er1
5800 grep -v '^ *+' conftest.er1
>conftest.err
5802 cat conftest.err
>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } &&
5805 { ac_try
='test -z "$ac_c_werror_flag"
5806 || test ! -s conftest.err'
5807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }; } &&
5812 { ac_try
='test -s conftest.$ac_objext'
5813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); }; }; then
5818 ac_cv_have_decl_fflush_unlocked
=yes
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.
$ac_ext >&5
5823 ac_cv_have_decl_fflush_unlocked
=no
5825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5827 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
5828 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
5829 if test $ac_cv_have_decl_fflush_unlocked = yes; then
5831 cat >>confdefs.h
<<_ACEOF
5832 #define HAVE_DECL_FFLUSH_UNLOCKED 1
5837 cat >>confdefs.h
<<_ACEOF
5838 #define HAVE_DECL_FFLUSH_UNLOCKED 0
5843 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
5844 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
5845 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
5846 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 cat >conftest.
$ac_ext <<_ACEOF
5851 cat confdefs.h
>>conftest.
$ac_ext
5852 cat >>conftest.
$ac_ext <<_ACEOF
5853 /* end confdefs.h. */
5854 $ac_includes_default
5858 #ifndef fgetc_unlocked
5859 char *p = (char *) fgetc_unlocked;
5866 rm -f conftest.
$ac_objext
5867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5868 (eval $ac_compile) 2>conftest.er1
5870 grep -v '^ *+' conftest.er1
>conftest.err
5872 cat conftest.err
>&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); } &&
5875 { ac_try
='test -z "$ac_c_werror_flag"
5876 || test ! -s conftest.err'
5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); }; } &&
5882 { ac_try
='test -s conftest.$ac_objext'
5883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); }; }; then
5888 ac_cv_have_decl_fgetc_unlocked
=yes
5890 echo "$as_me: failed program was:" >&5
5891 sed 's/^/| /' conftest.
$ac_ext >&5
5893 ac_cv_have_decl_fgetc_unlocked
=no
5895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5897 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
5898 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
5899 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
5901 cat >>confdefs.h
<<_ACEOF
5902 #define HAVE_DECL_FGETC_UNLOCKED 1
5907 cat >>confdefs.h
<<_ACEOF
5908 #define HAVE_DECL_FGETC_UNLOCKED 0
5913 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
5914 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
5915 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 cat >conftest.
$ac_ext <<_ACEOF
5921 cat confdefs.h
>>conftest.
$ac_ext
5922 cat >>conftest.
$ac_ext <<_ACEOF
5923 /* end confdefs.h. */
5924 $ac_includes_default
5928 #ifndef fgets_unlocked
5929 char *p = (char *) fgets_unlocked;
5936 rm -f conftest.
$ac_objext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938 (eval $ac_compile) 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } &&
5945 { ac_try
='test -z "$ac_c_werror_flag"
5946 || test ! -s conftest.err'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try
='test -s conftest.$ac_objext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; }; then
5958 ac_cv_have_decl_fgets_unlocked
=yes
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.
$ac_ext >&5
5963 ac_cv_have_decl_fgets_unlocked
=no
5965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5967 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
5968 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
5969 if test $ac_cv_have_decl_fgets_unlocked = yes; then
5971 cat >>confdefs.h
<<_ACEOF
5972 #define HAVE_DECL_FGETS_UNLOCKED 1
5977 cat >>confdefs.h
<<_ACEOF
5978 #define HAVE_DECL_FGETS_UNLOCKED 0
5983 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
5984 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
5985 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 cat >conftest.
$ac_ext <<_ACEOF
5991 cat confdefs.h
>>conftest.
$ac_ext
5992 cat >>conftest.
$ac_ext <<_ACEOF
5993 /* end confdefs.h. */
5994 $ac_includes_default
5998 #ifndef fileno_unlocked
5999 char *p = (char *) fileno_unlocked;
6006 rm -f conftest.
$ac_objext
6007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6008 (eval $ac_compile) 2>conftest.er1
6010 grep -v '^ *+' conftest.er1
>conftest.err
6012 cat conftest.err
>&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try
='test -z "$ac_c_werror_flag"
6016 || test ! -s conftest.err'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; } &&
6022 { ac_try
='test -s conftest.$ac_objext'
6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; }; then
6028 ac_cv_have_decl_fileno_unlocked
=yes
6030 echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.
$ac_ext >&5
6033 ac_cv_have_decl_fileno_unlocked
=no
6035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6037 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
6038 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
6039 if test $ac_cv_have_decl_fileno_unlocked = yes; then
6041 cat >>confdefs.h
<<_ACEOF
6042 #define HAVE_DECL_FILENO_UNLOCKED 1
6047 cat >>confdefs.h
<<_ACEOF
6048 #define HAVE_DECL_FILENO_UNLOCKED 0
6053 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
6054 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
6055 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 cat >conftest.
$ac_ext <<_ACEOF
6061 cat confdefs.h
>>conftest.
$ac_ext
6062 cat >>conftest.
$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6064 $ac_includes_default
6068 #ifndef fprintf_unlocked
6069 char *p = (char *) fprintf_unlocked;
6076 rm -f conftest.
$ac_objext
6077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6078 (eval $ac_compile) 2>conftest.er1
6080 grep -v '^ *+' conftest.er1
>conftest.err
6082 cat conftest.err
>&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); } &&
6085 { ac_try
='test -z "$ac_c_werror_flag"
6086 || test ! -s conftest.err'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; } &&
6092 { ac_try
='test -s conftest.$ac_objext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6098 ac_cv_have_decl_fprintf_unlocked
=yes
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.
$ac_ext >&5
6103 ac_cv_have_decl_fprintf_unlocked
=no
6105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6107 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
6108 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
6109 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
6111 cat >>confdefs.h
<<_ACEOF
6112 #define HAVE_DECL_FPRINTF_UNLOCKED 1
6117 cat >>confdefs.h
<<_ACEOF
6118 #define HAVE_DECL_FPRINTF_UNLOCKED 0
6123 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
6124 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
6125 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
6126 echo $ECHO_N "(cached) $ECHO_C" >&6
6128 cat >conftest.
$ac_ext <<_ACEOF
6131 cat confdefs.h
>>conftest.
$ac_ext
6132 cat >>conftest.
$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6134 $ac_includes_default
6138 #ifndef fputc_unlocked
6139 char *p = (char *) fputc_unlocked;
6146 rm -f conftest.
$ac_objext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148 (eval $ac_compile) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1
>conftest.err
6152 cat conftest.err
>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } &&
6155 { ac_try
='test -z "$ac_c_werror_flag"
6156 || test ! -s conftest.err'
6157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }; } &&
6162 { ac_try
='test -s conftest.$ac_objext'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; }; then
6168 ac_cv_have_decl_fputc_unlocked
=yes
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.
$ac_ext >&5
6173 ac_cv_have_decl_fputc_unlocked
=no
6175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6177 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
6178 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
6179 if test $ac_cv_have_decl_fputc_unlocked = yes; then
6181 cat >>confdefs.h
<<_ACEOF
6182 #define HAVE_DECL_FPUTC_UNLOCKED 1
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_DECL_FPUTC_UNLOCKED 0
6193 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
6194 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
6195 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 cat >conftest.
$ac_ext <<_ACEOF
6201 cat confdefs.h
>>conftest.
$ac_ext
6202 cat >>conftest.
$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 $ac_includes_default
6208 #ifndef fputs_unlocked
6209 char *p = (char *) fputs_unlocked;
6216 rm -f conftest.
$ac_objext
6217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6218 (eval $ac_compile) 2>conftest.er1
6220 grep -v '^ *+' conftest.er1
>conftest.err
6222 cat conftest.err
>&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); } &&
6225 { ac_try
='test -z "$ac_c_werror_flag"
6226 || test ! -s conftest.err'
6227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); }; } &&
6232 { ac_try
='test -s conftest.$ac_objext'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; }; then
6238 ac_cv_have_decl_fputs_unlocked
=yes
6240 echo "$as_me: failed program was:" >&5
6241 sed 's/^/| /' conftest.
$ac_ext >&5
6243 ac_cv_have_decl_fputs_unlocked
=no
6245 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6247 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
6248 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
6249 if test $ac_cv_have_decl_fputs_unlocked = yes; then
6251 cat >>confdefs.h
<<_ACEOF
6252 #define HAVE_DECL_FPUTS_UNLOCKED 1
6257 cat >>confdefs.h
<<_ACEOF
6258 #define HAVE_DECL_FPUTS_UNLOCKED 0
6263 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
6264 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
6265 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6268 cat >conftest.
$ac_ext <<_ACEOF
6271 cat confdefs.h
>>conftest.
$ac_ext
6272 cat >>conftest.
$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6274 $ac_includes_default
6278 #ifndef fread_unlocked
6279 char *p = (char *) fread_unlocked;
6286 rm -f conftest.
$ac_objext
6287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6288 (eval $ac_compile) 2>conftest.er1
6290 grep -v '^ *+' conftest.er1
>conftest.err
6292 cat conftest.err
>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } &&
6295 { ac_try
='test -z "$ac_c_werror_flag"
6296 || test ! -s conftest.err'
6297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }; } &&
6302 { ac_try
='test -s conftest.$ac_objext'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; }; then
6308 ac_cv_have_decl_fread_unlocked
=yes
6310 echo "$as_me: failed program was:" >&5
6311 sed 's/^/| /' conftest.
$ac_ext >&5
6313 ac_cv_have_decl_fread_unlocked
=no
6315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6317 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
6318 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
6319 if test $ac_cv_have_decl_fread_unlocked = yes; then
6321 cat >>confdefs.h
<<_ACEOF
6322 #define HAVE_DECL_FREAD_UNLOCKED 1
6327 cat >>confdefs.h
<<_ACEOF
6328 #define HAVE_DECL_FREAD_UNLOCKED 0
6333 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
6334 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
6335 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 cat >conftest.
$ac_ext <<_ACEOF
6341 cat confdefs.h
>>conftest.
$ac_ext
6342 cat >>conftest.
$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6344 $ac_includes_default
6348 #ifndef fwrite_unlocked
6349 char *p = (char *) fwrite_unlocked;
6356 rm -f conftest.
$ac_objext
6357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6358 (eval $ac_compile) 2>conftest.er1
6360 grep -v '^ *+' conftest.er1
>conftest.err
6362 cat conftest.err
>&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } &&
6365 { ac_try
='test -z "$ac_c_werror_flag"
6366 || test ! -s conftest.err'
6367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371 (exit $ac_status); }; } &&
6372 { ac_try
='test -s conftest.$ac_objext'
6373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); }; }; then
6378 ac_cv_have_decl_fwrite_unlocked
=yes
6380 echo "$as_me: failed program was:" >&5
6381 sed 's/^/| /' conftest.
$ac_ext >&5
6383 ac_cv_have_decl_fwrite_unlocked
=no
6385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6387 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
6388 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
6389 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
6391 cat >>confdefs.h
<<_ACEOF
6392 #define HAVE_DECL_FWRITE_UNLOCKED 1
6397 cat >>confdefs.h
<<_ACEOF
6398 #define HAVE_DECL_FWRITE_UNLOCKED 0
6403 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
6404 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
6405 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
6406 echo $ECHO_N "(cached) $ECHO_C" >&6
6408 cat >conftest.
$ac_ext <<_ACEOF
6411 cat confdefs.h
>>conftest.
$ac_ext
6412 cat >>conftest.
$ac_ext <<_ACEOF
6413 /* end confdefs.h. */
6414 $ac_includes_default
6418 #ifndef getchar_unlocked
6419 char *p = (char *) getchar_unlocked;
6426 rm -f conftest.
$ac_objext
6427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6428 (eval $ac_compile) 2>conftest.er1
6430 grep -v '^ *+' conftest.er1
>conftest.err
6432 cat conftest.err
>&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } &&
6435 { ac_try
='test -z "$ac_c_werror_flag"
6436 || test ! -s conftest.err'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; } &&
6442 { ac_try
='test -s conftest.$ac_objext'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_have_decl_getchar_unlocked
=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.
$ac_ext >&5
6453 ac_cv_have_decl_getchar_unlocked
=no
6455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6457 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
6458 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
6459 if test $ac_cv_have_decl_getchar_unlocked = yes; then
6461 cat >>confdefs.h
<<_ACEOF
6462 #define HAVE_DECL_GETCHAR_UNLOCKED 1
6467 cat >>confdefs.h
<<_ACEOF
6468 #define HAVE_DECL_GETCHAR_UNLOCKED 0
6473 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
6474 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
6475 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 cat >conftest.
$ac_ext <<_ACEOF
6481 cat confdefs.h
>>conftest.
$ac_ext
6482 cat >>conftest.
$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6484 $ac_includes_default
6488 #ifndef getc_unlocked
6489 char *p = (char *) getc_unlocked;
6496 rm -f conftest.
$ac_objext
6497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6498 (eval $ac_compile) 2>conftest.er1
6500 grep -v '^ *+' conftest.er1
>conftest.err
6502 cat conftest.err
>&5
6503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6504 (exit $ac_status); } &&
6505 { ac_try
='test -z "$ac_c_werror_flag"
6506 || test ! -s conftest.err'
6507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); }; } &&
6512 { ac_try
='test -s conftest.$ac_objext'
6513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }; }; then
6518 ac_cv_have_decl_getc_unlocked
=yes
6520 echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.
$ac_ext >&5
6523 ac_cv_have_decl_getc_unlocked
=no
6525 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6527 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
6528 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
6529 if test $ac_cv_have_decl_getc_unlocked = yes; then
6531 cat >>confdefs.h
<<_ACEOF
6532 #define HAVE_DECL_GETC_UNLOCKED 1
6537 cat >>confdefs.h
<<_ACEOF
6538 #define HAVE_DECL_GETC_UNLOCKED 0
6543 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
6544 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
6545 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6548 cat >conftest.
$ac_ext <<_ACEOF
6551 cat confdefs.h
>>conftest.
$ac_ext
6552 cat >>conftest.
$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 $ac_includes_default
6558 #ifndef putchar_unlocked
6559 char *p = (char *) putchar_unlocked;
6566 rm -f conftest.
$ac_objext
6567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6568 (eval $ac_compile) 2>conftest.er1
6570 grep -v '^ *+' conftest.er1
>conftest.err
6572 cat conftest.err
>&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try
='test -z "$ac_c_werror_flag"
6576 || test ! -s conftest.err'
6577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); }; } &&
6582 { ac_try
='test -s conftest.$ac_objext'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; }; then
6588 ac_cv_have_decl_putchar_unlocked
=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.
$ac_ext >&5
6593 ac_cv_have_decl_putchar_unlocked
=no
6595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6597 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
6598 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
6599 if test $ac_cv_have_decl_putchar_unlocked = yes; then
6601 cat >>confdefs.h
<<_ACEOF
6602 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
6607 cat >>confdefs.h
<<_ACEOF
6608 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
6613 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
6614 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
6615 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 cat >conftest.
$ac_ext <<_ACEOF
6621 cat confdefs.h
>>conftest.
$ac_ext
6622 cat >>conftest.
$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 $ac_includes_default
6628 #ifndef putc_unlocked
6629 char *p = (char *) putc_unlocked;
6636 rm -f conftest.
$ac_objext
6637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6638 (eval $ac_compile) 2>conftest.er1
6640 grep -v '^ *+' conftest.er1
>conftest.err
6642 cat conftest.err
>&5
6643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6644 (exit $ac_status); } &&
6645 { ac_try
='test -z "$ac_c_werror_flag"
6646 || test ! -s conftest.err'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; } &&
6652 { ac_try
='test -s conftest.$ac_objext'
6653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); }; }; then
6658 ac_cv_have_decl_putc_unlocked
=yes
6660 echo "$as_me: failed program was:" >&5
6661 sed 's/^/| /' conftest.
$ac_ext >&5
6663 ac_cv_have_decl_putc_unlocked
=no
6665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6667 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
6668 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
6669 if test $ac_cv_have_decl_putc_unlocked = yes; then
6671 cat >>confdefs.h
<<_ACEOF
6672 #define HAVE_DECL_PUTC_UNLOCKED 1
6677 cat >>confdefs.h
<<_ACEOF
6678 #define HAVE_DECL_PUTC_UNLOCKED 0
6683 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
6684 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
6685 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
6686 echo $ECHO_N "(cached) $ECHO_C" >&6
6688 cat >conftest.
$ac_ext <<_ACEOF
6691 cat confdefs.h
>>conftest.
$ac_ext
6692 cat >>conftest.
$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6694 $ac_includes_default
6699 char *p = (char *) vasprintf;
6706 rm -f conftest.
$ac_objext
6707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6708 (eval $ac_compile) 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } &&
6715 { ac_try
='test -z "$ac_c_werror_flag"
6716 || test ! -s conftest.err'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; } &&
6722 { ac_try
='test -s conftest.$ac_objext'
6723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); }; }; then
6728 ac_cv_have_decl_vasprintf
=yes
6730 echo "$as_me: failed program was:" >&5
6731 sed 's/^/| /' conftest.
$ac_ext >&5
6733 ac_cv_have_decl_vasprintf
=no
6735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6737 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
6738 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
6739 if test $ac_cv_have_decl_vasprintf = yes; then
6741 cat >>confdefs.h
<<_ACEOF
6742 #define HAVE_DECL_VASPRINTF 1
6747 cat >>confdefs.h
<<_ACEOF
6748 #define HAVE_DECL_VASPRINTF 0
6756 # Checks for library functions.
6757 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6758 # for constant arguments. Useless!
6759 echo "$as_me:$LINENO: checking for working alloca.h" >&5
6760 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6761 if test "${ac_cv_working_alloca_h+set}" = set; then
6762 echo $ECHO_N "(cached) $ECHO_C" >&6
6764 cat >conftest.
$ac_ext <<_ACEOF
6767 cat confdefs.h
>>conftest.
$ac_ext
6768 cat >>conftest.
$ac_ext <<_ACEOF
6769 /* end confdefs.h. */
6774 char *p = (char *) alloca (2 * sizeof (int));
6779 rm -f conftest.
$ac_objext conftest
$ac_exeext
6780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6781 (eval $ac_link) 2>conftest.er1
6783 grep -v '^ *+' conftest.er1
>conftest.err
6785 cat conftest.err
>&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); } &&
6788 { ac_try
='test -z "$ac_c_werror_flag"
6789 || test ! -s conftest.err'
6790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); }; } &&
6795 { ac_try
='test -s conftest$ac_exeext'
6796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800 (exit $ac_status); }; }; then
6801 ac_cv_working_alloca_h
=yes
6803 echo "$as_me: failed program was:" >&5
6804 sed 's/^/| /' conftest.
$ac_ext >&5
6806 ac_cv_working_alloca_h
=no
6808 rm -f conftest.err conftest.
$ac_objext \
6809 conftest
$ac_exeext conftest.
$ac_ext
6811 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6812 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6813 if test $ac_cv_working_alloca_h = yes; then
6815 cat >>confdefs.h
<<\_ACEOF
6816 #define HAVE_ALLOCA_H 1
6821 echo "$as_me:$LINENO: checking for alloca" >&5
6822 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6823 if test "${ac_cv_func_alloca_works+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 cat >conftest.
$ac_ext <<_ACEOF
6829 cat confdefs.h
>>conftest.
$ac_ext
6830 cat >>conftest.
$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6833 # define alloca __builtin_alloca
6836 # include <malloc.h>
6837 # define alloca _alloca
6840 # include <alloca.h>
6845 # ifndef alloca /* predefined by HP cc +Olibcalls */
6856 char *p = (char *) alloca (1);
6861 rm -f conftest.
$ac_objext conftest
$ac_exeext
6862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6863 (eval $ac_link) 2>conftest.er1
6865 grep -v '^ *+' conftest.er1
>conftest.err
6867 cat conftest.err
>&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); } &&
6870 { ac_try
='test -z "$ac_c_werror_flag"
6871 || test ! -s conftest.err'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; } &&
6877 { ac_try
='test -s conftest$ac_exeext'
6878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); }; }; then
6883 ac_cv_func_alloca_works
=yes
6885 echo "$as_me: failed program was:" >&5
6886 sed 's/^/| /' conftest.
$ac_ext >&5
6888 ac_cv_func_alloca_works
=no
6890 rm -f conftest.err conftest.
$ac_objext \
6891 conftest
$ac_exeext conftest.
$ac_ext
6893 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6894 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
6896 if test $ac_cv_func_alloca_works = yes; then
6898 cat >>confdefs.h
<<\_ACEOF
6899 #define HAVE_ALLOCA 1
6903 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6904 # that cause trouble. Some versions do not even contain alloca or
6905 # contain a buggy version. If you still want to use their alloca,
6906 # use ar to extract alloca.o from them instead of compiling alloca.c.
6908 ALLOCA
=alloca.
$ac_objext
6910 cat >>confdefs.h
<<\_ACEOF
6915 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6916 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
6917 if test "${ac_cv_os_cray+set}" = set; then
6918 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 cat >conftest.
$ac_ext <<_ACEOF
6923 cat confdefs.h
>>conftest.
$ac_ext
6924 cat >>conftest.
$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6926 #if defined(CRAY) && ! defined(CRAY2)
6933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6934 $EGREP "webecray" >/dev
/null
2>&1; then
6942 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6943 echo "${ECHO_T}$ac_cv_os_cray" >&6
6944 if test $ac_cv_os_cray = yes; then
6945 for ac_func
in _getb67 GETB67 getb67
; do
6946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6947 echo "$as_me:$LINENO: checking for $ac_func" >&5
6948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6949 if eval "test \"\${$as_ac_var+set}\" = set"; then
6950 echo $ECHO_N "(cached) $ECHO_C" >&6
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6960 #define $ac_func innocuous_$ac_func
6962 /* System header to define __stub macros and hopefully few prototypes,
6963 which can conflict with char $ac_func (); below.
6964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6965 <limits.h> exists even on freestanding compilers. */
6968 # include <limits.h>
6970 # include <assert.h>
6975 /* Override any gcc2 internal prototype to avoid an error. */
6980 /* We use char because int might match the return type of a gcc2
6981 builtin and then its argument prototype would still apply. */
6983 /* The GNU C library defines this for functions which it implements
6984 to always fail with ENOSYS. Some functions are actually named
6985 something starting with __ and the normal name is an alias. */
6986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6989 char (*f) () = $ac_func;
6998 return f != $ac_func;
7003 rm -f conftest.
$ac_objext conftest
$ac_exeext
7004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7005 (eval $ac_link) 2>conftest.er1
7007 grep -v '^ *+' conftest.er1
>conftest.err
7009 cat conftest.err
>&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try
='test -z "$ac_c_werror_flag"
7013 || test ! -s conftest.err'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; } &&
7019 { ac_try
='test -s conftest$ac_exeext'
7020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024 (exit $ac_status); }; }; then
7025 eval "$as_ac_var=yes"
7027 echo "$as_me: failed program was:" >&5
7028 sed 's/^/| /' conftest.
$ac_ext >&5
7030 eval "$as_ac_var=no"
7032 rm -f conftest.err conftest.
$ac_objext \
7033 conftest
$ac_exeext conftest.
$ac_ext
7035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7037 if test `eval echo '${'$as_ac_var'}'` = yes; then
7039 cat >>confdefs.h
<<_ACEOF
7040 #define CRAY_STACKSEG_END $ac_func
7049 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7050 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7051 if test "${ac_cv_c_stack_direction+set}" = set; then
7052 echo $ECHO_N "(cached) $ECHO_C" >&6
7054 if test "$cross_compiling" = yes; then
7055 ac_cv_c_stack_direction
=0
7057 cat >conftest.
$ac_ext <<_ACEOF
7060 cat confdefs.h
>>conftest.
$ac_ext
7061 cat >>conftest.
$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7064 find_stack_direction ()
7066 static char *addr = 0;
7071 return find_stack_direction ();
7074 return (&dummy > addr) ? 1 : -1;
7080 exit (find_stack_direction () < 0);
7083 rm -f conftest
$ac_exeext
7084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7085 (eval $ac_link) 2>&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); }; }; then
7094 ac_cv_c_stack_direction
=1
7096 echo "$as_me: program exited with status $ac_status" >&5
7097 echo "$as_me: failed program was:" >&5
7098 sed 's/^/| /' conftest.
$ac_ext >&5
7101 ac_cv_c_stack_direction
=-1
7103 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7106 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7107 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7109 cat >>confdefs.h
<<_ACEOF
7110 #define STACK_DIRECTION $ac_cv_c_stack_direction
7116 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7117 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7118 if test "${ac_cv_header_stdc+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 cat >conftest.
$ac_ext <<_ACEOF
7124 cat confdefs.h
>>conftest.
$ac_ext
7125 cat >>conftest.
$ac_ext <<_ACEOF
7126 /* end confdefs.h. */
7140 rm -f conftest.
$ac_objext
7141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7142 (eval $ac_compile) 2>conftest.er1
7144 grep -v '^ *+' conftest.er1
>conftest.err
7146 cat conftest.err
>&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try
='test -z "$ac_c_werror_flag"
7150 || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try
='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7162 ac_cv_header_stdc
=yes
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.
$ac_ext >&5
7167 ac_cv_header_stdc
=no
7169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7171 if test $ac_cv_header_stdc = yes; then
7172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7173 cat >conftest.
$ac_ext <<_ACEOF
7176 cat confdefs.h
>>conftest.
$ac_ext
7177 cat >>conftest.
$ac_ext <<_ACEOF
7178 /* end confdefs.h. */
7182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7183 $EGREP "memchr" >/dev
/null
2>&1; then
7186 ac_cv_header_stdc
=no
7192 if test $ac_cv_header_stdc = yes; then
7193 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7194 cat >conftest.
$ac_ext <<_ACEOF
7197 cat confdefs.h
>>conftest.
$ac_ext
7198 cat >>conftest.
$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7204 $EGREP "free" >/dev
/null
2>&1; then
7207 ac_cv_header_stdc
=no
7213 if test $ac_cv_header_stdc = yes; then
7214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7215 if test "$cross_compiling" = yes; then
7218 cat >conftest.
$ac_ext <<_ACEOF
7221 cat confdefs.h
>>conftest.
$ac_ext
7222 cat >>conftest.
$ac_ext <<_ACEOF
7223 /* end confdefs.h. */
7225 #if ((' ' & 0x0FF) == 0x020)
7226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7229 # define ISLOWER(c) \
7230 (('a' <= (c) && (c) <= 'i') \
7231 || ('j' <= (c) && (c) <= 'r') \
7232 || ('s' <= (c) && (c) <= 'z'))
7233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7241 for (i = 0; i < 256; i++)
7242 if (XOR (islower (i), ISLOWER (i))
7243 || toupper (i) != TOUPPER (i))
7248 rm -f conftest
$ac_exeext
7249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7250 (eval $ac_link) 2>&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); }; }; then
7261 echo "$as_me: program exited with status $ac_status" >&5
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.
$ac_ext >&5
7266 ac_cv_header_stdc
=no
7268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7272 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7273 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7274 if test $ac_cv_header_stdc = yes; then
7276 cat >>confdefs.h
<<\_ACEOF
7277 #define STDC_HEADERS 1
7283 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
7284 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
7285 if test "${am_cv_langinfo_codeset+set}" = set; then
7286 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 cat >conftest.
$ac_ext <<_ACEOF
7291 cat confdefs.h
>>conftest.
$ac_ext
7292 cat >>conftest.
$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7294 #include <langinfo.h>
7298 char* cs = nl_langinfo(CODESET);
7303 rm -f conftest.
$ac_objext conftest
$ac_exeext
7304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7305 (eval $ac_link) 2>conftest.er1
7307 grep -v '^ *+' conftest.er1
>conftest.err
7309 cat conftest.err
>&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } &&
7312 { ac_try
='test -z "$ac_c_werror_flag"
7313 || test ! -s conftest.err'
7314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); }; } &&
7319 { ac_try
='test -s conftest$ac_exeext'
7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); }; }; then
7325 am_cv_langinfo_codeset
=yes
7327 echo "$as_me: failed program was:" >&5
7328 sed 's/^/| /' conftest.
$ac_ext >&5
7330 am_cv_langinfo_codeset
=no
7332 rm -f conftest.err conftest.
$ac_objext \
7333 conftest
$ac_exeext conftest.
$ac_ext
7336 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
7337 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
7338 if test $am_cv_langinfo_codeset = yes; then
7340 cat >>confdefs.h
<<\_ACEOF
7341 #define HAVE_LANGINFO_CODESET 1
7346 # If we haven't got the data from the intl directory,
7347 # assume NLS is disabled.
7356 if test -f ..
/intl
/config.intl
; then
7357 . ..
/intl
/config.intl
7359 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7360 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7361 if test x
"$USE_NLS" != xyes
; then
7362 echo "$as_me:$LINENO: result: no" >&5
7363 echo "${ECHO_T}no" >&6
7365 echo "$as_me:$LINENO: result: yes" >&5
7366 echo "${ECHO_T}yes" >&6
7368 cat >>confdefs.h
<<\_ACEOF
7369 #define ENABLE_NLS 1
7373 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7374 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
7375 # Look for .po and .gmo files in the source directory.
7378 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
7379 # If there aren't any .gmo files the shell will give us the
7380 # literal string "../path/to/srcdir/po/*.gmo" which has to be
7382 case "$cat" in *\
**)
7385 # The quadruple backslash is collapsed to a double backslash
7386 # by the backticks, then collapsed again by the double quotes,
7387 # leaving us with one backslash in the sed expression (right
7388 # before the dot that mustn't act as a wildcard).
7389 cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
7390 lang
=`echo $cat | sed -e "s!\\\\.gmo!!"`
7391 # The user is allowed to set LINGUAS to a list of languages to
7392 # install catalogs for. If it's empty that means "all of them."
7393 if test "x$LINGUAS" = x
; then
7394 CATALOGS
="$CATALOGS $cat"
7395 XLINGUAS
="$XLINGUAS $lang"
7397 case "$LINGUAS" in *$lang*)
7398 CATALOGS
="$CATALOGS $cat"
7399 XLINGUAS
="$XLINGUAS $lang"
7405 echo "$as_me:$LINENO: result: $LINGUAS" >&5
7406 echo "${ECHO_T}$LINGUAS" >&6
7419 echo "$as_me:$LINENO: checking for uchar" >&5
7420 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
7421 if test "${gcc_cv_type_uchar+set}" = set; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 cat >conftest.
$ac_ext <<_ACEOF
7427 cat confdefs.h
>>conftest.
$ac_ext
7428 cat >>conftest.
$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7431 #include <sys/types.h>
7436 if ((uchar *)0) return 0;
7437 if (sizeof(uchar)) return 0;
7442 rm -f conftest.
$ac_objext
7443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7444 (eval $ac_compile) 2>conftest.er1
7446 grep -v '^ *+' conftest.er1
>conftest.err
7448 cat conftest.err
>&5
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); } &&
7451 { ac_try
='test -z "$ac_c_werror_flag"
7452 || test ! -s conftest.err'
7453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); }; } &&
7458 { ac_try
='test -s conftest.$ac_objext'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }; }; then
7464 ac_cv_type_uchar
=yes
7466 echo "$as_me: failed program was:" >&5
7467 sed 's/^/| /' conftest.
$ac_ext >&5
7471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7473 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
7474 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
7475 if test $ac_cv_type_uchar = yes; then
7477 cat >>confdefs.h
<<\_ACEOF
7478 #define HAVE_UCHAR 1
7484 if test "X$prefix" = "XNONE"; then
7485 acl_final_prefix
="$ac_default_prefix"
7487 acl_final_prefix
="$prefix"
7489 if test "X$exec_prefix" = "XNONE"; then
7490 acl_final_exec_prefix
='${prefix}'
7492 acl_final_exec_prefix
="$exec_prefix"
7494 acl_save_prefix
="$prefix"
7495 prefix
="$acl_final_prefix"
7496 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7497 prefix
="$acl_save_prefix"
7500 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7501 if test "${with_gnu_ld+set}" = set; then
7502 withval
="$with_gnu_ld"
7503 test "$withval" = no || with_gnu_ld
=yes
7507 # Prepare PATH_SEPARATOR.
7508 # The user is always right.
7509 if test "${PATH_SEPARATOR+set}" != set; then
7510 echo "#! /bin/sh" >conf$$.sh
7511 echo "exit 0" >>conf$$.sh
7513 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7521 if test "$GCC" = yes; then
7522 # Check if gcc -print-prog-name=ld gives a path.
7523 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7524 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7527 # gcc leaves a trailing carriage return which upsets mingw
7528 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7530 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7533 # Accept absolute paths.
7534 [\\/]* |
[A-Za-z
]:[\\/]*)
7535 re_direlt
='/[^/][^/]*/\.\./'
7536 # Canonicalize the path of ld
7537 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7538 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7539 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7541 test -z "$LD" && LD
="$ac_prog"
7544 # If it fails, then pretend we aren't using GCC.
7548 # If it is relative, then search for the first ld in PATH.
7552 elif test "$with_gnu_ld" = yes; then
7553 echo "$as_me:$LINENO: checking for GNU ld" >&5
7554 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7556 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7557 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7559 if test "${acl_cv_path_LD+set}" = set; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 if test -z "$LD"; then
7563 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7564 for ac_dir
in $PATH; do
7565 test -z "$ac_dir" && ac_dir
=.
7566 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7567 acl_cv_path_LD
="$ac_dir/$ac_prog"
7568 # Check to see if the program is GNU ld. I'd rather use --version,
7569 # but apparently some GNU ld's only accept -v.
7570 # Break only if it was the GNU/non-GNU ld that we prefer.
7571 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
7572 test "$with_gnu_ld" != no
&& break
7574 test "$with_gnu_ld" != yes && break
7580 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7584 LD
="$acl_cv_path_LD"
7585 if test -n "$LD"; then
7586 echo "$as_me:$LINENO: result: $LD" >&5
7587 echo "${ECHO_T}$LD" >&6
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7592 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7593 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7594 { (exit 1); exit 1; }; }
7595 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7596 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7597 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7601 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
7602 acl_cv_prog_gnu_ld
=yes
7604 acl_cv_prog_gnu_ld
=no
7607 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7608 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7609 with_gnu_ld
=$acl_cv_prog_gnu_ld
7613 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7614 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7615 if test "${acl_cv_rpath+set}" = set; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7619 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7620 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7626 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7627 echo "${ECHO_T}$acl_cv_rpath" >&6
7629 libext
="$acl_cv_libext"
7630 shlibext
="$acl_cv_shlibext"
7631 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7632 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7633 hardcode_direct
="$acl_cv_hardcode_direct"
7634 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7635 # Check whether --enable-rpath or --disable-rpath was given.
7636 if test "${enable_rpath+set}" = set; then
7637 enableval
="$enable_rpath"
7651 acl_save_prefix
="$prefix"
7652 prefix
="$acl_final_prefix"
7653 acl_save_exec_prefix
="$exec_prefix"
7654 exec_prefix
="$acl_final_exec_prefix"
7656 eval additional_includedir
=\"$includedir\"
7657 eval additional_libdir
=\"$libdir\"
7659 exec_prefix
="$acl_save_exec_prefix"
7660 prefix
="$acl_save_prefix"
7663 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7664 if test "${with_libiconv_prefix+set}" = set; then
7665 withval
="$with_libiconv_prefix"
7667 if test "X$withval" = "Xno"; then
7670 if test "X$withval" = "X"; then
7672 acl_save_prefix
="$prefix"
7673 prefix
="$acl_final_prefix"
7674 acl_save_exec_prefix
="$exec_prefix"
7675 exec_prefix
="$acl_final_exec_prefix"
7677 eval additional_includedir
=\"$includedir\"
7678 eval additional_libdir
=\"$libdir\"
7680 exec_prefix
="$acl_save_exec_prefix"
7681 prefix
="$acl_save_prefix"
7684 additional_includedir
="$withval/include"
7685 additional_libdir
="$withval/lib"
7695 names_already_handled
=
7696 names_next_round
='iconv '
7697 while test -n "$names_next_round"; do
7698 names_this_round
="$names_next_round"
7700 for name
in $names_this_round; do
7702 for n
in $names_already_handled; do
7703 if test "$n" = "$name"; then
7708 if test -z "$already_handled"; then
7709 names_already_handled
="$names_already_handled $name"
7710 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7711 eval value
=\"\
$HAVE_LIB$uppername\"
7712 if test -n "$value"; then
7713 if test "$value" = yes; then
7714 eval value
=\"\
$LIB$uppername\"
7715 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7716 eval value
=\"\
$LTLIB$uppername\"
7717 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7726 if test $use_additional = yes; then
7727 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7728 found_dir
="$additional_libdir"
7729 found_so
="$additional_libdir/lib$name.$shlibext"
7730 if test -f "$additional_libdir/lib$name.la"; then
7731 found_la
="$additional_libdir/lib$name.la"
7734 if test -f "$additional_libdir/lib$name.$libext"; then
7735 found_dir
="$additional_libdir"
7736 found_a
="$additional_libdir/lib$name.$libext"
7737 if test -f "$additional_libdir/lib$name.la"; then
7738 found_la
="$additional_libdir/lib$name.la"
7743 if test "X$found_dir" = "X"; then
7744 for x
in $LDFLAGS $LTLIBICONV; do
7746 acl_save_prefix
="$prefix"
7747 prefix
="$acl_final_prefix"
7748 acl_save_exec_prefix
="$exec_prefix"
7749 exec_prefix
="$acl_final_exec_prefix"
7751 exec_prefix
="$acl_save_exec_prefix"
7752 prefix
="$acl_save_prefix"
7756 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7757 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7759 found_so
="$dir/lib$name.$shlibext"
7760 if test -f "$dir/lib$name.la"; then
7761 found_la
="$dir/lib$name.la"
7764 if test -f "$dir/lib$name.$libext"; then
7766 found_a
="$dir/lib$name.$libext"
7767 if test -f "$dir/lib$name.la"; then
7768 found_la
="$dir/lib$name.la"
7774 if test "X$found_dir" != "X"; then
7779 if test "X$found_dir" != "X"; then
7780 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7781 if test "X$found_so" != "X"; then
7782 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7783 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7786 for x
in $ltrpathdirs; do
7787 if test "X$x" = "X$found_dir"; then
7792 if test -z "$haveit"; then
7793 ltrpathdirs
="$ltrpathdirs $found_dir"
7795 if test "$hardcode_direct" = yes; then
7796 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7798 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7799 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7801 for x
in $rpathdirs; do
7802 if test "X$x" = "X$found_dir"; then
7807 if test -z "$haveit"; then
7808 rpathdirs
="$rpathdirs $found_dir"
7812 for x
in $LDFLAGS $LIBICONV; do
7814 acl_save_prefix
="$prefix"
7815 prefix
="$acl_final_prefix"
7816 acl_save_exec_prefix
="$exec_prefix"
7817 exec_prefix
="$acl_final_exec_prefix"
7819 exec_prefix
="$acl_save_exec_prefix"
7820 prefix
="$acl_save_prefix"
7822 if test "X$x" = "X-L$found_dir"; then
7827 if test -z "$haveit"; then
7828 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7830 if test "$hardcode_minus_L" != no
; then
7831 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7833 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7839 if test "X$found_a" != "X"; then
7840 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7842 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7845 additional_includedir
=
7846 case "$found_dir" in
7848 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7849 additional_includedir
="$basedir/include"
7852 if test "X$additional_includedir" != "X"; then
7853 if test "X$additional_includedir" != "X/usr/include"; then
7855 if test "X$additional_includedir" = "X/usr/local/include"; then
7856 if test -n "$GCC"; then
7858 linux
*) haveit
=yes;;
7862 if test -z "$haveit"; then
7863 for x
in $CPPFLAGS $INCICONV; do
7865 acl_save_prefix
="$prefix"
7866 prefix
="$acl_final_prefix"
7867 acl_save_exec_prefix
="$exec_prefix"
7868 exec_prefix
="$acl_final_exec_prefix"
7870 exec_prefix
="$acl_save_exec_prefix"
7871 prefix
="$acl_save_prefix"
7873 if test "X$x" = "X-I$additional_includedir"; then
7878 if test -z "$haveit"; then
7879 if test -d "$additional_includedir"; then
7880 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7886 if test -n "$found_la"; then
7887 save_libdir
="$libdir"
7889 */* |
*\\*) .
"$found_la" ;;
7890 *) .
"./$found_la" ;;
7892 libdir
="$save_libdir"
7893 for dep
in $dependency_libs; do
7896 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7897 if test "X$additional_libdir" != "X/usr/lib"; then
7899 if test "X$additional_libdir" = "X/usr/local/lib"; then
7900 if test -n "$GCC"; then
7902 linux
*) haveit
=yes;;
7906 if test -z "$haveit"; then
7908 for x
in $LDFLAGS $LIBICONV; do
7910 acl_save_prefix
="$prefix"
7911 prefix
="$acl_final_prefix"
7912 acl_save_exec_prefix
="$exec_prefix"
7913 exec_prefix
="$acl_final_exec_prefix"
7915 exec_prefix
="$acl_save_exec_prefix"
7916 prefix
="$acl_save_prefix"
7918 if test "X$x" = "X-L$additional_libdir"; then
7923 if test -z "$haveit"; then
7924 if test -d "$additional_libdir"; then
7925 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7929 for x
in $LDFLAGS $LTLIBICONV; do
7931 acl_save_prefix
="$prefix"
7932 prefix
="$acl_final_prefix"
7933 acl_save_exec_prefix
="$exec_prefix"
7934 exec_prefix
="$acl_final_exec_prefix"
7936 exec_prefix
="$acl_save_exec_prefix"
7937 prefix
="$acl_save_prefix"
7939 if test "X$x" = "X-L$additional_libdir"; then
7944 if test -z "$haveit"; then
7945 if test -d "$additional_libdir"; then
7946 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7953 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7954 if test "$enable_rpath" != no
; then
7956 for x
in $rpathdirs; do
7957 if test "X$x" = "X$dir"; then
7962 if test -z "$haveit"; then
7963 rpathdirs
="$rpathdirs $dir"
7966 for x
in $ltrpathdirs; do
7967 if test "X$x" = "X$dir"; then
7972 if test -z "$haveit"; then
7973 ltrpathdirs
="$ltrpathdirs $dir"
7978 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7981 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7984 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7985 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7991 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7992 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7998 if test "X$rpathdirs" != "X"; then
7999 if test -n "$hardcode_libdir_separator"; then
8001 for found_dir
in $rpathdirs; do
8002 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
8004 acl_save_libdir
="$libdir"
8006 eval flag
=\"$hardcode_libdir_flag_spec\"
8007 libdir
="$acl_save_libdir"
8008 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8010 for found_dir
in $rpathdirs; do
8011 acl_save_libdir
="$libdir"
8013 eval flag
=\"$hardcode_libdir_flag_spec\"
8014 libdir
="$acl_save_libdir"
8015 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8019 if test "X$ltrpathdirs" != "X"; then
8020 for found_dir
in $ltrpathdirs; do
8021 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8031 am_save_CPPFLAGS
="$CPPFLAGS"
8033 for element
in $INCICONV; do
8035 for x
in $CPPFLAGS; do
8037 acl_save_prefix
="$prefix"
8038 prefix
="$acl_final_prefix"
8039 acl_save_exec_prefix
="$exec_prefix"
8040 exec_prefix
="$acl_final_exec_prefix"
8042 exec_prefix
="$acl_save_exec_prefix"
8043 prefix
="$acl_save_prefix"
8045 if test "X$x" = "X$element"; then
8050 if test -z "$haveit"; then
8051 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8056 echo "$as_me:$LINENO: checking for iconv" >&5
8057 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8058 if test "${am_cv_func_iconv+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 am_cv_func_iconv
="no, consider installing GNU libiconv"
8064 cat >conftest.
$ac_ext <<_ACEOF
8067 cat confdefs.h
>>conftest.
$ac_ext
8068 cat >>conftest.
$ac_ext <<_ACEOF
8069 /* end confdefs.h. */
8075 iconv_t cd = iconv_open("","");
8076 iconv(cd,NULL,NULL,NULL,NULL);
8082 rm -f conftest.
$ac_objext conftest
$ac_exeext
8083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8084 (eval $ac_link) 2>conftest.er1
8086 grep -v '^ *+' conftest.er1
>conftest.err
8088 cat conftest.err
>&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); } &&
8091 { ac_try
='test -z "$ac_c_werror_flag"
8092 || test ! -s conftest.err'
8093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); }; } &&
8098 { ac_try
='test -s conftest$ac_exeext'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; }; then
8104 am_cv_func_iconv
=yes
8106 echo "$as_me: failed program was:" >&5
8107 sed 's/^/| /' conftest.
$ac_ext >&5
8110 rm -f conftest.err conftest.
$ac_objext \
8111 conftest
$ac_exeext conftest.
$ac_ext
8112 if test "$am_cv_func_iconv" != yes; then
8113 am_save_LIBS
="$LIBS"
8114 LIBS
="$LIBS $LIBICONV"
8115 cat >conftest.
$ac_ext <<_ACEOF
8118 cat confdefs.h
>>conftest.
$ac_ext
8119 cat >>conftest.
$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8126 iconv_t cd = iconv_open("","");
8127 iconv(cd,NULL,NULL,NULL,NULL);
8133 rm -f conftest.
$ac_objext conftest
$ac_exeext
8134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8135 (eval $ac_link) 2>conftest.er1
8137 grep -v '^ *+' conftest.er1
>conftest.err
8139 cat conftest.err
>&5
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); } &&
8142 { ac_try
='test -z "$ac_c_werror_flag"
8143 || test ! -s conftest.err'
8144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); }; } &&
8149 { ac_try
='test -s conftest$ac_exeext'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; }; then
8156 am_cv_func_iconv
=yes
8158 echo "$as_me: failed program was:" >&5
8159 sed 's/^/| /' conftest.
$ac_ext >&5
8162 rm -f conftest.err conftest.
$ac_objext \
8163 conftest
$ac_exeext conftest.
$ac_ext
8164 LIBS
="$am_save_LIBS"
8168 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8169 echo "${ECHO_T}$am_cv_func_iconv" >&6
8170 if test "$am_cv_func_iconv" = yes; then
8172 cat >>confdefs.h
<<\_ACEOF
8173 #define HAVE_ICONV 1
8177 if test "$am_cv_lib_iconv" = yes; then
8178 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8179 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8180 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8181 echo "${ECHO_T}$LIBICONV" >&6
8183 CPPFLAGS
="$am_save_CPPFLAGS"
8190 if test "$am_cv_func_iconv" = yes; then
8191 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8192 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8193 if test "${am_cv_proto_iconv+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 cat >conftest.
$ac_ext <<_ACEOF
8200 cat confdefs.h
>>conftest.
$ac_ext
8201 cat >>conftest.
$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8210 #if defined(__STDC__) || defined(__cplusplus)
8211 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8224 rm -f conftest.
$ac_objext
8225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8226 (eval $ac_compile) 2>conftest.er1
8228 grep -v '^ *+' conftest.er1
>conftest.err
8230 cat conftest.err
>&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); } &&
8233 { ac_try
='test -z "$ac_c_werror_flag"
8234 || test ! -s conftest.err'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try
='test -s conftest.$ac_objext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 am_cv_proto_iconv_arg1
=""
8248 echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.
$ac_ext >&5
8251 am_cv_proto_iconv_arg1
="const"
8253 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8254 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);"
8257 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8258 echo "$as_me:$LINENO: result: ${ac_t:-
8259 }$am_cv_proto_iconv" >&5
8260 echo "${ECHO_T}${ac_t:-
8261 }$am_cv_proto_iconv" >&6
8263 cat >>confdefs.h
<<_ACEOF
8264 #define ICONV_CONST $am_cv_proto_iconv_arg1
8270 # More defines and substitutions.
8271 PACKAGE
="$PACKAGE_TARNAME"
8273 cat >>confdefs.h
<<_ACEOF
8274 #define PACKAGE "$PACKAGE"
8279 if test "x$enable_nls" != xno
; then
8280 USED_CATALOGS
='$(CATALOGS)'
8286 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8287 if test "${enable_maintainer_mode+set}" = set; then
8288 enableval
="$enable_maintainer_mode"
8291 enable_maintainer_mode
=no
8294 if test "x$enable_maintainer_mode" = xno
; then
8301 # Check whether --enable-checking or --disable-checking was given.
8302 if test "${enable_checking+set}" = set; then
8303 enableval
="$enable_checking"
8309 if test $enable_checking != no
; then
8311 cat >>confdefs.h
<<\_ACEOF
8312 #define ENABLE_CHECKING 1
8321 arm
*-*-symbianelf* | \
8324 hppa
*64*-*-* | parisc
*64*-*-* | \
8325 i
[34567]86-*-darwin* | \
8326 i
[34567]86-*-solaris2.1
[0-9]* | \
8334 sh
[123456789lbe
]*-*-* | sh-
*-*)
8335 need_64bit_hwint
=yes ;;
8336 i
[34567]86-*-linux*)
8337 if test "x$enable_targets" = xall
; then
8338 need_64bit_hwint
=yes
8344 need_64bit_hwint
=no
;;
8347 case $need_64bit_hwint:$ac_cv_sizeof_long in
8348 *:8 | no
:*) host_wide_int
=long
;;
8349 *) host_wide_int
='long long' ;;
8354 cat >>confdefs.h
<<_ACEOF
8355 #define HOST_WIDE_INT $host_wide_int
8361 ac_config_headers
="$ac_config_headers config.h:config.in"
8363 ac_config_files
="$ac_config_files Makefile"
8365 cat >confcache
<<\_ACEOF
8366 # This file is a shell script that caches the results of configure
8367 # tests run on this system so they can be shared between configure
8368 # scripts and configure runs, see configure's option --config-cache.
8369 # It is not useful on other systems. If it contains results you don't
8370 # want to keep, you may remove or edit it.
8372 # config.status only pays attention to the cache file if you give it
8373 # the --recheck option to rerun configure.
8375 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8376 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8381 # The following way of writing the cache mishandles newlines in values,
8382 # but we know of no workaround that is simple, portable, and efficient.
8383 # So, don't put newlines in cache variables' values.
8384 # Ultrix sh set writes to stderr and can't be redirected directly,
8385 # and sets the high bit in the cache file unless we assign to the vars.
8388 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8390 # `set' does not quote correctly, so add quotes (double-quote
8391 # substitution turns \\\\ into \\, and sed turns \\ into \).
8394 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8397 # `set' quotes correctly as required by POSIX, so do not add quotes.
8399 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8406 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8408 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8410 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8411 if test -w $cache_file; then
8412 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8413 cat confcache
>$cache_file
8415 echo "not updating unwritable cache $cache_file"
8420 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8421 # Let make expand exec_prefix.
8422 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8424 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8425 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8426 # trailing colons and then remove the whole line if VPATH becomes empty
8427 # (actually we leave an empty line to preserve line numbers).
8428 if test "x$srcdir" = x.
; then
8429 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8430 s/:*\$(srcdir):*/:/;
8431 s/:*\${srcdir}:*/:/;
8433 s/^\([^=]*=[ ]*\):*/\1/;
8439 DEFS
=-DHAVE_CONFIG_H
8443 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8444 # 1. Remove the extension, and $U if already installed.
8445 ac_i
=`echo "$ac_i" |
8446 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8448 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8449 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8453 LTLIBOBJS
=$ac_ltlibobjs
8457 : ${CONFIG_STATUS=./config.status}
8458 ac_clean_files_save
=$ac_clean_files
8459 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8460 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8461 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8462 cat >$CONFIG_STATUS <<_ACEOF
8464 # Generated by $as_me.
8465 # Run this file to recreate the current configuration.
8466 # Compiler output produced by configure, useful for debugging
8467 # configure, is in config.log if it exists.
8472 SHELL=\${CONFIG_SHELL-$SHELL}
8475 cat >>$CONFIG_STATUS <<\_ACEOF
8476 ## --------------------- ##
8477 ## M4sh Initialization. ##
8478 ## --------------------- ##
8480 # Be Bourne compatible
8481 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8484 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8485 # is contrary to our usage. Disable this feature.
8486 alias -g '${1+"$@"}'='"$@"'
8487 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8490 DUALCASE
=1; export DUALCASE
# for MKS sh
8492 # Support unset when possible.
8493 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8500 # Work around bugs in pre-3.0 UWIN ksh.
8501 $as_unset ENV MAIL MAILPATH
8508 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8509 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8510 LC_TELEPHONE LC_TIME
8512 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8513 eval $as_var=C
; export $as_var
8519 # Required to use basename.
8520 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8526 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8527 as_basename
=basename
8533 # Name of the executable.
8534 as_me
=`$as_basename "$0" ||
8535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8536 X"$0" : 'X\(//\)$' \| \
8537 X"$0" : 'X\(/\)$' \| \
8538 . : '\(.\)' 2>/dev/null ||
8540 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8541 /^X\/\(\/\/\)$/{ s//\1/; q; }
8542 /^X\/\(\/\).*/{ s//\1/; q; }
8546 # PATH needs CR, and LINENO needs CR and PATH.
8547 # Avoid depending upon Character Ranges.
8548 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8549 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8550 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8551 as_cr_digits
='0123456789'
8552 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8554 # The user is always right.
8555 if test "${PATH_SEPARATOR+set}" != set; then
8556 echo "#! /bin/sh" >conf$$.sh
8557 echo "exit 0" >>conf$$.sh
8559 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8570 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8571 test "x$as_lineno_1" != "x$as_lineno_2" &&
8572 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8573 # Find who we are. Look in the path if we contain no path at all
8576 *[\\/]* ) as_myself
=$0 ;;
8577 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8581 test -z "$as_dir" && as_dir
=.
8582 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8587 # We did not find ourselves, most probably we were run as `sh COMMAND'
8588 # in which case we are not to be found in the path.
8589 if test "x$as_myself" = x
; then
8592 if test ! -f "$as_myself"; then
8593 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8594 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8595 { (exit 1); exit 1; }; }
8597 case $CONFIG_SHELL in
8599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8600 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8603 test -z "$as_dir" && as_dir
=.
8604 for as_base
in sh bash ksh sh5
; do
8607 if ("$as_dir/$as_base" -c '
8610 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8611 test "x$as_lineno_1" != "x$as_lineno_2" &&
8612 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8613 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8614 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8615 CONFIG_SHELL
=$as_dir/$as_base
8617 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8625 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8626 # uniformly replaced by the line number. The first 'sed' inserts a
8627 # line-number line before each line; the second 'sed' does the real
8628 # work. The second script uses 'N' to pair each line-number line
8629 # with the numbered line, and appends trailing '-' during
8630 # substitution so that $LINENO is not a special case at line end.
8631 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8632 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8633 sed '=' <$as_myself |
8638 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8641 s,^['$as_cr_digits']*\n,,
8643 chmod +x
$as_me.lineno ||
8644 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8645 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8646 { (exit 1); exit 1; }; }
8648 # Don't try to exec as it changes $[0], causing all sort of problems
8649 # (the dirname of $[0] is not the place where we might find the
8650 # original and so on. Autoconf is especially sensible to this).
8652 # Exit status is that of the last command.
8657 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8658 *c
*,-n*) ECHO_N
= ECHO_C
='
8660 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8661 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8664 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8670 rm -f conf$$ conf$$.exe conf$$.
file
8672 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8673 # We could just check for DJGPP; but this test a) works b) is more generic
8674 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8675 if test -f conf$$.exe
; then
8676 # Don't use ln at all; we don't have any links
8681 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8686 rm -f conf$$ conf$$.exe conf$$.
file
8688 if mkdir
-p .
2>/dev
/null
; then
8691 test -d .
/-p && rmdir .
/-p
8695 as_executable_p
="test -f"
8697 # Sed expression to map a string onto a valid CPP name.
8698 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8700 # Sed expression to map a string onto a valid variable name.
8701 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8705 # We need space, tab and new line, in precisely that order.
8715 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8716 # report actual input values of CONFIG_FILES etc. instead of their
8717 # values after options handling. Logging --version etc. is OK.
8721 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8722 ## Running $as_me. ##
8727 This file was extended by cpplib $as_me , which was
8728 generated by GNU Autoconf 2.59. Invocation command line was
8730 CONFIG_FILES = $CONFIG_FILES
8731 CONFIG_HEADERS = $CONFIG_HEADERS
8732 CONFIG_LINKS = $CONFIG_LINKS
8733 CONFIG_COMMANDS = $CONFIG_COMMANDS
8737 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8741 # Files that config.status was made for.
8742 if test -n "$ac_config_files"; then
8743 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8746 if test -n "$ac_config_headers"; then
8747 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8750 if test -n "$ac_config_links"; then
8751 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8754 if test -n "$ac_config_commands"; then
8755 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8758 cat >>$CONFIG_STATUS <<\_ACEOF
8761 \`$as_me' instantiates files from templates according to the
8762 current configuration.
8764 Usage: $0 [OPTIONS] [FILE]...
8766 -h, --help print this help, then exit
8767 -V, --version print version number, then exit
8768 -q, --quiet do not print progress messages
8769 -d, --debug don't remove temporary files
8770 --recheck update $as_me by reconfiguring in the same conditions
8771 --file=FILE[:TEMPLATE]
8772 instantiate the configuration file FILE
8773 --header=FILE[:TEMPLATE]
8774 instantiate the configuration header FILE
8776 Configuration files:
8779 Configuration headers:
8782 Configuration commands:
8785 Report bugs to <bug-autoconf@gnu.org>."
8788 cat >>$CONFIG_STATUS <<_ACEOF
8790 cpplib config.status
8791 configured by $0, generated by GNU Autoconf 2.59,
8792 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8794 Copyright (C) 2003 Free Software Foundation, Inc.
8795 This config.status script is free software; the Free Software Foundation
8796 gives unlimited permission to copy, distribute and modify it."
8801 cat >>$CONFIG_STATUS <<\_ACEOF
8802 # If no file are specified by the user, then we need to provide default
8803 # value. By we need to know if files were specified by the user.
8809 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8810 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8818 *) # This is not an option, so the user has probably given explicit
8821 ac_need_defaults
=false
;;
8825 # Handling of the options.
8827 cat >>$CONFIG_STATUS <<\_ACEOF
8828 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8830 --version |
--vers* |
-V )
8831 echo "$ac_cs_version"; exit 0 ;;
8833 # Conflict between --help and --header
8834 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8835 Try \`$0 --help' for more information." >&5
8836 echo "$as_me: error: ambiguous option: $1
8837 Try \`$0 --help' for more information." >&2;}
8838 { (exit 1); exit 1; }; };;
8839 --help |
--hel |
-h )
8840 echo "$ac_cs_usage"; exit 0 ;;
8841 --debug |
--d* |
-d )
8843 --file |
--fil |
--fi |
--f )
8845 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8846 ac_need_defaults
=false
;;
8847 --header |
--heade |
--head |
--hea )
8849 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8850 ac_need_defaults
=false
;;
8851 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8852 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8856 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8857 Try \`$0 --help' for more information." >&5
8858 echo "$as_me: error: unrecognized option: $1
8859 Try \`$0 --help' for more information." >&2;}
8860 { (exit 1); exit 1; }; } ;;
8862 *) ac_config_targets
="$ac_config_targets $1" ;;
8868 ac_configure_extra_args
=
8870 if $ac_cs_silent; then
8872 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8876 cat >>$CONFIG_STATUS <<_ACEOF
8877 if \$ac_cs_recheck; then
8878 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8879 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8884 cat >>$CONFIG_STATUS <<_ACEOF
8886 # INIT-COMMANDS section.
8889 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR
8895 cat >>$CONFIG_STATUS <<\_ACEOF
8896 for ac_config_target
in $ac_config_targets
8898 case "$ac_config_target" in
8899 # Handling of arguments.
8900 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8901 "depdir" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depdir" ;;
8902 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8903 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8904 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8905 { (exit 1); exit 1; }; };;
8909 # If the user did not use the arguments to specify the items to instantiate,
8910 # then the envvar interface is used. Set only those that are not.
8911 # We use the long form for the default assignment because of an extremely
8912 # bizarre bug on SunOS 4.1.3.
8913 if $ac_need_defaults; then
8914 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8915 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8916 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8919 # Have a temporary directory for convenience. Make it in the build tree
8920 # simply because there is no reason to put it here, and in addition,
8921 # creating and moving files from /tmp can sometimes cause problems.
8922 # Create a temporary directory, and hook for its removal unless debugging.
8925 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8926 trap '{ (exit 1); exit 1; }' 1 2 13 15
8929 # Create a (secure) tmp directory for tmp files.
8932 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8933 test -n "$tmp" && test -d "$tmp"
8936 tmp
=.
/confstat$$
-$RANDOM
8937 (umask 077 && mkdir
$tmp)
8940 echo "$me: cannot create a temporary directory in ." >&2
8941 { (exit 1); exit 1; }
8946 cat >>$CONFIG_STATUS <<_ACEOF
8949 # CONFIG_FILES section.
8952 # No need to generate the scripts if there are no CONFIG_FILES.
8953 # This happens for instance when ./config.status config.h
8954 if test -n "\$CONFIG_FILES"; then
8955 # Protect against being on the right side of a sed subst in config.status.
8956 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8957 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8958 s,@SHELL@,$SHELL,;t t
8959 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8960 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8961 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8962 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8963 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8964 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8965 s,@exec_prefix@,$exec_prefix,;t t
8966 s,@prefix@,$prefix,;t t
8967 s,@program_transform_name@,$program_transform_name,;t t
8968 s,@bindir@,$bindir,;t t
8969 s,@sbindir@,$sbindir,;t t
8970 s,@libexecdir@,$libexecdir,;t t
8971 s,@datadir@,$datadir,;t t
8972 s,@sysconfdir@,$sysconfdir,;t t
8973 s,@sharedstatedir@,$sharedstatedir,;t t
8974 s,@localstatedir@,$localstatedir,;t t
8975 s,@libdir@,$libdir,;t t
8976 s,@includedir@,$includedir,;t t
8977 s,@oldincludedir@,$oldincludedir,;t t
8978 s,@infodir@,$infodir,;t t
8979 s,@mandir@,$mandir,;t t
8980 s,@build_alias@,$build_alias,;t t
8981 s,@host_alias@,$host_alias,;t t
8982 s,@target_alias@,$target_alias,;t t
8984 s,@ECHO_C@,$ECHO_C,;t t
8985 s,@ECHO_N@,$ECHO_N,;t t
8986 s,@ECHO_T@,$ECHO_T,;t t
8988 s,@build@,$build,;t t
8989 s,@build_cpu@,$build_cpu,;t t
8990 s,@build_vendor@,$build_vendor,;t t
8991 s,@build_os@,$build_os,;t t
8993 s,@host_cpu@,$host_cpu,;t t
8994 s,@host_vendor@,$host_vendor,;t t
8995 s,@host_os@,$host_os,;t t
8996 s,@target@,$target,;t t
8997 s,@target_cpu@,$target_cpu,;t t
8998 s,@target_vendor@,$target_vendor,;t t
8999 s,@target_os@,$target_os,;t t
9000 s,@SET_MAKE@,$SET_MAKE,;t t
9001 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9002 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9003 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9005 s,@CFLAGS@,$CFLAGS,;t t
9006 s,@LDFLAGS@,$LDFLAGS,;t t
9007 s,@CPPFLAGS@,$CPPFLAGS,;t t
9008 s,@ac_ct_CC@,$ac_ct_CC,;t t
9009 s,@EXEEXT@,$EXEEXT,;t t
9010 s,@OBJEXT@,$OBJEXT,;t t
9011 s,@RANLIB@,$RANLIB,;t t
9012 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9013 s,@ACLOCAL@,$ACLOCAL,;t t
9014 s,@AUTOCONF@,$AUTOCONF,;t t
9015 s,@AUTOHEADER@,$AUTOHEADER,;t t
9016 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
9017 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
9018 s,@WERROR@,$WERROR,;t t
9019 s,@am__leading_dot@,$am__leading_dot,;t t
9020 s,@DEPDIR@,$DEPDIR,;t t
9021 s,@CCDEPMODE@,$CCDEPMODE,;t t
9023 s,@EGREP@,$EGREP,;t t
9024 s,@LIBOBJS@,$LIBOBJS,;t t
9025 s,@ALLOCA@,$ALLOCA,;t t
9026 s,@USE_NLS@,$USE_NLS,;t t
9027 s,@LIBINTL@,$LIBINTL,;t t
9028 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
9029 s,@INCINTL@,$INCINTL,;t t
9030 s,@XGETTEXT@,$XGETTEXT,;t t
9031 s,@GMSGFMT@,$GMSGFMT,;t t
9032 s,@POSUB@,$POSUB,;t t
9033 s,@CATALOGS@,$CATALOGS,;t t
9034 s,@DATADIRNAME@,$DATADIRNAME,;t t
9035 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
9036 s,@GENCAT@,$GENCAT,;t t
9037 s,@CATOBJEXT@,$CATOBJEXT,;t t
9038 s,@LIBICONV@,$LIBICONV,;t t
9039 s,@LTLIBICONV@,$LTLIBICONV,;t t
9040 s,@PACKAGE@,$PACKAGE,;t t
9041 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
9042 s,@MAINT@,$MAINT,;t t
9043 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9048 cat >>$CONFIG_STATUS <<\_ACEOF
9049 # Split the substitutions into bite-sized pieces for seds with
9050 # small command number limits, like on Digital OSF/1 and HP-UX.
9052 ac_sed_frag
=1 # Number of current file.
9053 ac_beg
=1 # First line for current file.
9054 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9057 while $ac_more_lines; do
9058 if test $ac_beg -gt 1; then
9059 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9061 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9063 if test ! -s $tmp/subs.frag
; then
9066 # The purpose of the label and of the branching condition is to
9067 # speed up the sed processing (if there are no `@' at all, there
9068 # is no need to browse any of the substitutions).
9069 # These are the two extra sed commands mentioned above.
9071 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9072 if test -z "$ac_sed_cmds"; then
9073 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9075 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9077 ac_sed_frag
=`expr $ac_sed_frag + 1`
9079 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9082 if test -z "$ac_sed_cmds"; then
9085 fi # test -n "$CONFIG_FILES"
9088 cat >>$CONFIG_STATUS <<\_ACEOF
9089 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9090 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9092 - |
*:- |
*:-:* ) # input from stdin
9094 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9095 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9096 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9097 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9098 * ) ac_file_in
=$ac_file.
in ;;
9101 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9102 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9103 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9104 X"$ac_file" : 'X\(//\)[^/]' \| \
9105 X"$ac_file" : 'X\(//\)$' \| \
9106 X"$ac_file" : 'X\(/\)' \| \
9107 . : '\(.\)' 2>/dev/null ||
9109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9110 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9111 /^X\(\/\/\)$/{ s//\1/; q; }
9112 /^X\(\/\).*/{ s//\1/; q; }
9114 { if $as_mkdir_p; then
9119 while test ! -d "$as_dir"; do
9120 as_dirs
="$as_dir $as_dirs"
9121 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9122 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9123 X"$as_dir" : 'X\(//\)[^/]' \| \
9124 X"$as_dir" : 'X\(//\)$' \| \
9125 X"$as_dir" : 'X\(/\)' \| \
9126 . : '\(.\)' 2>/dev/null ||
9128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9129 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9130 /^X\(\/\/\)$/{ s//\1/; q; }
9131 /^X\(\/\).*/{ s//\1/; q; }
9134 test ! -n "$as_dirs" || mkdir
$as_dirs
9135 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9136 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9137 { (exit 1); exit 1; }; }; }
9141 if test "$ac_dir" != .
; then
9142 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9143 # A "../" for each directory in $ac_dir_suffix.
9144 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9146 ac_dir_suffix
= ac_top_builddir
=
9150 .
) # No --srcdir option. We are building in place.
9152 if test -z "$ac_top_builddir"; then
9155 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9157 [\\/]* | ?
:[\\/]* ) # Absolute path.
9158 ac_srcdir
=$srcdir$ac_dir_suffix;
9159 ac_top_srcdir
=$srcdir ;;
9161 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9162 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9165 # Do not use `cd foo && pwd` to compute absolute paths, because
9166 # the directories may not exist.
9168 .
) ac_abs_builddir
="$ac_dir";;
9171 .
) ac_abs_builddir
=`pwd`;;
9172 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9173 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9176 case $ac_abs_builddir in
9177 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9179 case ${ac_top_builddir}.
in
9180 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9181 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9182 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9185 case $ac_abs_builddir in
9186 .
) ac_abs_srcdir
=$ac_srcdir;;
9189 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9190 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9191 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9194 case $ac_abs_builddir in
9195 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9197 case $ac_top_srcdir in
9198 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9199 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9200 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9206 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9207 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
9210 if test x
"$ac_file" != x-
; then
9211 { echo "$as_me:$LINENO: creating $ac_file" >&5
9212 echo "$as_me: creating $ac_file" >&6;}
9215 # Let's still pretend it is `configure' which instantiates (i.e., don't
9216 # use $as_me), people would be surprised to read:
9217 # /* config.h. Generated by config.status. */
9218 if test x
"$ac_file" = x-
; then
9221 configure_input
="$ac_file. "
9223 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9224 sed 's,.*/,,'` by configure."
9226 # First look for the input files in the build tree, otherwise in the
9228 ac_file_inputs
=`IFS=:
9229 for f in $ac_file_in; do
9231 -) echo $tmp/stdin ;;
9233 # Absolute (can't be DOS-style, as IFS=:)
9234 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9235 echo "$as_me: error: cannot find input file: $f" >&2;}
9236 { (exit 1); exit 1; }; }
9239 if test -f "$f"; then
9242 elif test -f "$srcdir/$f"; then
9247 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9248 echo "$as_me: error: cannot find input file: $f" >&2;}
9249 { (exit 1); exit 1; }; }
9252 done` ||
{ (exit 1); exit 1; }
9254 cat >>$CONFIG_STATUS <<_ACEOF
9258 cat >>$CONFIG_STATUS <<\_ACEOF
9260 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9261 s
,@configure_input@
,$configure_input,;t t
9262 s
,@srcdir@
,$ac_srcdir,;t t
9263 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9264 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9265 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9266 s
,@builddir@
,$ac_builddir,;t t
9267 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9268 s
,@top_builddir@
,$ac_top_builddir,;t t
9269 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9270 s
,@INSTALL@
,$ac_INSTALL,;t t
9271 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9273 if test x"$ac_file" != x-; then
9274 mv $tmp/out $ac_file
9282 cat >>$CONFIG_STATUS <<\_ACEOF
9285 # CONFIG_HEADER section.
9288 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9289 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9291 # ac_d sets the value in "#define NAME VALUE" lines.
9292 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9293 ac_dB
='[ ].*$,\1#\2'
9296 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9297 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9298 ac_uB
='$,\1#\2define\3'
9302 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9303 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9305 - |
*:- |
*:-:* ) # input from stdin
9307 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9308 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9309 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9310 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9311 * ) ac_file_in
=$ac_file.
in ;;
9314 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9315 echo "$as_me: creating $ac_file" >&6;}
9317 # First look for the input files in the build tree, otherwise in the
9319 ac_file_inputs
=`IFS=:
9320 for f in $ac_file_in; do
9322 -) echo $tmp/stdin ;;
9324 # Absolute (can't be DOS-style, as IFS=:)
9325 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9326 echo "$as_me: error: cannot find input file: $f" >&2;}
9327 { (exit 1); exit 1; }; }
9328 # Do quote $f, to prevent DOS paths from being IFS'd.
9331 if test -f "$f"; then
9334 elif test -f "$srcdir/$f"; then
9339 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9340 echo "$as_me: error: cannot find input file: $f" >&2;}
9341 { (exit 1); exit 1; }; }
9344 done` ||
{ (exit 1); exit 1; }
9345 # Remove the trailing spaces.
9346 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9350 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9351 # `conftest.undefs', that substitutes the proper values into
9352 # config.h.in to produce config.h. The first handles `#define'
9353 # templates, and the second `#undef' templates.
9354 # And first: Protect against being on the right side of a sed subst in
9355 # config.status. Protect against being in an unquoted here document
9357 rm -f conftest.defines conftest.undefs
9358 # Using a here document instead of a string reduces the quoting nightmare.
9359 # Putting comments in sed scripts is not portable.
9361 # `end' is used to avoid that the second main sed command (meant for
9362 # 0-ary CPP macros) applies to n-ary macro definitions.
9363 # See the Autoconf documentation for `clear'.
9364 cat >confdef2sed.
sed <<\_ACEOF
9369 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9371 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9374 # If some macros were called several times there might be several times
9375 # the same #defines, which is useless. Nevertheless, we may not want to
9376 # sort them, since we want the *last* AC-DEFINE to be honored.
9377 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9378 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9379 rm -f confdef2sed.sed
9381 # This sed command replaces #undef with comments. This is necessary, for
9382 # example, in the case of _POSIX_SOURCE, which is predefined and required
9383 # on some systems where configure will not decide to define it.
9384 cat >>conftest.undefs <<\_ACEOF
9385 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9388 # Break up conftest.defines because some shells have a limit on the size
9389 # of here documents, and old seds have small limits too (100 cmds).
9390 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9391 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9392 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9393 echo ' :' >>$CONFIG_STATUS
9395 while grep . conftest.defines >/dev/null
9397 # Write a limited-size here document to $tmp/defines.sed.
9398 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9399 # Speed up: don't consider the non `#define' lines.
9400 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9401 # Work around the forget-to-reset-the-flag bug.
9402 echo 't clr' >>$CONFIG_STATUS
9403 echo ': clr' >>$CONFIG_STATUS
9404 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9406 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9410 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9411 rm -f conftest.defines
9412 mv conftest.
tail conftest.defines
9414 rm -f conftest.defines
9415 echo ' fi # grep' >>$CONFIG_STATUS
9416 echo >>$CONFIG_STATUS
9418 # Break up conftest.undefs 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 #undef templates' >>$CONFIG_STATUS
9422 while grep . conftest.undefs
>/dev
/null
9424 # Write a limited-size here document to $tmp/undefs.sed.
9425 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9426 # Speed up: don't consider the non
`#undef'
9427 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9428 # Work around the forget-to-reset-the-flag bug.
9429 echo 't clr' >>$CONFIG_STATUS
9430 echo ': clr' >>$CONFIG_STATUS
9431 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9433 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9437 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9438 rm -f conftest.undefs
9439 mv conftest.tail conftest.undefs
9441 rm -f conftest.undefs
9443 cat >>$CONFIG_STATUS <<\_ACEOF
9444 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9445 # use $as_me), people would be surprised to read:
9446 # /* config.h. Generated by config.status. */
9447 if test x
"$ac_file" = x-
; then
9448 echo "/* Generated by configure. */" >$tmp/config.h
9450 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9452 cat $tmp/in >>$tmp/config.h
9454 if test x
"$ac_file" != x-
; then
9455 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9456 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9457 echo "$as_me: $ac_file is unchanged" >&6;}
9459 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9460 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9461 X"$ac_file" : 'X\(//\)[^/]' \| \
9462 X"$ac_file" : 'X\(//\)$' \| \
9463 X"$ac_file" : 'X\(/\)' \| \
9464 . : '\(.\)' 2>/dev/null ||
9466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9467 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9468 /^X\(\/\/\)$/{ s//\1/; q; }
9469 /^X\(\/\).*/{ s//\1/; q; }
9471 { if $as_mkdir_p; then
9476 while test ! -d "$as_dir"; do
9477 as_dirs
="$as_dir $as_dirs"
9478 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9479 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9480 X"$as_dir" : 'X\(//\)[^/]' \| \
9481 X"$as_dir" : 'X\(//\)$' \| \
9482 X"$as_dir" : 'X\(/\)' \| \
9483 . : '\(.\)' 2>/dev/null ||
9485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9486 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9487 /^X\(\/\/\)$/{ s//\1/; q; }
9488 /^X\(\/\).*/{ s//\1/; q; }
9491 test ! -n "$as_dirs" || mkdir
$as_dirs
9492 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9493 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9494 { (exit 1); exit 1; }; }; }
9497 mv $tmp/config.h
$ac_file
9503 # Run the commands associated with the file.
9505 config.h
) echo timestamp
> stamp-h1
;;
9509 cat >>$CONFIG_STATUS <<\_ACEOF
9512 # CONFIG_COMMANDS section.
9514 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9515 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9516 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9517 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9518 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9519 X"$ac_dest" : 'X\(//\)[^/]' \| \
9520 X"$ac_dest" : 'X\(//\)$' \| \
9521 X"$ac_dest" : 'X\(/\)' \| \
9522 . : '\(.\)' 2>/dev/null ||
9524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9526 /^X\(\/\/\)$/{ s//\1/; q; }
9527 /^X\(\/\).*/{ s//\1/; q; }
9529 { if $as_mkdir_p; then
9534 while test ! -d "$as_dir"; do
9535 as_dirs
="$as_dir $as_dirs"
9536 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9538 X"$as_dir" : 'X\(//\)[^/]' \| \
9539 X"$as_dir" : 'X\(//\)$' \| \
9540 X"$as_dir" : 'X\(/\)' \| \
9541 . : '\(.\)' 2>/dev/null ||
9543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9544 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9545 /^X\(\/\/\)$/{ s//\1/; q; }
9546 /^X\(\/\).*/{ s//\1/; q; }
9549 test ! -n "$as_dirs" || mkdir
$as_dirs
9550 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9551 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9552 { (exit 1); exit 1; }; }; }
9556 if test "$ac_dir" != .
; then
9557 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9558 # A "../" for each directory in $ac_dir_suffix.
9559 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9561 ac_dir_suffix
= ac_top_builddir
=
9565 .
) # No --srcdir option. We are building in place.
9567 if test -z "$ac_top_builddir"; then
9570 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9572 [\\/]* | ?
:[\\/]* ) # Absolute path.
9573 ac_srcdir
=$srcdir$ac_dir_suffix;
9574 ac_top_srcdir
=$srcdir ;;
9576 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9577 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9580 # Do not use `cd foo && pwd` to compute absolute paths, because
9581 # the directories may not exist.
9583 .
) ac_abs_builddir
="$ac_dir";;
9586 .
) ac_abs_builddir
=`pwd`;;
9587 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9588 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9591 case $ac_abs_builddir in
9592 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9594 case ${ac_top_builddir}.
in
9595 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9596 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9597 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9600 case $ac_abs_builddir in
9601 .
) ac_abs_srcdir
=$ac_srcdir;;
9604 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9605 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9606 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9609 case $ac_abs_builddir in
9610 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9612 case $ac_top_srcdir in
9613 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9614 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9615 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9620 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9621 echo "$as_me: executing $ac_dest commands" >&6;}
9623 depdir
) $SHELL $ac_aux_dir/mkinstalldirs
$DEPDIR ;;
9628 cat >>$CONFIG_STATUS <<\_ACEOF
9630 { (exit 0); exit 0; }
9632 chmod +x
$CONFIG_STATUS
9633 ac_clean_files
=$ac_clean_files_save
9636 # configure is writing to config.log, and then calls config.status.
9637 # config.status does its own redirection, appending to config.log.
9638 # Unfortunately, on DOS this fails, as config.log is still kept open
9639 # by configure, so config.status won't be able to write to it; its
9640 # output is simply discarded. So we exec the FD to /dev/null,
9641 # effectively closing config.log, so it can be properly (re)opened and
9642 # appended to by config.status. When coming back to configure, we
9643 # need to make the FD available again.
9644 if test "$no_create" != yes; then
9646 ac_config_status_args
=
9647 test "$silent" = yes &&
9648 ac_config_status_args
="$ac_config_status_args --quiet"
9650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9653 # would make configure fail if this is the last instruction.
9654 $ac_cs_success ||
{ (exit 1); exit 1; }