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 CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS 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 --disable-rpath do not hardcode runtime library paths
853 --enable-maintainer-mode enable rules only needed by maintainers
854 --enable-checking enable expensive run-time checks
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-gnu-ld assume the C compiler uses GNU ld default
=no
860 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
861 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
863 Some influential environment variables:
864 CC C compiler command
865 CFLAGS C compiler flags
866 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
867 nonstandard directory <lib dir>
868 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
869 headers in a nonstandard directory <include dir>
872 Use these variables to override the choices made by `configure' or to
help
873 it to
find libraries and programs with nonstandard names
/locations.
875 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
883 test -d $ac_dir ||
continue
886 if test "$ac_dir" != .
; then
887 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix
= ac_top_builddir
=
895 .
) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
902 [\\/]* | ?
:[\\/]* ) # Absolute path.
903 ac_srcdir
=$srcdir$ac_dir_suffix;
904 ac_top_srcdir
=$srcdir ;;
906 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
910 # Do not use `cd foo && pwd` to compute absolute paths, because
911 # the directories may not exist.
913 .
) ac_abs_builddir
="$ac_dir";;
916 .
) ac_abs_builddir
=`pwd`;;
917 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
918 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
921 case $ac_abs_builddir in
922 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
924 case ${ac_top_builddir}.
in
925 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
926 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
927 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
930 case $ac_abs_builddir in
931 .
) ac_abs_srcdir
=$ac_srcdir;;
934 .
) ac_abs_srcdir
=$ac_abs_builddir;;
935 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
936 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
939 case $ac_abs_builddir in
940 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
942 case $ac_top_srcdir in
943 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
944 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
945 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
950 # Check for guested configure; otherwise get Cygnus style configure.
951 if test -f $ac_srcdir/configure.gnu
; then
953 $SHELL $ac_srcdir/configure.gnu
--help=recursive
954 elif test -f $ac_srcdir/configure
; then
956 $SHELL $ac_srcdir/configure
--help=recursive
957 elif test -f $ac_srcdir/configure.ac ||
958 test -f $ac_srcdir/configure.
in; then
962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
968 test -n "$ac_init_help" && exit 0
969 if $ac_init_version; then
972 generated by GNU Autoconf
2.59
974 Copyright
(C
) 2003 Free Software Foundation
, Inc.
975 This configure
script is free software
; the Free Software Foundation
976 gives unlimited permission to copy
, distribute and modify it.
982 This file contains any messages produced by compilers while
983 running configure, to aid debugging if configure makes a mistake.
985 It was created by cpplib $as_me , which was
986 generated by GNU Autoconf 2.59. Invocation command line was
997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1009 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1020 test -z "$as_dir" && as_dir
=.
1021 echo "PATH: $as_dir"
1036 # Keep a trace of the command line.
1037 # Strip out --no-create and --no-recursion so they do not pile up.
1038 # Strip out --silent because we don't want to record it for future runs.
1039 # Also quote any args containing shell meta-characters.
1040 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_must_keep_next
=false
1051 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1056 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1061 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1062 if test $ac_must_keep_next = true
; then
1063 ac_must_keep_next
=false
# Got value, back to normal.
1066 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1067 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1068 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1069 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1070 case "$ac_configure_args0 " in
1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1074 -* ) ac_must_keep_next
=true
;;
1077 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1078 # Get rid of the leading space.
1084 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1085 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1087 # When interrupted or exit'd, cleanup temporary files, and complete
1088 # config.log. We remove comments because anyway the quotes in there
1089 # would cause problems or look ugly.
1090 # WARNING: Be sure not to use single quotes in there, as some shells,
1091 # such as our DU 5.0 friend, will then `close' the trap.
1092 trap 'exit_status=$?
1093 # Save into config.log some information that might help in debugging.
1098 ## ---------------- ##
1099 ## Cache variables. ##
1100 ## ---------------- ##
1103 # The following way of writing the cache mishandles newlines in values,
1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121 ## ----------------- ##
1122 ## Output variables. ##
1123 ## ----------------- ##
1126 for ac_var in $ac_subst_vars
1128 eval ac_val=$`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -n "$ac_subst_files"; then
1140 for ac_var in $ac_subst_files
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -s confdefs.h; then
1155 sed "/^$/d" confdefs.h | sort
1158 test "$ac_signal" != 0 &&
1159 echo "$as_me: caught signal $ac_signal"
1160 echo "$as_me: exit $exit_status"
1162 rm -f core *.core &&
1163 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1166 for ac_signal
in 1 2 13 15; do
1167 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1172 rm -rf conftest
* confdefs.h
1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176 # Predefined preprocessor variables.
1178 cat >>confdefs.h
<<_ACEOF
1179 #define PACKAGE_NAME "$PACKAGE_NAME"
1183 cat >>confdefs.h
<<_ACEOF
1184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188 cat >>confdefs.h
<<_ACEOF
1189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1193 cat >>confdefs.h
<<_ACEOF
1194 #define PACKAGE_STRING "$PACKAGE_STRING"
1198 cat >>confdefs.h
<<_ACEOF
1199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203 # Let the site file select an alternate cache file if it wants to.
1204 # Prefer explicitly selected file to automatically selected ones.
1205 if test -z "$CONFIG_SITE"; then
1206 if test "x$prefix" != xNONE
; then
1207 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1209 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212 for ac_site_file
in $CONFIG_SITE; do
1213 if test -r "$ac_site_file"; then
1214 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215 echo "$as_me: loading site script $ac_site_file" >&6;}
1216 sed 's/^/| /' "$ac_site_file" >&5
1221 if test -r "$cache_file"; then
1222 # Some versions of bash will fail to source /dev/null (special
1223 # files actually), so we avoid doing that.
1224 if test -f "$cache_file"; then
1225 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1226 echo "$as_me: loading cache $cache_file" >&6;}
1228 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1229 *) . .
/$cache_file;;
1233 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1234 echo "$as_me: creating cache $cache_file" >&6;}
1238 # Check that the precious variables saved in the cache have kept the same
1240 ac_cache_corrupted
=false
1241 for ac_var
in `(set) 2>&1 |
1242 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1243 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1244 eval ac_new_set
=\
$ac_env_${ac_var}_set
1245 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1246 eval ac_new_val
="\$ac_env_${ac_var}_value"
1247 case $ac_old_set,$ac_new_set in
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1251 ac_cache_corrupted
=: ;;
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1255 ac_cache_corrupted
=: ;;
1258 if test "x$ac_old_val" != "x$ac_new_val"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1260 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1261 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1262 echo "$as_me: former value: $ac_old_val" >&2;}
1263 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1264 echo "$as_me: current value: $ac_new_val" >&2;}
1265 ac_cache_corrupted
=:
1268 # Pass precious variables to config.status.
1269 if test "$ac_new_set" = set; then
1271 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 *) ac_arg
=$ac_var=$ac_new_val ;;
1275 case " $ac_configure_args " in
1276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1277 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1281 if $ac_cache_corrupted; then
1282 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1283 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1284 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1285 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1286 { (exit 1); exit 1; }; }
1290 ac_cpp
='$CPP $CPPFLAGS'
1291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1323 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1324 if test -f $ac_dir/install-sh
; then
1326 ac_install_sh
="$ac_aux_dir/install-sh -c"
1328 elif test -f $ac_dir/install.sh
; then
1330 ac_install_sh
="$ac_aux_dir/install.sh -c"
1332 elif test -f $ac_dir/shtool
; then
1334 ac_install_sh
="$ac_aux_dir/shtool install -c"
1338 if test -z "$ac_aux_dir"; then
1339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1340 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1341 { (exit 1); exit 1; }; }
1343 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1344 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1345 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1347 # Make sure we can run config.sub.
1348 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1349 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1350 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1351 { (exit 1); exit 1; }; }
1353 echo "$as_me:$LINENO: checking build system type" >&5
1354 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1355 if test "${ac_cv_build+set}" = set; then
1356 echo $ECHO_N "(cached) $ECHO_C" >&6
1358 ac_cv_build_alias
=$build_alias
1359 test -z "$ac_cv_build_alias" &&
1360 ac_cv_build_alias
=`$ac_config_guess`
1361 test -z "$ac_cv_build_alias" &&
1362 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1363 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1364 { (exit 1); exit 1; }; }
1365 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1366 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1367 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1368 { (exit 1); exit 1; }; }
1371 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1372 echo "${ECHO_T}$ac_cv_build" >&6
1374 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1375 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1376 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1379 echo "$as_me:$LINENO: checking host system type" >&5
1380 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1381 if test "${ac_cv_host+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 ac_cv_host_alias
=$host_alias
1385 test -z "$ac_cv_host_alias" &&
1386 ac_cv_host_alias
=$ac_cv_build_alias
1387 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1389 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1390 { (exit 1); exit 1; }; }
1393 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1394 echo "${ECHO_T}$ac_cv_host" >&6
1396 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1397 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1398 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1401 echo "$as_me:$LINENO: checking target system type" >&5
1402 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1403 if test "${ac_cv_target+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_target_alias
=$target_alias
1407 test "x$ac_cv_target_alias" = "x" &&
1408 ac_cv_target_alias
=$ac_cv_host_alias
1409 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1416 echo "${ECHO_T}$ac_cv_target" >&6
1417 target
=$ac_cv_target
1418 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1419 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1420 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1423 # The aliases save the names the user supplied, while $host etc.
1424 # will get canonicalized.
1425 test -n "$target_alias" &&
1426 test "$program_prefix$program_suffix$program_transform_name" = \
1428 program_prefix
=${target_alias}-
1429 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1430 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1431 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1432 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 cat >conftest.
make <<\_ACEOF
1437 @
echo 'ac_maketemp="$(MAKE)"'
1439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1440 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1441 if test -n "$ac_maketemp"; then
1442 eval ac_cv_prog_make_
${ac_make}_set
=yes
1444 eval ac_cv_prog_make_
${ac_make}_set
=no
1448 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1449 echo "$as_me:$LINENO: result: yes" >&5
1450 echo "${ECHO_T}yes" >&6
1453 echo "$as_me:$LINENO: result: no" >&5
1454 echo "${ECHO_T}no" >&6
1455 SET_MAKE
="MAKE=${MAKE-make}"
1458 # Find a good install program. We prefer a C program (faster),
1459 # so one script is as good as another. But avoid the broken or
1460 # incompatible versions:
1461 # SysV /etc/install, /usr/sbin/install
1462 # SunOS /usr/etc/install
1463 # IRIX /sbin/install
1465 # AmigaOS /C/install, which installs bootblocks on floppy discs
1466 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1467 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1468 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1469 # OS/2's system install, which has a completely different semantic
1470 # ./install, which can be erroneously created by make from ./install.sh.
1471 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1472 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1473 if test -z "$INSTALL"; then
1474 if test "${ac_cv_path_install+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1481 test -z "$as_dir" && as_dir
=.
1482 # Account for people who put trailing slashes in PATH elements.
1484 .
/ | .
// |
/cC
/* | \
1485 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1486 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1489 # OSF1 and SCO ODT 3.0 have their own names for install.
1490 # Don't use installbsd from OSF since it installs stuff as root
1492 for ac_prog
in ginstall scoinst
install; do
1493 for ac_exec_ext
in '' $ac_executable_extensions; do
1494 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1495 if test $ac_prog = install &&
1496 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1497 # AIX install. It has an incompatible calling convention.
1499 elif test $ac_prog = install &&
1500 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1501 # program-specific install script used by HP pwplus--don't use.
1504 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1516 if test "${ac_cv_path_install+set}" = set; then
1517 INSTALL
=$ac_cv_path_install
1519 # As a last resort, use the slow shell script. We don't cache a
1520 # path for INSTALL within a source directory, because that will
1521 # break other packages using the cache if that directory is
1522 # removed, or if the path is relative.
1523 INSTALL
=$ac_install_sh
1526 echo "$as_me:$LINENO: result: $INSTALL" >&5
1527 echo "${ECHO_T}$INSTALL" >&6
1529 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1530 # It thinks the first close brace ends the variable substitution.
1531 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1533 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1535 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1538 # Checks for programs.
1540 ac_cpp
='$CPP $CPPFLAGS'
1541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1544 if test -n "$ac_tool_prefix"; then
1545 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1546 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1547 echo "$as_me:$LINENO: checking for $ac_word" >&5
1548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1549 if test "${ac_cv_prog_CC+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6
1552 if test -n "$CC"; then
1553 ac_cv_prog_CC
="$CC" # Let the user override the test.
1555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1559 test -z "$as_dir" && as_dir
=.
1560 for ac_exec_ext
in '' $ac_executable_extensions; do
1561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1562 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572 if test -n "$CC"; then
1573 echo "$as_me:$LINENO: result: $CC" >&5
1574 echo "${ECHO_T}$CC" >&6
1576 echo "$as_me:$LINENO: result: no" >&5
1577 echo "${ECHO_T}no" >&6
1581 if test -z "$ac_cv_prog_CC"; then
1583 # Extract the first word of "gcc", so it can be a program name with args.
1584 set dummy gcc
; ac_word
=$2
1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 if test -n "$ac_ct_CC"; then
1591 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1597 test -z "$as_dir" && as_dir
=.
1598 for ac_exec_ext
in '' $ac_executable_extensions; do
1599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1600 ac_cv_prog_ac_ct_CC
="gcc"
1601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1609 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1610 if test -n "$ac_ct_CC"; then
1611 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1612 echo "${ECHO_T}$ac_ct_CC" >&6
1614 echo "$as_me:$LINENO: result: no" >&5
1615 echo "${ECHO_T}no" >&6
1623 if test -z "$CC"; then
1624 if test -n "$ac_tool_prefix"; then
1625 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1626 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1627 echo "$as_me:$LINENO: checking for $ac_word" >&5
1628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1629 if test "${ac_cv_prog_CC+set}" = set; then
1630 echo $ECHO_N "(cached) $ECHO_C" >&6
1632 if test -n "$CC"; then
1633 ac_cv_prog_CC
="$CC" # Let the user override the test.
1635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir
=.
1640 for ac_exec_ext
in '' $ac_executable_extensions; do
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1642 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1652 if test -n "$CC"; then
1653 echo "$as_me:$LINENO: result: $CC" >&5
1654 echo "${ECHO_T}$CC" >&6
1656 echo "$as_me:$LINENO: result: no" >&5
1657 echo "${ECHO_T}no" >&6
1661 if test -z "$ac_cv_prog_CC"; then
1663 # Extract the first word of "cc", so it can be a program name with args.
1664 set dummy cc
; ac_word
=$2
1665 echo "$as_me:$LINENO: checking for $ac_word" >&5
1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1667 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1670 if test -n "$ac_ct_CC"; then
1671 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir
=.
1678 for ac_exec_ext
in '' $ac_executable_extensions; do
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1680 ac_cv_prog_ac_ct_CC
="cc"
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1690 if test -n "$ac_ct_CC"; then
1691 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1692 echo "${ECHO_T}$ac_ct_CC" >&6
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1704 if test -z "$CC"; then
1705 # Extract the first word of "cc", so it can be a program name with args.
1706 set dummy cc
; ac_word
=$2
1707 echo "$as_me:$LINENO: checking for $ac_word" >&5
1708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709 if test "${ac_cv_prog_CC+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 if test -n "$CC"; then
1713 ac_cv_prog_CC
="$CC" # Let the user override the test.
1716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir
=.
1721 for ac_exec_ext
in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1724 ac_prog_rejected
=yes
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1734 if test $ac_prog_rejected = yes; then
1735 # We found a bogon in the path, so make sure we never use it.
1736 set dummy
$ac_cv_prog_CC
1738 if test $# != 0; then
1739 # We chose a different compiler from the bogus one.
1740 # However, it has the same basename, so the bogon will be chosen
1741 # first if we set CC to just the basename; use the full file name.
1743 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1749 if test -n "$CC"; then
1750 echo "$as_me:$LINENO: result: $CC" >&5
1751 echo "${ECHO_T}$CC" >&6
1753 echo "$as_me:$LINENO: result: no" >&5
1754 echo "${ECHO_T}no" >&6
1758 if test -z "$CC"; then
1759 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1763 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC
="$CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir
=.
1777 for ac_exec_ext
in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1797 test -n "$CC" && break
1800 if test -z "$CC"; then
1804 # Extract the first word of "$ac_prog", so it can be a program name with args.
1805 set dummy
$ac_prog; ac_word
=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$ac_ct_CC"; then
1812 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1818 test -z "$as_dir" && as_dir
=.
1819 for ac_exec_ext
in '' $ac_executable_extensions; do
1820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1821 ac_cv_prog_ac_ct_CC
="$ac_prog"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1831 if test -n "$ac_ct_CC"; then
1832 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1833 echo "${ECHO_T}$ac_ct_CC" >&6
1835 echo "$as_me:$LINENO: result: no" >&5
1836 echo "${ECHO_T}no" >&6
1839 test -n "$ac_ct_CC" && break
1848 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1849 See \`config.log' for more details." >&5
1850 echo "$as_me: error: no acceptable C compiler found in \$PATH
1851 See \`config.log' for more details." >&2;}
1852 { (exit 1); exit 1; }; }
1854 # Provide some information about the compiler.
1855 echo "$as_me:$LINENO:" \
1856 "checking for C compiler version" >&5
1857 ac_compiler
=`set X $ac_compile; echo $2`
1858 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1859 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }
1863 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1864 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1867 (exit $ac_status); }
1868 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1869 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }
1874 cat >conftest.
$ac_ext <<_ACEOF
1877 cat confdefs.h
>>conftest.
$ac_ext
1878 cat >>conftest.
$ac_ext <<_ACEOF
1879 /* end confdefs.h. */
1889 ac_clean_files_save
=$ac_clean_files
1890 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1891 # Try to create an executable without -o first, disregard a.out.
1892 # It will help us diagnose broken compilers, and finding out an intuition
1894 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1895 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1896 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1897 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1898 (eval $ac_link_default) 2>&5
1900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901 (exit $ac_status); }; then
1902 # Find the output, starting from the most likely. This scheme is
1903 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1906 # Be careful to initialize this variable, since it used to be cached.
1907 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1909 # b.out is created by i960 compilers.
1910 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1912 test -f "$ac_file" ||
continue
1914 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1917 # This is the source file.
1920 # We found the default executable, but exeext='' is most
1924 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1925 # FIXME: I believe we export ac_cv_exeext for Libtool,
1926 # but it would be cool to find out if it's true. Does anybody
1927 # maintain Libtool? --akim.
1935 echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.
$ac_ext >&5
1938 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1939 See \`config.log' for more details." >&5
1940 echo "$as_me: error: C compiler cannot create executables
1941 See \`config.log' for more details." >&2;}
1942 { (exit 77); exit 77; }; }
1945 ac_exeext
=$ac_cv_exeext
1946 echo "$as_me:$LINENO: result: $ac_file" >&5
1947 echo "${ECHO_T}$ac_file" >&6
1949 # Check the compiler produces executables we can run. If not, either
1950 # the compiler is broken, or we cross compile.
1951 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1952 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1953 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1954 # If not cross compiling, check that we can run a simple program.
1955 if test "$cross_compiling" != yes; then
1956 if { ac_try
='./$ac_file'
1957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1961 (exit $ac_status); }; }; then
1964 if test "$cross_compiling" = maybe
; then
1967 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1968 If you meant to cross compile, use \`--host'.
1969 See \`config.log' for more details." >&5
1970 echo "$as_me: error: cannot run C compiled programs.
1971 If you meant to cross compile, use \`--host'.
1972 See \`config.log' for more details." >&2;}
1973 { (exit 1); exit 1; }; }
1977 echo "$as_me:$LINENO: result: yes" >&5
1978 echo "${ECHO_T}yes" >&6
1980 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1981 ac_clean_files
=$ac_clean_files_save
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 we are cross compiling" >&5
1985 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1986 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1987 echo "${ECHO_T}$cross_compiling" >&6
1989 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1990 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1992 (eval $ac_link) 2>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }; then
1996 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1997 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1998 # work properly (i.e., refer to `conftest.exe'), while it won't with
2000 for ac_file
in conftest.exe conftest conftest.
*; do
2001 test -f "$ac_file" ||
continue
2003 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2004 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2011 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2012 See \`config.log' for more details." >&5
2013 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2014 See \`config.log' for more details." >&2;}
2015 { (exit 1); exit 1; }; }
2018 rm -f conftest
$ac_cv_exeext
2019 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2020 echo "${ECHO_T}$ac_cv_exeext" >&6
2022 rm -f conftest.
$ac_ext
2023 EXEEXT
=$ac_cv_exeext
2025 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2027 if test "${ac_cv_objext+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2030 cat >conftest.
$ac_ext <<_ACEOF
2033 cat confdefs.h
>>conftest.
$ac_ext
2034 cat >>conftest.
$ac_ext <<_ACEOF
2035 /* end confdefs.h. */
2045 rm -f conftest.o conftest.obj
2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2047 (eval $ac_compile) 2>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }; then
2051 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2053 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2054 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2059 echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.
$ac_ext >&5
2062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2063 See \`config.log' for more details." >&5
2064 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2065 See \`config.log' for more details." >&2;}
2066 { (exit 1); exit 1; }; }
2069 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2072 echo "${ECHO_T}$ac_cv_objext" >&6
2073 OBJEXT
=$ac_cv_objext
2075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2077 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 cat >conftest.
$ac_ext <<_ACEOF
2083 cat confdefs.h
>>conftest.
$ac_ext
2084 cat >>conftest.
$ac_ext <<_ACEOF
2085 /* end confdefs.h. */
2098 rm -f conftest.
$ac_objext
2099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2100 (eval $ac_compile) 2>conftest.er1
2102 grep -v '^ *+' conftest.er1
>conftest.err
2104 cat conftest.err
>&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); } &&
2107 { ac_try
='test -z "$ac_c_werror_flag"
2108 || test ! -s conftest.err'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; } &&
2114 { ac_try
='test -s conftest.$ac_objext'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; }; then
2122 echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.
$ac_ext >&5
2127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2133 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2134 ac_test_CFLAGS
=${CFLAGS+set}
2135 ac_save_CFLAGS
=$CFLAGS
2137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2139 if test "${ac_cv_prog_cc_g+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 cat >conftest.
$ac_ext <<_ACEOF
2145 cat confdefs.h
>>conftest.
$ac_ext
2146 cat >>conftest.
$ac_ext <<_ACEOF
2147 /* end confdefs.h. */
2157 rm -f conftest.
$ac_objext
2158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2159 (eval $ac_compile) 2>conftest.er1
2161 grep -v '^ *+' conftest.er1
>conftest.err
2163 cat conftest.err
>&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); } &&
2166 { ac_try
='test -z "$ac_c_werror_flag"
2167 || test ! -s conftest.err'
2168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172 (exit $ac_status); }; } &&
2173 { ac_try
='test -s conftest.$ac_objext'
2174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; }; then
2181 echo "$as_me: failed program was:" >&5
2182 sed 's/^/| /' conftest.
$ac_ext >&5
2186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2190 if test "$ac_test_CFLAGS" = set; then
2191 CFLAGS
=$ac_save_CFLAGS
2192 elif test $ac_cv_prog_cc_g = yes; then
2193 if test "$GCC" = yes; then
2199 if test "$GCC" = yes; then
2205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2207 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 ac_cv_prog_cc_stdc
=no
2212 cat >conftest.
$ac_ext <<_ACEOF
2215 cat confdefs.h
>>conftest.
$ac_ext
2216 cat >>conftest.
$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2220 #include <sys/types.h>
2221 #include <sys/stat.h>
2222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2223 struct buf { int x; };
2224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2225 static char *e (p, i)
2231 static char *f (char * (*g) (char **, int), char **p, ...)
2236 s = g (p, va_arg (v,int));
2241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2242 function prototypes and stuff, but not '\xHH' hex character constants.
2243 These don't provoke an error unfortunately, instead are silently treated
2244 as 'x'. The following induces an error, until -std1 is added to get
2245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2246 array size at least. It's necessary to write '\x00'==0 to get something
2247 that's true only with -std1. */
2248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2250 int test (int i, double x);
2251 struct s1 {int (*f) (int a);};
2252 struct s2 {int (*f) (double a);};
2253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2259 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2264 # Don't try gcc -ansi; that turns off useful extensions and
2265 # breaks some systems' header files.
2266 # AIX -qlanglvl=ansi
2267 # Ultrix and OSF/1 -std1
2268 # HP-UX 10.20 and later -Ae
2269 # HP-UX older versions -Aa -D_HPUX_SOURCE
2270 # SVR4 -Xc -D__EXTENSIONS__
2271 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2273 CC
="$ac_save_CC $ac_arg"
2274 rm -f conftest.
$ac_objext
2275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2276 (eval $ac_compile) 2>conftest.er1
2278 grep -v '^ *+' conftest.er1
>conftest.err
2280 cat conftest.err
>&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); } &&
2283 { ac_try
='test -z "$ac_c_werror_flag"
2284 || test ! -s conftest.err'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; } &&
2290 { ac_try
='test -s conftest.$ac_objext'
2291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }; }; then
2296 ac_cv_prog_cc_stdc
=$ac_arg
2299 echo "$as_me: failed program was:" >&5
2300 sed 's/^/| /' conftest.
$ac_ext >&5
2303 rm -f conftest.err conftest.
$ac_objext
2305 rm -f conftest.
$ac_ext conftest.
$ac_objext
2310 case "x$ac_cv_prog_cc_stdc" in
2312 echo "$as_me:$LINENO: result: none needed" >&5
2313 echo "${ECHO_T}none needed" >&6 ;;
2315 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2317 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2320 # Some people use a C++ compiler to compile C. Since we use `exit',
2321 # in C++ we need to declare it. In case someone uses the same compiler
2322 # for both compiling C and C++ we need to have the C++ compiler decide
2323 # the declaration of exit, since it's the most demanding environment.
2324 cat >conftest.
$ac_ext <<_ACEOF
2329 rm -f conftest.
$ac_objext
2330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2331 (eval $ac_compile) 2>conftest.er1
2333 grep -v '^ *+' conftest.er1
>conftest.err
2335 cat conftest.err
>&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); } &&
2338 { ac_try
='test -z "$ac_c_werror_flag"
2339 || test ! -s conftest.err'
2340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }; } &&
2345 { ac_try
='test -s conftest.$ac_objext'
2346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; }; then
2351 for ac_declaration
in \
2353 'extern "C" void std::exit (int) throw (); using std::exit;' \
2354 'extern "C" void std::exit (int); using std::exit;' \
2355 'extern "C" void exit (int) throw ();' \
2356 'extern "C" void exit (int);' \
2359 cat >conftest.
$ac_ext <<_ACEOF
2362 cat confdefs.h
>>conftest.
$ac_ext
2363 cat >>conftest.
$ac_ext <<_ACEOF
2364 /* end confdefs.h. */
2375 rm -f conftest.
$ac_objext
2376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2377 (eval $ac_compile) 2>conftest.er1
2379 grep -v '^ *+' conftest.er1
>conftest.err
2381 cat conftest.err
>&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } &&
2384 { ac_try
='test -z "$ac_c_werror_flag"
2385 || test ! -s conftest.err'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; } &&
2391 { ac_try
='test -s conftest.$ac_objext'
2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); }; }; then
2399 echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.
$ac_ext >&5
2404 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2405 cat >conftest.
$ac_ext <<_ACEOF
2408 cat confdefs.h
>>conftest.
$ac_ext
2409 cat >>conftest.
$ac_ext <<_ACEOF
2410 /* end confdefs.h. */
2420 rm -f conftest.
$ac_objext
2421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2422 (eval $ac_compile) 2>conftest.er1
2424 grep -v '^ *+' conftest.er1
>conftest.err
2426 cat conftest.err
>&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); } &&
2429 { ac_try
='test -z "$ac_c_werror_flag"
2430 || test ! -s conftest.err'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; } &&
2436 { ac_try
='test -s conftest.$ac_objext'
2437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; }; then
2444 echo "$as_me: failed program was:" >&5
2445 sed 's/^/| /' conftest.
$ac_ext >&5
2448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2451 if test -n "$ac_declaration"; then
2452 echo '#ifdef __cplusplus' >>confdefs.h
2453 echo $ac_declaration >>confdefs.h
2454 echo '#endif' >>confdefs.h
2458 echo "$as_me: failed program was:" >&5
2459 sed 's/^/| /' conftest.
$ac_ext >&5
2462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2464 ac_cpp
='$CPP $CPPFLAGS'
2465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2469 if test -n "$ac_tool_prefix"; then
2470 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2471 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2472 echo "$as_me:$LINENO: checking for $ac_word" >&5
2473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2474 if test "${ac_cv_prog_RANLIB+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 if test -n "$RANLIB"; then
2478 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2484 test -z "$as_dir" && as_dir
=.
2485 for ac_exec_ext
in '' $ac_executable_extensions; do
2486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2487 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 RANLIB
=$ac_cv_prog_RANLIB
2497 if test -n "$RANLIB"; then
2498 echo "$as_me:$LINENO: result: $RANLIB" >&5
2499 echo "${ECHO_T}$RANLIB" >&6
2501 echo "$as_me:$LINENO: result: no" >&5
2502 echo "${ECHO_T}no" >&6
2506 if test -z "$ac_cv_prog_RANLIB"; then
2507 ac_ct_RANLIB
=$RANLIB
2508 # Extract the first word of "ranlib", so it can be a program name with args.
2509 set dummy ranlib
; ac_word
=$2
2510 echo "$as_me:$LINENO: checking for $ac_word" >&5
2511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2512 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2513 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 if test -n "$ac_ct_RANLIB"; then
2516 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2522 test -z "$as_dir" && as_dir
=.
2523 for ac_exec_ext
in '' $ac_executable_extensions; do
2524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2525 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2535 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2536 if test -n "$ac_ct_RANLIB"; then
2537 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2538 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2544 RANLIB
=$ac_ct_RANLIB
2546 RANLIB
="$ac_cv_prog_RANLIB"
2550 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2551 for ac_prog
in aclocal
2553 # Extract the first word of "$ac_prog", so it can be a program name with args.
2554 set dummy
$ac_prog; ac_word
=$2
2555 echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2557 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test -n "$ACLOCAL"; then
2561 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir
=.
2568 for ac_exec_ext
in '' $ac_executable_extensions; do
2569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570 ac_cv_prog_ACLOCAL
="$ac_prog"
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 ACLOCAL
=$ac_cv_prog_ACLOCAL
2580 if test -n "$ACLOCAL"; then
2581 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2582 echo "${ECHO_T}$ACLOCAL" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2588 test -n "$ACLOCAL" && break
2590 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2592 for ac_prog
in autoconf
2594 # Extract the first word of "$ac_prog", so it can be a program name with args.
2595 set dummy
$ac_prog; ac_word
=$2
2596 echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2598 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 if test -n "$AUTOCONF"; then
2602 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2608 test -z "$as_dir" && as_dir
=.
2609 for ac_exec_ext
in '' $ac_executable_extensions; do
2610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611 ac_cv_prog_AUTOCONF
="$ac_prog"
2612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2620 AUTOCONF
=$ac_cv_prog_AUTOCONF
2621 if test -n "$AUTOCONF"; then
2622 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2623 echo "${ECHO_T}$AUTOCONF" >&6
2625 echo "$as_me:$LINENO: result: no" >&5
2626 echo "${ECHO_T}no" >&6
2629 test -n "$AUTOCONF" && break
2631 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2633 for ac_prog
in autoheader
2635 # Extract the first word of "$ac_prog", so it can be a program name with args.
2636 set dummy
$ac_prog; ac_word
=$2
2637 echo "$as_me:$LINENO: checking for $ac_word" >&5
2638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2639 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2640 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 if test -n "$AUTOHEADER"; then
2643 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir
=.
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2652 ac_cv_prog_AUTOHEADER
="$ac_prog"
2653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2662 if test -n "$AUTOHEADER"; then
2663 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2664 echo "${ECHO_T}$AUTOHEADER" >&6
2666 echo "$as_me:$LINENO: result: no" >&5
2667 echo "${ECHO_T}no" >&6
2670 test -n "$AUTOHEADER" && break
2672 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2675 # Checks for header files.
2677 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2678 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2679 if test "${ac_cv_header_time+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 cat >conftest.
$ac_ext <<_ACEOF
2685 cat confdefs.h
>>conftest.
$ac_ext
2686 cat >>conftest.
$ac_ext <<_ACEOF
2687 /* end confdefs.h. */
2688 #include <sys/types.h>
2689 #include <sys/time.h>
2695 if ((struct tm *) 0)
2701 rm -f conftest.
$ac_objext
2702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703 (eval $ac_compile) 2>conftest.er1
2705 grep -v '^ *+' conftest.er1
>conftest.err
2707 cat conftest.err
>&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); } &&
2710 { ac_try
='test -z "$ac_c_werror_flag"
2711 || test ! -s conftest.err'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; } &&
2717 { ac_try
='test -s conftest.$ac_objext'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; }; then
2723 ac_cv_header_time
=yes
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.
$ac_ext >&5
2728 ac_cv_header_time
=no
2730 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2732 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
2733 echo "${ECHO_T}$ac_cv_header_time" >&6
2734 if test $ac_cv_header_time = yes; then
2736 cat >>confdefs.h
<<\_ACEOF
2737 #define TIME_WITH_SYS_TIME 1
2742 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
2743 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
2744 if test "${gcc_cv_header_string+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 cat >conftest.
$ac_ext <<_ACEOF
2750 cat confdefs.h
>>conftest.
$ac_ext
2751 cat >>conftest.
$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2754 #include <strings.h>
2763 rm -f conftest.
$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765 (eval $ac_compile) 2>conftest.er1
2767 grep -v '^ *+' conftest.er1
>conftest.err
2769 cat conftest.err
>&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } &&
2772 { ac_try
='test -z "$ac_c_werror_flag"
2773 || test ! -s conftest.err'
2774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }; } &&
2779 { ac_try
='test -s conftest.$ac_objext'
2780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); }; }; then
2785 gcc_cv_header_string
=yes
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.
$ac_ext >&5
2790 gcc_cv_header_string
=no
2792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2794 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
2795 echo "${ECHO_T}$gcc_cv_header_string" >&6
2796 if test $gcc_cv_header_string = yes; then
2798 cat >>confdefs.h
<<\_ACEOF
2799 #define STRING_WITH_STRINGS 1
2805 ac_cpp
='$CPP $CPPFLAGS'
2806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2809 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2810 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2811 # On Suns, sometimes $CPP names a directory.
2812 if test -n "$CPP" && test -d "$CPP"; then
2815 if test -z "$CPP"; then
2816 if test "${ac_cv_prog_CPP+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 # Double quotes because CPP needs to be expanded
2820 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2823 for ac_c_preproc_warn_flag
in '' yes
2825 # Use a header file that comes with gcc, so configuring glibc
2826 # with a fresh cross-compiler works.
2827 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2828 # <limits.h> exists even on freestanding compilers.
2829 # On the NeXT, cc -E runs the code through the compiler's parser,
2830 # not just through cpp. "Syntax error" is here to catch this case.
2831 cat >conftest.
$ac_ext <<_ACEOF
2834 cat confdefs.h
>>conftest.
$ac_ext
2835 cat >>conftest.
$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2838 # include <limits.h>
2840 # include <assert.h>
2844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2847 grep -v '^ *+' conftest.er1
>conftest.err
2849 cat conftest.err
>&5
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); } >/dev
/null
; then
2852 if test -s conftest.err
; then
2853 ac_cpp_err
=$ac_c_preproc_warn_flag
2854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2861 if test -z "$ac_cpp_err"; then
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2867 # Broken: fails on valid input.
2870 rm -f conftest.err conftest.
$ac_ext
2872 # OK, works on sane cases. Now check whether non-existent headers
2873 # can be detected and how.
2874 cat >conftest.
$ac_ext <<_ACEOF
2877 cat confdefs.h
>>conftest.
$ac_ext
2878 cat >>conftest.
$ac_ext <<_ACEOF
2879 /* end confdefs.h. */
2880 #include <ac_nonexistent.h>
2882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2883 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2885 grep -v '^ *+' conftest.er1
>conftest.err
2887 cat conftest.err
>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } >/dev
/null
; then
2890 if test -s conftest.err
; then
2891 ac_cpp_err
=$ac_c_preproc_warn_flag
2892 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2899 if test -z "$ac_cpp_err"; then
2900 # Broken: success on invalid input.
2903 echo "$as_me: failed program was:" >&5
2904 sed 's/^/| /' conftest.
$ac_ext >&5
2906 # Passes both tests.
2910 rm -f conftest.err conftest.
$ac_ext
2913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2914 rm -f conftest.err conftest.
$ac_ext
2915 if $ac_preproc_ok; then
2927 echo "$as_me:$LINENO: result: $CPP" >&5
2928 echo "${ECHO_T}$CPP" >&6
2930 for ac_c_preproc_warn_flag
in '' yes
2932 # Use a header file that comes with gcc, so configuring glibc
2933 # with a fresh cross-compiler works.
2934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2935 # <limits.h> exists even on freestanding compilers.
2936 # On the NeXT, cc -E runs the code through the compiler's parser,
2937 # not just through cpp. "Syntax error" is here to catch this case.
2938 cat >conftest.
$ac_ext <<_ACEOF
2941 cat confdefs.h
>>conftest.
$ac_ext
2942 cat >>conftest.
$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2945 # include <limits.h>
2947 # include <assert.h>
2951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2954 grep -v '^ *+' conftest.er1
>conftest.err
2956 cat conftest.err
>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } >/dev
/null
; then
2959 if test -s conftest.err
; then
2960 ac_cpp_err
=$ac_c_preproc_warn_flag
2961 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2968 if test -z "$ac_cpp_err"; then
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.
$ac_ext >&5
2974 # Broken: fails on valid input.
2977 rm -f conftest.err conftest.
$ac_ext
2979 # OK, works on sane cases. Now check whether non-existent headers
2980 # can be detected and how.
2981 cat >conftest.
$ac_ext <<_ACEOF
2984 cat confdefs.h
>>conftest.
$ac_ext
2985 cat >>conftest.
$ac_ext <<_ACEOF
2986 /* end confdefs.h. */
2987 #include <ac_nonexistent.h>
2989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2990 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2992 grep -v '^ *+' conftest.er1
>conftest.err
2994 cat conftest.err
>&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); } >/dev
/null
; then
2997 if test -s conftest.err
; then
2998 ac_cpp_err
=$ac_c_preproc_warn_flag
2999 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3006 if test -z "$ac_cpp_err"; then
3007 # Broken: success on invalid input.
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.
$ac_ext >&5
3013 # Passes both tests.
3017 rm -f conftest.err conftest.
$ac_ext
3020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3021 rm -f conftest.err conftest.
$ac_ext
3022 if $ac_preproc_ok; then
3025 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3026 See \`config.log' for more details." >&5
3027 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3028 See \`config.log' for more details." >&2;}
3029 { (exit 1); exit 1; }; }
3033 ac_cpp
='$CPP $CPPFLAGS'
3034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3039 echo "$as_me:$LINENO: checking for egrep" >&5
3040 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3041 if test "${ac_cv_prog_egrep+set}" = set; then
3042 echo $ECHO_N "(cached) $ECHO_C" >&6
3044 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3045 then ac_cv_prog_egrep
='grep -E'
3046 else ac_cv_prog_egrep
='egrep'
3049 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3050 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3051 EGREP
=$ac_cv_prog_egrep
3054 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3055 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3056 if test "${ac_cv_header_stdc+set}" = set; then
3057 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 cat >conftest.
$ac_ext <<_ACEOF
3062 cat confdefs.h
>>conftest.
$ac_ext
3063 cat >>conftest.
$ac_ext <<_ACEOF
3064 /* end confdefs.h. */
3078 rm -f conftest.
$ac_objext
3079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3080 (eval $ac_compile) 2>conftest.er1
3082 grep -v '^ *+' conftest.er1
>conftest.err
3084 cat conftest.err
>&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } &&
3087 { ac_try
='test -z "$ac_c_werror_flag"
3088 || test ! -s conftest.err'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; } &&
3094 { ac_try
='test -s conftest.$ac_objext'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3100 ac_cv_header_stdc
=yes
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.
$ac_ext >&5
3105 ac_cv_header_stdc
=no
3107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3109 if test $ac_cv_header_stdc = yes; then
3110 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3111 cat >conftest.
$ac_ext <<_ACEOF
3114 cat confdefs.h
>>conftest.
$ac_ext
3115 cat >>conftest.
$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3121 $EGREP "memchr" >/dev
/null
2>&1; then
3124 ac_cv_header_stdc
=no
3130 if test $ac_cv_header_stdc = yes; then
3131 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3132 cat >conftest.
$ac_ext <<_ACEOF
3135 cat confdefs.h
>>conftest.
$ac_ext
3136 cat >>conftest.
$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3142 $EGREP "free" >/dev
/null
2>&1; then
3145 ac_cv_header_stdc
=no
3151 if test $ac_cv_header_stdc = yes; then
3152 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3153 if test "$cross_compiling" = yes; then
3156 cat >conftest.
$ac_ext <<_ACEOF
3159 cat confdefs.h
>>conftest.
$ac_ext
3160 cat >>conftest.
$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3163 #if ((' ' & 0x0FF) == 0x020)
3164 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3165 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3167 # define ISLOWER(c) \
3168 (('a' <= (c) && (c) <= 'i') \
3169 || ('j' <= (c) && (c) <= 'r') \
3170 || ('s' <= (c) && (c) <= 'z'))
3171 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3174 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3179 for (i = 0; i < 256; i++)
3180 if (XOR (islower (i), ISLOWER (i))
3181 || toupper (i) != TOUPPER (i))
3186 rm -f conftest
$ac_exeext
3187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3188 (eval $ac_link) 2>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; }; then
3199 echo "$as_me: program exited with status $ac_status" >&5
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.
$ac_ext >&5
3204 ac_cv_header_stdc
=no
3206 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3210 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3211 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3212 if test $ac_cv_header_stdc = yes; then
3214 cat >>confdefs.h
<<\_ACEOF
3215 #define STDC_HEADERS 1
3220 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3230 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3231 inttypes.h stdint.h unistd.h
3233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3234 echo "$as_me:$LINENO: checking for $ac_header" >&5
3235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3237 echo $ECHO_N "(cached) $ECHO_C" >&6
3239 cat >conftest.
$ac_ext <<_ACEOF
3242 cat confdefs.h
>>conftest.
$ac_ext
3243 cat >>conftest.
$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3245 $ac_includes_default
3247 #include <$ac_header>
3249 rm -f conftest.
$ac_objext
3250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3251 (eval $ac_compile) 2>conftest.er1
3253 grep -v '^ *+' conftest.er1
>conftest.err
3255 cat conftest.err
>&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); } &&
3258 { ac_try
='test -z "$ac_c_werror_flag"
3259 || test ! -s conftest.err'
3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); }; } &&
3265 { ac_try
='test -s conftest.$ac_objext'
3266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); }; }; then
3271 eval "$as_ac_Header=yes"
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.
$ac_ext >&5
3276 eval "$as_ac_Header=no"
3278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3283 cat >>confdefs.h
<<_ACEOF
3284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3302 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3303 stdlib.h
strings.h string.h sys
/file.h unistd.h
3305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3307 echo "$as_me:$LINENO: checking for $ac_header" >&5
3308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3315 # Is the header compilable?
3316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3318 cat >conftest.
$ac_ext <<_ACEOF
3321 cat confdefs.h
>>conftest.
$ac_ext
3322 cat >>conftest.
$ac_ext <<_ACEOF
3323 /* end confdefs.h. */
3324 $ac_includes_default
3325 #include <$ac_header>
3327 rm -f conftest.
$ac_objext
3328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3329 (eval $ac_compile) 2>conftest.er1
3331 grep -v '^ *+' conftest.er1
>conftest.err
3333 cat conftest.err
>&5
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); } &&
3336 { ac_try
='test -z "$ac_c_werror_flag"
3337 || test ! -s conftest.err'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; } &&
3343 { ac_try
='test -s conftest.$ac_objext'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; }; then
3349 ac_header_compiler
=yes
3351 echo "$as_me: failed program was:" >&5
3352 sed 's/^/| /' conftest.
$ac_ext >&5
3354 ac_header_compiler
=no
3356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3358 echo "${ECHO_T}$ac_header_compiler" >&6
3360 # Is the header present?
3361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3363 cat >conftest.
$ac_ext <<_ACEOF
3366 cat confdefs.h
>>conftest.
$ac_ext
3367 cat >>conftest.
$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3369 #include <$ac_header>
3371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3372 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1
>conftest.err
3376 cat conftest.err
>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } >/dev
/null
; then
3379 if test -s conftest.err
; then
3380 ac_cpp_err
=$ac_c_preproc_warn_flag
3381 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3388 if test -z "$ac_cpp_err"; then
3389 ac_header_preproc
=yes
3391 echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.
$ac_ext >&5
3394 ac_header_preproc
=no
3396 rm -f conftest.err conftest.
$ac_ext
3397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3398 echo "${ECHO_T}$ac_header_preproc" >&6
3400 # So? What about this header?
3401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3407 ac_header_preproc
=yes
3410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3417 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3424 ## ----------------------------------- ##
3425 ## Report this to gcc-bugs@gcc.gnu.org ##
3426 ## ----------------------------------- ##
3429 sed "s/^/$as_me: WARNING: /" >&2
3432 echo "$as_me:$LINENO: checking for $ac_header" >&5
3433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 eval "$as_ac_Header=\$ac_header_preproc"
3439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3444 cat >>confdefs.h
<<_ACEOF
3445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3453 # Checks for typedefs, structures, and compiler characteristics.
3454 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3455 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3456 if test "${ac_cv_c_const+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 cat >conftest.
$ac_ext <<_ACEOF
3462 cat confdefs.h
>>conftest.
$ac_ext
3463 cat >>conftest.
$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3469 /* FIXME: Include the comments suggested by Paul. */
3471 /* Ultrix mips cc rejects this. */
3472 typedef int charset[2];
3474 /* SunOS 4.1.1 cc rejects this. */
3475 char const *const *ccp;
3477 /* NEC SVR4.0.2 mips cc rejects this. */
3478 struct point {int x, y;};
3479 static struct point const zero = {0,0};
3480 /* AIX XL C 1.02.0.0 rejects this.
3481 It does not let you subtract one const X* pointer from another in
3482 an arm of an if-expression whose if-part is not a constant
3484 const char *g = "string";
3485 ccp = &g + (g ? g-g : 0);
3486 /* HPUX 7.0 cc rejects these. */
3489 ccp = (char const *const *) p;
3490 { /* SCO 3.2v4 cc rejects this. */
3492 char const *s = 0 ? (char *) 0 : (char const *) 0;
3496 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3498 const int *foo = &x[0];
3501 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3502 typedef const int *iptr;
3506 { /* AIX XL C 1.02.0.0 rejects this saying
3507 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3508 struct s { int j; const int *ap[3]; };
3509 struct s *b; b->j = 5;
3511 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3520 rm -f conftest.
$ac_objext
3521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3522 (eval $ac_compile) 2>conftest.er1
3524 grep -v '^ *+' conftest.er1
>conftest.err
3526 cat conftest.err
>&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } &&
3529 { ac_try
='test -z "$ac_c_werror_flag"
3530 || test ! -s conftest.err'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; } &&
3536 { ac_try
='test -s conftest.$ac_objext'
3537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); }; }; then
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.
$ac_ext >&5
3549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3551 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3552 echo "${ECHO_T}$ac_cv_c_const" >&6
3553 if test $ac_cv_c_const = no
; then
3555 cat >>confdefs.h
<<\_ACEOF
3561 echo "$as_me:$LINENO: checking for inline" >&5
3562 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3563 if test "${ac_cv_c_inline+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 for ac_kw
in inline __inline__ __inline
; do
3568 cat >conftest.
$ac_ext <<_ACEOF
3571 cat confdefs.h
>>conftest.
$ac_ext
3572 cat >>conftest.
$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3576 static $ac_kw foo_t static_foo () {return 0; }
3577 $ac_kw foo_t foo () {return 0; }
3581 rm -f conftest.
$ac_objext
3582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3583 (eval $ac_compile) 2>conftest.er1
3585 grep -v '^ *+' conftest.er1
>conftest.err
3587 cat conftest.err
>&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } &&
3590 { ac_try
='test -z "$ac_c_werror_flag"
3591 || test ! -s conftest.err'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; } &&
3597 { ac_try
='test -s conftest.$ac_objext'
3598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; }; then
3603 ac_cv_c_inline
=$ac_kw; break
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.
$ac_ext >&5
3609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3613 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3614 echo "${ECHO_T}$ac_cv_c_inline" >&6
3617 case $ac_cv_c_inline in
3620 case $ac_cv_c_inline in
3622 *) ac_val
=$ac_cv_c_inline;;
3624 cat >>confdefs.h
<<_ACEOF
3626 #define inline $ac_val
3632 echo "$as_me:$LINENO: checking for obstacks" >&5
3633 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3634 if test "${ac_cv_func_obstack+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 cat >conftest.
$ac_ext <<_ACEOF
3640 cat confdefs.h
>>conftest.
$ac_ext
3641 cat >>conftest.
$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3643 #include "obstack.h"
3647 struct obstack *mem; obstack_free(mem,(char *) 0)
3652 rm -f conftest.
$ac_objext conftest
$ac_exeext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try
='test -z "$ac_c_werror_flag"
3662 || test ! -s conftest.err'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try
='test -s conftest$ac_exeext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3674 ac_cv_func_obstack
=yes
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.
$ac_ext >&5
3679 ac_cv_func_obstack
=no
3681 rm -f conftest.err conftest.
$ac_objext \
3682 conftest
$ac_exeext conftest.
$ac_ext
3684 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
3685 echo "${ECHO_T}$ac_cv_func_obstack" >&6
3686 if test $ac_cv_func_obstack = yes; then
3688 cat >>confdefs.h
<<\_ACEOF
3689 #define HAVE_OBSTACK 1
3694 "obstack.$ac_objext" | \
3695 *" obstack.$ac_objext" | \
3696 "obstack.$ac_objext "* | \
3697 *" obstack.$ac_objext "* ) ;;
3698 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
3703 echo "$as_me:$LINENO: checking for off_t" >&5
3704 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3705 if test "${ac_cv_type_off_t+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 cat >conftest.
$ac_ext <<_ACEOF
3711 cat confdefs.h
>>conftest.
$ac_ext
3712 cat >>conftest.
$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3714 $ac_includes_default
3726 rm -f conftest.
$ac_objext
3727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3728 (eval $ac_compile) 2>conftest.er1
3730 grep -v '^ *+' conftest.er1
>conftest.err
3732 cat conftest.err
>&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); } &&
3735 { ac_try
='test -z "$ac_c_werror_flag"
3736 || test ! -s conftest.err'
3737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); }; } &&
3742 { ac_try
='test -s conftest.$ac_objext'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; }; then
3748 ac_cv_type_off_t
=yes
3750 echo "$as_me: failed program was:" >&5
3751 sed 's/^/| /' conftest.
$ac_ext >&5
3755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3757 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3758 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3759 if test $ac_cv_type_off_t = yes; then
3763 cat >>confdefs.h
<<_ACEOF
3769 echo "$as_me:$LINENO: checking for size_t" >&5
3770 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3771 if test "${ac_cv_type_size_t+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 cat >conftest.
$ac_ext <<_ACEOF
3777 cat confdefs.h
>>conftest.
$ac_ext
3778 cat >>conftest.
$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 $ac_includes_default
3786 if (sizeof (size_t))
3792 rm -f conftest.
$ac_objext
3793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3794 (eval $ac_compile) 2>conftest.er1
3796 grep -v '^ *+' conftest.er1
>conftest.err
3798 cat conftest.err
>&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); } &&
3801 { ac_try
='test -z "$ac_c_werror_flag"
3802 || test ! -s conftest.err'
3803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); }; } &&
3808 { ac_try
='test -s conftest.$ac_objext'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; }; then
3814 ac_cv_type_size_t
=yes
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.
$ac_ext >&5
3819 ac_cv_type_size_t
=no
3821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3823 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3824 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3825 if test $ac_cv_type_size_t = yes; then
3829 cat >>confdefs.h
<<_ACEOF
3830 #define size_t unsigned
3835 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3836 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3837 if test "${ac_cv_struct_tm+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 cat >conftest.
$ac_ext <<_ACEOF
3843 cat confdefs.h
>>conftest.
$ac_ext
3844 cat >>conftest.
$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3846 #include <sys/types.h>
3852 struct tm *tp; tp->tm_sec;
3857 rm -f conftest.
$ac_objext
3858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3859 (eval $ac_compile) 2>conftest.er1
3861 grep -v '^ *+' conftest.er1
>conftest.err
3863 cat conftest.err
>&5
3864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3865 (exit $ac_status); } &&
3866 { ac_try
='test -z "$ac_c_werror_flag"
3867 || test ! -s conftest.err'
3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); }; } &&
3873 { ac_try
='test -s conftest.$ac_objext'
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; }; then
3879 ac_cv_struct_tm
=time.h
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3884 ac_cv_struct_tm
=sys
/time.h
3886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3888 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3889 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3890 if test $ac_cv_struct_tm = sys
/time.h
; then
3892 cat >>confdefs.h
<<\_ACEOF
3893 #define TM_IN_SYS_TIME 1
3898 echo "$as_me:$LINENO: checking for int" >&5
3899 echo $ECHO_N "checking for int... $ECHO_C" >&6
3900 if test "${ac_cv_type_int+set}" = set; then
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
3903 cat >conftest.
$ac_ext <<_ACEOF
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3909 $ac_includes_default
3921 rm -f conftest.
$ac_objext
3922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3923 (eval $ac_compile) 2>conftest.er1
3925 grep -v '^ *+' conftest.er1
>conftest.err
3927 cat conftest.err
>&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try
='test -z "$ac_c_werror_flag"
3931 || test ! -s conftest.err'
3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); }; } &&
3937 { ac_try
='test -s conftest.$ac_objext'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3945 echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.
$ac_ext >&5
3950 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3952 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3953 echo "${ECHO_T}$ac_cv_type_int" >&6
3955 echo "$as_me:$LINENO: checking size of int" >&5
3956 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3957 if test "${ac_cv_sizeof_int+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 if test "$ac_cv_type_int" = yes; then
3961 # The cast to unsigned long works around a bug in the HP C Compiler
3962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3963 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3964 # This bug is HP SR number 8606223364.
3965 if test "$cross_compiling" = yes; then
3966 # Depending upon the size, compute the lo and hi bounds.
3967 cat >conftest.
$ac_ext <<_ACEOF
3970 cat confdefs.h
>>conftest.
$ac_ext
3971 cat >>conftest.
$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3973 $ac_includes_default
3977 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3984 rm -f conftest.
$ac_objext
3985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3986 (eval $ac_compile) 2>conftest.er1
3988 grep -v '^ *+' conftest.er1
>conftest.err
3990 cat conftest.err
>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try
='test -z "$ac_c_werror_flag"
3994 || test ! -s conftest.err'
3995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3999 (exit $ac_status); }; } &&
4000 { ac_try
='test -s conftest.$ac_objext'
4001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); }; }; then
4008 cat >conftest.
$ac_ext <<_ACEOF
4011 cat confdefs.h
>>conftest.
$ac_ext
4012 cat >>conftest.
$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 $ac_includes_default
4018 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4025 rm -f conftest.
$ac_objext
4026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4027 (eval $ac_compile) 2>conftest.er1
4029 grep -v '^ *+' conftest.er1
>conftest.err
4031 cat conftest.err
>&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } &&
4034 { ac_try
='test -z "$ac_c_werror_flag"
4035 || test ! -s conftest.err'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; } &&
4041 { ac_try
='test -s conftest.$ac_objext'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; }; then
4047 ac_hi
=$ac_mid; break
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.
$ac_ext >&5
4052 ac_lo
=`expr $ac_mid + 1`
4053 if test $ac_lo -le $ac_mid; then
4057 ac_mid
=`expr 2 '*' $ac_mid + 1`
4059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4062 echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.
$ac_ext >&5
4065 cat >conftest.
$ac_ext <<_ACEOF
4068 cat confdefs.h
>>conftest.
$ac_ext
4069 cat >>conftest.
$ac_ext <<_ACEOF
4070 /* end confdefs.h. */
4071 $ac_includes_default
4075 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4082 rm -f conftest.
$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084 (eval $ac_compile) 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } &&
4091 { ac_try
='test -z "$ac_c_werror_flag"
4092 || test ! -s conftest.err'
4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); }; } &&
4098 { ac_try
='test -s conftest.$ac_objext'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; }; then
4106 cat >conftest.
$ac_ext <<_ACEOF
4109 cat confdefs.h
>>conftest.
$ac_ext
4110 cat >>conftest.
$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 $ac_includes_default
4116 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4123 rm -f conftest.
$ac_objext
4124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4125 (eval $ac_compile) 2>conftest.er1
4127 grep -v '^ *+' conftest.er1
>conftest.err
4129 cat conftest.err
>&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); } &&
4132 { ac_try
='test -z "$ac_c_werror_flag"
4133 || test ! -s conftest.err'
4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); }; } &&
4139 { ac_try
='test -s conftest.$ac_objext'
4140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); }; }; then
4145 ac_lo
=$ac_mid; break
4147 echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.
$ac_ext >&5
4150 ac_hi
=`expr '(' $ac_mid ')' - 1`
4151 if test $ac_mid -le $ac_hi; then
4155 ac_mid
=`expr 2 '*' $ac_mid`
4157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4160 echo "$as_me: failed program was:" >&5
4161 sed 's/^/| /' conftest.
$ac_ext >&5
4165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4167 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4168 # Binary search between lo and hi bounds.
4169 while test "x$ac_lo" != "x$ac_hi"; do
4170 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4171 cat >conftest.
$ac_ext <<_ACEOF
4174 cat confdefs.h
>>conftest.
$ac_ext
4175 cat >>conftest.
$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4177 $ac_includes_default
4181 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4188 rm -f conftest.
$ac_objext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4190 (eval $ac_compile) 2>conftest.er1
4192 grep -v '^ *+' conftest.er1
>conftest.err
4194 cat conftest.err
>&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try
='test -z "$ac_c_werror_flag"
4198 || test ! -s conftest.err'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; } &&
4204 { ac_try
='test -s conftest.$ac_objext'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; }; then
4212 echo "$as_me: failed program was:" >&5
4213 sed 's/^/| /' conftest.
$ac_ext >&5
4215 ac_lo
=`expr '(' $ac_mid ')' + 1`
4217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4220 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4221 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4222 See \`config.log' for more details." >&5
4223 echo "$as_me: error: cannot compute sizeof (int), 77
4224 See \`config.log' for more details." >&2;}
4225 { (exit 1); exit 1; }; } ;;
4228 if test "$cross_compiling" = yes; then
4229 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4230 See \`config.log' for more details." >&5
4231 echo "$as_me: error: cannot run test program while cross compiling
4232 See \`config.log' for more details." >&2;}
4233 { (exit 1); exit 1; }; }
4235 cat >conftest.
$ac_ext <<_ACEOF
4238 cat confdefs.h
>>conftest.
$ac_ext
4239 cat >>conftest.
$ac_ext <<_ACEOF
4240 /* end confdefs.h. */
4241 $ac_includes_default
4242 long longval () { return (long) (sizeof (int)); }
4243 unsigned long ulongval () { return (long) (sizeof (int)); }
4250 FILE *f = fopen ("conftest.val", "w");
4253 if (((long) (sizeof (int))) < 0)
4255 long i = longval ();
4256 if (i != ((long) (sizeof (int))))
4258 fprintf (f, "%ld\n", i);
4262 unsigned long i = ulongval ();
4263 if (i != ((long) (sizeof (int))))
4265 fprintf (f, "%lu\n", i);
4267 exit (ferror (f) || fclose (f) != 0);
4273 rm -f conftest
$ac_exeext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275 (eval $ac_link) 2>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 ac_cv_sizeof_int
=`cat conftest.val`
4286 echo "$as_me: program exited with status $ac_status" >&5
4287 echo "$as_me: failed program was:" >&5
4288 sed 's/^/| /' conftest.
$ac_ext >&5
4291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4292 See \`config.log' for more details." >&5
4293 echo "$as_me: error: cannot compute sizeof (int), 77
4294 See \`config.log' for more details." >&2;}
4295 { (exit 1); exit 1; }; }
4297 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4305 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4306 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4307 cat >>confdefs.h
<<_ACEOF
4308 #define SIZEOF_INT $ac_cv_sizeof_int
4312 echo "$as_me:$LINENO: checking for long" >&5
4313 echo $ECHO_N "checking for long... $ECHO_C" >&6
4314 if test "${ac_cv_type_long+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 cat >conftest.
$ac_ext <<_ACEOF
4320 cat confdefs.h
>>conftest.
$ac_ext
4321 cat >>conftest.
$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4323 $ac_includes_default
4335 rm -f conftest.
$ac_objext
4336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4337 (eval $ac_compile) 2>conftest.er1
4339 grep -v '^ *+' conftest.er1
>conftest.err
4341 cat conftest.err
>&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } &&
4344 { ac_try
='test -z "$ac_c_werror_flag"
4345 || test ! -s conftest.err'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; } &&
4351 { ac_try
='test -s conftest.$ac_objext'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; }; then
4359 echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.
$ac_ext >&5
4364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4366 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4367 echo "${ECHO_T}$ac_cv_type_long" >&6
4369 echo "$as_me:$LINENO: checking size of long" >&5
4370 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4371 if test "${ac_cv_sizeof_long+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 if test "$ac_cv_type_long" = yes; then
4375 # The cast to unsigned long works around a bug in the HP C Compiler
4376 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4377 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4378 # This bug is HP SR number 8606223364.
4379 if test "$cross_compiling" = yes; then
4380 # Depending upon the size, compute the lo and hi bounds.
4381 cat >conftest.
$ac_ext <<_ACEOF
4384 cat confdefs.h
>>conftest.
$ac_ext
4385 cat >>conftest.
$ac_ext <<_ACEOF
4386 /* end confdefs.h. */
4387 $ac_includes_default
4391 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4398 rm -f conftest.
$ac_objext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4400 (eval $ac_compile) 2>conftest.er1
4402 grep -v '^ *+' conftest.er1
>conftest.err
4404 cat conftest.err
>&5
4405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4406 (exit $ac_status); } &&
4407 { ac_try
='test -z "$ac_c_werror_flag"
4408 || test ! -s conftest.err'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; } &&
4414 { ac_try
='test -s conftest.$ac_objext'
4415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; }; then
4422 cat >conftest.
$ac_ext <<_ACEOF
4425 cat confdefs.h
>>conftest.
$ac_ext
4426 cat >>conftest.
$ac_ext <<_ACEOF
4427 /* end confdefs.h. */
4428 $ac_includes_default
4432 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4439 rm -f conftest.
$ac_objext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4441 (eval $ac_compile) 2>conftest.er1
4443 grep -v '^ *+' conftest.er1
>conftest.err
4445 cat conftest.err
>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try
='test -z "$ac_c_werror_flag"
4449 || test ! -s conftest.err'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; } &&
4455 { ac_try
='test -s conftest.$ac_objext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 ac_hi
=$ac_mid; break
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.
$ac_ext >&5
4466 ac_lo
=`expr $ac_mid + 1`
4467 if test $ac_lo -le $ac_mid; then
4471 ac_mid
=`expr 2 '*' $ac_mid + 1`
4473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.
$ac_ext >&5
4479 cat >conftest.
$ac_ext <<_ACEOF
4482 cat confdefs.h
>>conftest.
$ac_ext
4483 cat >>conftest.
$ac_ext <<_ACEOF
4484 /* end confdefs.h. */
4485 $ac_includes_default
4489 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4496 rm -f conftest.
$ac_objext
4497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4498 (eval $ac_compile) 2>conftest.er1
4500 grep -v '^ *+' conftest.er1
>conftest.err
4502 cat conftest.err
>&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); } &&
4505 { ac_try
='test -z "$ac_c_werror_flag"
4506 || test ! -s conftest.err'
4507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; } &&
4512 { ac_try
='test -s conftest.$ac_objext'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then
4520 cat >conftest.
$ac_ext <<_ACEOF
4523 cat confdefs.h
>>conftest.
$ac_ext
4524 cat >>conftest.
$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4526 $ac_includes_default
4530 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4537 rm -f conftest.
$ac_objext
4538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4539 (eval $ac_compile) 2>conftest.er1
4541 grep -v '^ *+' conftest.er1
>conftest.err
4543 cat conftest.err
>&5
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); } &&
4546 { ac_try
='test -z "$ac_c_werror_flag"
4547 || test ! -s conftest.err'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; } &&
4553 { ac_try
='test -s conftest.$ac_objext'
4554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558 (exit $ac_status); }; }; then
4559 ac_lo
=$ac_mid; break
4561 echo "$as_me: failed program was:" >&5
4562 sed 's/^/| /' conftest.
$ac_ext >&5
4564 ac_hi
=`expr '(' $ac_mid ')' - 1`
4565 if test $ac_mid -le $ac_hi; then
4569 ac_mid
=`expr 2 '*' $ac_mid`
4571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4574 echo "$as_me: failed program was:" >&5
4575 sed 's/^/| /' conftest.
$ac_ext >&5
4579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4582 # Binary search between lo and hi bounds.
4583 while test "x$ac_lo" != "x$ac_hi"; do
4584 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4585 cat >conftest.
$ac_ext <<_ACEOF
4588 cat confdefs.h
>>conftest.
$ac_ext
4589 cat >>conftest.
$ac_ext <<_ACEOF
4590 /* end confdefs.h. */
4591 $ac_includes_default
4595 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4602 rm -f conftest.
$ac_objext
4603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4604 (eval $ac_compile) 2>conftest.er1
4606 grep -v '^ *+' conftest.er1
>conftest.err
4608 cat conftest.err
>&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } &&
4611 { ac_try
='test -z "$ac_c_werror_flag"
4612 || test ! -s conftest.err'
4613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); }; } &&
4618 { ac_try
='test -s conftest.$ac_objext'
4619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623 (exit $ac_status); }; }; then
4626 echo "$as_me: failed program was:" >&5
4627 sed 's/^/| /' conftest.
$ac_ext >&5
4629 ac_lo
=`expr '(' $ac_mid ')' + 1`
4631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4634 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4635 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4636 See \`config.log' for more details." >&5
4637 echo "$as_me: error: cannot compute sizeof (long), 77
4638 See \`config.log' for more details." >&2;}
4639 { (exit 1); exit 1; }; } ;;
4642 if test "$cross_compiling" = yes; then
4643 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4644 See \`config.log' for more details." >&5
4645 echo "$as_me: error: cannot run test program while cross compiling
4646 See \`config.log' for more details." >&2;}
4647 { (exit 1); exit 1; }; }
4649 cat >conftest.
$ac_ext <<_ACEOF
4652 cat confdefs.h
>>conftest.
$ac_ext
4653 cat >>conftest.
$ac_ext <<_ACEOF
4654 /* end confdefs.h. */
4655 $ac_includes_default
4656 long longval () { return (long) (sizeof (long)); }
4657 unsigned long ulongval () { return (long) (sizeof (long)); }
4664 FILE *f = fopen ("conftest.val", "w");
4667 if (((long) (sizeof (long))) < 0)
4669 long i = longval ();
4670 if (i != ((long) (sizeof (long))))
4672 fprintf (f, "%ld\n", i);
4676 unsigned long i = ulongval ();
4677 if (i != ((long) (sizeof (long))))
4679 fprintf (f, "%lu\n", i);
4681 exit (ferror (f) || fclose (f) != 0);
4687 rm -f conftest
$ac_exeext
4688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4689 (eval $ac_link) 2>&5
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; }; then
4698 ac_cv_sizeof_long
=`cat conftest.val`
4700 echo "$as_me: program exited with status $ac_status" >&5
4701 echo "$as_me: failed program was:" >&5
4702 sed 's/^/| /' conftest.
$ac_ext >&5
4705 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4706 See \`config.log' for more details." >&5
4707 echo "$as_me: error: cannot compute sizeof (long), 77
4708 See \`config.log' for more details." >&2;}
4709 { (exit 1); exit 1; }; }
4711 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4719 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4720 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4721 cat >>confdefs.h
<<_ACEOF
4722 #define SIZEOF_LONG $ac_cv_sizeof_long
4731 for ac_func
in putc_unlocked fputc_unlocked fputs_unlocked \
4732 fwrite_unlocked fprintf_unlocked
4734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4735 echo "$as_me:$LINENO: checking for $ac_func" >&5
4736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4737 if eval "test \"\${$as_ac_var+set}\" = set"; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 cat >conftest.
$ac_ext <<_ACEOF
4743 cat confdefs.h
>>conftest.
$ac_ext
4744 cat >>conftest.
$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4748 #define $ac_func innocuous_$ac_func
4750 /* System header to define __stub macros and hopefully few prototypes,
4751 which can conflict with char $ac_func (); below.
4752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4753 <limits.h> exists even on freestanding compilers. */
4756 # include <limits.h>
4758 # include <assert.h>
4763 /* Override any gcc2 internal prototype to avoid an error. */
4768 /* We use char because int might match the return type of a gcc2
4769 builtin and then its argument prototype would still apply. */
4771 /* The GNU C library defines this for functions which it implements
4772 to always fail with ENOSYS. Some functions are actually named
4773 something starting with __ and the normal name is an alias. */
4774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4777 char (*f) () = $ac_func;
4786 return f != $ac_func;
4791 rm -f conftest.
$ac_objext conftest
$ac_exeext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4793 (eval $ac_link) 2>conftest.er1
4795 grep -v '^ *+' conftest.er1
>conftest.err
4797 cat conftest.err
>&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); } &&
4800 { ac_try
='test -z "$ac_c_werror_flag"
4801 || test ! -s conftest.err'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; } &&
4807 { ac_try
='test -s conftest$ac_exeext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 eval "$as_ac_var=yes"
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.
$ac_ext >&5
4818 eval "$as_ac_var=no"
4820 rm -f conftest.err conftest.
$ac_objext \
4821 conftest
$ac_exeext conftest.
$ac_ext
4823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4825 if test `eval echo '${'$as_ac_var'}'` = yes; then
4826 cat >>confdefs.h
<<_ACEOF
4827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4833 echo "$as_me:$LINENO: checking whether abort is declared" >&5
4834 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
4835 if test "${ac_cv_have_decl_abort+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 cat >conftest.
$ac_ext <<_ACEOF
4841 cat confdefs.h
>>conftest.
$ac_ext
4842 cat >>conftest.
$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 $ac_includes_default
4849 char *p = (char *) abort;
4856 rm -f conftest.
$ac_objext
4857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4858 (eval $ac_compile) 2>conftest.er1
4860 grep -v '^ *+' conftest.er1
>conftest.err
4862 cat conftest.err
>&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); } &&
4865 { ac_try
='test -z "$ac_c_werror_flag"
4866 || test ! -s conftest.err'
4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); }; } &&
4872 { ac_try
='test -s conftest.$ac_objext'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; }; then
4878 ac_cv_have_decl_abort
=yes
4880 echo "$as_me: failed program was:" >&5
4881 sed 's/^/| /' conftest.
$ac_ext >&5
4883 ac_cv_have_decl_abort
=no
4885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4887 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
4888 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
4889 if test $ac_cv_have_decl_abort = yes; then
4891 cat >>confdefs.h
<<_ACEOF
4892 #define HAVE_DECL_ABORT 1
4897 cat >>confdefs.h
<<_ACEOF
4898 #define HAVE_DECL_ABORT 0
4903 echo "$as_me:$LINENO: checking whether errno is declared" >&5
4904 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
4905 if test "${ac_cv_have_decl_errno+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 cat >conftest.
$ac_ext <<_ACEOF
4911 cat confdefs.h
>>conftest.
$ac_ext
4912 cat >>conftest.
$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4914 $ac_includes_default
4919 char *p = (char *) errno;
4926 rm -f conftest.
$ac_objext
4927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4928 (eval $ac_compile) 2>conftest.er1
4930 grep -v '^ *+' conftest.er1
>conftest.err
4932 cat conftest.err
>&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } &&
4935 { ac_try
='test -z "$ac_c_werror_flag"
4936 || test ! -s conftest.err'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; } &&
4942 { ac_try
='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then
4948 ac_cv_have_decl_errno
=yes
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.
$ac_ext >&5
4953 ac_cv_have_decl_errno
=no
4955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
4958 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
4959 if test $ac_cv_have_decl_errno = yes; then
4961 cat >>confdefs.h
<<_ACEOF
4962 #define HAVE_DECL_ERRNO 1
4967 cat >>confdefs.h
<<_ACEOF
4968 #define HAVE_DECL_ERRNO 0
4973 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
4974 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
4975 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 cat >conftest.
$ac_ext <<_ACEOF
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 $ac_includes_default
4988 #ifndef putc_unlocked
4989 char *p = (char *) putc_unlocked;
4996 rm -f conftest.
$ac_objext
4997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4998 (eval $ac_compile) 2>conftest.er1
5000 grep -v '^ *+' conftest.er1
>conftest.err
5002 cat conftest.err
>&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); } &&
5005 { ac_try
='test -z "$ac_c_werror_flag"
5006 || test ! -s conftest.err'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; } &&
5012 { ac_try
='test -s conftest.$ac_objext'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; }; then
5018 ac_cv_have_decl_putc_unlocked
=yes
5020 echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.
$ac_ext >&5
5023 ac_cv_have_decl_putc_unlocked
=no
5025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5028 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
5029 if test $ac_cv_have_decl_putc_unlocked = yes; then
5031 cat >>confdefs.h
<<_ACEOF
5032 #define HAVE_DECL_PUTC_UNLOCKED 1
5037 cat >>confdefs.h
<<_ACEOF
5038 #define HAVE_DECL_PUTC_UNLOCKED 0
5043 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
5044 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
5045 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 cat >conftest.
$ac_ext <<_ACEOF
5051 cat confdefs.h
>>conftest.
$ac_ext
5052 cat >>conftest.
$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5054 $ac_includes_default
5058 #ifndef fputc_unlocked
5059 char *p = (char *) fputc_unlocked;
5066 rm -f conftest.
$ac_objext
5067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5068 (eval $ac_compile) 2>conftest.er1
5070 grep -v '^ *+' conftest.er1
>conftest.err
5072 cat conftest.err
>&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } &&
5075 { ac_try
='test -z "$ac_c_werror_flag"
5076 || test ! -s conftest.err'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; } &&
5082 { ac_try
='test -s conftest.$ac_objext'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; }; then
5088 ac_cv_have_decl_fputc_unlocked
=yes
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.
$ac_ext >&5
5093 ac_cv_have_decl_fputc_unlocked
=no
5095 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5097 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
5098 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
5099 if test $ac_cv_have_decl_fputc_unlocked = yes; then
5101 cat >>confdefs.h
<<_ACEOF
5102 #define HAVE_DECL_FPUTC_UNLOCKED 1
5107 cat >>confdefs.h
<<_ACEOF
5108 #define HAVE_DECL_FPUTC_UNLOCKED 0
5113 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
5114 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
5115 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 cat >conftest.
$ac_ext <<_ACEOF
5121 cat confdefs.h
>>conftest.
$ac_ext
5122 cat >>conftest.
$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5124 $ac_includes_default
5128 #ifndef fputs_unlocked
5129 char *p = (char *) fputs_unlocked;
5136 rm -f conftest.
$ac_objext
5137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5138 (eval $ac_compile) 2>conftest.er1
5140 grep -v '^ *+' conftest.er1
>conftest.err
5142 cat conftest.err
>&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); } &&
5145 { ac_try
='test -z "$ac_c_werror_flag"
5146 || test ! -s conftest.err'
5147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; } &&
5152 { ac_try
='test -s conftest.$ac_objext'
5153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; }; then
5158 ac_cv_have_decl_fputs_unlocked
=yes
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5163 ac_cv_have_decl_fputs_unlocked
=no
5165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5167 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
5168 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
5169 if test $ac_cv_have_decl_fputs_unlocked = yes; then
5171 cat >>confdefs.h
<<_ACEOF
5172 #define HAVE_DECL_FPUTS_UNLOCKED 1
5177 cat >>confdefs.h
<<_ACEOF
5178 #define HAVE_DECL_FPUTS_UNLOCKED 0
5183 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
5184 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
5185 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 cat >conftest.
$ac_ext <<_ACEOF
5191 cat confdefs.h
>>conftest.
$ac_ext
5192 cat >>conftest.
$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 $ac_includes_default
5198 #ifndef fwrite_unlocked
5199 char *p = (char *) fwrite_unlocked;
5206 rm -f conftest.
$ac_objext
5207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5208 (eval $ac_compile) 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } &&
5215 { ac_try
='test -z "$ac_c_werror_flag"
5216 || test ! -s conftest.err'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; } &&
5222 { ac_try
='test -s conftest.$ac_objext'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_have_decl_fwrite_unlocked
=yes
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 ac_cv_have_decl_fwrite_unlocked
=no
5235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5237 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5238 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
5239 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5241 cat >>confdefs.h
<<_ACEOF
5242 #define HAVE_DECL_FWRITE_UNLOCKED 1
5247 cat >>confdefs.h
<<_ACEOF
5248 #define HAVE_DECL_FWRITE_UNLOCKED 0
5253 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
5254 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
5255 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.
$ac_ext <<_ACEOF
5261 cat confdefs.h
>>conftest.
$ac_ext
5262 cat >>conftest.
$ac_ext <<_ACEOF
5263 /* end confdefs.h. */
5264 $ac_includes_default
5268 #ifndef fprintf_unlocked
5269 char *p = (char *) fprintf_unlocked;
5276 rm -f conftest.
$ac_objext
5277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5278 (eval $ac_compile) 2>conftest.er1
5280 grep -v '^ *+' conftest.er1
>conftest.err
5282 cat conftest.err
>&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); } &&
5285 { ac_try
='test -z "$ac_c_werror_flag"
5286 || test ! -s conftest.err'
5287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5291 (exit $ac_status); }; } &&
5292 { ac_try
='test -s conftest.$ac_objext'
5293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); }; }; then
5298 ac_cv_have_decl_fprintf_unlocked
=yes
5300 echo "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.
$ac_ext >&5
5303 ac_cv_have_decl_fprintf_unlocked
=no
5305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5307 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
5308 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
5309 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
5311 cat >>confdefs.h
<<_ACEOF
5312 #define HAVE_DECL_FPRINTF_UNLOCKED 1
5317 cat >>confdefs.h
<<_ACEOF
5318 #define HAVE_DECL_FPRINTF_UNLOCKED 0
5326 # Checks for library functions.
5327 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5328 # for constant arguments. Useless!
5329 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5330 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5331 if test "${ac_cv_working_alloca_h+set}" = set; then
5332 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 cat >conftest.
$ac_ext <<_ACEOF
5337 cat confdefs.h
>>conftest.
$ac_ext
5338 cat >>conftest.
$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5344 char *p = (char *) alloca (2 * sizeof (int));
5349 rm -f conftest.
$ac_objext conftest
$ac_exeext
5350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5351 (eval $ac_link) 2>conftest.er1
5353 grep -v '^ *+' conftest.er1
>conftest.err
5355 cat conftest.err
>&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } &&
5358 { ac_try
='test -z "$ac_c_werror_flag"
5359 || test ! -s conftest.err'
5360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); }; } &&
5365 { ac_try
='test -s conftest$ac_exeext'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; }; then
5371 ac_cv_working_alloca_h
=yes
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.
$ac_ext >&5
5376 ac_cv_working_alloca_h
=no
5378 rm -f conftest.err conftest.
$ac_objext \
5379 conftest
$ac_exeext conftest.
$ac_ext
5381 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5382 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5383 if test $ac_cv_working_alloca_h = yes; then
5385 cat >>confdefs.h
<<\_ACEOF
5386 #define HAVE_ALLOCA_H 1
5391 echo "$as_me:$LINENO: checking for alloca" >&5
5392 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5393 if test "${ac_cv_func_alloca_works+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5396 cat >conftest.
$ac_ext <<_ACEOF
5399 cat confdefs.h
>>conftest.
$ac_ext
5400 cat >>conftest.
$ac_ext <<_ACEOF
5401 /* end confdefs.h. */
5403 # define alloca __builtin_alloca
5406 # include <malloc.h>
5407 # define alloca _alloca
5410 # include <alloca.h>
5415 # ifndef alloca /* predefined by HP cc +Olibcalls */
5426 char *p = (char *) alloca (1);
5431 rm -f conftest.
$ac_objext conftest
$ac_exeext
5432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5433 (eval $ac_link) 2>conftest.er1
5435 grep -v '^ *+' conftest.er1
>conftest.err
5437 cat conftest.err
>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } &&
5440 { ac_try
='test -z "$ac_c_werror_flag"
5441 || test ! -s conftest.err'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; } &&
5447 { ac_try
='test -s conftest$ac_exeext'
5448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); }; }; then
5453 ac_cv_func_alloca_works
=yes
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.
$ac_ext >&5
5458 ac_cv_func_alloca_works
=no
5460 rm -f conftest.err conftest.
$ac_objext \
5461 conftest
$ac_exeext conftest.
$ac_ext
5463 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5464 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5466 if test $ac_cv_func_alloca_works = yes; then
5468 cat >>confdefs.h
<<\_ACEOF
5469 #define HAVE_ALLOCA 1
5473 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5474 # that cause trouble. Some versions do not even contain alloca or
5475 # contain a buggy version. If you still want to use their alloca,
5476 # use ar to extract alloca.o from them instead of compiling alloca.c.
5478 ALLOCA
=alloca.
$ac_objext
5480 cat >>confdefs.h
<<\_ACEOF
5485 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5486 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5487 if test "${ac_cv_os_cray+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 #if defined(CRAY) && ! defined(CRAY2)
5503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5504 $EGREP "webecray" >/dev
/null
2>&1; then
5512 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5513 echo "${ECHO_T}$ac_cv_os_cray" >&6
5514 if test $ac_cv_os_cray = yes; then
5515 for ac_func
in _getb67 GETB67 getb67
; do
5516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5517 echo "$as_me:$LINENO: checking for $ac_func" >&5
5518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5519 if eval "test \"\${$as_ac_var+set}\" = set"; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 cat >conftest.
$ac_ext <<_ACEOF
5525 cat confdefs.h
>>conftest.
$ac_ext
5526 cat >>conftest.
$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5530 #define $ac_func innocuous_$ac_func
5532 /* System header to define __stub macros and hopefully few prototypes,
5533 which can conflict with char $ac_func (); below.
5534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5535 <limits.h> exists even on freestanding compilers. */
5538 # include <limits.h>
5540 # include <assert.h>
5545 /* Override any gcc2 internal prototype to avoid an error. */
5550 /* We use char because int might match the return type of a gcc2
5551 builtin and then its argument prototype would still apply. */
5553 /* The GNU C library defines this for functions which it implements
5554 to always fail with ENOSYS. Some functions are actually named
5555 something starting with __ and the normal name is an alias. */
5556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5559 char (*f) () = $ac_func;
5568 return f != $ac_func;
5573 rm -f conftest.
$ac_objext conftest
$ac_exeext
5574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5575 (eval $ac_link) 2>conftest.er1
5577 grep -v '^ *+' conftest.er1
>conftest.err
5579 cat conftest.err
>&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); } &&
5582 { ac_try
='test -z "$ac_c_werror_flag"
5583 || test ! -s conftest.err'
5584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); }; } &&
5589 { ac_try
='test -s conftest$ac_exeext'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; }; then
5595 eval "$as_ac_var=yes"
5597 echo "$as_me: failed program was:" >&5
5598 sed 's/^/| /' conftest.
$ac_ext >&5
5600 eval "$as_ac_var=no"
5602 rm -f conftest.err conftest.
$ac_objext \
5603 conftest
$ac_exeext conftest.
$ac_ext
5605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5607 if test `eval echo '${'$as_ac_var'}'` = yes; then
5609 cat >>confdefs.h
<<_ACEOF
5610 #define CRAY_STACKSEG_END $ac_func
5619 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5620 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5621 if test "${ac_cv_c_stack_direction+set}" = set; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 if test "$cross_compiling" = yes; then
5625 ac_cv_c_stack_direction
=0
5627 cat >conftest.
$ac_ext <<_ACEOF
5630 cat confdefs.h
>>conftest.
$ac_ext
5631 cat >>conftest.
$ac_ext <<_ACEOF
5632 /* end confdefs.h. */
5634 find_stack_direction ()
5636 static char *addr = 0;
5641 return find_stack_direction ();
5644 return (&dummy > addr) ? 1 : -1;
5650 exit (find_stack_direction () < 0);
5653 rm -f conftest
$ac_exeext
5654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5655 (eval $ac_link) 2>&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; }; then
5664 ac_cv_c_stack_direction
=1
5666 echo "$as_me: program exited with status $ac_status" >&5
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.
$ac_ext >&5
5671 ac_cv_c_stack_direction
=-1
5673 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5676 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5677 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5679 cat >>confdefs.h
<<_ACEOF
5680 #define STACK_DIRECTION $ac_cv_c_stack_direction
5686 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5687 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5688 if test "${ac_cv_header_stdc+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 cat >conftest.
$ac_ext <<_ACEOF
5694 cat confdefs.h
>>conftest.
$ac_ext
5695 cat >>conftest.
$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5710 rm -f conftest.
$ac_objext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>conftest.er1
5714 grep -v '^ *+' conftest.er1
>conftest.err
5716 cat conftest.err
>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); } &&
5719 { ac_try
='test -z "$ac_c_werror_flag"
5720 || test ! -s conftest.err'
5721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; } &&
5726 { ac_try
='test -s conftest.$ac_objext'
5727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; }; then
5732 ac_cv_header_stdc
=yes
5734 echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.
$ac_ext >&5
5737 ac_cv_header_stdc
=no
5739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5741 if test $ac_cv_header_stdc = yes; then
5742 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5743 cat >conftest.
$ac_ext <<_ACEOF
5746 cat confdefs.h
>>conftest.
$ac_ext
5747 cat >>conftest.
$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5753 $EGREP "memchr" >/dev
/null
2>&1; then
5756 ac_cv_header_stdc
=no
5762 if test $ac_cv_header_stdc = yes; then
5763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5764 cat >conftest.
$ac_ext <<_ACEOF
5767 cat confdefs.h
>>conftest.
$ac_ext
5768 cat >>conftest.
$ac_ext <<_ACEOF
5769 /* end confdefs.h. */
5773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5774 $EGREP "free" >/dev
/null
2>&1; then
5777 ac_cv_header_stdc
=no
5783 if test $ac_cv_header_stdc = yes; then
5784 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5785 if test "$cross_compiling" = yes; then
5788 cat >conftest.
$ac_ext <<_ACEOF
5791 cat confdefs.h
>>conftest.
$ac_ext
5792 cat >>conftest.
$ac_ext <<_ACEOF
5793 /* end confdefs.h. */
5795 #if ((' ' & 0x0FF) == 0x020)
5796 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5797 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5799 # define ISLOWER(c) \
5800 (('a' <= (c) && (c) <= 'i') \
5801 || ('j' <= (c) && (c) <= 'r') \
5802 || ('s' <= (c) && (c) <= 'z'))
5803 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5806 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5811 for (i = 0; i < 256; i++)
5812 if (XOR (islower (i), ISLOWER (i))
5813 || toupper (i) != TOUPPER (i))
5818 rm -f conftest
$ac_exeext
5819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5820 (eval $ac_link) 2>&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; }; then
5831 echo "$as_me: program exited with status $ac_status" >&5
5832 echo "$as_me: failed program was:" >&5
5833 sed 's/^/| /' conftest.
$ac_ext >&5
5836 ac_cv_header_stdc
=no
5838 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5842 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5843 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5844 if test $ac_cv_header_stdc = yes; then
5846 cat >>confdefs.h
<<\_ACEOF
5847 #define STDC_HEADERS 1
5853 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
5854 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
5855 if test "${am_cv_langinfo_codeset+set}" = set; then
5856 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 cat >conftest.
$ac_ext <<_ACEOF
5861 cat confdefs.h
>>conftest.
$ac_ext
5862 cat >>conftest.
$ac_ext <<_ACEOF
5863 /* end confdefs.h. */
5864 #include <langinfo.h>
5868 char* cs = nl_langinfo(CODESET);
5873 rm -f conftest.
$ac_objext conftest
$ac_exeext
5874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5875 (eval $ac_link) 2>conftest.er1
5877 grep -v '^ *+' conftest.er1
>conftest.err
5879 cat conftest.err
>&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } &&
5882 { ac_try
='test -z "$ac_c_werror_flag"
5883 || test ! -s conftest.err'
5884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5888 (exit $ac_status); }; } &&
5889 { ac_try
='test -s conftest$ac_exeext'
5890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); }; }; then
5895 am_cv_langinfo_codeset
=yes
5897 echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.
$ac_ext >&5
5900 am_cv_langinfo_codeset
=no
5902 rm -f conftest.err conftest.
$ac_objext \
5903 conftest
$ac_exeext conftest.
$ac_ext
5906 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
5907 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
5908 if test $am_cv_langinfo_codeset = yes; then
5910 cat >>confdefs.h
<<\_ACEOF
5911 #define HAVE_LANGINFO_CODESET 1
5916 # If we haven't got the data from the intl directory,
5917 # assume NLS is disabled.
5925 if test -f ..
/intl
/config.intl
; then
5926 . ..
/intl
/config.intl
5928 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5929 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5930 if test x
"$USE_NLS" != xyes
; then
5931 echo "$as_me:$LINENO: result: no" >&5
5932 echo "${ECHO_T}no" >&6
5934 echo "$as_me:$LINENO: result: yes" >&5
5935 echo "${ECHO_T}yes" >&6
5937 cat >>confdefs.h
<<\_ACEOF
5938 #define ENABLE_NLS 1
5942 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5943 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5944 # Look for .po and .gmo files in the source directory.
5947 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5948 # If there aren't any .gmo files the shell will give us the
5949 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5951 case "$cat" in *\
**)
5954 # The quadruple backslash is collapsed to a double backslash
5955 # by the backticks, then collapsed again by the double quotes,
5956 # leaving us with one backslash in the sed expression (right
5957 # before the dot that mustn't act as a wildcard).
5958 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5959 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5960 # The user is allowed to set LINGUAS to a list of languages to
5961 # install catalogs for. If it's empty that means "all of them."
5962 if test "x$LINGUAS" = x
; then
5963 CATALOGS
="$CATALOGS $cat"
5964 XLINGUAS
="$XLINGUAS $lang"
5966 case "$LINGUAS" in *$lang*)
5967 CATALOGS
="$CATALOGS $cat"
5968 XLINGUAS
="$XLINGUAS $lang"
5974 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5975 echo "${ECHO_T}$LINGUAS" >&6
5978 echo "$as_me:$LINENO: checking for uchar" >&5
5979 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
5980 if test "${gcc_cv_type_uchar+set}" = set; then
5981 echo $ECHO_N "(cached) $ECHO_C" >&6
5983 cat >conftest.
$ac_ext <<_ACEOF
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5990 #include "ansidecl.h"
5996 if ((uchar *)0) return 0;
5997 if (sizeof(uchar)) return 0;
6002 rm -f conftest.
$ac_objext
6003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6004 (eval $ac_compile) 2>conftest.er1
6006 grep -v '^ *+' conftest.er1
>conftest.err
6008 cat conftest.err
>&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } &&
6011 { ac_try
='test -z "$ac_c_werror_flag"
6012 || test ! -s conftest.err'
6013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); }; } &&
6018 { ac_try
='test -s conftest.$ac_objext'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; }; then
6024 ac_cv_type_uchar
=yes
6026 echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.
$ac_ext >&5
6031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6033 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
6034 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
6035 if test $ac_cv_type_uchar = yes; then
6037 cat >>confdefs.h
<<\_ACEOF
6038 #define HAVE_UCHAR 1
6044 if test "X$prefix" = "XNONE"; then
6045 acl_final_prefix
="$ac_default_prefix"
6047 acl_final_prefix
="$prefix"
6049 if test "X$exec_prefix" = "XNONE"; then
6050 acl_final_exec_prefix
='${prefix}'
6052 acl_final_exec_prefix
="$exec_prefix"
6054 acl_save_prefix
="$prefix"
6055 prefix
="$acl_final_prefix"
6056 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6057 prefix
="$acl_save_prefix"
6060 # Check whether --with-gnu-ld or --without-gnu-ld was given.
6061 if test "${with_gnu_ld+set}" = set; then
6062 withval
="$with_gnu_ld"
6063 test "$withval" = no || with_gnu_ld
=yes
6067 # Prepare PATH_SEPARATOR.
6068 # The user is always right.
6069 if test "${PATH_SEPARATOR+set}" != set; then
6070 echo "#! /bin/sh" >conf$$.sh
6071 echo "exit 0" >>conf$$.sh
6073 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6081 if test "$GCC" = yes; then
6082 # Check if gcc -print-prog-name=ld gives a path.
6083 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
6084 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
6087 # gcc leaves a trailing carriage return which upsets mingw
6088 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6090 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6093 # Accept absolute paths.
6094 [\\/]* |
[A-Za-z
]:[\\/]*)
6095 re_direlt
='/[^/][^/]*/\.\./'
6096 # Canonicalize the path of ld
6097 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6098 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6099 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6101 test -z "$LD" && LD
="$ac_prog"
6104 # If it fails, then pretend we aren't using GCC.
6108 # If it is relative, then search for the first ld in PATH.
6112 elif test "$with_gnu_ld" = yes; then
6113 echo "$as_me:$LINENO: checking for GNU ld" >&5
6114 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6116 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6117 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6119 if test "${acl_cv_path_LD+set}" = set; then
6120 echo $ECHO_N "(cached) $ECHO_C" >&6
6122 if test -z "$LD"; then
6123 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6124 for ac_dir
in $PATH; do
6125 test -z "$ac_dir" && ac_dir
=.
6126 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6127 acl_cv_path_LD
="$ac_dir/$ac_prog"
6128 # Check to see if the program is GNU ld. I'd rather use --version,
6129 # but apparently some GNU ld's only accept -v.
6130 # Break only if it was the GNU/non-GNU ld that we prefer.
6131 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
6132 *GNU
* |
*'with BFD'*)
6133 test "$with_gnu_ld" != no
&& break ;;
6135 test "$with_gnu_ld" != yes && break ;;
6141 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6145 LD
="$acl_cv_path_LD"
6146 if test -n "$LD"; then
6147 echo "$as_me:$LINENO: result: $LD" >&5
6148 echo "${ECHO_T}$LD" >&6
6150 echo "$as_me:$LINENO: result: no" >&5
6151 echo "${ECHO_T}no" >&6
6153 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6154 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6155 { (exit 1); exit 1; }; }
6156 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6157 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6158 if test "${acl_cv_prog_gnu_ld+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6161 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6162 case `$LD -v 2>&1 </dev/null` in
6163 *GNU
* |
*'with BFD'*)
6164 acl_cv_prog_gnu_ld
=yes ;;
6166 acl_cv_prog_gnu_ld
=no
;;
6169 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
6170 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
6171 with_gnu_ld
=$acl_cv_prog_gnu_ld
6175 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
6176 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
6177 if test "${acl_cv_rpath+set}" = set; then
6178 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6182 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6188 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
6189 echo "${ECHO_T}$acl_cv_rpath" >&6
6191 libext
="$acl_cv_libext"
6192 shlibext
="$acl_cv_shlibext"
6193 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6194 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6195 hardcode_direct
="$acl_cv_hardcode_direct"
6196 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6197 # Check whether --enable-rpath or --disable-rpath was given.
6198 if test "${enable_rpath+set}" = set; then
6199 enableval
="$enable_rpath"
6213 acl_save_prefix
="$prefix"
6214 prefix
="$acl_final_prefix"
6215 acl_save_exec_prefix
="$exec_prefix"
6216 exec_prefix
="$acl_final_exec_prefix"
6218 eval additional_includedir
=\"$includedir\"
6219 eval additional_libdir
=\"$libdir\"
6221 exec_prefix
="$acl_save_exec_prefix"
6222 prefix
="$acl_save_prefix"
6225 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
6226 if test "${with_libiconv_prefix+set}" = set; then
6227 withval
="$with_libiconv_prefix"
6229 if test "X$withval" = "Xno"; then
6232 if test "X$withval" = "X"; then
6234 acl_save_prefix
="$prefix"
6235 prefix
="$acl_final_prefix"
6236 acl_save_exec_prefix
="$exec_prefix"
6237 exec_prefix
="$acl_final_exec_prefix"
6239 eval additional_includedir
=\"$includedir\"
6240 eval additional_libdir
=\"$libdir\"
6242 exec_prefix
="$acl_save_exec_prefix"
6243 prefix
="$acl_save_prefix"
6246 additional_includedir
="$withval/include"
6247 additional_libdir
="$withval/lib"
6257 names_already_handled
=
6258 names_next_round
='iconv '
6259 while test -n "$names_next_round"; do
6260 names_this_round
="$names_next_round"
6262 for name
in $names_this_round; do
6264 for n
in $names_already_handled; do
6265 if test "$n" = "$name"; then
6270 if test -z "$already_handled"; then
6271 names_already_handled
="$names_already_handled $name"
6272 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6273 eval value
=\"\
$HAVE_LIB$uppername\"
6274 if test -n "$value"; then
6275 if test "$value" = yes; then
6276 eval value
=\"\
$LIB$uppername\"
6277 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6278 eval value
=\"\
$LTLIB$uppername\"
6279 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6288 if test $use_additional = yes; then
6289 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6290 found_dir
="$additional_libdir"
6291 found_so
="$additional_libdir/lib$name.$shlibext"
6292 if test -f "$additional_libdir/lib$name.la"; then
6293 found_la
="$additional_libdir/lib$name.la"
6296 if test -f "$additional_libdir/lib$name.$libext"; then
6297 found_dir
="$additional_libdir"
6298 found_a
="$additional_libdir/lib$name.$libext"
6299 if test -f "$additional_libdir/lib$name.la"; then
6300 found_la
="$additional_libdir/lib$name.la"
6305 if test "X$found_dir" = "X"; then
6306 for x
in $LDFLAGS $LTLIBICONV; do
6308 acl_save_prefix
="$prefix"
6309 prefix
="$acl_final_prefix"
6310 acl_save_exec_prefix
="$exec_prefix"
6311 exec_prefix
="$acl_final_exec_prefix"
6313 exec_prefix
="$acl_save_exec_prefix"
6314 prefix
="$acl_save_prefix"
6318 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6319 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6321 found_so
="$dir/lib$name.$shlibext"
6322 if test -f "$dir/lib$name.la"; then
6323 found_la
="$dir/lib$name.la"
6326 if test -f "$dir/lib$name.$libext"; then
6328 found_a
="$dir/lib$name.$libext"
6329 if test -f "$dir/lib$name.la"; then
6330 found_la
="$dir/lib$name.la"
6336 if test "X$found_dir" != "X"; then
6341 if test "X$found_dir" != "X"; then
6342 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6343 if test "X$found_so" != "X"; then
6344 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6345 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6348 for x
in $ltrpathdirs; do
6349 if test "X$x" = "X$found_dir"; then
6354 if test -z "$haveit"; then
6355 ltrpathdirs
="$ltrpathdirs $found_dir"
6357 if test "$hardcode_direct" = yes; then
6358 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6360 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6361 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6363 for x
in $rpathdirs; do
6364 if test "X$x" = "X$found_dir"; then
6369 if test -z "$haveit"; then
6370 rpathdirs
="$rpathdirs $found_dir"
6374 for x
in $LDFLAGS $LIBICONV; do
6376 acl_save_prefix
="$prefix"
6377 prefix
="$acl_final_prefix"
6378 acl_save_exec_prefix
="$exec_prefix"
6379 exec_prefix
="$acl_final_exec_prefix"
6381 exec_prefix
="$acl_save_exec_prefix"
6382 prefix
="$acl_save_prefix"
6384 if test "X$x" = "X-L$found_dir"; then
6389 if test -z "$haveit"; then
6390 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6392 if test "$hardcode_minus_L" != no
; then
6393 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6395 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6401 if test "X$found_a" != "X"; then
6402 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6404 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6407 additional_includedir
=
6408 case "$found_dir" in
6410 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6411 additional_includedir
="$basedir/include"
6414 if test "X$additional_includedir" != "X"; then
6415 if test "X$additional_includedir" != "X/usr/include"; then
6417 if test "X$additional_includedir" = "X/usr/local/include"; then
6418 if test -n "$GCC"; then
6420 linux
*) haveit
=yes;;
6424 if test -z "$haveit"; then
6425 for x
in $CPPFLAGS $INCICONV; do
6427 acl_save_prefix
="$prefix"
6428 prefix
="$acl_final_prefix"
6429 acl_save_exec_prefix
="$exec_prefix"
6430 exec_prefix
="$acl_final_exec_prefix"
6432 exec_prefix
="$acl_save_exec_prefix"
6433 prefix
="$acl_save_prefix"
6435 if test "X$x" = "X-I$additional_includedir"; then
6440 if test -z "$haveit"; then
6441 if test -d "$additional_includedir"; then
6442 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6448 if test -n "$found_la"; then
6449 save_libdir
="$libdir"
6451 */* |
*\\*) .
"$found_la" ;;
6452 *) .
"./$found_la" ;;
6454 libdir
="$save_libdir"
6455 for dep
in $dependency_libs; do
6458 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6459 if test "X$additional_libdir" != "X/usr/lib"; then
6461 if test "X$additional_libdir" = "X/usr/local/lib"; then
6462 if test -n "$GCC"; then
6464 linux
*) haveit
=yes;;
6468 if test -z "$haveit"; then
6470 for x
in $LDFLAGS $LIBICONV; do
6472 acl_save_prefix
="$prefix"
6473 prefix
="$acl_final_prefix"
6474 acl_save_exec_prefix
="$exec_prefix"
6475 exec_prefix
="$acl_final_exec_prefix"
6477 exec_prefix
="$acl_save_exec_prefix"
6478 prefix
="$acl_save_prefix"
6480 if test "X$x" = "X-L$additional_libdir"; then
6485 if test -z "$haveit"; then
6486 if test -d "$additional_libdir"; then
6487 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6491 for x
in $LDFLAGS $LTLIBICONV; do
6493 acl_save_prefix
="$prefix"
6494 prefix
="$acl_final_prefix"
6495 acl_save_exec_prefix
="$exec_prefix"
6496 exec_prefix
="$acl_final_exec_prefix"
6498 exec_prefix
="$acl_save_exec_prefix"
6499 prefix
="$acl_save_prefix"
6501 if test "X$x" = "X-L$additional_libdir"; then
6506 if test -z "$haveit"; then
6507 if test -d "$additional_libdir"; then
6508 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6515 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6516 if test "$enable_rpath" != no
; then
6518 for x
in $rpathdirs; do
6519 if test "X$x" = "X$dir"; then
6524 if test -z "$haveit"; then
6525 rpathdirs
="$rpathdirs $dir"
6528 for x
in $ltrpathdirs; do
6529 if test "X$x" = "X$dir"; then
6534 if test -z "$haveit"; then
6535 ltrpathdirs
="$ltrpathdirs $dir"
6540 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6543 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6546 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6547 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6553 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6554 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6560 if test "X$rpathdirs" != "X"; then
6561 if test -n "$hardcode_libdir_separator"; then
6563 for found_dir
in $rpathdirs; do
6564 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6566 acl_save_libdir
="$libdir"
6568 eval flag
=\"$hardcode_libdir_flag_spec\"
6569 libdir
="$acl_save_libdir"
6570 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6572 for found_dir
in $rpathdirs; do
6573 acl_save_libdir
="$libdir"
6575 eval flag
=\"$hardcode_libdir_flag_spec\"
6576 libdir
="$acl_save_libdir"
6577 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6581 if test "X$ltrpathdirs" != "X"; then
6582 for found_dir
in $ltrpathdirs; do
6583 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6593 am_save_CPPFLAGS
="$CPPFLAGS"
6595 for element
in $INCICONV; do
6597 for x
in $CPPFLAGS; do
6599 acl_save_prefix
="$prefix"
6600 prefix
="$acl_final_prefix"
6601 acl_save_exec_prefix
="$exec_prefix"
6602 exec_prefix
="$acl_final_exec_prefix"
6604 exec_prefix
="$acl_save_exec_prefix"
6605 prefix
="$acl_save_prefix"
6607 if test "X$x" = "X$element"; then
6612 if test -z "$haveit"; then
6613 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6618 echo "$as_me:$LINENO: checking for iconv" >&5
6619 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
6620 if test "${am_cv_func_iconv+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 am_cv_func_iconv
="no, consider installing GNU libiconv"
6626 cat >conftest.
$ac_ext <<_ACEOF
6629 cat confdefs.h
>>conftest.
$ac_ext
6630 cat >>conftest.
$ac_ext <<_ACEOF
6631 /* end confdefs.h. */
6637 iconv_t cd = iconv_open("","");
6638 iconv(cd,NULL,NULL,NULL,NULL);
6644 rm -f conftest.
$ac_objext conftest
$ac_exeext
6645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6646 (eval $ac_link) 2>conftest.er1
6648 grep -v '^ *+' conftest.er1
>conftest.err
6650 cat conftest.err
>&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } &&
6653 { ac_try
='test -z "$ac_c_werror_flag"
6654 || test ! -s conftest.err'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; } &&
6660 { ac_try
='test -s conftest$ac_exeext'
6661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 (exit $ac_status); }; }; then
6666 am_cv_func_iconv
=yes
6668 echo "$as_me: failed program was:" >&5
6669 sed 's/^/| /' conftest.
$ac_ext >&5
6672 rm -f conftest.err conftest.
$ac_objext \
6673 conftest
$ac_exeext conftest.
$ac_ext
6674 if test "$am_cv_func_iconv" != yes; then
6675 am_save_LIBS
="$LIBS"
6676 LIBS
="$LIBS $LIBICONV"
6677 cat >conftest.
$ac_ext <<_ACEOF
6680 cat confdefs.h
>>conftest.
$ac_ext
6681 cat >>conftest.
$ac_ext <<_ACEOF
6682 /* end confdefs.h. */
6688 iconv_t cd = iconv_open("","");
6689 iconv(cd,NULL,NULL,NULL,NULL);
6695 rm -f conftest.
$ac_objext conftest
$ac_exeext
6696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6697 (eval $ac_link) 2>conftest.er1
6699 grep -v '^ *+' conftest.er1
>conftest.err
6701 cat conftest.err
>&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } &&
6704 { ac_try
='test -z "$ac_c_werror_flag"
6705 || test ! -s conftest.err'
6706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); }; } &&
6711 { ac_try
='test -s conftest$ac_exeext'
6712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); }; }; then
6718 am_cv_func_iconv
=yes
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.
$ac_ext >&5
6724 rm -f conftest.err conftest.
$ac_objext \
6725 conftest
$ac_exeext conftest.
$ac_ext
6726 LIBS
="$am_save_LIBS"
6730 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
6731 echo "${ECHO_T}$am_cv_func_iconv" >&6
6732 if test "$am_cv_func_iconv" = yes; then
6734 cat >>confdefs.h
<<\_ACEOF
6735 #define HAVE_ICONV 1
6739 if test "$am_cv_lib_iconv" = yes; then
6740 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
6741 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
6742 echo "$as_me:$LINENO: result: $LIBICONV" >&5
6743 echo "${ECHO_T}$LIBICONV" >&6
6745 CPPFLAGS
="$am_save_CPPFLAGS"
6752 if test "$am_cv_func_iconv" = yes; then
6753 echo "$as_me:$LINENO: checking for iconv declaration" >&5
6754 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6755 if test "${am_cv_proto_iconv+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 cat >conftest.
$ac_ext <<_ACEOF
6762 cat confdefs.h
>>conftest.
$ac_ext
6763 cat >>conftest.
$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6772 #if defined(__STDC__) || defined(__cplusplus)
6773 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6786 rm -f conftest.
$ac_objext
6787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6788 (eval $ac_compile) 2>conftest.er1
6790 grep -v '^ *+' conftest.er1
>conftest.err
6792 cat conftest.err
>&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } &&
6795 { ac_try
='test -z "$ac_c_werror_flag"
6796 || test ! -s conftest.err'
6797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); }; } &&
6802 { ac_try
='test -s conftest.$ac_objext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6808 am_cv_proto_iconv_arg1
=""
6810 echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.
$ac_ext >&5
6813 am_cv_proto_iconv_arg1
="const"
6815 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6816 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);"
6819 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6820 echo "$as_me:$LINENO: result: ${ac_t:-
6821 }$am_cv_proto_iconv" >&5
6822 echo "${ECHO_T}${ac_t:-
6823 }$am_cv_proto_iconv" >&6
6825 cat >>confdefs.h
<<_ACEOF
6826 #define ICONV_CONST $am_cv_proto_iconv_arg1
6832 # More defines and substitutions.
6833 PACKAGE
="$PACKAGE_TARNAME"
6835 cat >>confdefs.h
<<_ACEOF
6836 #define PACKAGE "$PACKAGE"
6841 if test "x$enable_nls" != xno
; then
6842 USED_CATALOGS
='$(CATALOGS)'
6848 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6849 if test "${enable_maintainer_mode+set}" = set; then
6850 enableval
="$enable_maintainer_mode"
6853 enable_maintainer_mode
=no
6856 if test "x$enable_maintainer_mode" = xno
; then
6863 # Check whether --enable-checking or --disable-checking was given.
6864 if test "${enable_checking+set}" = set; then
6865 enableval
="$enable_checking"
6871 if test $enable_checking != no
; then
6873 cat >>confdefs.h
<<\_ACEOF
6874 #define ENABLE_CHECKING 1
6883 arm
*-*-symbianelf* | \
6886 hppa
*64*-*-* | parisc
*64*-*-* | \
6892 sparc64
*-*-* | ultrasparc-
*-freebsd* | \
6893 sparcv9-
*-solaris2* | \
6894 sparc-
*-solaris2.
[789] | sparc-
*-solaris2.1
[0-9] | \
6895 sh
[123456789l]*-*-*)
6896 need_64bit_hwint
=yes ;;
6898 need_64bit_hwint
=no
;;
6901 case $need_64bit_hwint:$ac_cv_sizeof_long in
6902 *:8 | no
:*) host_wide_int
=long
;;
6903 *) host_wide_int
='long long' ;;
6908 cat >>confdefs.h
<<_ACEOF
6909 #define HOST_WIDE_INT $host_wide_int
6915 ac_config_headers
="$ac_config_headers config.h:config.in"
6917 ac_config_files
="$ac_config_files Makefile"
6919 cat >confcache
<<\_ACEOF
6920 # This file is a shell script that caches the results of configure
6921 # tests run on this system so they can be shared between configure
6922 # scripts and configure runs, see configure's option --config-cache.
6923 # It is not useful on other systems. If it contains results you don't
6924 # want to keep, you may remove or edit it.
6926 # config.status only pays attention to the cache file if you give it
6927 # the --recheck option to rerun configure.
6929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6935 # The following way of writing the cache mishandles newlines in values,
6936 # but we know of no workaround that is simple, portable, and efficient.
6937 # So, don't put newlines in cache variables' values.
6938 # Ultrix sh set writes to stderr and can't be redirected directly,
6939 # and sets the high bit in the cache file unless we assign to the vars.
6942 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6944 # `set' does not quote correctly, so add quotes (double-quote
6945 # substitution turns \\\\ into \\, and sed turns \\ into \).
6948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6951 # `set' quotes correctly as required by POSIX, so do not add quotes.
6953 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6960 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6962 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6964 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6965 if test -w $cache_file; then
6966 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6967 cat confcache
>$cache_file
6969 echo "not updating unwritable cache $cache_file"
6974 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6975 # Let make expand exec_prefix.
6976 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6978 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6979 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6980 # trailing colons and then remove the whole line if VPATH becomes empty
6981 # (actually we leave an empty line to preserve line numbers).
6982 if test "x$srcdir" = x.
; then
6983 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6984 s/:*\$(srcdir):*/:/;
6985 s/:*\${srcdir}:*/:/;
6987 s/^\([^=]*=[ ]*\):*/\1/;
6993 DEFS
=-DHAVE_CONFIG_H
6997 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6998 # 1. Remove the extension, and $U if already installed.
6999 ac_i
=`echo "$ac_i" |
7000 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7002 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7003 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7007 LTLIBOBJS
=$ac_ltlibobjs
7011 : ${CONFIG_STATUS=./config.status}
7012 ac_clean_files_save
=$ac_clean_files
7013 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7014 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7015 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7016 cat >$CONFIG_STATUS <<_ACEOF
7018 # Generated by $as_me.
7019 # Run this file to recreate the current configuration.
7020 # Compiler output produced by configure, useful for debugging
7021 # configure, is in config.log if it exists.
7026 SHELL=\${CONFIG_SHELL-$SHELL}
7029 cat >>$CONFIG_STATUS <<\_ACEOF
7030 ## --------------------- ##
7031 ## M4sh Initialization. ##
7032 ## --------------------- ##
7034 # Be Bourne compatible
7035 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7038 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7039 # is contrary to our usage. Disable this feature.
7040 alias -g '${1+"$@"}'='"$@"'
7041 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7044 DUALCASE
=1; export DUALCASE
# for MKS sh
7046 # Support unset when possible.
7047 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7054 # Work around bugs in pre-3.0 UWIN ksh.
7055 $as_unset ENV MAIL MAILPATH
7062 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7063 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7064 LC_TELEPHONE LC_TIME
7066 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7067 eval $as_var=C
; export $as_var
7073 # Required to use basename.
7074 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7080 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7081 as_basename
=basename
7087 # Name of the executable.
7088 as_me
=`$as_basename "$0" ||
7089 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7090 X"$0" : 'X\(//\)$' \| \
7091 X"$0" : 'X\(/\)$' \| \
7092 . : '\(.\)' 2>/dev/null ||
7094 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7095 /^X\/\(\/\/\)$/{ s//\1/; q; }
7096 /^X\/\(\/\).*/{ s//\1/; q; }
7100 # PATH needs CR, and LINENO needs CR and PATH.
7101 # Avoid depending upon Character Ranges.
7102 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7103 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7104 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7105 as_cr_digits
='0123456789'
7106 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7108 # The user is always right.
7109 if test "${PATH_SEPARATOR+set}" != set; then
7110 echo "#! /bin/sh" >conf$$.sh
7111 echo "exit 0" >>conf$$.sh
7113 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7124 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7125 test "x$as_lineno_1" != "x$as_lineno_2" &&
7126 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7127 # Find who we are. Look in the path if we contain no path at all
7130 *[\\/]* ) as_myself
=$0 ;;
7131 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7135 test -z "$as_dir" && as_dir
=.
7136 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7141 # We did not find ourselves, most probably we were run as `sh COMMAND'
7142 # in which case we are not to be found in the path.
7143 if test "x$as_myself" = x
; then
7146 if test ! -f "$as_myself"; then
7147 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7148 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7149 { (exit 1); exit 1; }; }
7151 case $CONFIG_SHELL in
7153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7154 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7157 test -z "$as_dir" && as_dir
=.
7158 for as_base
in sh bash ksh sh5
; do
7161 if ("$as_dir/$as_base" -c '
7164 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7165 test "x$as_lineno_1" != "x$as_lineno_2" &&
7166 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7167 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7168 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7169 CONFIG_SHELL
=$as_dir/$as_base
7171 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7179 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7180 # uniformly replaced by the line number. The first 'sed' inserts a
7181 # line-number line before each line; the second 'sed' does the real
7182 # work. The second script uses 'N' to pair each line-number line
7183 # with the numbered line, and appends trailing '-' during
7184 # substitution so that $LINENO is not a special case at line end.
7185 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7186 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7187 sed '=' <$as_myself |
7192 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7195 s,^['$as_cr_digits']*\n,,
7197 chmod +x
$as_me.lineno ||
7198 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7199 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7200 { (exit 1); exit 1; }; }
7202 # Don't try to exec as it changes $[0], causing all sort of problems
7203 # (the dirname of $[0] is not the place where we might find the
7204 # original and so on. Autoconf is especially sensible to this).
7206 # Exit status is that of the last command.
7211 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7212 *c
*,-n*) ECHO_N
= ECHO_C
='
7214 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7215 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7218 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7224 rm -f conf$$ conf$$.exe conf$$.
file
7226 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7227 # We could just check for DJGPP; but this test a) works b) is more generic
7228 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7229 if test -f conf$$.exe
; then
7230 # Don't use ln at all; we don't have any links
7235 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7240 rm -f conf$$ conf$$.exe conf$$.
file
7242 if mkdir
-p .
2>/dev
/null
; then
7245 test -d .
/-p && rmdir .
/-p
7249 as_executable_p
="test -f"
7251 # Sed expression to map a string onto a valid CPP name.
7252 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7254 # Sed expression to map a string onto a valid variable name.
7255 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7259 # We need space, tab and new line, in precisely that order.
7269 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7270 # report actual input values of CONFIG_FILES etc. instead of their
7271 # values after options handling. Logging --version etc. is OK.
7275 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7276 ## Running $as_me. ##
7281 This file was extended by cpplib $as_me , which was
7282 generated by GNU Autoconf 2.59. Invocation command line was
7284 CONFIG_FILES = $CONFIG_FILES
7285 CONFIG_HEADERS = $CONFIG_HEADERS
7286 CONFIG_LINKS = $CONFIG_LINKS
7287 CONFIG_COMMANDS = $CONFIG_COMMANDS
7291 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7295 # Files that config.status was made for.
7296 if test -n "$ac_config_files"; then
7297 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7300 if test -n "$ac_config_headers"; then
7301 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7304 if test -n "$ac_config_links"; then
7305 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7308 if test -n "$ac_config_commands"; then
7309 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7312 cat >>$CONFIG_STATUS <<\_ACEOF
7315 \`$as_me' instantiates files from templates according to the
7316 current configuration.
7318 Usage: $0 [OPTIONS] [FILE]...
7320 -h, --help print this help, then exit
7321 -V, --version print version number, then exit
7322 -q, --quiet do not print progress messages
7323 -d, --debug don't remove temporary files
7324 --recheck update $as_me by reconfiguring in the same conditions
7325 --file=FILE[:TEMPLATE]
7326 instantiate the configuration file FILE
7327 --header=FILE[:TEMPLATE]
7328 instantiate the configuration header FILE
7330 Configuration files:
7333 Configuration headers:
7336 Report bugs to <bug-autoconf@gnu.org>."
7339 cat >>$CONFIG_STATUS <<_ACEOF
7341 cpplib config.status
7342 configured by $0, generated by GNU Autoconf 2.59,
7343 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7345 Copyright (C) 2003 Free Software Foundation, Inc.
7346 This config.status script is free software; the Free Software Foundation
7347 gives unlimited permission to copy, distribute and modify it."
7352 cat >>$CONFIG_STATUS <<\_ACEOF
7353 # If no file are specified by the user, then we need to provide default
7354 # value. By we need to know if files were specified by the user.
7360 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7361 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7369 *) # This is not an option, so the user has probably given explicit
7372 ac_need_defaults
=false
;;
7376 # Handling of the options.
7378 cat >>$CONFIG_STATUS <<\_ACEOF
7379 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7381 --version |
--vers* |
-V )
7382 echo "$ac_cs_version"; exit 0 ;;
7384 # Conflict between --help and --header
7385 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7386 Try \`$0 --help' for more information." >&5
7387 echo "$as_me: error: ambiguous option: $1
7388 Try \`$0 --help' for more information." >&2;}
7389 { (exit 1); exit 1; }; };;
7390 --help |
--hel |
-h )
7391 echo "$ac_cs_usage"; exit 0 ;;
7392 --debug |
--d* |
-d )
7394 --file |
--fil |
--fi |
--f )
7396 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7397 ac_need_defaults
=false
;;
7398 --header |
--heade |
--head |
--hea )
7400 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7401 ac_need_defaults
=false
;;
7402 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7403 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7407 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7408 Try \`$0 --help' for more information." >&5
7409 echo "$as_me: error: unrecognized option: $1
7410 Try \`$0 --help' for more information." >&2;}
7411 { (exit 1); exit 1; }; } ;;
7413 *) ac_config_targets
="$ac_config_targets $1" ;;
7419 ac_configure_extra_args
=
7421 if $ac_cs_silent; then
7423 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7427 cat >>$CONFIG_STATUS <<_ACEOF
7428 if \$ac_cs_recheck; then
7429 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7430 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7439 cat >>$CONFIG_STATUS <<\_ACEOF
7440 for ac_config_target
in $ac_config_targets
7442 case "$ac_config_target" in
7443 # Handling of arguments.
7444 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7445 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7446 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7447 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7448 { (exit 1); exit 1; }; };;
7452 # If the user did not use the arguments to specify the items to instantiate,
7453 # then the envvar interface is used. Set only those that are not.
7454 # We use the long form for the default assignment because of an extremely
7455 # bizarre bug on SunOS 4.1.3.
7456 if $ac_need_defaults; then
7457 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7458 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7461 # Have a temporary directory for convenience. Make it in the build tree
7462 # simply because there is no reason to put it here, and in addition,
7463 # creating and moving files from /tmp can sometimes cause problems.
7464 # Create a temporary directory, and hook for its removal unless debugging.
7467 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7468 trap '{ (exit 1); exit 1; }' 1 2 13 15
7471 # Create a (secure) tmp directory for tmp files.
7474 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7475 test -n "$tmp" && test -d "$tmp"
7478 tmp
=.
/confstat$$
-$RANDOM
7479 (umask 077 && mkdir
$tmp)
7482 echo "$me: cannot create a temporary directory in ." >&2
7483 { (exit 1); exit 1; }
7488 cat >>$CONFIG_STATUS <<_ACEOF
7491 # CONFIG_FILES section.
7494 # No need to generate the scripts if there are no CONFIG_FILES.
7495 # This happens for instance when ./config.status config.h
7496 if test -n "\$CONFIG_FILES"; then
7497 # Protect against being on the right side of a sed subst in config.status.
7498 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7499 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7500 s,@SHELL@,$SHELL,;t t
7501 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7502 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7503 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7504 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7505 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7506 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7507 s,@exec_prefix@,$exec_prefix,;t t
7508 s,@prefix@,$prefix,;t t
7509 s,@program_transform_name@,$program_transform_name,;t t
7510 s,@bindir@,$bindir,;t t
7511 s,@sbindir@,$sbindir,;t t
7512 s,@libexecdir@,$libexecdir,;t t
7513 s,@datadir@,$datadir,;t t
7514 s,@sysconfdir@,$sysconfdir,;t t
7515 s,@sharedstatedir@,$sharedstatedir,;t t
7516 s,@localstatedir@,$localstatedir,;t t
7517 s,@libdir@,$libdir,;t t
7518 s,@includedir@,$includedir,;t t
7519 s,@oldincludedir@,$oldincludedir,;t t
7520 s,@infodir@,$infodir,;t t
7521 s,@mandir@,$mandir,;t t
7522 s,@build_alias@,$build_alias,;t t
7523 s,@host_alias@,$host_alias,;t t
7524 s,@target_alias@,$target_alias,;t t
7526 s,@ECHO_C@,$ECHO_C,;t t
7527 s,@ECHO_N@,$ECHO_N,;t t
7528 s,@ECHO_T@,$ECHO_T,;t t
7530 s,@build@,$build,;t t
7531 s,@build_cpu@,$build_cpu,;t t
7532 s,@build_vendor@,$build_vendor,;t t
7533 s,@build_os@,$build_os,;t t
7535 s,@host_cpu@,$host_cpu,;t t
7536 s,@host_vendor@,$host_vendor,;t t
7537 s,@host_os@,$host_os,;t t
7538 s,@target@,$target,;t t
7539 s,@target_cpu@,$target_cpu,;t t
7540 s,@target_vendor@,$target_vendor,;t t
7541 s,@target_os@,$target_os,;t t
7542 s,@SET_MAKE@,$SET_MAKE,;t t
7543 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7544 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7545 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7547 s,@CFLAGS@,$CFLAGS,;t t
7548 s,@LDFLAGS@,$LDFLAGS,;t t
7549 s,@CPPFLAGS@,$CPPFLAGS,;t t
7550 s,@ac_ct_CC@,$ac_ct_CC,;t t
7551 s,@EXEEXT@,$EXEEXT,;t t
7552 s,@OBJEXT@,$OBJEXT,;t t
7553 s,@RANLIB@,$RANLIB,;t t
7554 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7555 s,@ACLOCAL@,$ACLOCAL,;t t
7556 s,@AUTOCONF@,$AUTOCONF,;t t
7557 s,@AUTOHEADER@,$AUTOHEADER,;t t
7559 s,@EGREP@,$EGREP,;t t
7560 s,@LIBOBJS@,$LIBOBJS,;t t
7561 s,@ALLOCA@,$ALLOCA,;t t
7562 s,@USE_NLS@,$USE_NLS,;t t
7563 s,@LIBINTL@,$LIBINTL,;t t
7564 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7565 s,@INCINTL@,$INCINTL,;t t
7566 s,@XGETTEXT@,$XGETTEXT,;t t
7567 s,@GMSGFMT@,$GMSGFMT,;t t
7568 s,@POSUB@,$POSUB,;t t
7569 s,@CATALOGS@,$CATALOGS,;t t
7570 s,@LIBICONV@,$LIBICONV,;t t
7571 s,@LTLIBICONV@,$LTLIBICONV,;t t
7572 s,@PACKAGE@,$PACKAGE,;t t
7573 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
7574 s,@MAINT@,$MAINT,;t t
7575 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7580 cat >>$CONFIG_STATUS <<\_ACEOF
7581 # Split the substitutions into bite-sized pieces for seds with
7582 # small command number limits, like on Digital OSF/1 and HP-UX.
7584 ac_sed_frag
=1 # Number of current file.
7585 ac_beg
=1 # First line for current file.
7586 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7589 while $ac_more_lines; do
7590 if test $ac_beg -gt 1; then
7591 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7593 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7595 if test ! -s $tmp/subs.frag
; then
7598 # The purpose of the label and of the branching condition is to
7599 # speed up the sed processing (if there are no `@' at all, there
7600 # is no need to browse any of the substitutions).
7601 # These are the two extra sed commands mentioned above.
7603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7604 if test -z "$ac_sed_cmds"; then
7605 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7607 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7609 ac_sed_frag
=`expr $ac_sed_frag + 1`
7611 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7614 if test -z "$ac_sed_cmds"; then
7617 fi # test -n "$CONFIG_FILES"
7620 cat >>$CONFIG_STATUS <<\_ACEOF
7621 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7622 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7624 - |
*:- |
*:-:* ) # input from stdin
7626 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7627 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7628 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7629 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7630 * ) ac_file_in
=$ac_file.
in ;;
7633 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7634 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7636 X"$ac_file" : 'X\(//\)[^/]' \| \
7637 X"$ac_file" : 'X\(//\)$' \| \
7638 X"$ac_file" : 'X\(/\)' \| \
7639 . : '\(.\)' 2>/dev/null ||
7641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7643 /^X\(\/\/\)$/{ s//\1/; q; }
7644 /^X\(\/\).*/{ s//\1/; q; }
7646 { if $as_mkdir_p; then
7651 while test ! -d "$as_dir"; do
7652 as_dirs
="$as_dir $as_dirs"
7653 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7655 X"$as_dir" : 'X\(//\)[^/]' \| \
7656 X"$as_dir" : 'X\(//\)$' \| \
7657 X"$as_dir" : 'X\(/\)' \| \
7658 . : '\(.\)' 2>/dev/null ||
7660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7662 /^X\(\/\/\)$/{ s//\1/; q; }
7663 /^X\(\/\).*/{ s//\1/; q; }
7666 test ! -n "$as_dirs" || mkdir
$as_dirs
7667 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7668 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7669 { (exit 1); exit 1; }; }; }
7673 if test "$ac_dir" != .
; then
7674 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7675 # A "../" for each directory in $ac_dir_suffix.
7676 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7678 ac_dir_suffix
= ac_top_builddir
=
7682 .
) # No --srcdir option. We are building in place.
7684 if test -z "$ac_top_builddir"; then
7687 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7689 [\\/]* | ?
:[\\/]* ) # Absolute path.
7690 ac_srcdir
=$srcdir$ac_dir_suffix;
7691 ac_top_srcdir
=$srcdir ;;
7693 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7694 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7697 # Do not use `cd foo && pwd` to compute absolute paths, because
7698 # the directories may not exist.
7700 .
) ac_abs_builddir
="$ac_dir";;
7703 .
) ac_abs_builddir
=`pwd`;;
7704 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7705 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7708 case $ac_abs_builddir in
7709 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7711 case ${ac_top_builddir}.
in
7712 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7713 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7714 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7717 case $ac_abs_builddir in
7718 .
) ac_abs_srcdir
=$ac_srcdir;;
7721 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7722 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7723 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7726 case $ac_abs_builddir in
7727 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7729 case $ac_top_srcdir in
7730 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7731 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7732 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7738 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7739 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7742 if test x
"$ac_file" != x-
; then
7743 { echo "$as_me:$LINENO: creating $ac_file" >&5
7744 echo "$as_me: creating $ac_file" >&6;}
7747 # Let's still pretend it is `configure' which instantiates (i.e., don't
7748 # use $as_me), people would be surprised to read:
7749 # /* config.h. Generated by config.status. */
7750 if test x
"$ac_file" = x-
; then
7753 configure_input
="$ac_file. "
7755 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7756 sed 's,.*/,,'` by configure."
7758 # First look for the input files in the build tree, otherwise in the
7760 ac_file_inputs
=`IFS=:
7761 for f in $ac_file_in; do
7763 -) echo $tmp/stdin ;;
7765 # Absolute (can't be DOS-style, as IFS=:)
7766 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7767 echo "$as_me: error: cannot find input file: $f" >&2;}
7768 { (exit 1); exit 1; }; }
7771 if test -f "$f"; then
7774 elif test -f "$srcdir/$f"; then
7779 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7780 echo "$as_me: error: cannot find input file: $f" >&2;}
7781 { (exit 1); exit 1; }; }
7784 done` ||
{ (exit 1); exit 1; }
7786 cat >>$CONFIG_STATUS <<_ACEOF
7790 cat >>$CONFIG_STATUS <<\_ACEOF
7792 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7793 s
,@configure_input@
,$configure_input,;t t
7794 s
,@srcdir@
,$ac_srcdir,;t t
7795 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7796 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7797 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7798 s
,@builddir@
,$ac_builddir,;t t
7799 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7800 s
,@top_builddir@
,$ac_top_builddir,;t t
7801 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7802 s
,@INSTALL@
,$ac_INSTALL,;t t
7803 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7805 if test x"$ac_file" != x-; then
7806 mv $tmp/out $ac_file
7814 cat >>$CONFIG_STATUS <<\_ACEOF
7817 # CONFIG_HEADER section.
7820 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7821 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7823 # ac_d sets the value in "#define NAME VALUE" lines.
7824 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7825 ac_dB
='[ ].*$,\1#\2'
7828 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7829 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7830 ac_uB
='$,\1#\2define\3'
7834 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7835 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7837 - |
*:- |
*:-:* ) # input from stdin
7839 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7840 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7841 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7842 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7843 * ) ac_file_in
=$ac_file.
in ;;
7846 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7847 echo "$as_me: creating $ac_file" >&6;}
7849 # First look for the input files in the build tree, otherwise in the
7851 ac_file_inputs
=`IFS=:
7852 for f in $ac_file_in; do
7854 -) echo $tmp/stdin ;;
7856 # Absolute (can't be DOS-style, as IFS=:)
7857 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7858 echo "$as_me: error: cannot find input file: $f" >&2;}
7859 { (exit 1); exit 1; }; }
7860 # Do quote $f, to prevent DOS paths from being IFS'd.
7863 if test -f "$f"; then
7866 elif test -f "$srcdir/$f"; then
7871 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7872 echo "$as_me: error: cannot find input file: $f" >&2;}
7873 { (exit 1); exit 1; }; }
7876 done` ||
{ (exit 1); exit 1; }
7877 # Remove the trailing spaces.
7878 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7882 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7883 # `conftest.undefs', that substitutes the proper values into
7884 # config.h.in to produce config.h. The first handles `#define'
7885 # templates, and the second `#undef' templates.
7886 # And first: Protect against being on the right side of a sed subst in
7887 # config.status. Protect against being in an unquoted here document
7889 rm -f conftest.defines conftest.undefs
7890 # Using a here document instead of a string reduces the quoting nightmare.
7891 # Putting comments in sed scripts is not portable.
7893 # `end' is used to avoid that the second main sed command (meant for
7894 # 0-ary CPP macros) applies to n-ary macro definitions.
7895 # See the Autoconf documentation for `clear'.
7896 cat >confdef2sed.
sed <<\_ACEOF
7901 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7903 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7906 # If some macros were called several times there might be several times
7907 # the same #defines, which is useless. Nevertheless, we may not want to
7908 # sort them, since we want the *last* AC-DEFINE to be honored.
7909 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7910 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7911 rm -f confdef2sed.sed
7913 # This sed command replaces #undef with comments. This is necessary, for
7914 # example, in the case of _POSIX_SOURCE, which is predefined and required
7915 # on some systems where configure will not decide to define it.
7916 cat >>conftest.undefs <<\_ACEOF
7917 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7920 # Break up conftest.defines because some shells have a limit on the size
7921 # of here documents, and old seds have small limits too (100 cmds).
7922 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7923 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7924 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7925 echo ' :' >>$CONFIG_STATUS
7927 while grep . conftest.defines >/dev/null
7929 # Write a limited-size here document to $tmp/defines.sed.
7930 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7931 # Speed up: don't consider the non `#define' lines.
7932 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7933 # Work around the forget-to-reset-the-flag bug.
7934 echo 't clr' >>$CONFIG_STATUS
7935 echo ': clr' >>$CONFIG_STATUS
7936 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7938 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7942 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7943 rm -f conftest.defines
7944 mv conftest.
tail conftest.defines
7946 rm -f conftest.defines
7947 echo ' fi # grep' >>$CONFIG_STATUS
7948 echo >>$CONFIG_STATUS
7950 # Break up conftest.undefs because some shells have a limit on the size
7951 # of here documents, and old seds have small limits too (100 cmds).
7952 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7954 while grep . conftest.undefs
>/dev
/null
7956 # Write a limited-size here document to $tmp/undefs.sed.
7957 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7958 # Speed up: don't consider the non
`#undef'
7959 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7960 # Work around the forget-to-reset-the-flag bug.
7961 echo 't clr' >>$CONFIG_STATUS
7962 echo ': clr' >>$CONFIG_STATUS
7963 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7965 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7969 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7970 rm -f conftest.undefs
7971 mv conftest.tail conftest.undefs
7973 rm -f conftest.undefs
7975 cat >>$CONFIG_STATUS <<\_ACEOF
7976 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7977 # use $as_me), people would be surprised to read:
7978 # /* config.h. Generated by config.status. */
7979 if test x
"$ac_file" = x-
; then
7980 echo "/* Generated by configure. */" >$tmp/config.h
7982 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7984 cat $tmp/in >>$tmp/config.h
7986 if test x
"$ac_file" != x-
; then
7987 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7988 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7989 echo "$as_me: $ac_file is unchanged" >&6;}
7991 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7993 X"$ac_file" : 'X\(//\)[^/]' \| \
7994 X"$ac_file" : 'X\(//\)$' \| \
7995 X"$ac_file" : 'X\(/\)' \| \
7996 . : '\(.\)' 2>/dev/null ||
7998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8000 /^X\(\/\/\)$/{ s//\1/; q; }
8001 /^X\(\/\).*/{ s//\1/; q; }
8003 { if $as_mkdir_p; then
8008 while test ! -d "$as_dir"; do
8009 as_dirs
="$as_dir $as_dirs"
8010 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8011 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8012 X"$as_dir" : 'X\(//\)[^/]' \| \
8013 X"$as_dir" : 'X\(//\)$' \| \
8014 X"$as_dir" : 'X\(/\)' \| \
8015 . : '\(.\)' 2>/dev/null ||
8017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8019 /^X\(\/\/\)$/{ s//\1/; q; }
8020 /^X\(\/\).*/{ s//\1/; q; }
8023 test ! -n "$as_dirs" || mkdir
$as_dirs
8024 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8025 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8026 { (exit 1); exit 1; }; }; }
8029 mv $tmp/config.h
$ac_file
8035 # Run the commands associated with the file.
8037 config.h
) echo timestamp
> stamp-h1
;;
8042 cat >>$CONFIG_STATUS <<\_ACEOF
8044 { (exit 0); exit 0; }
8046 chmod +x
$CONFIG_STATUS
8047 ac_clean_files
=$ac_clean_files_save
8050 # configure is writing to config.log, and then calls config.status.
8051 # config.status does its own redirection, appending to config.log.
8052 # Unfortunately, on DOS this fails, as config.log is still kept open
8053 # by configure, so config.status won't be able to write to it; its
8054 # output is simply discarded. So we exec the FD to /dev/null,
8055 # effectively closing config.log, so it can be properly (re)opened and
8056 # appended to by config.status. When coming back to configure, we
8057 # need to make the FD available again.
8058 if test "$no_create" != yes; then
8060 ac_config_status_args
=
8061 test "$silent" = yes &&
8062 ac_config_status_args
="$ac_config_status_args --quiet"
8064 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8066 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8067 # would make configure fail if this is the last instruction.
8068 $ac_cs_success ||
{ (exit 1); exit 1; }