2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libdecnumber .
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
='libdecnumber'
271 PACKAGE_TARNAME
='libdecnumber'
273 PACKAGE_STRING
='libdecnumber '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="decNumber.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 SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR CPP EGREP MAINT LIBOBJS 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 libdecnumber 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]
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive
) echo "Configuration of libdecnumber :";;
845 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
846 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
847 --enable-werror-always enable -Werror despite compiler version
848 --enable-maintainer-mode enable rules only needed by maintainers
850 Some influential environment variables
:
851 CC C compiler
command
852 CFLAGS C compiler flags
853 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
854 nonstandard directory
<lib dir
>
855 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
856 headers
in a nonstandard directory
<include dir
>
859 Use these variables to override the choices made by
`configure' or to help
860 it to find libraries and programs with nonstandard names/locations.
862 Report bugs to <gcc-bugs@gcc.gnu.org>.
866 if test "$ac_init_help" = "recursive"; then
867 # If there are subdirs, report their specific --help.
869 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
870 test -d $ac_dir || continue
873 if test "$ac_dir" != .; then
874 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
875 # A "../" for each directory in $ac_dir_suffix.
876 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
878 ac_dir_suffix= ac_top_builddir=
882 .) # No --srcdir option. We are building in place.
884 if test -z "$ac_top_builddir"; then
887 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
889 [\\/]* | ?:[\\/]* ) # Absolute path.
890 ac_srcdir=$srcdir$ac_dir_suffix;
891 ac_top_srcdir=$srcdir ;;
893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
897 # Do not use `cd foo
&& pwd` to compute absolute paths, because
898 # the directories may not exist.
900 .) ac_abs_builddir="$ac_dir";;
903 .) ac_abs_builddir=`pwd`;;
904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
908 case $ac_abs_builddir in
909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
911 case ${ac_top_builddir}. in
912 .) ac_abs_top_builddir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917 case $ac_abs_builddir in
918 .) ac_abs_srcdir=$ac_srcdir;;
921 .) ac_abs_srcdir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926 case $ac_abs_builddir in
927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
929 case $ac_top_srcdir in
930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937 # Check for guested configure; otherwise get Cygnus style configure.
938 if test -f $ac_srcdir/configure.gnu; then
940 $SHELL $ac_srcdir/configure.gnu --help=recursive
941 elif test -f $ac_srcdir/configure; then
943 $SHELL $ac_srcdir/configure --help=recursive
944 elif test -f $ac_srcdir/configure.ac ||
945 test -f $ac_srcdir/configure.in; then
949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955 test -n "$ac_init_help" && exit 0
956 if $ac_init_version; then
958 libdecnumber configure
959 generated by GNU Autoconf 2.59
961 Copyright (C) 2003 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
972 It was created by libdecnumber $as_me , which was
973 generated by GNU Autoconf 2.59. Invocation command line was
984 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
985 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
986 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
987 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
988 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
990 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
991 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
993 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
994 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
995 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
996 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
997 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
999 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1032 ac_must_keep_next=false
1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true; then
1050 ac_must_keep_next=false # Got value, back to normal.
1053 *=* | --config-cache | -C | -disable-* | --disable-* \
1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056 | -with-* | --with-* | -without-* | --without-* | --x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061 -* ) ac_must_keep_next=true ;;
1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close
' the trap.
1079 trap 'exit_status
=$?
1080 # Save into config.log some information that might help in debugging.
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1090 # The following way of writing the cache mishandles newlines in values,
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1113 for ac_var
in $ac_subst_vars
1115 eval ac_val
=$
`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -n "$ac_subst_files"; then
1127 for ac_var
in $ac_subst_files
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -s confdefs.h
; then
1142 sed "/^$/d" confdefs.h |
sort
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1149 rm -f core
*.core
&&
1150 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1153 for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163 # Predefined preprocessor variables.
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE; then
1194 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1196 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199 for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's
/^
/|
/' "$ac_site_file" >&5
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1225 # Check that the precious variables saved in the cache have kept the same
1227 ac_cache_corrupted=false
1228 for ac_var in `(set) 2>&1 |
1229 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231 eval ac_new_set=\$ac_env_${ac_var}_set
1232 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1238 ac_cache_corrupted=: ;;
1240 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted=: ;;
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1247 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted=:
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg=$ac_var=$ac_new_val ;;
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1272 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1279 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 [\\/]* | ?:[\\/]* ) ac_macro_dir=../config ;;
1311 *) ac_macro_dir=$srcdir/../config ;;
1313 if test -d "$ac_macro_dir"; then :
1315 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1316 echo "$as_me: error
: cannot
find macro directory \
`../config'" >&2;}
1317 { (exit 1); exit 1; }; }
1321 # Checks for programs.
1322 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1323 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1324 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,:./+-,___p_,'`
1325 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 cat >conftest.make <<\_ACEOF
1330 @echo 'ac_maketemp="$(MAKE)"'
1332 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1333 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1334 if test -n "$ac_maketemp"; then
1335 eval ac_cv_prog_make_${ac_make}_set=yes
1337 eval ac_cv_prog_make_${ac_make}_set=no
1341 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1342 echo "$as_me:$LINENO: result: yes" >&5
1343 echo "${ECHO_T}yes" >&6
1346 echo "$as_me:$LINENO: result: no" >&5
1347 echo "${ECHO_T}no" >&6
1348 SET_MAKE="MAKE=${MAKE-make}"
1352 ac_cpp='$CPP $CPPFLAGS'
1353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1356 if test -n "$ac_tool_prefix"; then
1357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1358 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1359 echo "$as_me:$LINENO: checking for $ac_word" >&5
1360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1361 if test "${ac_cv_prog_CC+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 if test -n "$CC"; then
1365 ac_cv_prog_CC="$CC" # Let the user override the test.
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir=.
1372 for ac_exec_ext in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1374 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1384 if test -n "$CC"; then
1385 echo "$as_me:$LINENO: result: $CC" >&5
1386 echo "${ECHO_T}$CC" >&6
1388 echo "$as_me:$LINENO: result: no" >&5
1389 echo "${ECHO_T}no" >&6
1393 if test -z "$ac_cv_prog_CC"; then
1395 # Extract the first word of "gcc", so it can be a program name with args.
1396 set dummy gcc; ac_word=$2
1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 if test -n "$ac_ct_CC"; then
1403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir=.
1410 for ac_exec_ext in '' $ac_executable_extensions; do
1411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1412 ac_cv_prog_ac_ct_CC="gcc"
1413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1422 if test -n "$ac_ct_CC"; then
1423 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1424 echo "${ECHO_T}$ac_ct_CC" >&6
1426 echo "$as_me:$LINENO: result: no" >&5
1427 echo "${ECHO_T}no" >&6
1435 if test -z "$CC"; then
1436 if test -n "$ac_tool_prefix"; then
1437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1438 set dummy ${ac_tool_prefix}cc; ac_word=$2
1439 echo "$as_me:$LINENO: checking for $ac_word" >&5
1440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1441 if test "${ac_cv_prog_CC+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 if test -n "$CC"; then
1445 ac_cv_prog_CC="$CC" # Let the user override the test.
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 test -z "$as_dir" && as_dir=.
1452 for ac_exec_ext in '' $ac_executable_extensions; do
1453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1454 ac_cv_prog_CC="${ac_tool_prefix}cc"
1455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 if test -n "$CC"; then
1465 echo "$as_me:$LINENO: result: $CC" >&5
1466 echo "${ECHO_T}$CC" >&6
1468 echo "$as_me:$LINENO: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1473 if test -z "$ac_cv_prog_CC"; then
1475 # Extract the first word of "cc", so it can be a program name with args.
1476 set dummy cc; ac_word=$2
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$ac_ct_CC"; then
1483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 test -z "$as_dir" && as_dir=.
1490 for ac_exec_ext in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492 ac_cv_prog_ac_ct_CC="cc"
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1502 if test -n "$ac_ct_CC"; then
1503 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1504 echo "${ECHO_T}$ac_ct_CC" >&6
1506 echo "$as_me:$LINENO: result: no" >&5
1507 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 # Extract the first word of "cc", so it can be a program name with args.
1518 set dummy cc; ac_word=$2
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1521 if test "${ac_cv_prog_CC+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 if test -n "$CC"; then
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1536 ac_prog_rejected=yes
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 if test $ac_prog_rejected = yes; then
1547 # We found a bogon in the path, so make sure we never use it.
1548 set dummy $ac_cv_prog_CC
1550 if test $# != 0; then
1551 # We chose a different compiler from the bogus one.
1552 # However, it has the same basename, so the bogon will be chosen
1553 # first if we set CC to just the basename; use the full file name.
1555 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1561 if test -n "$CC"; then
1562 echo "$as_me:$LINENO: result: $CC" >&5
1563 echo "${ECHO_T}$CC" >&6
1565 echo "$as_me:$LINENO: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1570 if test -z "$CC"; then
1571 if test -n "$ac_tool_prefix"; then
1574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1576 echo "$as_me:$LINENO: checking for $ac_word" >&5
1577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1578 if test "${ac_cv_prog_CC+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 if test -n "$CC"; then
1582 ac_cv_prog_CC="$CC" # Let the user override the test.
1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 test -z "$as_dir" && as_dir=.
1589 for ac_exec_ext in '' $ac_executable_extensions; do
1590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1591 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1601 if test -n "$CC"; then
1602 echo "$as_me:$LINENO: result: $CC" >&5
1603 echo "${ECHO_T}$CC" >&6
1605 echo "$as_me:$LINENO: result: no" >&5
1606 echo "${ECHO_T}no" >&6
1609 test -n "$CC" && break
1612 if test -z "$CC"; then
1616 # Extract the first word of "$ac_prog", so it can be a program name with args.
1617 set dummy $ac_prog; ac_word=$2
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 if test -n "$ac_ct_CC"; then
1624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir=.
1631 for ac_exec_ext in '' $ac_executable_extensions; do
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1633 ac_cv_prog_ac_ct_CC="$ac_prog"
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1643 if test -n "$ac_ct_CC"; then
1644 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1645 echo "${ECHO_T}$ac_ct_CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1651 test -n "$ac_ct_CC" && break
1660 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1661 See \`config.log
' for more details." >&5
1662 echo "$as_me: error: no acceptable C compiler found in \$PATH
1663 See \`config.log' for more details.
" >&2;}
1664 { (exit 1); exit 1; }; }
1666 # Provide some information about the compiler.
1667 echo "$as_me:$LINENO:" \
1668 "checking
for C compiler version
" >&5
1669 ac_compiler=`set X $ac_compile; echo $2`
1670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev
/null
>&5\"") >&5
1671 (eval $ac_compiler --version </dev/null >&5) 2>&5
1673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1674 (exit $ac_status); }
1675 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev
/null
>&5\"") >&5
1676 (eval $ac_compiler -v </dev/null >&5) 2>&5
1678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1679 (exit $ac_status); }
1680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev
/null
>&5\"") >&5
1681 (eval $ac_compiler -V </dev/null >&5) 2>&5
1683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1684 (exit $ac_status); }
1686 cat >conftest.$ac_ext <<_ACEOF
1689 cat confdefs.h >>conftest.$ac_ext
1690 cat >>conftest.$ac_ext <<_ACEOF
1691 /* end confdefs.h. */
1701 ac_clean_files_save=$ac_clean_files
1702 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
1703 # Try to create an executable without -o first, disregard a.out.
1704 # It will help us diagnose broken compilers, and finding out an intuition
1706 echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
1707 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6
1708 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1709 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1710 (eval $ac_link_default) 2>&5
1712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1713 (exit $ac_status); }; then
1714 # Find the output, starting from the most likely. This scheme is
1715 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1718 # Be careful to initialize this variable, since it used to be cached.
1719 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1721 # b.out is created by i960 compilers.
1722 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1724 test -f "$ac_file" || continue
1726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1729 # This is the source file.
1732 # We found the default executable, but exeext='' is most
1736 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1737 # FIXME: I believe we export ac_cv_exeext for Libtool,
1738 # but it would be cool to find out if it's true. Does anybody
1739 # maintain Libtool? --akim.
1747 echo "$as_me: failed program was
:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
1751 See \
`config.log' for more details." >&5
1752 echo "$as_me: error: C compiler cannot create executables
1753 See \`config.log
' for more details." >&2;}
1754 { (exit 77); exit 77; }; }
1757 ac_exeext=$ac_cv_exeext
1758 echo "$as_me:$LINENO: result: $ac_file" >&5
1759 echo "${ECHO_T}$ac_file" >&6
1761 # Check the compiler produces executables we can run. If not, either
1762 # the compiler is broken, or we cross compile.
1763 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1764 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1765 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1766 # If not cross compiling, check that we can run a simple program.
1767 if test "$cross_compiling" != yes; then
1768 if { ac_try='.
/$ac_file'
1769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }; }; then
1776 if test "$cross_compiling" = maybe; then
1779 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1780 If you meant to cross compile, use \`--host'.
1781 See \
`config.log' for more details." >&5
1782 echo "$as_me: error: cannot run C compiled programs.
1783 If you meant to cross compile, use \`--host'.
1784 See \`config.log' for more details.
" >&2;}
1785 { (exit 1); exit 1; }; }
1789 echo "$as_me:$LINENO: result
: yes" >&5
1790 echo "${ECHO_T}yes" >&6
1792 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1793 ac_clean_files=$ac_clean_files_save
1794 # Check the compiler produces executables we can run. If not, either
1795 # the compiler is broken, or we cross compile.
1796 echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
1797 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6
1798 echo "$as_me:$LINENO: result
: $cross_compiling" >&5
1799 echo "${ECHO_T}$cross_compiling" >&6
1801 echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
1802 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6
1803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1804 (eval $ac_link) 2>&5
1806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1807 (exit $ac_status); }; then
1808 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1809 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1810 # work properly (i.e., refer to `conftest.exe'), while it won't with
1812 for ac_file in conftest.exe conftest conftest.*; do
1813 test -f "$ac_file" || continue
1815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1816 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1823 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
1824 See \
`config.log' for more details." >&5
1825 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1826 See \`config.log
' for more details." >&2;}
1827 { (exit 1); exit 1; }; }
1830 rm -f conftest$ac_cv_exeext
1831 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1832 echo "${ECHO_T}$ac_cv_exeext" >&6
1834 rm -f conftest.$ac_ext
1835 EXEEXT=$ac_cv_exeext
1837 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1838 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1839 if test "${ac_cv_objext+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 cat >conftest.$ac_ext <<_ACEOF
1845 cat confdefs.h >>conftest.$ac_ext
1846 cat >>conftest.$ac_ext <<_ACEOF
1847 /* end confdefs.h. */
1857 rm -f conftest.o conftest.obj
1858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1859 (eval $ac_compile) 2>&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; then
1863 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1866 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
1871 echo "$as_me: failed program was:" >&5
1872 sed 's
/^
/|
/' conftest.$ac_ext >&5
1874 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1875 See \`config.log' for more details.
" >&5
1876 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
1877 See \
`config.log' for more details." >&2;}
1878 { (exit 1); exit 1; }; }
1881 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1883 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1884 echo "${ECHO_T}$ac_cv_objext" >&6
1885 OBJEXT=$ac_cv_objext
1887 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1888 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 cat >conftest.$ac_ext <<_ACEOF
1895 cat confdefs.h >>conftest.$ac_ext
1896 cat >>conftest.$ac_ext <<_ACEOF
1897 /* end confdefs.h. */
1910 rm -f conftest.$ac_objext
1911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1912 (eval $ac_compile) 2>conftest.er1
1914 grep -v '^ *+' conftest.er1 >conftest.err
1916 cat conftest.err >&5
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918 (exit $ac_status); } &&
1919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }; } &&
1925 { ac_try='test -s conftest.$ac_objext'
1926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1930 (exit $ac_status); }; }; then
1933 echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1939 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1942 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1943 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1944 GCC=`test $ac_compiler_gnu = yes && echo yes`
1945 ac_test_CFLAGS=${CFLAGS+set}
1946 ac_save_CFLAGS=$CFLAGS
1948 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1950 if test "${ac_cv_prog_cc_g+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 cat >conftest.$ac_ext <<_ACEOF
1956 cat confdefs.h >>conftest.$ac_ext
1957 cat >>conftest.$ac_ext <<_ACEOF
1958 /* end confdefs.h. */
1968 rm -f conftest.$ac_objext
1969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1970 (eval $ac_compile) 2>conftest.er1
1972 grep -v '^ *+' conftest.er1 >conftest.err
1974 cat conftest.err >&5
1975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1976 (exit $ac_status); } &&
1977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; } &&
1983 { ac_try='test -s conftest.$ac_objext'
1984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }; }; then
1991 echo "$as_me: failed program was:" >&5
1992 sed 's/^/| /' conftest.$ac_ext >&5
1996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1998 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1999 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2000 if test "$ac_test_CFLAGS" = set; then
2001 CFLAGS=$ac_save_CFLAGS
2002 elif test $ac_cv_prog_cc_g = yes; then
2003 if test "$GCC" = yes; then
2009 if test "$GCC" = yes; then
2015 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2016 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2017 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 ac_cv_prog_cc_stdc=no
2022 cat >conftest.$ac_ext <<_ACEOF
2025 cat confdefs.h >>conftest.$ac_ext
2026 cat >>conftest.$ac_ext <<_ACEOF
2027 /* end confdefs.h. */
2030 #include <sys/types.h>
2031 #include <sys/stat.h>
2032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2033 struct buf { int x; };
2034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2035 static char *e (p, i)
2041 static char *f (char * (*g) (char **, int), char **p, ...)
2046 s = g (p, va_arg (v,int));
2051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2052 function prototypes and stuff, but not '\xHH' hex character constants.
2053 These don't provoke an error unfortunately, instead are silently treated
2054 as 'x'. The following induces an error, until -std1 is added to get
2055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2056 array size at least. It's necessary to write '\x00'==0 to get something
2057 that's true only with -std1. */
2058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2060 int test (int i, double x);
2061 struct s1 {int (*f) (int a);};
2062 struct s2 {int (*f) (double a);};
2063 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2069 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2074 # Don't try gcc -ansi; that turns off useful extensions and
2075 # breaks some systems' header files.
2076 # AIX -qlanglvl=ansi
2077 # Ultrix and OSF/1 -std1
2078 # HP-UX 10.20 and later -Ae
2079 # HP-UX older versions -Aa -D_HPUX_SOURCE
2080 # SVR4 -Xc -D__EXTENSIONS__
2081 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2083 CC="$ac_save_CC $ac_arg"
2084 rm -f conftest.$ac_objext
2085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2086 (eval $ac_compile) 2>conftest.er1
2088 grep -v '^ *+' conftest.er1 >conftest.err
2090 cat conftest.err >&5
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); } &&
2093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; } &&
2099 { ac_try='test -s conftest.$ac_objext'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; }; then
2105 ac_cv_prog_cc_stdc=$ac_arg
2108 echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.$ac_ext >&5
2112 rm -f conftest.err conftest.$ac_objext
2114 rm -f conftest.$ac_ext conftest.$ac_objext
2119 case "x$ac_cv_prog_cc_stdc" in
2121 echo "$as_me:$LINENO: result: none needed" >&5
2122 echo "${ECHO_T}none needed" >&6 ;;
2124 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2125 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2126 CC="$CC $ac_cv_prog_cc_stdc" ;;
2129 # Some people use a C++ compiler to compile C. Since we use `exit',
2130 # in C++ we need to declare it. In case someone uses the same compiler
2131 # for both compiling C and C++ we need to have the C++ compiler decide
2132 # the declaration of exit, since it's the most demanding environment.
2133 cat >conftest.
$ac_ext <<_ACEOF
2138 rm -f conftest.
$ac_objext
2139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2140 (eval $ac_compile) 2>conftest.er1
2142 grep -v '^ *+' conftest.er1
>conftest.err
2144 cat conftest.err
>&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); } &&
2147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; } &&
2153 { ac_try
='test -s conftest.$ac_objext'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; }; then
2159 for ac_declaration
in \
2161 'extern "C" void std::exit (int) throw (); using std::exit;' \
2162 'extern "C" void std::exit (int); using std::exit;' \
2163 'extern "C" void exit (int) throw ();' \
2164 'extern "C" void exit (int);' \
2167 cat >conftest.
$ac_ext <<_ACEOF
2170 cat confdefs.h
>>conftest.
$ac_ext
2171 cat >>conftest.
$ac_ext <<_ACEOF
2172 /* end confdefs.h. */
2183 rm -f conftest.
$ac_objext
2184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2185 (eval $ac_compile) 2>conftest.er1
2187 grep -v '^ *+' conftest.er1
>conftest.err
2189 cat conftest.err
>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); } &&
2192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }; } &&
2198 { ac_try
='test -s conftest.$ac_objext'
2199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2203 (exit $ac_status); }; }; then
2206 echo "$as_me: failed program was:" >&5
2207 sed 's/^/| /' conftest.
$ac_ext >&5
2211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2212 cat >conftest.
$ac_ext <<_ACEOF
2215 cat confdefs.h
>>conftest.
$ac_ext
2216 cat >>conftest.
$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2227 rm -f conftest.
$ac_objext
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>conftest.er1
2231 grep -v '^ *+' conftest.er1
>conftest.err
2233 cat conftest.err
>&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); } &&
2236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try
='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.
$ac_ext >&5
2254 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2257 if test -n "$ac_declaration"; then
2258 echo '#ifdef __cplusplus' >>confdefs.h
2259 echo $ac_declaration >>confdefs.h
2260 echo '#endif' >>confdefs.h
2264 echo "$as_me: failed program was:" >&5
2265 sed 's/^/| /' conftest.
$ac_ext >&5
2268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2270 ac_cpp
='$CPP $CPPFLAGS'
2271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2275 if test -n "$ac_tool_prefix"; then
2276 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2277 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2278 echo "$as_me:$LINENO: checking for $ac_word" >&5
2279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2280 if test "${ac_cv_prog_RANLIB+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 if test -n "$RANLIB"; then
2284 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 for ac_exec_ext
in '' $ac_executable_extensions; do
2292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 RANLIB
=$ac_cv_prog_RANLIB
2303 if test -n "$RANLIB"; then
2304 echo "$as_me:$LINENO: result: $RANLIB" >&5
2305 echo "${ECHO_T}$RANLIB" >&6
2307 echo "$as_me:$LINENO: result: no" >&5
2308 echo "${ECHO_T}no" >&6
2312 if test -z "$ac_cv_prog_RANLIB"; then
2313 ac_ct_RANLIB
=$RANLIB
2314 # Extract the first word of "ranlib", so it can be a program name with args.
2315 set dummy ranlib
; ac_word
=$2
2316 echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2318 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$ac_ct_RANLIB"; then
2322 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir
=.
2329 for ac_exec_ext
in '' $ac_executable_extensions; do
2330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2331 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2341 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2342 if test -n "$ac_ct_RANLIB"; then
2343 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2344 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2346 echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6
2350 RANLIB
=$ac_ct_RANLIB
2352 RANLIB
="$ac_cv_prog_RANLIB"
2356 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2357 for ac_prog
in aclocal
2359 # Extract the first word of "$ac_prog", so it can be a program name with args.
2360 set dummy
$ac_prog; ac_word
=$2
2361 echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2363 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$ACLOCAL"; then
2367 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_exec_ext
in '' $ac_executable_extensions; do
2375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_prog_ACLOCAL
="$ac_prog"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 ACLOCAL
=$ac_cv_prog_ACLOCAL
2386 if test -n "$ACLOCAL"; then
2387 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2388 echo "${ECHO_T}$ACLOCAL" >&6
2390 echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2394 test -n "$ACLOCAL" && break
2396 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2398 for ac_prog
in autoconf
2400 # Extract the first word of "$ac_prog", so it can be a program name with args.
2401 set dummy
$ac_prog; ac_word
=$2
2402 echo "$as_me:$LINENO: checking for $ac_word" >&5
2403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2404 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 if test -n "$AUTOCONF"; then
2408 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir
=.
2415 for ac_exec_ext
in '' $ac_executable_extensions; do
2416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417 ac_cv_prog_AUTOCONF
="$ac_prog"
2418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 AUTOCONF
=$ac_cv_prog_AUTOCONF
2427 if test -n "$AUTOCONF"; then
2428 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2429 echo "${ECHO_T}$AUTOCONF" >&6
2431 echo "$as_me:$LINENO: result: no" >&5
2432 echo "${ECHO_T}no" >&6
2435 test -n "$AUTOCONF" && break
2437 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2439 for ac_prog
in autoheader
2441 # Extract the first word of "$ac_prog", so it can be a program name with args.
2442 set dummy
$ac_prog; ac_word
=$2
2443 echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2445 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$AUTOHEADER"; then
2449 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 for ac_exec_ext
in '' $ac_executable_extensions; do
2457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2458 ac_cv_prog_AUTOHEADER
="$ac_prog"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2468 if test -n "$AUTOHEADER"; then
2469 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2470 echo "${ECHO_T}$AUTOHEADER" >&6
2472 echo "$as_me:$LINENO: result: no" >&5
2473 echo "${ECHO_T}no" >&6
2476 test -n "$AUTOHEADER" && break
2478 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2481 # Figure out what compiler warnings we can enable.
2482 # See config/warnings.m4 for details.
2486 save_CFLAGS
="$CFLAGS"
2487 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2488 -Wmissing-prototypes -Wold-style-definition \
2489 -Wmissing-format-attribute; do
2490 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2492 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2493 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2494 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2495 echo $ECHO_N "(cached) $ECHO_C" >&6
2498 cat >conftest.
$ac_ext <<_ACEOF
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2513 rm -f conftest.
$ac_objext
2514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2515 (eval $ac_compile) 2>conftest.er1
2517 grep -v '^ *+' conftest.er1
>conftest.err
2519 cat conftest.err
>&5
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); } &&
2522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; } &&
2528 { ac_try
='test -s conftest.$ac_objext'
2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); }; }; then
2534 eval "$as_acx_Woption=yes"
2536 echo "$as_me: failed program was:" >&5
2537 sed 's/^/| /' conftest.
$ac_ext >&5
2539 eval "$as_acx_Woption=no"
2541 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2544 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2545 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2546 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2547 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2551 CFLAGS
="$save_CFLAGS"
2554 if test "$GCC" = yes; then
2555 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2556 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2557 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 save_CFLAGS
="$CFLAGS"
2561 CFLAGS
="-pedantic -Wno-long-long"
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2577 rm -f conftest.
$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579 (eval $ac_compile) 2>conftest.er1
2581 grep -v '^ *+' conftest.er1
>conftest.err
2583 cat conftest.err
>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; } &&
2592 { ac_try
='test -s conftest.$ac_objext'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2598 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.
$ac_ext >&5
2603 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2606 CFLAGS
="$save_CFLAGS"
2608 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2609 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2610 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2611 WARN_PEDANTIC
="-pedantic -Wno-long-long"
2619 # Only enable with --enable-werror-always until existing warnings are
2622 # Check whether --enable-werror-always or --disable-werror-always was given.
2623 if test "${enable_werror_always+set}" = set; then
2624 enableval
="$enable_werror_always"
2627 enable_werror_always
=no
2629 if test $enable_werror_always = yes; then
2635 # Checks for header files.
2637 ac_cpp
='$CPP $CPPFLAGS'
2638 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2639 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2640 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2641 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2642 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2643 # On Suns, sometimes $CPP names a directory.
2644 if test -n "$CPP" && test -d "$CPP"; then
2647 if test -z "$CPP"; then
2648 if test "${ac_cv_prog_CPP+set}" = set; then
2649 echo $ECHO_N "(cached) $ECHO_C" >&6
2651 # Double quotes because CPP needs to be expanded
2652 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2655 for ac_c_preproc_warn_flag
in '' yes
2657 # Use a header file that comes with gcc, so configuring glibc
2658 # with a fresh cross-compiler works.
2659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2660 # <limits.h> exists even on freestanding compilers.
2661 # On the NeXT, cc -E runs the code through the compiler's parser,
2662 # not just through cpp. "Syntax error" is here to catch this case.
2663 cat >conftest.
$ac_ext <<_ACEOF
2666 cat confdefs.h
>>conftest.
$ac_ext
2667 cat >>conftest.
$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2670 # include <limits.h>
2672 # include <assert.h>
2676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2679 grep -v '^ *+' conftest.er1
>conftest.err
2681 cat conftest.err
>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); } >/dev
/null
; then
2684 if test -s conftest.err
; then
2685 ac_cpp_err
=$ac_c_preproc_warn_flag
2686 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2693 if test -z "$ac_cpp_err"; then
2696 echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.
$ac_ext >&5
2699 # Broken: fails on valid input.
2702 rm -f conftest.err conftest.
$ac_ext
2704 # OK, works on sane cases. Now check whether non-existent headers
2705 # can be detected and how.
2706 cat >conftest.
$ac_ext <<_ACEOF
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2712 #include <ac_nonexistent.h>
2714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2715 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2717 grep -v '^ *+' conftest.er1
>conftest.err
2719 cat conftest.err
>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } >/dev
/null
; then
2722 if test -s conftest.err
; then
2723 ac_cpp_err
=$ac_c_preproc_warn_flag
2724 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2731 if test -z "$ac_cpp_err"; then
2732 # Broken: success on invalid input.
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.
$ac_ext >&5
2738 # Passes both tests.
2742 rm -f conftest.err conftest.
$ac_ext
2745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2746 rm -f conftest.err conftest.
$ac_ext
2747 if $ac_preproc_ok; then
2759 echo "$as_me:$LINENO: result: $CPP" >&5
2760 echo "${ECHO_T}$CPP" >&6
2762 for ac_c_preproc_warn_flag
in '' yes
2764 # Use a header file that comes with gcc, so configuring glibc
2765 # with a fresh cross-compiler works.
2766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2767 # <limits.h> exists even on freestanding compilers.
2768 # On the NeXT, cc -E runs the code through the compiler's parser,
2769 # not just through cpp. "Syntax error" is here to catch this case.
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2777 # include <limits.h>
2779 # include <assert.h>
2783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2784 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2786 grep -v '^ *+' conftest.er1
>conftest.err
2788 cat conftest.err
>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } >/dev
/null
; then
2791 if test -s conftest.err
; then
2792 ac_cpp_err
=$ac_c_preproc_warn_flag
2793 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2800 if test -z "$ac_cpp_err"; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2806 # Broken: fails on valid input.
2809 rm -f conftest.err conftest.
$ac_ext
2811 # OK, works on sane cases. Now check whether non-existent headers
2812 # can be detected and how.
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2819 #include <ac_nonexistent.h>
2821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2824 grep -v '^ *+' conftest.er1
>conftest.err
2826 cat conftest.err
>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); } >/dev
/null
; then
2829 if test -s conftest.err
; then
2830 ac_cpp_err
=$ac_c_preproc_warn_flag
2831 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2838 if test -z "$ac_cpp_err"; then
2839 # Broken: success on invalid input.
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2845 # Passes both tests.
2849 rm -f conftest.err conftest.
$ac_ext
2852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2853 rm -f conftest.err conftest.
$ac_ext
2854 if $ac_preproc_ok; then
2857 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2858 See \`config.log' for more details." >&5
2859 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2860 See \`config.log' for more details." >&2;}
2861 { (exit 1); exit 1; }; }
2865 ac_cpp
='$CPP $CPPFLAGS'
2866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2871 echo "$as_me:$LINENO: checking for egrep" >&5
2872 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2873 if test "${ac_cv_prog_egrep+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2877 then ac_cv_prog_egrep
='grep -E'
2878 else ac_cv_prog_egrep
='egrep'
2881 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2882 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2883 EGREP
=$ac_cv_prog_egrep
2886 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2887 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2888 if test "${ac_cv_header_stdc+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 cat >conftest.
$ac_ext <<_ACEOF
2894 cat confdefs.h
>>conftest.
$ac_ext
2895 cat >>conftest.
$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2910 rm -f conftest.
$ac_objext
2911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2912 (eval $ac_compile) 2>conftest.er1
2914 grep -v '^ *+' conftest.er1
>conftest.err
2916 cat conftest.err
>&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } &&
2919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; } &&
2925 { ac_try
='test -s conftest.$ac_objext'
2926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); }; }; then
2931 ac_cv_header_stdc
=yes
2933 echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.
$ac_ext >&5
2936 ac_cv_header_stdc
=no
2938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2940 if test $ac_cv_header_stdc = yes; then
2941 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2942 cat >conftest.
$ac_ext <<_ACEOF
2945 cat confdefs.h
>>conftest.
$ac_ext
2946 cat >>conftest.
$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2952 $EGREP "memchr" >/dev
/null
2>&1; then
2955 ac_cv_header_stdc
=no
2961 if test $ac_cv_header_stdc = yes; then
2962 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2963 cat >conftest.
$ac_ext <<_ACEOF
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2973 $EGREP "free" >/dev
/null
2>&1; then
2976 ac_cv_header_stdc
=no
2982 if test $ac_cv_header_stdc = yes; then
2983 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2984 if test "$cross_compiling" = yes; then
2987 cat >conftest.
$ac_ext <<_ACEOF
2990 cat confdefs.h
>>conftest.
$ac_ext
2991 cat >>conftest.
$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2994 #if ((' ' & 0x0FF) == 0x020)
2995 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2996 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2998 # define ISLOWER(c) \
2999 (('a' <= (c) && (c) <= 'i') \
3000 || ('j' <= (c) && (c) <= 'r') \
3001 || ('s' <= (c) && (c) <= 'z'))
3002 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3005 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3010 for (i = 0; i < 256; i++)
3011 if (XOR (islower (i), ISLOWER (i))
3012 || toupper (i) != TOUPPER (i))
3017 rm -f conftest
$ac_exeext
3018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3019 (eval $ac_link) 2>&5
3021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 (exit $ac_status); }; }; then
3030 echo "$as_me: program exited with status $ac_status" >&5
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.
$ac_ext >&5
3035 ac_cv_header_stdc
=no
3037 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3041 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3042 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3043 if test $ac_cv_header_stdc = yes; then
3045 cat >>confdefs.h
<<\_ACEOF
3046 #define STDC_HEADERS 1
3051 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3061 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3062 inttypes.h stdint.h unistd.h
3064 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3065 echo "$as_me:$LINENO: checking for $ac_header" >&5
3066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3076 $ac_includes_default
3078 #include <$ac_header>
3080 rm -f conftest.
$ac_objext
3081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3082 (eval $ac_compile) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1
>conftest.err
3086 cat conftest.err
>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } &&
3089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; } &&
3095 { ac_try
='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3101 eval "$as_ac_Header=yes"
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.
$ac_ext >&5
3106 eval "$as_ac_Header=no"
3108 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3113 cat >>confdefs.h
<<_ACEOF
3114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3126 for ac_header
in ctype.h stddef.h string.h stdio.h
3128 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3130 echo "$as_me:$LINENO: checking for $ac_header" >&5
3131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3133 echo $ECHO_N "(cached) $ECHO_C" >&6
3135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3138 # Is the header compilable?
3139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3141 cat >conftest.
$ac_ext <<_ACEOF
3144 cat confdefs.h
>>conftest.
$ac_ext
3145 cat >>conftest.
$ac_ext <<_ACEOF
3146 /* end confdefs.h. */
3147 $ac_includes_default
3148 #include <$ac_header>
3150 rm -f conftest.
$ac_objext
3151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3152 (eval $ac_compile) 2>conftest.er1
3154 grep -v '^ *+' conftest.er1
>conftest.err
3156 cat conftest.err
>&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } &&
3159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; } &&
3165 { ac_try
='test -s conftest.$ac_objext'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; }; then
3171 ac_header_compiler
=yes
3173 echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.
$ac_ext >&5
3176 ac_header_compiler
=no
3178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3180 echo "${ECHO_T}$ac_header_compiler" >&6
3182 # Is the header present?
3183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3185 cat >conftest.
$ac_ext <<_ACEOF
3188 cat confdefs.h
>>conftest.
$ac_ext
3189 cat >>conftest.
$ac_ext <<_ACEOF
3190 /* end confdefs.h. */
3191 #include <$ac_header>
3193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3194 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3196 grep -v '^ *+' conftest.er1
>conftest.err
3198 cat conftest.err
>&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } >/dev
/null
; then
3201 if test -s conftest.err
; then
3202 ac_cpp_err
=$ac_c_preproc_warn_flag
3203 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3210 if test -z "$ac_cpp_err"; then
3211 ac_header_preproc
=yes
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.
$ac_ext >&5
3216 ac_header_preproc
=no
3218 rm -f conftest.err conftest.
$ac_ext
3219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3220 echo "${ECHO_T}$ac_header_preproc" >&6
3222 # So? What about this header?
3223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3229 ac_header_preproc
=yes
3232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3246 ## ----------------------------------- ##
3247 ## Report this to gcc-bugs@gcc.gnu.org ##
3248 ## ----------------------------------- ##
3251 sed "s/^/$as_me: WARNING: /" >&2
3254 echo "$as_me:$LINENO: checking for $ac_header" >&5
3255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 eval "$as_ac_Header=\$ac_header_preproc"
3261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3266 cat >>confdefs.h
<<_ACEOF
3267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3275 # Checks for typedefs, structures, and compiler characteristics.
3276 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3277 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3278 if test "${ac_cv_c_const+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6
3281 cat >conftest.
$ac_ext <<_ACEOF
3284 cat confdefs.h
>>conftest.
$ac_ext
3285 cat >>conftest.
$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3291 /* FIXME: Include the comments suggested by Paul. */
3293 /* Ultrix mips cc rejects this. */
3294 typedef int charset[2];
3296 /* SunOS 4.1.1 cc rejects this. */
3297 char const *const *ccp;
3299 /* NEC SVR4.0.2 mips cc rejects this. */
3300 struct point {int x, y;};
3301 static struct point const zero = {0,0};
3302 /* AIX XL C 1.02.0.0 rejects this.
3303 It does not let you subtract one const X* pointer from another in
3304 an arm of an if-expression whose if-part is not a constant
3306 const char *g = "string";
3307 ccp = &g + (g ? g-g : 0);
3308 /* HPUX 7.0 cc rejects these. */
3311 ccp = (char const *const *) p;
3312 { /* SCO 3.2v4 cc rejects this. */
3314 char const *s = 0 ? (char *) 0 : (char const *) 0;
3318 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3320 const int *foo = &x[0];
3323 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3324 typedef const int *iptr;
3328 { /* AIX XL C 1.02.0.0 rejects this saying
3329 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3330 struct s { int j; const int *ap[3]; };
3331 struct s *b; b->j = 5;
3333 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3342 rm -f conftest.
$ac_objext
3343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3344 (eval $ac_compile) 2>conftest.er1
3346 grep -v '^ *+' conftest.er1
>conftest.err
3348 cat conftest.err
>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } &&
3357 { ac_try
='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.
$ac_ext >&5
3370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3372 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3373 echo "${ECHO_T}$ac_cv_c_const" >&6
3374 if test $ac_cv_c_const = no
; then
3376 cat >>confdefs.h
<<\_ACEOF
3382 echo "$as_me:$LINENO: checking for off_t" >&5
3383 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3384 if test "${ac_cv_type_off_t+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3393 $ac_includes_default
3405 rm -f conftest.
$ac_objext
3406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3407 (eval $ac_compile) 2>conftest.er1
3409 grep -v '^ *+' conftest.er1
>conftest.err
3411 cat conftest.err
>&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } &&
3414 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; } &&
3420 { ac_try
='test -s conftest.$ac_objext'
3421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; }; then
3426 ac_cv_type_off_t
=yes
3428 echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.
$ac_ext >&5
3433 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3435 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3436 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3437 if test $ac_cv_type_off_t = yes; then
3441 cat >>confdefs.h
<<_ACEOF
3447 echo "$as_me:$LINENO: checking for int" >&5
3448 echo $ECHO_N "checking for int... $ECHO_C" >&6
3449 if test "${ac_cv_type_int+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 cat >conftest.
$ac_ext <<_ACEOF
3455 cat confdefs.h
>>conftest.
$ac_ext
3456 cat >>conftest.
$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3458 $ac_includes_default
3470 rm -f conftest.
$ac_objext
3471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3472 (eval $ac_compile) 2>conftest.er1
3474 grep -v '^ *+' conftest.er1
>conftest.err
3476 cat conftest.err
>&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } &&
3479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; } &&
3485 { ac_try
='test -s conftest.$ac_objext'
3486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); }; }; then
3493 echo "$as_me: failed program was:" >&5
3494 sed 's/^/| /' conftest.
$ac_ext >&5
3498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3500 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3501 echo "${ECHO_T}$ac_cv_type_int" >&6
3503 echo "$as_me:$LINENO: checking size of int" >&5
3504 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3505 if test "${ac_cv_sizeof_int+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 if test "$ac_cv_type_int" = yes; then
3509 # The cast to unsigned long works around a bug in the HP C Compiler
3510 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3511 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3512 # This bug is HP SR number 8606223364.
3513 if test "$cross_compiling" = yes; then
3514 # Depending upon the size, compute the lo and hi bounds.
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3521 $ac_includes_default
3525 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3532 rm -f conftest.
$ac_objext
3533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534 (eval $ac_compile) 2>conftest.er1
3536 grep -v '^ *+' conftest.er1
>conftest.err
3538 cat conftest.err
>&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } &&
3541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try
='test -s conftest.$ac_objext'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; }; then
3555 cat >conftest.
$ac_ext <<_ACEOF
3558 cat confdefs.h
>>conftest.
$ac_ext
3559 cat >>conftest.
$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3561 $ac_includes_default
3565 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3572 rm -f conftest.
$ac_objext
3573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3574 (eval $ac_compile) 2>conftest.er1
3576 grep -v '^ *+' conftest.er1
>conftest.err
3578 cat conftest.err
>&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } &&
3581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; } &&
3587 { ac_try
='test -s conftest.$ac_objext'
3588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); }; }; then
3593 ac_hi
=$ac_mid; break
3595 echo "$as_me: failed program was:" >&5
3596 sed 's/^/| /' conftest.
$ac_ext >&5
3598 ac_lo
=`expr $ac_mid + 1`
3599 if test $ac_lo -le $ac_mid; then
3603 ac_mid
=`expr 2 '*' $ac_mid + 1`
3605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.
$ac_ext >&5
3611 cat >conftest.
$ac_ext <<_ACEOF
3614 cat confdefs.h
>>conftest.
$ac_ext
3615 cat >>conftest.
$ac_ext <<_ACEOF
3616 /* end confdefs.h. */
3617 $ac_includes_default
3621 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3628 rm -f conftest.
$ac_objext
3629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3630 (eval $ac_compile) 2>conftest.er1
3632 grep -v '^ *+' conftest.er1
>conftest.err
3634 cat conftest.err
>&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } &&
3637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; } &&
3643 { ac_try
='test -s conftest.$ac_objext'
3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3648 (exit $ac_status); }; }; then
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 $ac_includes_default
3661 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
3668 rm -f conftest.
$ac_objext
3669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3670 (eval $ac_compile) 2>conftest.er1
3672 grep -v '^ *+' conftest.er1
>conftest.err
3674 cat conftest.err
>&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } &&
3677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; } &&
3683 { ac_try
='test -s conftest.$ac_objext'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; }; then
3689 ac_lo
=$ac_mid; break
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.
$ac_ext >&5
3694 ac_hi
=`expr '(' $ac_mid ')' - 1`
3695 if test $ac_mid -le $ac_hi; then
3699 ac_mid
=`expr 2 '*' $ac_mid`
3701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3704 echo "$as_me: failed program was:" >&5
3705 sed 's/^/| /' conftest.
$ac_ext >&5
3709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 # Binary search between lo and hi bounds.
3713 while test "x$ac_lo" != "x$ac_hi"; do
3714 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3715 cat >conftest.
$ac_ext <<_ACEOF
3718 cat confdefs.h
>>conftest.
$ac_ext
3719 cat >>conftest.
$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3721 $ac_includes_default
3725 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3732 rm -f conftest.
$ac_objext
3733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3734 (eval $ac_compile) 2>conftest.er1
3736 grep -v '^ *+' conftest.er1
>conftest.err
3738 cat conftest.err
>&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } &&
3741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; } &&
3747 { ac_try
='test -s conftest.$ac_objext'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; }; then
3755 echo "$as_me: failed program was:" >&5
3756 sed 's/^/| /' conftest.
$ac_ext >&5
3758 ac_lo
=`expr '(' $ac_mid ')' + 1`
3760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3763 ?
*) ac_cv_sizeof_int
=$ac_lo;;
3764 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3765 See \`config.log' for more details." >&5
3766 echo "$as_me: error: cannot compute sizeof (int), 77
3767 See \`config.log' for more details." >&2;}
3768 { (exit 1); exit 1; }; } ;;
3771 if test "$cross_compiling" = yes; then
3772 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
3773 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
3774 { (exit 1); exit 1; }; }
3776 cat >conftest.
$ac_ext <<_ACEOF
3779 cat confdefs.h
>>conftest.
$ac_ext
3780 cat >>conftest.
$ac_ext <<_ACEOF
3781 /* end confdefs.h. */
3782 $ac_includes_default
3783 long longval () { return (long) (sizeof (int)); }
3784 unsigned long ulongval () { return (long) (sizeof (int)); }
3791 FILE *f = fopen ("conftest.val", "w");
3794 if (((long) (sizeof (int))) < 0)
3796 long i = longval ();
3797 if (i != ((long) (sizeof (int))))
3799 fprintf (f, "%ld\n", i);
3803 unsigned long i = ulongval ();
3804 if (i != ((long) (sizeof (int))))
3806 fprintf (f, "%lu\n", i);
3808 exit (ferror (f) || fclose (f) != 0);
3814 rm -f conftest
$ac_exeext
3815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3816 (eval $ac_link) 2>&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; }; then
3825 ac_cv_sizeof_int
=`cat conftest.val`
3827 echo "$as_me: program exited with status $ac_status" >&5
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.
$ac_ext >&5
3832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3833 See \`config.log' for more details." >&5
3834 echo "$as_me: error: cannot compute sizeof (int), 77
3835 See \`config.log' for more details." >&2;}
3836 { (exit 1); exit 1; }; }
3838 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3846 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3847 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3848 cat >>confdefs.h
<<_ACEOF
3849 #define SIZEOF_INT $ac_cv_sizeof_int
3853 echo "$as_me:$LINENO: checking for long" >&5
3854 echo $ECHO_N "checking for long... $ECHO_C" >&6
3855 if test "${ac_cv_type_long+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 cat >conftest.
$ac_ext <<_ACEOF
3861 cat confdefs.h
>>conftest.
$ac_ext
3862 cat >>conftest.
$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3864 $ac_includes_default
3876 rm -f conftest.
$ac_objext
3877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3878 (eval $ac_compile) 2>conftest.er1
3880 grep -v '^ *+' conftest.er1
>conftest.err
3882 cat conftest.err
>&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } &&
3885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); }; } &&
3891 { ac_try
='test -s conftest.$ac_objext'
3892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then
3899 echo "$as_me: failed program was:" >&5
3900 sed 's/^/| /' conftest.
$ac_ext >&5
3904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3906 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
3907 echo "${ECHO_T}$ac_cv_type_long" >&6
3909 echo "$as_me:$LINENO: checking size of long" >&5
3910 echo $ECHO_N "checking size of long... $ECHO_C" >&6
3911 if test "${ac_cv_sizeof_long+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 if test "$ac_cv_type_long" = yes; then
3915 # The cast to unsigned long works around a bug in the HP C Compiler
3916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3918 # This bug is HP SR number 8606223364.
3919 if test "$cross_compiling" = yes; then
3920 # Depending upon the size, compute the lo and hi bounds.
3921 cat >conftest.
$ac_ext <<_ACEOF
3924 cat confdefs.h
>>conftest.
$ac_ext
3925 cat >>conftest.
$ac_ext <<_ACEOF
3926 /* end confdefs.h. */
3927 $ac_includes_default
3931 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
3938 rm -f conftest.
$ac_objext
3939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3940 (eval $ac_compile) 2>conftest.er1
3942 grep -v '^ *+' conftest.er1
>conftest.err
3944 cat conftest.err
>&5
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946 (exit $ac_status); } &&
3947 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); }; } &&
3953 { ac_try
='test -s conftest.$ac_objext'
3954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }; }; then
3961 cat >conftest.
$ac_ext <<_ACEOF
3964 cat confdefs.h
>>conftest.
$ac_ext
3965 cat >>conftest.
$ac_ext <<_ACEOF
3966 /* end confdefs.h. */
3967 $ac_includes_default
3971 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
3978 rm -f conftest.
$ac_objext
3979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3980 (eval $ac_compile) 2>conftest.er1
3982 grep -v '^ *+' conftest.er1
>conftest.err
3984 cat conftest.err
>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; } &&
3993 { ac_try
='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 ac_hi
=$ac_mid; break
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.
$ac_ext >&5
4004 ac_lo
=`expr $ac_mid + 1`
4005 if test $ac_lo -le $ac_mid; then
4009 ac_mid
=`expr 2 '*' $ac_mid + 1`
4011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4014 echo "$as_me: failed program was:" >&5
4015 sed 's/^/| /' conftest.
$ac_ext >&5
4017 cat >conftest.
$ac_ext <<_ACEOF
4020 cat confdefs.h
>>conftest.
$ac_ext
4021 cat >>conftest.
$ac_ext <<_ACEOF
4022 /* end confdefs.h. */
4023 $ac_includes_default
4027 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4034 rm -f conftest.
$ac_objext
4035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4036 (eval $ac_compile) 2>conftest.er1
4038 grep -v '^ *+' conftest.er1
>conftest.err
4040 cat conftest.err
>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } &&
4043 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; } &&
4049 { ac_try
='test -s conftest.$ac_objext'
4050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4054 (exit $ac_status); }; }; then
4057 cat >conftest.
$ac_ext <<_ACEOF
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 $ac_includes_default
4067 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4074 rm -f conftest.
$ac_objext
4075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4076 (eval $ac_compile) 2>conftest.er1
4078 grep -v '^ *+' conftest.er1
>conftest.err
4080 cat conftest.err
>&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } &&
4083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; } &&
4089 { ac_try
='test -s conftest.$ac_objext'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; }; then
4095 ac_lo
=$ac_mid; break
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.
$ac_ext >&5
4100 ac_hi
=`expr '(' $ac_mid ')' - 1`
4101 if test $ac_mid -le $ac_hi; then
4105 ac_mid
=`expr 2 '*' $ac_mid`
4107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.
$ac_ext >&5
4115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4118 # Binary search between lo and hi bounds.
4119 while test "x$ac_lo" != "x$ac_hi"; do
4120 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4121 cat >conftest.
$ac_ext <<_ACEOF
4124 cat confdefs.h
>>conftest.
$ac_ext
4125 cat >>conftest.
$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4127 $ac_includes_default
4131 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4138 rm -f conftest.
$ac_objext
4139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4140 (eval $ac_compile) 2>conftest.er1
4142 grep -v '^ *+' conftest.er1
>conftest.err
4144 cat conftest.err
>&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); } &&
4147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); }; } &&
4153 { ac_try
='test -s conftest.$ac_objext'
4154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); }; }; then
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.
$ac_ext >&5
4164 ac_lo
=`expr '(' $ac_mid ')' + 1`
4166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4169 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4170 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4171 See \`config.log' for more details." >&5
4172 echo "$as_me: error: cannot compute sizeof (long), 77
4173 See \`config.log' for more details." >&2;}
4174 { (exit 1); exit 1; }; } ;;
4177 if test "$cross_compiling" = yes; then
4178 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4179 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4180 { (exit 1); exit 1; }; }
4182 cat >conftest.
$ac_ext <<_ACEOF
4185 cat confdefs.h
>>conftest.
$ac_ext
4186 cat >>conftest.
$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4188 $ac_includes_default
4189 long longval () { return (long) (sizeof (long)); }
4190 unsigned long ulongval () { return (long) (sizeof (long)); }
4197 FILE *f = fopen ("conftest.val", "w");
4200 if (((long) (sizeof (long))) < 0)
4202 long i = longval ();
4203 if (i != ((long) (sizeof (long))))
4205 fprintf (f, "%ld\n", i);
4209 unsigned long i = ulongval ();
4210 if (i != ((long) (sizeof (long))))
4212 fprintf (f, "%lu\n", i);
4214 exit (ferror (f) || fclose (f) != 0);
4220 rm -f conftest
$ac_exeext
4221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4222 (eval $ac_link) 2>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230 (exit $ac_status); }; }; then
4231 ac_cv_sizeof_long
=`cat conftest.val`
4233 echo "$as_me: program exited with status $ac_status" >&5
4234 echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.
$ac_ext >&5
4238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4239 See \`config.log' for more details." >&5
4240 echo "$as_me: error: cannot compute sizeof (long), 77
4241 See \`config.log' for more details." >&2;}
4242 { (exit 1); exit 1; }; }
4244 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4252 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4253 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4254 cat >>confdefs.h
<<_ACEOF
4255 #define SIZEOF_LONG $ac_cv_sizeof_long
4260 # Checks for library functions.
4261 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4262 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4263 if test "${ac_cv_header_stdc+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 cat >conftest.
$ac_ext <<_ACEOF
4269 cat confdefs.h
>>conftest.
$ac_ext
4270 cat >>conftest.
$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4285 rm -f conftest.
$ac_objext
4286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4287 (eval $ac_compile) 2>conftest.er1
4289 grep -v '^ *+' conftest.er1
>conftest.err
4291 cat conftest.err
>&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); } &&
4294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); }; } &&
4300 { ac_try
='test -s conftest.$ac_objext'
4301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; }; then
4306 ac_cv_header_stdc
=yes
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.
$ac_ext >&5
4311 ac_cv_header_stdc
=no
4313 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4315 if test $ac_cv_header_stdc = yes; then
4316 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4317 cat >conftest.
$ac_ext <<_ACEOF
4320 cat confdefs.h
>>conftest.
$ac_ext
4321 cat >>conftest.
$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4327 $EGREP "memchr" >/dev
/null
2>&1; then
4330 ac_cv_header_stdc
=no
4336 if test $ac_cv_header_stdc = yes; then
4337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4338 cat >conftest.
$ac_ext <<_ACEOF
4341 cat confdefs.h
>>conftest.
$ac_ext
4342 cat >>conftest.
$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4348 $EGREP "free" >/dev
/null
2>&1; then
4351 ac_cv_header_stdc
=no
4357 if test $ac_cv_header_stdc = yes; then
4358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4359 if test "$cross_compiling" = yes; then
4362 cat >conftest.
$ac_ext <<_ACEOF
4365 cat confdefs.h
>>conftest.
$ac_ext
4366 cat >>conftest.
$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4369 #if ((' ' & 0x0FF) == 0x020)
4370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4373 # define ISLOWER(c) \
4374 (('a' <= (c) && (c) <= 'i') \
4375 || ('j' <= (c) && (c) <= 'r') \
4376 || ('s' <= (c) && (c) <= 'z'))
4377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4385 for (i = 0; i < 256; i++)
4386 if (XOR (islower (i), ISLOWER (i))
4387 || toupper (i) != TOUPPER (i))
4392 rm -f conftest
$ac_exeext
4393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4394 (eval $ac_link) 2>&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4405 echo "$as_me: program exited with status $ac_status" >&5
4406 echo "$as_me: failed program was:" >&5
4407 sed 's/^/| /' conftest.
$ac_ext >&5
4410 ac_cv_header_stdc
=no
4412 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4416 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4417 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4418 if test $ac_cv_header_stdc = yes; then
4420 cat >>confdefs.h
<<\_ACEOF
4421 #define STDC_HEADERS 1
4427 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4428 if test "${enable_maintainer_mode+set}" = set; then
4429 enableval
="$enable_maintainer_mode"
4432 enable_maintainer_mode
=no
4435 if test "x$enable_maintainer_mode" = xno
; then
4444 ac_config_headers
="$ac_config_headers config.h:config.in"
4446 ac_config_files
="$ac_config_files Makefile"
4448 cat >confcache
<<\_ACEOF
4449 # This file is a shell script that caches the results of configure
4450 # tests run on this system so they can be shared between configure
4451 # scripts and configure runs, see configure's option --config-cache.
4452 # It is not useful on other systems. If it contains results you don't
4453 # want to keep, you may remove or edit it.
4455 # config.status only pays attention to the cache file if you give it
4456 # the --recheck option to rerun configure.
4458 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4459 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4464 # The following way of writing the cache mishandles newlines in values,
4465 # but we know of no workaround that is simple, portable, and efficient.
4466 # So, don't put newlines in cache variables' values.
4467 # Ultrix sh set writes to stderr and can't be redirected directly,
4468 # and sets the high bit in the cache file unless we assign to the vars.
4471 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4473 # `set' does not quote correctly, so add quotes (double-quote
4474 # substitution turns \\\\ into \\, and sed turns \\ into \).
4477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4480 # `set' quotes correctly as required by POSIX, so do not add quotes.
4482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4489 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4491 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4493 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4494 if test -w $cache_file; then
4495 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4496 cat confcache
>$cache_file
4498 echo "not updating unwritable cache $cache_file"
4503 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4504 # Let make expand exec_prefix.
4505 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4507 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4508 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4509 # trailing colons and then remove the whole line if VPATH becomes empty
4510 # (actually we leave an empty line to preserve line numbers).
4511 if test "x$srcdir" = x.
; then
4512 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4513 s/:*\$(srcdir):*/:/;
4514 s/:*\${srcdir}:*/:/;
4516 s/^\([^=]*=[ ]*\):*/\1/;
4522 DEFS
=-DHAVE_CONFIG_H
4526 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4527 # 1. Remove the extension, and $U if already installed.
4528 ac_i
=`echo "$ac_i" |
4529 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4531 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4532 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4536 LTLIBOBJS
=$ac_ltlibobjs
4540 : ${CONFIG_STATUS=./config.status}
4541 ac_clean_files_save
=$ac_clean_files
4542 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4543 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4544 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4545 cat >$CONFIG_STATUS <<_ACEOF
4547 # Generated by $as_me.
4548 # Run this file to recreate the current configuration.
4549 # Compiler output produced by configure, useful for debugging
4550 # configure, is in config.log if it exists.
4555 SHELL=\${CONFIG_SHELL-$SHELL}
4558 cat >>$CONFIG_STATUS <<\_ACEOF
4559 ## --------------------- ##
4560 ## M4sh Initialization. ##
4561 ## --------------------- ##
4563 # Be Bourne compatible
4564 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4567 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4568 # is contrary to our usage. Disable this feature.
4569 alias -g '${1+"$@"}'='"$@"'
4570 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4573 DUALCASE
=1; export DUALCASE
# for MKS sh
4575 # Support unset when possible.
4576 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4583 # Work around bugs in pre-3.0 UWIN ksh.
4584 $as_unset ENV MAIL MAILPATH
4591 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4592 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4593 LC_TELEPHONE LC_TIME
4595 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4596 eval $as_var=C
; export $as_var
4602 # Required to use basename.
4603 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4609 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4610 as_basename
=basename
4616 # Name of the executable.
4617 as_me
=`$as_basename "$0" ||
4618 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4619 X"$0" : 'X\(//\)$' \| \
4620 X"$0" : 'X\(/\)$' \| \
4621 . : '\(.\)' 2>/dev/null ||
4623 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4624 /^X\/\(\/\/\)$/{ s//\1/; q; }
4625 /^X\/\(\/\).*/{ s//\1/; q; }
4629 # PATH needs CR, and LINENO needs CR and PATH.
4630 # Avoid depending upon Character Ranges.
4631 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4632 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4633 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4634 as_cr_digits
='0123456789'
4635 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4637 # The user is always right.
4638 if test "${PATH_SEPARATOR+set}" != set; then
4639 echo "#! /bin/sh" >conf$$.sh
4640 echo "exit 0" >>conf$$.sh
4642 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4653 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4654 test "x$as_lineno_1" != "x$as_lineno_2" &&
4655 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4656 # Find who we are. Look in the path if we contain no path at all
4659 *[\\/]* ) as_myself
=$0 ;;
4660 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4670 # We did not find ourselves, most probably we were run as `sh COMMAND'
4671 # in which case we are not to be found in the path.
4672 if test "x$as_myself" = x
; then
4675 if test ! -f "$as_myself"; then
4676 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4677 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4678 { (exit 1); exit 1; }; }
4680 case $CONFIG_SHELL in
4682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4683 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4686 test -z "$as_dir" && as_dir
=.
4687 for as_base
in sh bash ksh sh5
; do
4690 if ("$as_dir/$as_base" -c '
4693 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4694 test "x$as_lineno_1" != "x$as_lineno_2" &&
4695 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4696 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4697 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4698 CONFIG_SHELL
=$as_dir/$as_base
4700 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4708 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4709 # uniformly replaced by the line number. The first 'sed' inserts a
4710 # line-number line before each line; the second 'sed' does the real
4711 # work. The second script uses 'N' to pair each line-number line
4712 # with the numbered line, and appends trailing '-' during
4713 # substitution so that $LINENO is not a special case at line end.
4714 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4715 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4716 sed '=' <$as_myself |
4721 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4724 s,^['$as_cr_digits']*\n,,
4726 chmod +x
$as_me.lineno ||
4727 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4728 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4729 { (exit 1); exit 1; }; }
4731 # Don't try to exec as it changes $[0], causing all sort of problems
4732 # (the dirname of $[0] is not the place where we might find the
4733 # original and so on. Autoconf is especially sensible to this).
4735 # Exit status is that of the last command.
4740 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4741 *c
*,-n*) ECHO_N
= ECHO_C
='
4743 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4744 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4747 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4753 rm -f conf$$ conf$$.exe conf$$.
file
4755 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4756 # We could just check for DJGPP; but this test a) works b) is more generic
4757 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4758 if test -f conf$$.exe
; then
4759 # Don't use ln at all; we don't have any links
4764 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4769 rm -f conf$$ conf$$.exe conf$$.
file
4771 if mkdir
-p .
2>/dev
/null
; then
4774 test -d .
/-p && rmdir .
/-p
4778 as_executable_p
="test -f"
4780 # Sed expression to map a string onto a valid CPP name.
4781 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4783 # Sed expression to map a string onto a valid variable name.
4784 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4788 # We need space, tab and new line, in precisely that order.
4798 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4799 # report actual input values of CONFIG_FILES etc. instead of their
4800 # values after options handling. Logging --version etc. is OK.
4804 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4805 ## Running $as_me. ##
4810 This file was extended by libdecnumber $as_me , which was
4811 generated by GNU Autoconf 2.59. Invocation command line was
4813 CONFIG_FILES = $CONFIG_FILES
4814 CONFIG_HEADERS = $CONFIG_HEADERS
4815 CONFIG_LINKS = $CONFIG_LINKS
4816 CONFIG_COMMANDS = $CONFIG_COMMANDS
4820 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4824 # Files that config.status was made for.
4825 if test -n "$ac_config_files"; then
4826 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4829 if test -n "$ac_config_headers"; then
4830 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4833 if test -n "$ac_config_links"; then
4834 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4837 if test -n "$ac_config_commands"; then
4838 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4841 cat >>$CONFIG_STATUS <<\_ACEOF
4844 \`$as_me' instantiates files from templates according to the
4845 current configuration.
4847 Usage: $0 [OPTIONS] [FILE]...
4849 -h, --help print this help, then exit
4850 -V, --version print version number, then exit
4851 -q, --quiet do not print progress messages
4852 -d, --debug don't remove temporary files
4853 --recheck update $as_me by reconfiguring in the same conditions
4854 --file=FILE[:TEMPLATE]
4855 instantiate the configuration file FILE
4856 --header=FILE[:TEMPLATE]
4857 instantiate the configuration header FILE
4859 Configuration files:
4862 Configuration headers:
4865 Report bugs to <bug-autoconf@gnu.org>."
4868 cat >>$CONFIG_STATUS <<_ACEOF
4870 libdecnumber config.status
4871 configured by $0, generated by GNU Autoconf 2.59,
4872 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4874 Copyright (C) 2003 Free Software Foundation, Inc.
4875 This config.status script is free software; the Free Software Foundation
4876 gives unlimited permission to copy, distribute and modify it."
4880 cat >>$CONFIG_STATUS <<\_ACEOF
4881 # If no file are specified by the user, then we need to provide default
4882 # value. By we need to know if files were specified by the user.
4888 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4889 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4897 *) # This is not an option, so the user has probably given explicit
4900 ac_need_defaults
=false
;;
4904 # Handling of the options.
4906 cat >>$CONFIG_STATUS <<\_ACEOF
4907 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4909 --version |
--vers* |
-V )
4910 echo "$ac_cs_version"; exit 0 ;;
4912 # Conflict between --help and --header
4913 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4914 Try \`$0 --help' for more information." >&5
4915 echo "$as_me: error: ambiguous option: $1
4916 Try \`$0 --help' for more information." >&2;}
4917 { (exit 1); exit 1; }; };;
4918 --help |
--hel |
-h )
4919 echo "$ac_cs_usage"; exit 0 ;;
4920 --debug |
--d* |
-d )
4922 --file |
--fil |
--fi |
--f )
4924 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4925 ac_need_defaults
=false
;;
4926 --header |
--heade |
--head |
--hea )
4928 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4929 ac_need_defaults
=false
;;
4930 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4931 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4935 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4936 Try \`$0 --help' for more information." >&5
4937 echo "$as_me: error: unrecognized option: $1
4938 Try \`$0 --help' for more information." >&2;}
4939 { (exit 1); exit 1; }; } ;;
4941 *) ac_config_targets
="$ac_config_targets $1" ;;
4947 ac_configure_extra_args
=
4949 if $ac_cs_silent; then
4951 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4955 cat >>$CONFIG_STATUS <<_ACEOF
4956 if \$ac_cs_recheck; then
4957 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4958 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4967 cat >>$CONFIG_STATUS <<\_ACEOF
4968 for ac_config_target
in $ac_config_targets
4970 case "$ac_config_target" in
4971 # Handling of arguments.
4972 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4973 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
4974 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4975 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4976 { (exit 1); exit 1; }; };;
4980 # If the user did not use the arguments to specify the items to instantiate,
4981 # then the envvar interface is used. Set only those that are not.
4982 # We use the long form for the default assignment because of an extremely
4983 # bizarre bug on SunOS 4.1.3.
4984 if $ac_need_defaults; then
4985 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4986 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4989 # Have a temporary directory for convenience. Make it in the build tree
4990 # simply because there is no reason to put it here, and in addition,
4991 # creating and moving files from /tmp can sometimes cause problems.
4992 # Create a temporary directory, and hook for its removal unless debugging.
4995 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4996 trap '{ (exit 1); exit 1; }' 1 2 13 15
4999 # Create a (secure) tmp directory for tmp files.
5002 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5003 test -n "$tmp" && test -d "$tmp"
5006 tmp
=.
/confstat$$
-$RANDOM
5007 (umask 077 && mkdir
$tmp)
5010 echo "$me: cannot create a temporary directory in ." >&2
5011 { (exit 1); exit 1; }
5016 cat >>$CONFIG_STATUS <<_ACEOF
5019 # CONFIG_FILES section.
5022 # No need to generate the scripts if there are no CONFIG_FILES.
5023 # This happens for instance when ./config.status config.h
5024 if test -n "\$CONFIG_FILES"; then
5025 # Protect against being on the right side of a sed subst in config.status.
5026 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5027 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5028 s,@SHELL@,$SHELL,;t t
5029 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5030 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5031 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5032 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5033 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5034 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5035 s,@exec_prefix@,$exec_prefix,;t t
5036 s,@prefix@,$prefix,;t t
5037 s,@program_transform_name@,$program_transform_name,;t t
5038 s,@bindir@,$bindir,;t t
5039 s,@sbindir@,$sbindir,;t t
5040 s,@libexecdir@,$libexecdir,;t t
5041 s,@datadir@,$datadir,;t t
5042 s,@sysconfdir@,$sysconfdir,;t t
5043 s,@sharedstatedir@,$sharedstatedir,;t t
5044 s,@localstatedir@,$localstatedir,;t t
5045 s,@libdir@,$libdir,;t t
5046 s,@includedir@,$includedir,;t t
5047 s,@oldincludedir@,$oldincludedir,;t t
5048 s,@infodir@,$infodir,;t t
5049 s,@mandir@,$mandir,;t t
5050 s,@build_alias@,$build_alias,;t t
5051 s,@host_alias@,$host_alias,;t t
5052 s,@target_alias@,$target_alias,;t t
5054 s,@ECHO_C@,$ECHO_C,;t t
5055 s,@ECHO_N@,$ECHO_N,;t t
5056 s,@ECHO_T@,$ECHO_T,;t t
5058 s,@SET_MAKE@,$SET_MAKE,;t t
5060 s,@CFLAGS@,$CFLAGS,;t t
5061 s,@LDFLAGS@,$LDFLAGS,;t t
5062 s,@CPPFLAGS@,$CPPFLAGS,;t t
5063 s,@ac_ct_CC@,$ac_ct_CC,;t t
5064 s,@EXEEXT@,$EXEEXT,;t t
5065 s,@OBJEXT@,$OBJEXT,;t t
5066 s,@RANLIB@,$RANLIB,;t t
5067 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5068 s,@ACLOCAL@,$ACLOCAL,;t t
5069 s,@AUTOCONF@,$AUTOCONF,;t t
5070 s,@AUTOHEADER@,$AUTOHEADER,;t t
5071 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5072 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
5073 s,@WERROR@,$WERROR,;t t
5075 s,@EGREP@,$EGREP,;t t
5076 s,@MAINT@,$MAINT,;t t
5077 s,@LIBOBJS@,$LIBOBJS,;t t
5078 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5083 cat >>$CONFIG_STATUS <<\_ACEOF
5084 # Split the substitutions into bite-sized pieces for seds with
5085 # small command number limits, like on Digital OSF/1 and HP-UX.
5087 ac_sed_frag
=1 # Number of current file.
5088 ac_beg
=1 # First line for current file.
5089 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5092 while $ac_more_lines; do
5093 if test $ac_beg -gt 1; then
5094 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5096 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5098 if test ! -s $tmp/subs.frag
; then
5101 # The purpose of the label and of the branching condition is to
5102 # speed up the sed processing (if there are no `@' at all, there
5103 # is no need to browse any of the substitutions).
5104 # These are the two extra sed commands mentioned above.
5106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5107 if test -z "$ac_sed_cmds"; then
5108 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5110 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5112 ac_sed_frag
=`expr $ac_sed_frag + 1`
5114 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5117 if test -z "$ac_sed_cmds"; then
5120 fi # test -n "$CONFIG_FILES"
5123 cat >>$CONFIG_STATUS <<\_ACEOF
5124 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5125 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5127 - |
*:- |
*:-:* ) # input from stdin
5129 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5130 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5131 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5132 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5133 * ) ac_file_in
=$ac_file.
in ;;
5136 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5137 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5138 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5139 X"$ac_file" : 'X\(//\)[^/]' \| \
5140 X"$ac_file" : 'X\(//\)$' \| \
5141 X"$ac_file" : 'X\(/\)' \| \
5142 . : '\(.\)' 2>/dev/null ||
5144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5145 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5146 /^X\(\/\/\)$/{ s//\1/; q; }
5147 /^X\(\/\).*/{ s//\1/; q; }
5149 { if $as_mkdir_p; then
5154 while test ! -d "$as_dir"; do
5155 as_dirs
="$as_dir $as_dirs"
5156 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5157 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5158 X"$as_dir" : 'X\(//\)[^/]' \| \
5159 X"$as_dir" : 'X\(//\)$' \| \
5160 X"$as_dir" : 'X\(/\)' \| \
5161 . : '\(.\)' 2>/dev/null ||
5163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5164 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5165 /^X\(\/\/\)$/{ s//\1/; q; }
5166 /^X\(\/\).*/{ s//\1/; q; }
5169 test ! -n "$as_dirs" || mkdir
$as_dirs
5170 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5171 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5172 { (exit 1); exit 1; }; }; }
5176 if test "$ac_dir" != .
; then
5177 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5178 # A "../" for each directory in $ac_dir_suffix.
5179 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5181 ac_dir_suffix
= ac_top_builddir
=
5185 .
) # No --srcdir option. We are building in place.
5187 if test -z "$ac_top_builddir"; then
5190 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5192 [\\/]* | ?
:[\\/]* ) # Absolute path.
5193 ac_srcdir
=$srcdir$ac_dir_suffix;
5194 ac_top_srcdir
=$srcdir ;;
5196 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5197 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5200 # Do not use `cd foo && pwd` to compute absolute paths, because
5201 # the directories may not exist.
5203 .
) ac_abs_builddir
="$ac_dir";;
5206 .
) ac_abs_builddir
=`pwd`;;
5207 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5208 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5211 case $ac_abs_builddir in
5212 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5214 case ${ac_top_builddir}.
in
5215 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5216 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5217 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5220 case $ac_abs_builddir in
5221 .
) ac_abs_srcdir
=$ac_srcdir;;
5224 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5225 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5226 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5229 case $ac_abs_builddir in
5230 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5232 case $ac_top_srcdir in
5233 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5234 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5235 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5241 # Let's still pretend it is `configure' which instantiates (i.e., don't
5242 # use $as_me), people would be surprised to read:
5243 # /* config.h. Generated by config.status. */
5244 if test x
"$ac_file" = x-
; then
5247 configure_input
="$ac_file. "
5249 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5250 sed 's,.*/,,'` by configure."
5252 # First look for the input files in the build tree, otherwise in the
5254 ac_file_inputs
=`IFS=:
5255 for f in $ac_file_in; do
5257 -) echo $tmp/stdin ;;
5259 # Absolute (can't be DOS-style, as IFS=:)
5260 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5261 echo "$as_me: error: cannot find input file: $f" >&2;}
5262 { (exit 1); exit 1; }; }
5265 if test -f "$f"; then
5268 elif test -f "$srcdir/$f"; then
5273 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5274 echo "$as_me: error: cannot find input file: $f" >&2;}
5275 { (exit 1); exit 1; }; }
5278 done` ||
{ (exit 1); exit 1; }
5280 if test x
"$ac_file" != x-
; then
5281 { echo "$as_me:$LINENO: creating $ac_file" >&5
5282 echo "$as_me: creating $ac_file" >&6;}
5286 cat >>$CONFIG_STATUS <<_ACEOF
5290 cat >>$CONFIG_STATUS <<\_ACEOF
5292 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5293 s
,@configure_input@
,$configure_input,;t t
5294 s
,@srcdir@
,$ac_srcdir,;t t
5295 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5296 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5297 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5298 s
,@builddir@
,$ac_builddir,;t t
5299 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5300 s
,@top_builddir@
,$ac_top_builddir,;t t
5301 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5302 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5304 if test x"$ac_file" != x-; then
5305 mv $tmp/out $ac_file
5313 cat >>$CONFIG_STATUS <<\_ACEOF
5316 # CONFIG_HEADER section.
5319 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5320 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5322 # ac_d sets the value in "#define NAME VALUE" lines.
5323 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5324 ac_dB
='[ ].*$,\1#\2'
5327 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5328 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5329 ac_uB
='$,\1#\2define\3'
5333 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5334 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5336 - |
*:- |
*:-:* ) # input from stdin
5338 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5339 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5340 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5341 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5342 * ) ac_file_in
=$ac_file.
in ;;
5345 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5346 echo "$as_me: creating $ac_file" >&6;}
5348 # First look for the input files in the build tree, otherwise in the
5350 ac_file_inputs
=`IFS=:
5351 for f in $ac_file_in; do
5353 -) echo $tmp/stdin ;;
5355 # Absolute (can't be DOS-style, as IFS=:)
5356 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5357 echo "$as_me: error: cannot find input file: $f" >&2;}
5358 { (exit 1); exit 1; }; }
5359 # Do quote $f, to prevent DOS paths from being IFS'd.
5362 if test -f "$f"; then
5365 elif test -f "$srcdir/$f"; then
5370 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5371 echo "$as_me: error: cannot find input file: $f" >&2;}
5372 { (exit 1); exit 1; }; }
5375 done` ||
{ (exit 1); exit 1; }
5376 # Remove the trailing spaces.
5377 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5381 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5382 # `conftest.undefs', that substitutes the proper values into
5383 # config.h.in to produce config.h. The first handles `#define'
5384 # templates, and the second `#undef' templates.
5385 # And first: Protect against being on the right side of a sed subst in
5386 # config.status. Protect against being in an unquoted here document
5388 rm -f conftest.defines conftest.undefs
5389 # Using a here document instead of a string reduces the quoting nightmare.
5390 # Putting comments in sed scripts is not portable.
5392 # `end' is used to avoid that the second main sed command (meant for
5393 # 0-ary CPP macros) applies to n-ary macro definitions.
5394 # See the Autoconf documentation for `clear'.
5395 cat >confdef2sed.
sed <<\_ACEOF
5400 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5402 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5405 # If some macros were called several times there might be several times
5406 # the same #defines, which is useless. Nevertheless, we may not want to
5407 # sort them, since we want the *last* AC-DEFINE to be honored.
5408 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5409 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5410 rm -f confdef2sed.sed
5412 # This sed command replaces #undef with comments. This is necessary, for
5413 # example, in the case of _POSIX_SOURCE, which is predefined and required
5414 # on some systems where configure will not decide to define it.
5415 cat >>conftest.undefs <<\_ACEOF
5416 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5419 # Break up conftest.defines because some shells have a limit on the size
5420 # of here documents, and old seds have small limits too (100 cmds).
5421 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5422 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5423 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5424 echo ' :' >>$CONFIG_STATUS
5426 while grep . conftest.defines >/dev/null
5428 # Write a limited-size here document to $tmp/defines.sed.
5429 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5430 # Speed up: don't consider the non `#define' lines.
5431 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5432 # Work around the forget-to-reset-the-flag bug.
5433 echo 't clr' >>$CONFIG_STATUS
5434 echo ': clr' >>$CONFIG_STATUS
5435 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5437 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5441 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5442 rm -f conftest.defines
5443 mv conftest.
tail conftest.defines
5445 rm -f conftest.defines
5446 echo ' fi # grep' >>$CONFIG_STATUS
5447 echo >>$CONFIG_STATUS
5449 # Break up conftest.undefs because some shells have a limit on the size
5450 # of here documents, and old seds have small limits too (100 cmds).
5451 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5453 while grep . conftest.undefs
>/dev
/null
5455 # Write a limited-size here document to $tmp/undefs.sed.
5456 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5457 # Speed up: don't consider the non
`#undef'
5458 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5459 # Work around the forget-to-reset-the-flag bug.
5460 echo 't clr' >>$CONFIG_STATUS
5461 echo ': clr' >>$CONFIG_STATUS
5462 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5464 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5468 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5469 rm -f conftest.undefs
5470 mv conftest.tail conftest.undefs
5472 rm -f conftest.undefs
5474 cat >>$CONFIG_STATUS <<\_ACEOF
5475 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5476 # use $as_me), people would be surprised to read:
5477 # /* config.h. Generated by config.status. */
5478 if test x
"$ac_file" = x-
; then
5479 echo "/* Generated by configure. */" >$tmp/config.h
5481 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5483 cat $tmp/in >>$tmp/config.h
5485 if test x
"$ac_file" != x-
; then
5486 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5487 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5488 echo "$as_me: $ac_file is unchanged" >&6;}
5490 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5492 X"$ac_file" : 'X\(//\)[^/]' \| \
5493 X"$ac_file" : 'X\(//\)$' \| \
5494 X"$ac_file" : 'X\(/\)' \| \
5495 . : '\(.\)' 2>/dev/null ||
5497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5498 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5499 /^X\(\/\/\)$/{ s//\1/; q; }
5500 /^X\(\/\).*/{ s//\1/; q; }
5502 { if $as_mkdir_p; then
5507 while test ! -d "$as_dir"; do
5508 as_dirs
="$as_dir $as_dirs"
5509 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5510 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5511 X"$as_dir" : 'X\(//\)[^/]' \| \
5512 X"$as_dir" : 'X\(//\)$' \| \
5513 X"$as_dir" : 'X\(/\)' \| \
5514 . : '\(.\)' 2>/dev/null ||
5516 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5517 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5518 /^X\(\/\/\)$/{ s//\1/; q; }
5519 /^X\(\/\).*/{ s//\1/; q; }
5522 test ! -n "$as_dirs" || mkdir
$as_dirs
5523 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5524 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5525 { (exit 1); exit 1; }; }; }
5528 mv $tmp/config.h
$ac_file
5534 # Run the commands associated with the file.
5536 config.h
) echo timestamp
> stamp-h1
;;
5541 cat >>$CONFIG_STATUS <<\_ACEOF
5543 { (exit 0); exit 0; }
5545 chmod +x
$CONFIG_STATUS
5546 ac_clean_files
=$ac_clean_files_save
5549 # configure is writing to config.log, and then calls config.status.
5550 # config.status does its own redirection, appending to config.log.
5551 # Unfortunately, on DOS this fails, as config.log is still kept open
5552 # by configure, so config.status won't be able to write to it; its
5553 # output is simply discarded. So we exec the FD to /dev/null,
5554 # effectively closing config.log, so it can be properly (re)opened and
5555 # appended to by config.status. When coming back to configure, we
5556 # need to make the FD available again.
5557 if test "$no_create" != yes; then
5559 ac_config_status_args
=
5560 test "$silent" = yes &&
5561 ac_config_status_args
="$ac_config_status_args --quiet"
5563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5566 # would make configure fail if this is the last instruction.
5567 $ac_cs_success ||
{ (exit 1); exit 1; }