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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os enable_decimal_float ADDITIONAL_OBJS LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
778 # Report the --help message.
780 if test "$ac_init_help" = "long"; then
781 # Omit some internal or obsolete options to make the list less imposing.
782 # This message is too long to be a string in the A/UX 3.1 sh.
784 \`configure' configures libdecnumber to adapt to many kinds of systems.
786 Usage: $0 [OPTION]... [VAR=VALUE]...
788 To assign environment variables (e.g., CC, CFLAGS...), specify them as
789 VAR=VALUE. See below for descriptions of some of the useful variables.
791 Defaults for the options are specified in brackets.
794 -h, --help display this help and exit
795 --help=short display options specific to this package
796 --help=recursive display the short help of all the included packages
797 -V, --version display version information and exit
798 -q, --quiet, --silent do not print \`checking...' messages
799 --cache-file=FILE cache test results in FILE [disabled]
800 -C, --config-cache alias for \`--cache-file=config.cache'
801 -n, --no-create do not create output files
802 --srcdir=DIR find the sources in DIR [configure dir or \`..']
807 Installation directories:
808 --prefix=PREFIX install architecture-independent files in PREFIX
810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
813 By default, \`make install' will install all the files in
814 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816 for instance \`--prefix=\$HOME'.
818 For better control, use the options below.
820 Fine tuning of the installation directories:
821 --bindir=DIR user executables [EPREFIX/bin]
822 --sbindir=DIR system admin executables [EPREFIX/sbin]
823 --libexecdir=DIR program executables [EPREFIX/libexec]
824 --datadir=DIR read-only architecture-independent data [PREFIX/share]
825 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
828 --libdir=DIR object code libraries [EPREFIX/lib]
829 --includedir=DIR C header files [PREFIX/include]
830 --oldincludedir=DIR C header files for non-gcc [/usr/include]
831 --infodir=DIR info documentation [PREFIX/info]
832 --mandir=DIR man documentation [PREFIX/man]
838 --build=BUILD configure
for building on BUILD
[guessed
]
839 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
840 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
844 if test -n "$ac_init_help"; then
845 case $ac_init_help in
846 short | recursive
) echo "Configuration of libdecnumber :";;
851 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
852 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
853 --enable-werror-always enable -Werror despite compiler version
854 --enable-maintainer-mode enable rules only needed by maintainers
855 --enable-decimal-float={no
,yes,bid
,dpd
}
856 enable decimal float extension to C. Selecting
'bid'
857 or
'dpd' choses
which decimal floating point format
860 Some influential environment variables
:
861 CC C compiler
command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
869 Use these variables to override the choices made by
`configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
872 Report bugs to <gcc-bugs@gcc.gnu.org>.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
968 libdecnumber configure
969 generated by GNU Autoconf 2.59
971 Copyright (C) 2003 Free Software Foundation, Inc.
972 This configure script is free software; the Free Software Foundation
973 gives unlimited permission to copy, distribute and modify it.
979 This file contains any messages produced by compilers while
980 running configure, to aid debugging if configure makes a mistake.
982 It was created by libdecnumber $as_me , which was
983 generated by GNU Autoconf 2.59. Invocation command line was
994 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
995 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
996 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
997 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
998 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1000 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1001 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1003 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1005 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1006 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1007 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1009 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1017 test -z "$as_dir" && as_dir=.
1018 echo "PATH: $as_dir"
1033 # Keep a trace of the command line.
1034 # Strip out --no-create and --no-recursion so they do not pile up.
1035 # Strip out --silent because we don't want to record it for future runs.
1036 # Also quote any args containing shell meta-characters.
1037 # Make two passes to allow for proper duplicate-argument suppression.
1042 ac_must_keep_next=false
1048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1052 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1058 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1059 if test $ac_must_keep_next = true; then
1060 ac_must_keep_next=false # Got value, back to normal.
1063 *=* | --config-cache | -C | -disable-* | --disable-* \
1064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1066 | -with-* | --with-* | -without-* | --without-* | --x)
1067 case "$ac_configure_args0 " in
1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 -* ) ac_must_keep_next=true ;;
1074 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1075 # Get rid of the leading space.
1081 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1082 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1084 # When interrupted or exit'd, cleanup temporary files, and complete
1085 # config.log. We remove comments because anyway the quotes in there
1086 # would cause problems or look ugly.
1087 # WARNING: Be sure not to use single quotes in there, as some shells,
1088 # such as our DU 5.0 friend, will then `close
' the trap.
1089 trap 'exit_status
=$?
1090 # Save into config.log some information that might help in debugging.
1095 ## ---------------- ##
1096 ## Cache variables. ##
1097 ## ---------------- ##
1100 # The following way of writing the cache mishandles newlines in values,
1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1118 ## ----------------- ##
1119 ## Output variables. ##
1120 ## ----------------- ##
1123 for ac_var
in $ac_subst_vars
1125 eval ac_val
=$
`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -n "$ac_subst_files"; then
1137 for ac_var
in $ac_subst_files
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -s confdefs.h
; then
1152 sed "/^$/d" confdefs.h |
sort
1155 test "$ac_signal" != 0 &&
1156 echo "$as_me: caught signal $ac_signal"
1157 echo "$as_me: exit $exit_status"
1159 rm -f core
*.core
&&
1160 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1163 for ac_signal in 1 2 13 15; do
1164 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1169 rm -rf conftest* confdefs.h
1170 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173 # Predefined preprocessor variables.
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_NAME "$PACKAGE_NAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_STRING "$PACKAGE_STRING"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1200 # Let the site file select an alternate cache file if it wants to.
1201 # Prefer explicitly selected file to automatically selected ones.
1202 if test -z "$CONFIG_SITE"; then
1203 if test "x$prefix" != xNONE; then
1204 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1206 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 for ac_site_file in $CONFIG_SITE; do
1210 if test -r "$ac_site_file"; then
1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1212 echo "$as_me: loading site script $ac_site_file" >&6;}
1213 sed 's
/^
/|
/' "$ac_site_file" >&5
1218 if test -r "$cache_file"; then
1219 # Some versions of bash will fail to source /dev/null (special
1220 # files actually), so we avoid doing that.
1221 if test -f "$cache_file"; then
1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1223 echo "$as_me: loading cache $cache_file" >&6;}
1225 [\\/]* | ?:[\\/]* ) . $cache_file;;
1226 *) . ./$cache_file;;
1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1231 echo "$as_me: creating cache $cache_file" >&6;}
1235 # Check that the precious variables saved in the cache have kept the same
1237 ac_cache_corrupted=false
1238 for ac_var in `(set) 2>&1 |
1239 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1240 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1241 eval ac_new_set=\$ac_env_${ac_var}_set
1242 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1243 eval ac_new_val="\$ac_env_${ac_var}_value"
1244 case $ac_old_set,$ac_new_set in
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1248 ac_cache_corrupted=: ;;
1250 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1255 if test "x$ac_old_val" != "x$ac_new_val"; then
1256 # differences in whitespace do not lead to failure.
1257 ac_old_val_w=`echo x $ac_old_val`
1258 ac_new_val_w=`echo x $ac_new_val`
1259 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 ac_cache_corrupted=:
1264 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1265 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1266 eval $ac_var=\$ac_old_val
1268 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1269 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1270 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1271 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1289 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1290 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1291 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1292 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1334 [\\/]* | ?:[\\/]* ) ac_macro_dir=../config ;;
1335 *) ac_macro_dir=$srcdir/../config ;;
1337 if test -d "$ac_macro_dir"; then :
1339 { { echo "$as_me:$LINENO: error: cannot find macro directory \`..
/config
'" >&5
1340 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1341 { (exit 1); exit 1; }; }
1345 # Checks for programs.
1346 echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
1347 echo $ECHO_N "checking whether
${MAKE-make} sets \$
(MAKE
)...
$ECHO_C" >&6
1348 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1349 if eval "test \"\
${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1350 echo $ECHO_N "(cached
) $ECHO_C" >&6
1352 cat >conftest.make <<\_ACEOF
1354 @echo 'ac_maketemp="$
(MAKE
)"'
1356 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1357 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1358 if test -n "$ac_maketemp"; then
1359 eval ac_cv_prog_make_${ac_make}_set=yes
1361 eval ac_cv_prog_make_${ac_make}_set=no
1365 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1366 echo "$as_me:$LINENO: result
: yes" >&5
1367 echo "${ECHO_T}yes" >&6
1370 echo "$as_me:$LINENO: result
: no
" >&5
1371 echo "${ECHO_T}no
" >&6
1372 SET_MAKE="MAKE
=${MAKE-make}"
1376 ac_cpp='$CPP $CPPFLAGS'
1377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1380 if test -n "$ac_tool_prefix"; then
1381 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
1382 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1383 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1384 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1385 if test "${ac_cv_prog_CC+set}" = set; then
1386 echo $ECHO_N "(cached
) $ECHO_C" >&6
1388 if test -n "$CC"; then
1389 ac_cv_prog_CC="$CC" # Let the user override the test.
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 test -z "$as_dir" && as_dir=.
1396 for ac_exec_ext in '' $ac_executable_extensions; do
1397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
1399 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1408 if test -n "$CC"; then
1409 echo "$as_me:$LINENO: result
: $CC" >&5
1410 echo "${ECHO_T}$CC" >&6
1412 echo "$as_me:$LINENO: result
: no
" >&5
1413 echo "${ECHO_T}no
" >&6
1417 if test -z "$ac_cv_prog_CC"; then
1419 # Extract the first word of "gcc
", so it can be a program name with args.
1420 set dummy gcc; ac_word=$2
1421 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1422 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1423 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1424 echo $ECHO_N "(cached
) $ECHO_C" >&6
1426 if test -n "$ac_ct_CC"; then
1427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1436 ac_cv_prog_ac_ct_CC="gcc
"
1437 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1446 if test -n "$ac_ct_CC"; then
1447 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1448 echo "${ECHO_T}$ac_ct_CC" >&6
1450 echo "$as_me:$LINENO: result
: no
" >&5
1451 echo "${ECHO_T}no
" >&6
1459 if test -z "$CC"; then
1460 if test -n "$ac_tool_prefix"; then
1461 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
1462 set dummy ${ac_tool_prefix}cc; ac_word=$2
1463 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1464 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1465 if test "${ac_cv_prog_CC+set}" = set; then
1466 echo $ECHO_N "(cached
) $ECHO_C" >&6
1468 if test -n "$CC"; then
1469 ac_cv_prog_CC="$CC" # Let the user override the test.
1471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1475 test -z "$as_dir" && as_dir=.
1476 for ac_exec_ext in '' $ac_executable_extensions; do
1477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1478 ac_cv_prog_CC="${ac_tool_prefix}cc
"
1479 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1488 if test -n "$CC"; then
1489 echo "$as_me:$LINENO: result
: $CC" >&5
1490 echo "${ECHO_T}$CC" >&6
1492 echo "$as_me:$LINENO: result
: no
" >&5
1493 echo "${ECHO_T}no
" >&6
1497 if test -z "$ac_cv_prog_CC"; then
1499 # Extract the first word of "cc
", so it can be a program name with args.
1500 set dummy cc; ac_word=$2
1501 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1502 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1504 echo $ECHO_N "(cached
) $ECHO_C" >&6
1506 if test -n "$ac_ct_CC"; then
1507 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1513 test -z "$as_dir" && as_dir=.
1514 for ac_exec_ext in '' $ac_executable_extensions; do
1515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516 ac_cv_prog_ac_ct_CC="cc
"
1517 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1526 if test -n "$ac_ct_CC"; then
1527 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1528 echo "${ECHO_T}$ac_ct_CC" >&6
1530 echo "$as_me:$LINENO: result
: no
" >&5
1531 echo "${ECHO_T}no
" >&6
1540 if test -z "$CC"; then
1541 # Extract the first word of "cc
", so it can be a program name with args.
1542 set dummy cc; ac_word=$2
1543 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1544 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1545 if test "${ac_cv_prog_CC+set}" = set; then
1546 echo $ECHO_N "(cached
) $ECHO_C" >&6
1548 if test -n "$CC"; then
1549 ac_cv_prog_CC="$CC" # Let the user override the test.
1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1556 test -z "$as_dir" && as_dir=.
1557 for ac_exec_ext in '' $ac_executable_extensions; do
1558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1559 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
1560 ac_prog_rejected=yes
1564 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1570 if test $ac_prog_rejected = yes; then
1571 # We found a bogon in the path, so make sure we never use it.
1572 set dummy $ac_cv_prog_CC
1574 if test $# != 0; then
1575 # We chose a different compiler from the bogus one.
1576 # However, it has the same basename, so the bogon will be chosen
1577 # first if we set CC to just the basename; use the full file name.
1579 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
1585 if test -n "$CC"; then
1586 echo "$as_me:$LINENO: result
: $CC" >&5
1587 echo "${ECHO_T}$CC" >&6
1589 echo "$as_me:$LINENO: result
: no
" >&5
1590 echo "${ECHO_T}no
" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1600 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1601 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1602 if test "${ac_cv_prog_CC+set}" = set; then
1603 echo $ECHO_N "(cached
) $ECHO_C" >&6
1605 if test -n "$CC"; then
1606 ac_cv_prog_CC="$CC" # Let the user override the test.
1608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1612 test -z "$as_dir" && as_dir=.
1613 for ac_exec_ext in '' $ac_executable_extensions; do
1614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1615 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1616 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1625 if test -n "$CC"; then
1626 echo "$as_me:$LINENO: result
: $CC" >&5
1627 echo "${ECHO_T}$CC" >&6
1629 echo "$as_me:$LINENO: result
: no
" >&5
1630 echo "${ECHO_T}no
" >&6
1633 test -n "$CC" && break
1636 if test -z "$CC"; then
1640 # Extract the first word of "$ac_prog", so it can be a program name with args.
1641 set dummy $ac_prog; ac_word=$2
1642 echo "$as_me:$LINENO: checking
for $ac_word" >&5
1643 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
1644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1645 echo $ECHO_N "(cached
) $ECHO_C" >&6
1647 if test -n "$ac_ct_CC"; then
1648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 for ac_exec_ext in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 ac_cv_prog_ac_ct_CC="$ac_prog"
1658 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
1666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1667 if test -n "$ac_ct_CC"; then
1668 echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
1669 echo "${ECHO_T}$ac_ct_CC" >&6
1671 echo "$as_me:$LINENO: result
: no
" >&5
1672 echo "${ECHO_T}no
" >&6
1675 test -n "$ac_ct_CC" && break
1684 test -z "$CC" && { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1685 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1686 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1687 See \`config.log' for more details.
" >&5
1688 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1689 See \
`config.log' for more details." >&2;}
1690 { (exit 1); exit 1; }; }; }
1692 # Provide some information about the compiler.
1693 echo "$as_me:$LINENO:" \
1694 "checking for C compiler version" >&5
1695 ac_compiler=`set X
$ac_compile; echo $2`
1696 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1697 (eval $ac_compiler --version </dev/null >&5) 2>&5
1699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1700 (exit $ac_status); }
1701 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1702 (eval $ac_compiler -v </dev/null >&5) 2>&5
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); }
1706 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1707 (eval $ac_compiler -V </dev/null >&5) 2>&5
1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1710 (exit $ac_status); }
1712 cat >conftest.$ac_ext <<_ACEOF
1715 cat confdefs.h >>conftest.$ac_ext
1716 cat >>conftest.$ac_ext <<_ACEOF
1717 /* end confdefs.h. */
1727 ac_clean_files_save=$ac_clean_files
1728 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1729 # Try to create an executable without -o first, disregard a.out.
1730 # It will help us diagnose broken compilers, and finding out an intuition
1732 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1733 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1734 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1735 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1736 (eval $ac_link_default) 2>&5
1738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1739 (exit $ac_status); }; then
1740 # Find the output, starting from the most likely. This scheme is
1741 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1744 # Be careful to initialize this variable, since it used to be cached.
1745 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1747 # b.out is created by i960 compilers.
1748 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1750 test -f "$ac_file" || continue
1752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1755 # This is the source file.
1758 # We found the default executable, but exeext='' is most
1762 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1763 # FIXME: I believe we export ac_cv_exeext for Libtool,
1764 # but it would be cool to find out if it's true. Does anybody
1765 # maintain Libtool? --akim.
1773 echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.$ac_ext >&5
1776 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1777 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
1779 See \
`config.log' for more details." >&5
1780 echo "$as_me: error: C compiler cannot create executables
1781 See \`config.log
' for more details." >&2;}
1782 { (exit 77); exit 77; }; }; }
1785 ac_exeext=$ac_cv_exeext
1786 echo "$as_me:$LINENO: result: $ac_file" >&5
1787 echo "${ECHO_T}$ac_file" >&6
1789 # Check the compiler produces executables we can run. If not, either
1790 # the compiler is broken, or we cross compile.
1791 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1792 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1793 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1794 # If not cross compiling, check that we can run a simple program.
1795 if test "$cross_compiling" != yes; then
1796 if { ac_try='.
/$ac_file'
1797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1801 (exit $ac_status); }; }; then
1804 if test "$cross_compiling" = maybe; then
1807 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1808 echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
1809 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1810 If you meant to cross compile, use \`--host'.
1811 See \`config.log' for more details.
" >&5
1812 echo "$as_me: error
: cannot run C compiled programs.
1813 If you meant to cross compile
, use \
`--host'.
1814 See \`config.log
' for more details." >&2;}
1815 { (exit 1); exit 1; }; }; }
1819 echo "$as_me:$LINENO: result: yes" >&5
1820 echo "${ECHO_T}yes" >&6
1822 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1823 ac_clean_files=$ac_clean_files_save
1824 # Check the compiler produces executables we can run. If not, either
1825 # the compiler is broken, or we cross compile.
1826 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1827 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1828 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1829 echo "${ECHO_T}$cross_compiling" >&6
1831 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1832 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1834 (eval $ac_link) 2>&5
1836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837 (exit $ac_status); }; then
1838 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
1839 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
1840 # work properly (i.e., refer to `conftest.exe
'), while it won't with
1842 for ac_file
in conftest.exe conftest conftest.
*; do
1843 test -f "$ac_file" ||
continue
1845 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1846 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1853 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1854 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1855 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1856 See \`config.log' for more details." >&5
1857 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1858 See \`config.log' for more details." >&2;}
1859 { (exit 1); exit 1; }; }; }
1862 rm -f conftest
$ac_cv_exeext
1863 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1864 echo "${ECHO_T}$ac_cv_exeext" >&6
1866 rm -f conftest.
$ac_ext
1867 EXEEXT
=$ac_cv_exeext
1869 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1870 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1871 if test "${ac_cv_objext+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 cat >conftest.
$ac_ext <<_ACEOF
1877 cat confdefs.h
>>conftest.
$ac_ext
1878 cat >>conftest.
$ac_ext <<_ACEOF
1879 /* end confdefs.h. */
1889 rm -f conftest.o conftest.obj
1890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1891 (eval $ac_compile) 2>&5
1893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); }; then
1895 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1897 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1898 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1903 echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.
$ac_ext >&5
1906 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1907 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1908 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1909 See \`config.log' for more details." >&5
1910 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1911 See \`config.log' for more details." >&2;}
1912 { (exit 1); exit 1; }; }; }
1915 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1917 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1918 echo "${ECHO_T}$ac_cv_objext" >&6
1919 OBJEXT
=$ac_cv_objext
1921 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1922 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1923 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 cat >conftest.
$ac_ext <<_ACEOF
1929 cat confdefs.h
>>conftest.
$ac_ext
1930 cat >>conftest.
$ac_ext <<_ACEOF
1931 /* end confdefs.h. */
1944 rm -f conftest.
$ac_objext
1945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1946 (eval $ac_compile) 2>conftest.er1
1948 grep -v '^ *+' conftest.er1
>conftest.err
1950 cat conftest.err
>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); } &&
1953 { ac_try
='test -z "$ac_c_werror_flag"
1954 || test ! -s conftest.err'
1955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959 (exit $ac_status); }; } &&
1960 { ac_try
='test -s conftest.$ac_objext'
1961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1965 (exit $ac_status); }; }; then
1968 echo "$as_me: failed program was:" >&5
1969 sed 's/^/| /' conftest.
$ac_ext >&5
1973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1974 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1977 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1978 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1979 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1980 ac_test_CFLAGS
=${CFLAGS+set}
1981 ac_save_CFLAGS
=$CFLAGS
1983 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1984 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1985 if test "${ac_cv_prog_cc_g+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 cat >conftest.
$ac_ext <<_ACEOF
1991 cat confdefs.h
>>conftest.
$ac_ext
1992 cat >>conftest.
$ac_ext <<_ACEOF
1993 /* end confdefs.h. */
2003 rm -f conftest.
$ac_objext
2004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2005 (eval $ac_compile) 2>conftest.er1
2007 grep -v '^ *+' conftest.er1
>conftest.err
2009 cat conftest.err
>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); } &&
2012 { ac_try
='test -z "$ac_c_werror_flag"
2013 || test ! -s conftest.err'
2014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2018 (exit $ac_status); }; } &&
2019 { ac_try
='test -s conftest.$ac_objext'
2020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2024 (exit $ac_status); }; }; then
2027 echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.
$ac_ext >&5
2032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2035 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2036 if test "$ac_test_CFLAGS" = set; then
2037 CFLAGS
=$ac_save_CFLAGS
2038 elif test $ac_cv_prog_cc_g = yes; then
2039 if test "$GCC" = yes; then
2045 if test "$GCC" = yes; then
2051 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2052 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2053 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 ac_cv_prog_cc_stdc
=no
2058 cat >conftest.
$ac_ext <<_ACEOF
2061 cat confdefs.h
>>conftest.
$ac_ext
2062 cat >>conftest.
$ac_ext <<_ACEOF
2063 /* end confdefs.h. */
2066 #include <sys/types.h>
2067 #include <sys/stat.h>
2068 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2069 struct buf { int x; };
2070 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2071 static char *e (p, i)
2077 static char *f (char * (*g) (char **, int), char **p, ...)
2082 s = g (p, va_arg (v,int));
2087 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2088 function prototypes and stuff, but not '\xHH' hex character constants.
2089 These don't provoke an error unfortunately, instead are silently treated
2090 as 'x'. The following induces an error, until -std1 is added to get
2091 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2092 array size at least. It's necessary to write '\x00'==0 to get something
2093 that's true only with -std1. */
2094 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2096 int test (int i, double x);
2097 struct s1 {int (*f) (int a);};
2098 struct s2 {int (*f) (double a);};
2099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2110 # Don't try gcc -ansi; that turns off useful extensions and
2111 # breaks some systems' header files.
2112 # AIX -qlanglvl=ansi
2113 # Ultrix and OSF/1 -std1
2114 # HP-UX 10.20 and later -Ae
2115 # HP-UX older versions -Aa -D_HPUX_SOURCE
2116 # SVR4 -Xc -D__EXTENSIONS__
2117 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2119 CC
="$ac_save_CC $ac_arg"
2120 rm -f conftest.
$ac_objext
2121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2122 (eval $ac_compile) 2>conftest.er1
2124 grep -v '^ *+' conftest.er1
>conftest.err
2126 cat conftest.err
>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); } &&
2129 { ac_try
='test -z "$ac_c_werror_flag"
2130 || test ! -s conftest.err'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; } &&
2136 { ac_try
='test -s conftest.$ac_objext'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; }; then
2142 ac_cv_prog_cc_stdc
=$ac_arg
2145 echo "$as_me: failed program was:" >&5
2146 sed 's/^/| /' conftest.
$ac_ext >&5
2149 rm -f conftest.err conftest.
$ac_objext
2151 rm -f conftest.
$ac_ext conftest.
$ac_objext
2156 case "x$ac_cv_prog_cc_stdc" in
2158 echo "$as_me:$LINENO: result: none needed" >&5
2159 echo "${ECHO_T}none needed" >&6 ;;
2161 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2162 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2163 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2166 # Some people use a C++ compiler to compile C. Since we use `exit',
2167 # in C++ we need to declare it. In case someone uses the same compiler
2168 # for both compiling C and C++ we need to have the C++ compiler decide
2169 # the declaration of exit, since it's the most demanding environment.
2170 cat >conftest.
$ac_ext <<_ACEOF
2175 rm -f conftest.
$ac_objext
2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2177 (eval $ac_compile) 2>conftest.er1
2179 grep -v '^ *+' conftest.er1
>conftest.err
2181 cat conftest.err
>&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); } &&
2184 { ac_try
='test -z "$ac_c_werror_flag"
2185 || test ! -s conftest.err'
2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; } &&
2191 { ac_try
='test -s conftest.$ac_objext'
2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }; }; then
2197 for ac_declaration
in \
2199 'extern "C" void std::exit (int) throw (); using std::exit;' \
2200 'extern "C" void std::exit (int); using std::exit;' \
2201 'extern "C" void exit (int) throw ();' \
2202 'extern "C" void exit (int);' \
2205 cat >conftest.
$ac_ext <<_ACEOF
2208 cat confdefs.h
>>conftest.
$ac_ext
2209 cat >>conftest.
$ac_ext <<_ACEOF
2210 /* end confdefs.h. */
2221 rm -f conftest.
$ac_objext
2222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223 (eval $ac_compile) 2>conftest.er1
2225 grep -v '^ *+' conftest.er1
>conftest.err
2227 cat conftest.err
>&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); } &&
2230 { ac_try
='test -z "$ac_c_werror_flag"
2231 || test ! -s conftest.err'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; } &&
2237 { ac_try
='test -s conftest.$ac_objext'
2238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }; }; then
2245 echo "$as_me: failed program was:" >&5
2246 sed 's/^/| /' conftest.
$ac_ext >&5
2250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2251 cat >conftest.
$ac_ext <<_ACEOF
2254 cat confdefs.h
>>conftest.
$ac_ext
2255 cat >>conftest.
$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2266 rm -f conftest.
$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2270 grep -v '^ *+' conftest.er1
>conftest.err
2272 cat conftest.err
>&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try
='test -z "$ac_c_werror_flag"
2276 || test ! -s conftest.err'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; } &&
2282 { ac_try
='test -s conftest.$ac_objext'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; }; then
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.
$ac_ext >&5
2294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2297 if test -n "$ac_declaration"; then
2298 echo '#ifdef __cplusplus' >>confdefs.h
2299 echo $ac_declaration >>confdefs.h
2300 echo '#endif' >>confdefs.h
2304 echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.
$ac_ext >&5
2308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2310 ac_cpp
='$CPP $CPPFLAGS'
2311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2315 if test -n "$ac_tool_prefix"; then
2316 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2317 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2318 echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320 if test "${ac_cv_prog_RANLIB+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 if test -n "$RANLIB"; then
2324 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir
=.
2331 for ac_exec_ext
in '' $ac_executable_extensions; do
2332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 RANLIB
=$ac_cv_prog_RANLIB
2343 if test -n "$RANLIB"; then
2344 echo "$as_me:$LINENO: result: $RANLIB" >&5
2345 echo "${ECHO_T}$RANLIB" >&6
2347 echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2352 if test -z "$ac_cv_prog_RANLIB"; then
2353 ac_ct_RANLIB
=$RANLIB
2354 # Extract the first word of "ranlib", so it can be a program name with args.
2355 set dummy ranlib
; ac_word
=$2
2356 echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_RANLIB"; then
2362 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir
=.
2369 for ac_exec_ext
in '' $ac_executable_extensions; do
2370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2381 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2382 if test -n "$ac_ct_RANLIB"; then
2383 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2384 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2390 RANLIB
=$ac_ct_RANLIB
2392 RANLIB
="$ac_cv_prog_RANLIB"
2396 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2397 for ac_prog
in aclocal
2399 # Extract the first word of "$ac_prog", so it can be a program name with args.
2400 set dummy
$ac_prog; ac_word
=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 if test -n "$ACLOCAL"; then
2407 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir
=.
2414 for ac_exec_ext
in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_ACLOCAL
="$ac_prog"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2425 ACLOCAL
=$ac_cv_prog_ACLOCAL
2426 if test -n "$ACLOCAL"; then
2427 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2428 echo "${ECHO_T}$ACLOCAL" >&6
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2434 test -n "$ACLOCAL" && break
2436 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2438 for ac_prog
in autoconf
2440 # Extract the first word of "$ac_prog", so it can be a program name with args.
2441 set dummy
$ac_prog; ac_word
=$2
2442 echo "$as_me:$LINENO: checking for $ac_word" >&5
2443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2444 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2447 if test -n "$AUTOCONF"; then
2448 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2454 test -z "$as_dir" && as_dir
=.
2455 for ac_exec_ext
in '' $ac_executable_extensions; do
2456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 ac_cv_prog_AUTOCONF
="$ac_prog"
2458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2466 AUTOCONF
=$ac_cv_prog_AUTOCONF
2467 if test -n "$AUTOCONF"; then
2468 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2469 echo "${ECHO_T}$AUTOCONF" >&6
2471 echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6
2475 test -n "$AUTOCONF" && break
2477 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2479 for ac_prog
in autoheader
2481 # Extract the first word of "$ac_prog", so it can be a program name with args.
2482 set dummy
$ac_prog; ac_word
=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$AUTOHEADER"; then
2489 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_AUTOHEADER
="$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2508 if test -n "$AUTOHEADER"; then
2509 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2510 echo "${ECHO_T}$AUTOHEADER" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2516 test -n "$AUTOHEADER" && break
2518 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2521 # Figure out what compiler warnings we can enable.
2522 # See config/warnings.m4 for details.
2526 save_CFLAGS
="$CFLAGS"
2527 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2528 -Wmissing-prototypes -Wold-style-definition \
2529 -Wmissing-format-attribute -Wcast-qual; do
2530 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2532 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2533 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2534 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 cat >conftest.
$ac_ext <<_ACEOF
2541 cat confdefs.h
>>conftest.
$ac_ext
2542 cat >>conftest.
$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 rm -f conftest.
$ac_objext
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>conftest.er1
2557 grep -v '^ *+' conftest.er1
>conftest.err
2559 cat conftest.err
>&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); } &&
2562 { ac_try
='test -z "$ac_c_werror_flag"
2563 || test ! -s conftest.err'
2564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }; } &&
2569 { ac_try
='test -s conftest.$ac_objext'
2570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574 (exit $ac_status); }; }; then
2575 eval "$as_acx_Woption=yes"
2577 echo "$as_me: failed program was:" >&5
2578 sed 's/^/| /' conftest.
$ac_ext >&5
2580 eval "$as_acx_Woption=no"
2582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2585 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2586 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2587 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2588 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2592 CFLAGS
="$save_CFLAGS"
2595 if test "$GCC" = yes; then
2596 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2597 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2598 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2601 save_CFLAGS
="$CFLAGS"
2602 CFLAGS
="-pedantic -Wno-long-long"
2603 cat >conftest.
$ac_ext <<_ACEOF
2606 cat confdefs.h
>>conftest.
$ac_ext
2607 cat >>conftest.
$ac_ext <<_ACEOF
2608 /* end confdefs.h. */
2618 rm -f conftest.
$ac_objext
2619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620 (eval $ac_compile) 2>conftest.er1
2622 grep -v '^ *+' conftest.er1
>conftest.err
2624 cat conftest.err
>&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); } &&
2627 { ac_try
='test -z "$ac_c_werror_flag"
2628 || test ! -s conftest.err'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; } &&
2634 { ac_try
='test -s conftest.$ac_objext'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2640 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.
$ac_ext >&5
2645 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2648 CFLAGS
="$save_CFLAGS"
2650 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2651 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2652 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2653 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2661 # Only enable with --enable-werror-always until existing warnings are
2664 # Check whether --enable-werror-always or --disable-werror-always was given.
2665 if test "${enable_werror_always+set}" = set; then
2666 enableval
="$enable_werror_always"
2669 enable_werror_always
=no
2671 if test $enable_werror_always = yes; then
2672 WERROR
="$WERROR${WERROR:+ }-Werror"
2678 # Checks for header files.
2680 ac_cpp
='$CPP $CPPFLAGS'
2681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2684 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2685 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2686 # On Suns, sometimes $CPP names a directory.
2687 if test -n "$CPP" && test -d "$CPP"; then
2690 if test -z "$CPP"; then
2691 if test "${ac_cv_prog_CPP+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 # Double quotes because CPP needs to be expanded
2695 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2698 for ac_c_preproc_warn_flag
in '' yes
2700 # Use a header file that comes with gcc, so configuring glibc
2701 # with a fresh cross-compiler works.
2702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2703 # <limits.h> exists even on freestanding compilers.
2704 # On the NeXT, cc -E runs the code through the compiler's parser,
2705 # not just through cpp. "Syntax error" is here to catch this case.
2706 cat >conftest.
$ac_ext <<_ACEOF
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2713 # include <limits.h>
2715 # include <assert.h>
2719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2720 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2722 grep -v '^ *+' conftest.er1
>conftest.err
2724 cat conftest.err
>&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); } >/dev
/null
; then
2727 if test -s conftest.err
; then
2728 ac_cpp_err
=$ac_c_preproc_warn_flag
2729 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2736 if test -z "$ac_cpp_err"; then
2739 echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.
$ac_ext >&5
2742 # Broken: fails on valid input.
2745 rm -f conftest.err conftest.
$ac_ext
2747 # OK, works on sane cases. Now check whether non-existent headers
2748 # can be detected and how.
2749 cat >conftest.
$ac_ext <<_ACEOF
2752 cat confdefs.h
>>conftest.
$ac_ext
2753 cat >>conftest.
$ac_ext <<_ACEOF
2754 /* end confdefs.h. */
2755 #include <ac_nonexistent.h>
2757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2760 grep -v '^ *+' conftest.er1
>conftest.err
2762 cat conftest.err
>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } >/dev
/null
; then
2765 if test -s conftest.err
; then
2766 ac_cpp_err
=$ac_c_preproc_warn_flag
2767 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2774 if test -z "$ac_cpp_err"; then
2775 # Broken: success on invalid input.
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.
$ac_ext >&5
2781 # Passes both tests.
2785 rm -f conftest.err conftest.
$ac_ext
2788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2789 rm -f conftest.err conftest.
$ac_ext
2790 if $ac_preproc_ok; then
2802 echo "$as_me:$LINENO: result: $CPP" >&5
2803 echo "${ECHO_T}$CPP" >&6
2805 for ac_c_preproc_warn_flag
in '' yes
2807 # Use a header file that comes with gcc, so configuring glibc
2808 # with a fresh cross-compiler works.
2809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2810 # <limits.h> exists even on freestanding compilers.
2811 # On the NeXT, cc -E runs the code through the compiler's parser,
2812 # not just through cpp. "Syntax error" is here to catch this case.
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2820 # include <limits.h>
2822 # include <assert.h>
2826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2827 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2829 grep -v '^ *+' conftest.er1
>conftest.err
2831 cat conftest.err
>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } >/dev
/null
; then
2834 if test -s conftest.err
; then
2835 ac_cpp_err
=$ac_c_preproc_warn_flag
2836 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2843 if test -z "$ac_cpp_err"; then
2846 echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.
$ac_ext >&5
2849 # Broken: fails on valid input.
2852 rm -f conftest.err conftest.
$ac_ext
2854 # OK, works on sane cases. Now check whether non-existent headers
2855 # can be detected and how.
2856 cat >conftest.
$ac_ext <<_ACEOF
2859 cat confdefs.h
>>conftest.
$ac_ext
2860 cat >>conftest.
$ac_ext <<_ACEOF
2861 /* end confdefs.h. */
2862 #include <ac_nonexistent.h>
2864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2867 grep -v '^ *+' conftest.er1
>conftest.err
2869 cat conftest.err
>&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); } >/dev
/null
; then
2872 if test -s conftest.err
; then
2873 ac_cpp_err
=$ac_c_preproc_warn_flag
2874 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2881 if test -z "$ac_cpp_err"; then
2882 # Broken: success on invalid input.
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.
$ac_ext >&5
2888 # Passes both tests.
2892 rm -f conftest.err conftest.
$ac_ext
2895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2896 rm -f conftest.err conftest.
$ac_ext
2897 if $ac_preproc_ok; then
2900 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2901 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2903 See \`config.log' for more details." >&5
2904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2905 See \`config.log' for more details." >&2;}
2906 { (exit 1); exit 1; }; }; }
2910 ac_cpp
='$CPP $CPPFLAGS'
2911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2916 echo "$as_me:$LINENO: checking for egrep" >&5
2917 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2918 if test "${ac_cv_prog_egrep+set}" = set; then
2919 echo $ECHO_N "(cached) $ECHO_C" >&6
2921 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2922 then ac_cv_prog_egrep
='grep -E'
2923 else ac_cv_prog_egrep
='egrep'
2926 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2927 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2928 EGREP
=$ac_cv_prog_egrep
2931 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2932 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2933 if test "${ac_cv_header_stdc+set}" = set; then
2934 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 cat >conftest.
$ac_ext <<_ACEOF
2939 cat confdefs.h
>>conftest.
$ac_ext
2940 cat >>conftest.
$ac_ext <<_ACEOF
2941 /* end confdefs.h. */
2955 rm -f conftest.
$ac_objext
2956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2957 (eval $ac_compile) 2>conftest.er1
2959 grep -v '^ *+' conftest.er1
>conftest.err
2961 cat conftest.err
>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } &&
2964 { ac_try
='test -z "$ac_c_werror_flag"
2965 || test ! -s conftest.err'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; } &&
2971 { ac_try
='test -s conftest.$ac_objext'
2972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); }; }; then
2977 ac_cv_header_stdc
=yes
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.
$ac_ext >&5
2982 ac_cv_header_stdc
=no
2984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2986 if test $ac_cv_header_stdc = yes; then
2987 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2988 cat >conftest.
$ac_ext <<_ACEOF
2991 cat confdefs.h
>>conftest.
$ac_ext
2992 cat >>conftest.
$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
2997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2998 $EGREP "memchr" >/dev
/null
2>&1; then
3001 ac_cv_header_stdc
=no
3007 if test $ac_cv_header_stdc = yes; then
3008 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3009 cat >conftest.
$ac_ext <<_ACEOF
3012 cat confdefs.h
>>conftest.
$ac_ext
3013 cat >>conftest.
$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3019 $EGREP "free" >/dev
/null
2>&1; then
3022 ac_cv_header_stdc
=no
3028 if test $ac_cv_header_stdc = yes; then
3029 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3030 if test "$cross_compiling" = yes; then
3033 cat >conftest.
$ac_ext <<_ACEOF
3036 cat confdefs.h
>>conftest.
$ac_ext
3037 cat >>conftest.
$ac_ext <<_ACEOF
3038 /* end confdefs.h. */
3040 #if ((' ' & 0x0FF) == 0x020)
3041 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3042 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3044 # define ISLOWER(c) \
3045 (('a' <= (c) && (c) <= 'i') \
3046 || ('j' <= (c) && (c) <= 'r') \
3047 || ('s' <= (c) && (c) <= 'z'))
3048 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3051 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3056 for (i = 0; i < 256; i++)
3057 if (XOR (islower (i), ISLOWER (i))
3058 || toupper (i) != TOUPPER (i))
3063 rm -f conftest
$ac_exeext
3064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3065 (eval $ac_link) 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; }; then
3076 echo "$as_me: program exited with status $ac_status" >&5
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.
$ac_ext >&5
3081 ac_cv_header_stdc
=no
3083 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3087 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3088 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3089 if test $ac_cv_header_stdc = yes; then
3091 cat >>confdefs.h
<<\_ACEOF
3092 #define STDC_HEADERS 1
3097 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3107 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3108 inttypes.h stdint.h unistd.h
3110 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3111 echo "$as_me:$LINENO: checking for $ac_header" >&5
3112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 cat >conftest.
$ac_ext <<_ACEOF
3119 cat confdefs.h
>>conftest.
$ac_ext
3120 cat >>conftest.
$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3122 $ac_includes_default
3124 #include <$ac_header>
3126 rm -f conftest.
$ac_objext
3127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3128 (eval $ac_compile) 2>conftest.er1
3130 grep -v '^ *+' conftest.er1
>conftest.err
3132 cat conftest.err
>&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); } &&
3135 { ac_try
='test -z "$ac_c_werror_flag"
3136 || test ! -s conftest.err'
3137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); }; } &&
3142 { ac_try
='test -s conftest.$ac_objext'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; }; then
3148 eval "$as_ac_Header=yes"
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.
$ac_ext >&5
3153 eval "$as_ac_Header=no"
3155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3160 cat >>confdefs.h
<<_ACEOF
3161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3173 for ac_header
in ctype.h stddef.h string.h stdio.h
3175 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3177 echo "$as_me:$LINENO: checking for $ac_header" >&5
3178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3180 echo $ECHO_N "(cached) $ECHO_C" >&6
3182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3185 # Is the header compilable?
3186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3188 cat >conftest.
$ac_ext <<_ACEOF
3191 cat confdefs.h
>>conftest.
$ac_ext
3192 cat >>conftest.
$ac_ext <<_ACEOF
3193 /* end confdefs.h. */
3194 $ac_includes_default
3195 #include <$ac_header>
3197 rm -f conftest.
$ac_objext
3198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3199 (eval $ac_compile) 2>conftest.er1
3201 grep -v '^ *+' conftest.er1
>conftest.err
3203 cat conftest.err
>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } &&
3206 { ac_try
='test -z "$ac_c_werror_flag"
3207 || test ! -s conftest.err'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; } &&
3213 { ac_try
='test -s conftest.$ac_objext'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; }; then
3219 ac_header_compiler
=yes
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.
$ac_ext >&5
3224 ac_header_compiler
=no
3226 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3228 echo "${ECHO_T}$ac_header_compiler" >&6
3230 # Is the header present?
3231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3233 cat >conftest.
$ac_ext <<_ACEOF
3236 cat confdefs.h
>>conftest.
$ac_ext
3237 cat >>conftest.
$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <$ac_header>
3241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3242 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1
>conftest.err
3246 cat conftest.err
>&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } >/dev
/null
; then
3249 if test -s conftest.err
; then
3250 ac_cpp_err
=$ac_c_preproc_warn_flag
3251 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3258 if test -z "$ac_cpp_err"; then
3259 ac_header_preproc
=yes
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.
$ac_ext >&5
3264 ac_header_preproc
=no
3266 rm -f conftest.err conftest.
$ac_ext
3267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3268 echo "${ECHO_T}$ac_header_preproc" >&6
3270 # So? What about this header?
3271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3277 ac_header_preproc
=yes
3280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3294 ## ----------------------------------- ##
3295 ## Report this to gcc-bugs@gcc.gnu.org ##
3296 ## ----------------------------------- ##
3299 sed "s/^/$as_me: WARNING: /" >&2
3302 echo "$as_me:$LINENO: checking for $ac_header" >&5
3303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 eval "$as_ac_Header=\$ac_header_preproc"
3309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3314 cat >>confdefs.h
<<_ACEOF
3315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3324 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3326 acx_cv_header_stdint
=stddef.h
3327 acx_cv_header_stdint_kind
="(already complete)"
3328 for i
in stdint.h
$inttype_headers; do
3329 unset ac_cv_type_uintptr_t
3330 unset ac_cv_type_uintmax_t
3331 unset ac_cv_type_int_least32_t
3332 unset ac_cv_type_int_fast32_t
3333 unset ac_cv_type_uint64_t
3334 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
3335 echo "$as_me:$LINENO: checking for uintmax_t" >&5
3336 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
3337 if test "${ac_cv_type_uintmax_t+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 cat >conftest.
$ac_ext <<_ACEOF
3343 cat confdefs.h
>>conftest.
$ac_ext
3344 cat >>conftest.
$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3346 #include <sys/types.h>
3352 if ((uintmax_t *) 0)
3354 if (sizeof (uintmax_t))
3360 rm -f conftest.
$ac_objext
3361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3362 (eval $ac_compile) 2>conftest.er1
3364 grep -v '^ *+' conftest.er1
>conftest.err
3366 cat conftest.err
>&5
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); } &&
3369 { ac_try
='test -z "$ac_c_werror_flag"
3370 || test ! -s conftest.err'
3371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); }; } &&
3376 { ac_try
='test -s conftest.$ac_objext'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; }; then
3382 ac_cv_type_uintmax_t
=yes
3384 echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.
$ac_ext >&5
3387 ac_cv_type_uintmax_t
=no
3389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3391 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
3392 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
3393 if test $ac_cv_type_uintmax_t = yes; then
3394 acx_cv_header_stdint
=$i
3399 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3400 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3401 if test "${ac_cv_type_uintptr_t+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3404 cat >conftest.
$ac_ext <<_ACEOF
3407 cat confdefs.h
>>conftest.
$ac_ext
3408 cat >>conftest.
$ac_ext <<_ACEOF
3409 /* end confdefs.h. */
3410 #include <sys/types.h>
3416 if ((uintptr_t *) 0)
3418 if (sizeof (uintptr_t))
3424 rm -f conftest.
$ac_objext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 (eval $ac_compile) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1
>conftest.err
3430 cat conftest.err
>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try
='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try
='test -s conftest.$ac_objext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 ac_cv_type_uintptr_t
=yes
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.
$ac_ext >&5
3451 ac_cv_type_uintptr_t
=no
3453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3455 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3456 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3457 if test $ac_cv_type_uintptr_t = yes; then
3460 acx_cv_header_stdint_kind
="(mostly complete)"
3463 echo "$as_me:$LINENO: checking for int_least32_t" >&5
3464 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
3465 if test "${ac_cv_type_int_least32_t+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 cat >conftest.
$ac_ext <<_ACEOF
3471 cat confdefs.h
>>conftest.
$ac_ext
3472 cat >>conftest.
$ac_ext <<_ACEOF
3473 /* end confdefs.h. */
3474 #include <sys/types.h>
3480 if ((int_least32_t *) 0)
3482 if (sizeof (int_least32_t))
3488 rm -f conftest.
$ac_objext
3489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3490 (eval $ac_compile) 2>conftest.er1
3492 grep -v '^ *+' conftest.er1
>conftest.err
3494 cat conftest.err
>&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } &&
3497 { ac_try
='test -z "$ac_c_werror_flag"
3498 || test ! -s conftest.err'
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); }; } &&
3504 { ac_try
='test -s conftest.$ac_objext'
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; }; then
3510 ac_cv_type_int_least32_t
=yes
3512 echo "$as_me: failed program was:" >&5
3513 sed 's/^/| /' conftest.
$ac_ext >&5
3515 ac_cv_type_int_least32_t
=no
3517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3519 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
3520 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
3521 if test $ac_cv_type_int_least32_t = yes; then
3524 acx_cv_header_stdint_kind
="(mostly complete)"
3527 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
3528 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
3529 if test "${ac_cv_type_int_fast32_t+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 cat >conftest.
$ac_ext <<_ACEOF
3535 cat confdefs.h
>>conftest.
$ac_ext
3536 cat >>conftest.
$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3538 #include <sys/types.h>
3544 if ((int_fast32_t *) 0)
3546 if (sizeof (int_fast32_t))
3552 rm -f conftest.
$ac_objext
3553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3554 (eval $ac_compile) 2>conftest.er1
3556 grep -v '^ *+' conftest.er1
>conftest.err
3558 cat conftest.err
>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } &&
3561 { ac_try
='test -z "$ac_c_werror_flag"
3562 || test ! -s conftest.err'
3563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); }; } &&
3568 { ac_try
='test -s conftest.$ac_objext'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; }; then
3574 ac_cv_type_int_fast32_t
=yes
3576 echo "$as_me: failed program was:" >&5
3577 sed 's/^/| /' conftest.
$ac_ext >&5
3579 ac_cv_type_int_fast32_t
=no
3581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3583 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
3584 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
3585 if test $ac_cv_type_int_fast32_t = yes; then
3588 acx_cv_header_stdint_kind
="(mostly complete)"
3591 echo "$as_me:$LINENO: checking for uint64_t" >&5
3592 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3593 if test "${ac_cv_type_uint64_t+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 cat >conftest.
$ac_ext <<_ACEOF
3599 cat confdefs.h
>>conftest.
$ac_ext
3600 cat >>conftest.
$ac_ext <<_ACEOF
3601 /* end confdefs.h. */
3602 #include <sys/types.h>
3610 if (sizeof (uint64_t))
3616 rm -f conftest.
$ac_objext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618 (eval $ac_compile) 2>conftest.er1
3620 grep -v '^ *+' conftest.er1
>conftest.err
3622 cat conftest.err
>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try
='test -z "$ac_c_werror_flag"
3626 || test ! -s conftest.err'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; } &&
3632 { ac_try
='test -s conftest.$ac_objext'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; }; then
3638 ac_cv_type_uint64_t
=yes
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.
$ac_ext >&5
3643 ac_cv_type_uint64_t
=no
3645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3647 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3648 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3649 if test $ac_cv_type_uint64_t = yes; then
3652 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3657 if test "$acx_cv_header_stdint" = stddef.h
; then
3658 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
3659 for i
in stdint.h
$inttype_headers; do
3660 unset ac_cv_type_uintptr_t
3661 unset ac_cv_type_uint32_t
3662 unset ac_cv_type_uint64_t
3663 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
3664 echo "$as_me:$LINENO: checking for uint32_t" >&5
3665 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3666 if test "${ac_cv_type_uint32_t+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 cat >conftest.
$ac_ext <<_ACEOF
3672 cat confdefs.h
>>conftest.
$ac_ext
3673 cat >>conftest.
$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3675 #include <sys/types.h>
3683 if (sizeof (uint32_t))
3689 rm -f conftest.
$ac_objext
3690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3691 (eval $ac_compile) 2>conftest.er1
3693 grep -v '^ *+' conftest.er1
>conftest.err
3695 cat conftest.err
>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } &&
3698 { ac_try
='test -z "$ac_c_werror_flag"
3699 || test ! -s conftest.err'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; } &&
3705 { ac_try
='test -s conftest.$ac_objext'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; }; then
3711 ac_cv_type_uint32_t
=yes
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.
$ac_ext >&5
3716 ac_cv_type_uint32_t
=no
3718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3720 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
3721 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3722 if test $ac_cv_type_uint32_t = yes; then
3723 acx_cv_header_stdint
=$i
3728 echo "$as_me:$LINENO: checking for uint64_t" >&5
3729 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3730 if test "${ac_cv_type_uint64_t+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 cat >conftest.
$ac_ext <<_ACEOF
3736 cat confdefs.h
>>conftest.
$ac_ext
3737 cat >>conftest.
$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3739 #include <sys/types.h>
3747 if (sizeof (uint64_t))
3753 rm -f conftest.
$ac_objext
3754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3755 (eval $ac_compile) 2>conftest.er1
3757 grep -v '^ *+' conftest.er1
>conftest.err
3759 cat conftest.err
>&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); } &&
3762 { ac_try
='test -z "$ac_c_werror_flag"
3763 || test ! -s conftest.err'
3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); }; } &&
3769 { ac_try
='test -s conftest.$ac_objext'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; }; then
3775 ac_cv_type_uint64_t
=yes
3777 echo "$as_me: failed program was:" >&5
3778 sed 's/^/| /' conftest.
$ac_ext >&5
3780 ac_cv_type_uint64_t
=no
3782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3784 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3785 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3787 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3788 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3789 if test "${ac_cv_type_uintptr_t+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 cat >conftest.
$ac_ext <<_ACEOF
3795 cat confdefs.h
>>conftest.
$ac_ext
3796 cat >>conftest.
$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3798 #include <sys/types.h>
3804 if ((uintptr_t *) 0)
3806 if (sizeof (uintptr_t))
3812 rm -f conftest.
$ac_objext
3813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3814 (eval $ac_compile) 2>conftest.er1
3816 grep -v '^ *+' conftest.er1
>conftest.err
3818 cat conftest.err
>&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); } &&
3821 { ac_try
='test -z "$ac_c_werror_flag"
3822 || test ! -s conftest.err'
3823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); }; } &&
3828 { ac_try
='test -s conftest.$ac_objext'
3829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }; }; then
3834 ac_cv_type_uintptr_t
=yes
3836 echo "$as_me: failed program was:" >&5
3837 sed 's/^/| /' conftest.
$ac_ext >&5
3839 ac_cv_type_uintptr_t
=no
3841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3843 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3844 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3849 if test "$acx_cv_header_stdint" = stddef.h
; then
3850 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3851 for i
in sys
/types.h
$inttype_headers; do
3852 unset ac_cv_type_u_int32_t
3853 unset ac_cv_type_u_int64_t
3854 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
3855 echo "$as_me:$LINENO: checking for u_int32_t" >&5
3856 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3857 if test "${ac_cv_type_u_int32_t+set}" = set; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 cat >conftest.
$ac_ext <<_ACEOF
3863 cat confdefs.h
>>conftest.
$ac_ext
3864 cat >>conftest.
$ac_ext <<_ACEOF
3865 /* end confdefs.h. */
3866 #include <sys/types.h>
3872 if ((u_int32_t *) 0)
3874 if (sizeof (u_int32_t))
3880 rm -f conftest.
$ac_objext
3881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3882 (eval $ac_compile) 2>conftest.er1
3884 grep -v '^ *+' conftest.er1
>conftest.err
3886 cat conftest.err
>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } &&
3889 { ac_try
='test -z "$ac_c_werror_flag"
3890 || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try
='test -s conftest.$ac_objext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3902 ac_cv_type_u_int32_t
=yes
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.
$ac_ext >&5
3907 ac_cv_type_u_int32_t
=no
3909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3911 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
3912 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3913 if test $ac_cv_type_u_int32_t = yes; then
3914 acx_cv_header_stdint
=$i
3919 echo "$as_me:$LINENO: checking for u_int64_t" >&5
3920 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3921 if test "${ac_cv_type_u_int64_t+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 cat >conftest.
$ac_ext <<_ACEOF
3927 cat confdefs.h
>>conftest.
$ac_ext
3928 cat >>conftest.
$ac_ext <<_ACEOF
3929 /* end confdefs.h. */
3930 #include <sys/types.h>
3936 if ((u_int64_t *) 0)
3938 if (sizeof (u_int64_t))
3944 rm -f conftest.
$ac_objext
3945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3946 (eval $ac_compile) 2>conftest.er1
3948 grep -v '^ *+' conftest.er1
>conftest.err
3950 cat conftest.err
>&5
3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952 (exit $ac_status); } &&
3953 { ac_try
='test -z "$ac_c_werror_flag"
3954 || test ! -s conftest.err'
3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); }; } &&
3960 { ac_try
='test -s conftest.$ac_objext'
3961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); }; }; then
3966 ac_cv_type_u_int64_t
=yes
3968 echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.
$ac_ext >&5
3971 ac_cv_type_u_int64_t
=no
3973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3975 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
3976 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3981 if test "$acx_cv_header_stdint" = stddef.h
; then
3982 acx_cv_header_stdint_kind
="(using manual detection)"
3985 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
3986 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
3987 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
3988 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
3989 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
3991 # ----------------- Summarize what we found so far
3993 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
3994 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
3996 case `$as_basename gstdint.h ||
3997 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
3998 Xgstdint.h : 'X\(//\)$' \| \
3999 Xgstdint.h : 'X\(/\)$' \| \
4000 . : '\(.\)' 2>/dev/null ||
4002 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4003 /^X\/\(\/\/\)$/{ s//\1/; q; }
4004 /^X\/\(\/\).*/{ s//\1/; q; }
4006 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
4007 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4008 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
4009 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4013 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4014 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
4016 # ----------------- done included file, check C basic types --------
4018 # Lacking an uintptr_t? Test size of void *
4019 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4020 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
4021 echo $ECHO_N "checking for void *... $ECHO_C" >&6
4022 if test "${ac_cv_type_void_p+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 cat >conftest.
$ac_ext <<_ACEOF
4028 cat confdefs.h
>>conftest.
$ac_ext
4029 cat >>conftest.
$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4031 $ac_includes_default
4037 if (sizeof (void *))
4043 rm -f conftest.
$ac_objext
4044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4045 (eval $ac_compile) 2>conftest.er1
4047 grep -v '^ *+' conftest.er1
>conftest.err
4049 cat conftest.err
>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } &&
4052 { ac_try
='test -z "$ac_c_werror_flag"
4053 || test ! -s conftest.err'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; } &&
4059 { ac_try
='test -s conftest.$ac_objext'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 ac_cv_type_void_p
=yes
4067 echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.
$ac_ext >&5
4070 ac_cv_type_void_p
=no
4072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4074 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
4075 echo "${ECHO_T}$ac_cv_type_void_p" >&6
4077 echo "$as_me:$LINENO: checking size of void *" >&5
4078 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
4079 if test "${ac_cv_sizeof_void_p+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test "$ac_cv_type_void_p" = yes; then
4083 # The cast to unsigned long works around a bug in the HP C Compiler
4084 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4085 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4086 # This bug is HP SR number 8606223364.
4087 if test "$cross_compiling" = yes; then
4088 # Depending upon the size, compute the lo and hi bounds.
4089 cat >conftest.
$ac_ext <<_ACEOF
4092 cat confdefs.h
>>conftest.
$ac_ext
4093 cat >>conftest.
$ac_ext <<_ACEOF
4094 /* end confdefs.h. */
4095 $ac_includes_default
4099 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
4106 rm -f conftest.
$ac_objext
4107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4108 (eval $ac_compile) 2>conftest.er1
4110 grep -v '^ *+' conftest.er1
>conftest.err
4112 cat conftest.err
>&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } &&
4115 { ac_try
='test -z "$ac_c_werror_flag"
4116 || test ! -s conftest.err'
4117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); }; } &&
4122 { ac_try
='test -s conftest.$ac_objext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; }; then
4130 cat >conftest.
$ac_ext <<_ACEOF
4133 cat confdefs.h
>>conftest.
$ac_ext
4134 cat >>conftest.
$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4136 $ac_includes_default
4140 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4147 rm -f conftest.
$ac_objext
4148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4149 (eval $ac_compile) 2>conftest.er1
4151 grep -v '^ *+' conftest.er1
>conftest.err
4153 cat conftest.err
>&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); } &&
4156 { ac_try
='test -z "$ac_c_werror_flag"
4157 || test ! -s conftest.err'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; } &&
4163 { ac_try
='test -s conftest.$ac_objext'
4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; }; then
4169 ac_hi
=$ac_mid; break
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4174 ac_lo
=`expr $ac_mid + 1`
4175 if test $ac_lo -le $ac_mid; then
4179 ac_mid
=`expr 2 '*' $ac_mid + 1`
4181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4184 echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.
$ac_ext >&5
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4193 $ac_includes_default
4197 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
4204 rm -f conftest.
$ac_objext
4205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4206 (eval $ac_compile) 2>conftest.er1
4208 grep -v '^ *+' conftest.er1
>conftest.err
4210 cat conftest.err
>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } &&
4213 { ac_try
='test -z "$ac_c_werror_flag"
4214 || test ! -s conftest.err'
4215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }; } &&
4220 { ac_try
='test -s conftest.$ac_objext'
4221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; }; then
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4234 $ac_includes_default
4238 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
4245 rm -f conftest.
$ac_objext
4246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4247 (eval $ac_compile) 2>conftest.er1
4249 grep -v '^ *+' conftest.er1
>conftest.err
4251 cat conftest.err
>&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); } &&
4254 { ac_try
='test -z "$ac_c_werror_flag"
4255 || test ! -s conftest.err'
4256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); }; } &&
4261 { ac_try
='test -s conftest.$ac_objext'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; }; then
4267 ac_lo
=$ac_mid; break
4269 echo "$as_me: failed program was:" >&5
4270 sed 's/^/| /' conftest.
$ac_ext >&5
4272 ac_hi
=`expr '(' $ac_mid ')' - 1`
4273 if test $ac_mid -le $ac_hi; then
4277 ac_mid
=`expr 2 '*' $ac_mid`
4279 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.
$ac_ext >&5
4287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4290 # Binary search between lo and hi bounds.
4291 while test "x$ac_lo" != "x$ac_hi"; do
4292 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4293 cat >conftest.
$ac_ext <<_ACEOF
4296 cat confdefs.h
>>conftest.
$ac_ext
4297 cat >>conftest.
$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4299 $ac_includes_default
4303 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4310 rm -f conftest.
$ac_objext
4311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4312 (eval $ac_compile) 2>conftest.er1
4314 grep -v '^ *+' conftest.er1
>conftest.err
4316 cat conftest.err
>&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); } &&
4319 { ac_try
='test -z "$ac_c_werror_flag"
4320 || test ! -s conftest.err'
4321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325 (exit $ac_status); }; } &&
4326 { ac_try
='test -s conftest.$ac_objext'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; }; then
4334 echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.
$ac_ext >&5
4337 ac_lo
=`expr '(' $ac_mid ')' + 1`
4339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4342 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
4343 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4344 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4345 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4346 See \`config.log' for more details." >&5
4347 echo "$as_me: error: cannot compute sizeof (void *), 77
4348 See \`config.log' for more details." >&2;}
4349 { (exit 1); exit 1; }; }; } ;;
4352 if test "$cross_compiling" = yes; then
4353 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4354 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4355 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4356 See \`config.log' for more details." >&5
4357 echo "$as_me: error: cannot run test program while cross compiling
4358 See \`config.log' for more details." >&2;}
4359 { (exit 1); exit 1; }; }; }
4361 cat >conftest.
$ac_ext <<_ACEOF
4364 cat confdefs.h
>>conftest.
$ac_ext
4365 cat >>conftest.
$ac_ext <<_ACEOF
4366 /* end confdefs.h. */
4367 $ac_includes_default
4368 long longval () { return (long) (sizeof (void *)); }
4369 unsigned long ulongval () { return (long) (sizeof (void *)); }
4376 FILE *f = fopen ("conftest.val", "w");
4379 if (((long) (sizeof (void *))) < 0)
4381 long i = longval ();
4382 if (i != ((long) (sizeof (void *))))
4384 fprintf (f, "%ld\n", i);
4388 unsigned long i = ulongval ();
4389 if (i != ((long) (sizeof (void *))))
4391 fprintf (f, "%lu\n", i);
4393 exit (ferror (f) || fclose (f) != 0);
4399 rm -f conftest
$ac_exeext
4400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4401 (eval $ac_link) 2>&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; }; then
4410 ac_cv_sizeof_void_p
=`cat conftest.val`
4412 echo "$as_me: program exited with status $ac_status" >&5
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4417 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4419 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4420 See \`config.log' for more details." >&5
4421 echo "$as_me: error: cannot compute sizeof (void *), 77
4422 See \`config.log' for more details." >&2;}
4423 { (exit 1); exit 1; }; }; }
4425 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4430 ac_cv_sizeof_void_p
=0
4433 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4434 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
4435 cat >>confdefs.h
<<_ACEOF
4436 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4442 # Lacking an uint64_t? Test size of long
4443 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4444 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
4445 echo $ECHO_N "checking for long... $ECHO_C" >&6
4446 if test "${ac_cv_type_long+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 cat >conftest.
$ac_ext <<_ACEOF
4452 cat confdefs.h
>>conftest.
$ac_ext
4453 cat >>conftest.
$ac_ext <<_ACEOF
4454 /* end confdefs.h. */
4455 $ac_includes_default
4467 rm -f conftest.
$ac_objext
4468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4469 (eval $ac_compile) 2>conftest.er1
4471 grep -v '^ *+' conftest.er1
>conftest.err
4473 cat conftest.err
>&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); } &&
4476 { ac_try
='test -z "$ac_c_werror_flag"
4477 || test ! -s conftest.err'
4478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4482 (exit $ac_status); }; } &&
4483 { ac_try
='test -s conftest.$ac_objext'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; }; then
4491 echo "$as_me: failed program was:" >&5
4492 sed 's/^/| /' conftest.
$ac_ext >&5
4496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4498 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4499 echo "${ECHO_T}$ac_cv_type_long" >&6
4501 echo "$as_me:$LINENO: checking size of long" >&5
4502 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4503 if test "${ac_cv_sizeof_long+set}" = set; then
4504 echo $ECHO_N "(cached) $ECHO_C" >&6
4506 if test "$ac_cv_type_long" = yes; then
4507 # The cast to unsigned long works around a bug in the HP C Compiler
4508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4510 # This bug is HP SR number 8606223364.
4511 if test "$cross_compiling" = yes; then
4512 # Depending upon the size, compute the lo and hi bounds.
4513 cat >conftest.
$ac_ext <<_ACEOF
4516 cat confdefs.h
>>conftest.
$ac_ext
4517 cat >>conftest.
$ac_ext <<_ACEOF
4518 /* end confdefs.h. */
4519 $ac_includes_default
4523 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4530 rm -f conftest.
$ac_objext
4531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4532 (eval $ac_compile) 2>conftest.er1
4534 grep -v '^ *+' conftest.er1
>conftest.err
4536 cat conftest.err
>&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); } &&
4539 { ac_try
='test -z "$ac_c_werror_flag"
4540 || test ! -s conftest.err'
4541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545 (exit $ac_status); }; } &&
4546 { ac_try
='test -s conftest.$ac_objext'
4547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551 (exit $ac_status); }; }; then
4554 cat >conftest.
$ac_ext <<_ACEOF
4557 cat confdefs.h
>>conftest.
$ac_ext
4558 cat >>conftest.
$ac_ext <<_ACEOF
4559 /* end confdefs.h. */
4560 $ac_includes_default
4564 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4571 rm -f conftest.
$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>conftest.er1
4575 grep -v '^ *+' conftest.er1
>conftest.err
4577 cat conftest.err
>&5
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } &&
4580 { ac_try
='test -z "$ac_c_werror_flag"
4581 || test ! -s conftest.err'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; } &&
4587 { ac_try
='test -s conftest.$ac_objext'
4588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); }; }; then
4593 ac_hi
=$ac_mid; break
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.
$ac_ext >&5
4598 ac_lo
=`expr $ac_mid + 1`
4599 if test $ac_lo -le $ac_mid; then
4603 ac_mid
=`expr 2 '*' $ac_mid + 1`
4605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4608 echo "$as_me: failed program was:" >&5
4609 sed 's/^/| /' conftest.
$ac_ext >&5
4611 cat >conftest.
$ac_ext <<_ACEOF
4614 cat confdefs.h
>>conftest.
$ac_ext
4615 cat >>conftest.
$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 $ac_includes_default
4621 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4628 rm -f conftest.
$ac_objext
4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 (eval $ac_compile) 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } &&
4637 { ac_try
='test -z "$ac_c_werror_flag"
4638 || test ! -s conftest.err'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; } &&
4644 { ac_try
='test -s conftest.$ac_objext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4652 cat >conftest.
$ac_ext <<_ACEOF
4655 cat confdefs.h
>>conftest.
$ac_ext
4656 cat >>conftest.
$ac_ext <<_ACEOF
4657 /* end confdefs.h. */
4658 $ac_includes_default
4662 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4669 rm -f conftest.
$ac_objext
4670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4671 (eval $ac_compile) 2>conftest.er1
4673 grep -v '^ *+' conftest.er1
>conftest.err
4675 cat conftest.err
>&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } &&
4678 { ac_try
='test -z "$ac_c_werror_flag"
4679 || test ! -s conftest.err'
4680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); }; } &&
4685 { ac_try
='test -s conftest.$ac_objext'
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); }; }; then
4691 ac_lo
=$ac_mid; break
4693 echo "$as_me: failed program was:" >&5
4694 sed 's/^/| /' conftest.
$ac_ext >&5
4696 ac_hi
=`expr '(' $ac_mid ')' - 1`
4697 if test $ac_mid -le $ac_hi; then
4701 ac_mid
=`expr 2 '*' $ac_mid`
4703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4714 # Binary search between lo and hi bounds.
4715 while test "x$ac_lo" != "x$ac_hi"; do
4716 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4717 cat >conftest.
$ac_ext <<_ACEOF
4720 cat confdefs.h
>>conftest.
$ac_ext
4721 cat >>conftest.
$ac_ext <<_ACEOF
4722 /* end confdefs.h. */
4723 $ac_includes_default
4727 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4734 rm -f conftest.
$ac_objext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4736 (eval $ac_compile) 2>conftest.er1
4738 grep -v '^ *+' conftest.er1
>conftest.err
4740 cat conftest.err
>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try
='test -z "$ac_c_werror_flag"
4744 || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try
='test -s conftest.$ac_objext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4761 ac_lo
=`expr '(' $ac_mid ')' + 1`
4763 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4766 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4767 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4768 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4770 See \`config.log' for more details." >&5
4771 echo "$as_me: error: cannot compute sizeof (long), 77
4772 See \`config.log' for more details." >&2;}
4773 { (exit 1); exit 1; }; }; } ;;
4776 if test "$cross_compiling" = yes; then
4777 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4778 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4779 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4780 See \`config.log' for more details." >&5
4781 echo "$as_me: error: cannot run test program while cross compiling
4782 See \`config.log' for more details." >&2;}
4783 { (exit 1); exit 1; }; }; }
4785 cat >conftest.
$ac_ext <<_ACEOF
4788 cat confdefs.h
>>conftest.
$ac_ext
4789 cat >>conftest.
$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 $ac_includes_default
4792 long longval () { return (long) (sizeof (long)); }
4793 unsigned long ulongval () { return (long) (sizeof (long)); }
4800 FILE *f = fopen ("conftest.val", "w");
4803 if (((long) (sizeof (long))) < 0)
4805 long i = longval ();
4806 if (i != ((long) (sizeof (long))))
4808 fprintf (f, "%ld\n", i);
4812 unsigned long i = ulongval ();
4813 if (i != ((long) (sizeof (long))))
4815 fprintf (f, "%lu\n", i);
4817 exit (ferror (f) || fclose (f) != 0);
4823 rm -f conftest
$ac_exeext
4824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4825 (eval $ac_link) 2>&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4834 ac_cv_sizeof_long
=`cat conftest.val`
4836 echo "$as_me: program exited with status $ac_status" >&5
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.
$ac_ext >&5
4841 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4842 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4843 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4844 See \`config.log' for more details." >&5
4845 echo "$as_me: error: cannot compute sizeof (long), 77
4846 See \`config.log' for more details." >&2;}
4847 { (exit 1); exit 1; }; }; }
4849 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4857 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4858 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4859 cat >>confdefs.h
<<_ACEOF
4860 #define SIZEOF_LONG $ac_cv_sizeof_long
4866 if test $acx_cv_header_stdint = stddef.h
; then
4867 # Lacking a good header? Test size of everything and deduce all types.
4868 echo "$as_me:$LINENO: checking for int" >&5
4869 echo $ECHO_N "checking for int... $ECHO_C" >&6
4870 if test "${ac_cv_type_int+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 cat >conftest.
$ac_ext <<_ACEOF
4876 cat confdefs.h
>>conftest.
$ac_ext
4877 cat >>conftest.
$ac_ext <<_ACEOF
4878 /* end confdefs.h. */
4879 $ac_includes_default
4891 rm -f conftest.
$ac_objext
4892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4893 (eval $ac_compile) 2>conftest.er1
4895 grep -v '^ *+' conftest.er1
>conftest.err
4897 cat conftest.err
>&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); } &&
4900 { ac_try
='test -z "$ac_c_werror_flag"
4901 || test ! -s conftest.err'
4902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; } &&
4907 { ac_try
='test -s conftest.$ac_objext'
4908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); }; }; then
4915 echo "$as_me: failed program was:" >&5
4916 sed 's/^/| /' conftest.
$ac_ext >&5
4920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4922 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4923 echo "${ECHO_T}$ac_cv_type_int" >&6
4925 echo "$as_me:$LINENO: checking size of int" >&5
4926 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4927 if test "${ac_cv_sizeof_int+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 if test "$ac_cv_type_int" = yes; then
4931 # The cast to unsigned long works around a bug in the HP C Compiler
4932 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4933 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4934 # This bug is HP SR number 8606223364.
4935 if test "$cross_compiling" = yes; then
4936 # Depending upon the size, compute the lo and hi bounds.
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 $ac_includes_default
4947 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4954 rm -f conftest.
$ac_objext
4955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4956 (eval $ac_compile) 2>conftest.er1
4958 grep -v '^ *+' conftest.er1
>conftest.err
4960 cat conftest.err
>&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); } &&
4963 { ac_try
='test -z "$ac_c_werror_flag"
4964 || test ! -s conftest.err'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; } &&
4970 { ac_try
='test -s conftest.$ac_objext'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; }; then
4978 cat >conftest.
$ac_ext <<_ACEOF
4981 cat confdefs.h
>>conftest.
$ac_ext
4982 cat >>conftest.
$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 $ac_includes_default
4988 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4995 rm -f conftest.
$ac_objext
4996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4997 (eval $ac_compile) 2>conftest.er1
4999 grep -v '^ *+' conftest.er1
>conftest.err
5001 cat conftest.err
>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); } &&
5004 { ac_try
='test -z "$ac_c_werror_flag"
5005 || test ! -s conftest.err'
5006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); }; } &&
5011 { ac_try
='test -s conftest.$ac_objext'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5017 ac_hi
=$ac_mid; break
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.
$ac_ext >&5
5022 ac_lo
=`expr $ac_mid + 1`
5023 if test $ac_lo -le $ac_mid; then
5027 ac_mid
=`expr 2 '*' $ac_mid + 1`
5029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5032 echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.
$ac_ext >&5
5035 cat >conftest.
$ac_ext <<_ACEOF
5038 cat confdefs.h
>>conftest.
$ac_ext
5039 cat >>conftest.
$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 $ac_includes_default
5045 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5052 rm -f conftest.
$ac_objext
5053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5054 (eval $ac_compile) 2>conftest.er1
5056 grep -v '^ *+' conftest.er1
>conftest.err
5058 cat conftest.err
>&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } &&
5061 { ac_try
='test -z "$ac_c_werror_flag"
5062 || test ! -s conftest.err'
5063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); }; } &&
5068 { ac_try
='test -s conftest.$ac_objext'
5069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); }; }; then
5076 cat >conftest.
$ac_ext <<_ACEOF
5079 cat confdefs.h
>>conftest.
$ac_ext
5080 cat >>conftest.
$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5082 $ac_includes_default
5086 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5093 rm -f conftest.
$ac_objext
5094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5095 (eval $ac_compile) 2>conftest.er1
5097 grep -v '^ *+' conftest.er1
>conftest.err
5099 cat conftest.err
>&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } &&
5102 { ac_try
='test -z "$ac_c_werror_flag"
5103 || test ! -s conftest.err'
5104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 (exit $ac_status); }; } &&
5109 { ac_try
='test -s conftest.$ac_objext'
5110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); }; }; then
5115 ac_lo
=$ac_mid; break
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.
$ac_ext >&5
5120 ac_hi
=`expr '(' $ac_mid ')' - 1`
5121 if test $ac_mid -le $ac_hi; then
5125 ac_mid
=`expr 2 '*' $ac_mid`
5127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5130 echo "$as_me: failed program was:" >&5
5131 sed 's/^/| /' conftest.
$ac_ext >&5
5135 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 # Binary search between lo and hi bounds.
5139 while test "x$ac_lo" != "x$ac_hi"; do
5140 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5141 cat >conftest.
$ac_ext <<_ACEOF
5144 cat confdefs.h
>>conftest.
$ac_ext
5145 cat >>conftest.
$ac_ext <<_ACEOF
5146 /* end confdefs.h. */
5147 $ac_includes_default
5151 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5158 rm -f conftest.
$ac_objext
5159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5160 (eval $ac_compile) 2>conftest.er1
5162 grep -v '^ *+' conftest.er1
>conftest.err
5164 cat conftest.err
>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } &&
5167 { ac_try
='test -z "$ac_c_werror_flag"
5168 || test ! -s conftest.err'
5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); }; } &&
5174 { ac_try
='test -s conftest.$ac_objext'
5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); }; }; then
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.
$ac_ext >&5
5185 ac_lo
=`expr '(' $ac_mid ')' + 1`
5187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5190 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5191 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5192 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5194 See \`config.log' for more details." >&5
5195 echo "$as_me: error: cannot compute sizeof (int), 77
5196 See \`config.log' for more details." >&2;}
5197 { (exit 1); exit 1; }; }; } ;;
5200 if test "$cross_compiling" = yes; then
5201 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5202 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5203 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5204 See \`config.log' for more details." >&5
5205 echo "$as_me: error: cannot run test program while cross compiling
5206 See \`config.log' for more details." >&2;}
5207 { (exit 1); exit 1; }; }; }
5209 cat >conftest.
$ac_ext <<_ACEOF
5212 cat confdefs.h
>>conftest.
$ac_ext
5213 cat >>conftest.
$ac_ext <<_ACEOF
5214 /* end confdefs.h. */
5215 $ac_includes_default
5216 long longval () { return (long) (sizeof (int)); }
5217 unsigned long ulongval () { return (long) (sizeof (int)); }
5224 FILE *f = fopen ("conftest.val", "w");
5227 if (((long) (sizeof (int))) < 0)
5229 long i = longval ();
5230 if (i != ((long) (sizeof (int))))
5232 fprintf (f, "%ld\n", i);
5236 unsigned long i = ulongval ();
5237 if (i != ((long) (sizeof (int))))
5239 fprintf (f, "%lu\n", i);
5241 exit (ferror (f) || fclose (f) != 0);
5247 rm -f conftest
$ac_exeext
5248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5249 (eval $ac_link) 2>&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }; }; then
5258 ac_cv_sizeof_int
=`cat conftest.val`
5260 echo "$as_me: program exited with status $ac_status" >&5
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.
$ac_ext >&5
5265 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5266 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5267 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5268 See \`config.log' for more details." >&5
5269 echo "$as_me: error: cannot compute sizeof (int), 77
5270 See \`config.log' for more details." >&2;}
5271 { (exit 1); exit 1; }; }; }
5273 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5281 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5282 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5283 cat >>confdefs.h
<<_ACEOF
5284 #define SIZEOF_INT $ac_cv_sizeof_int
5288 echo "$as_me:$LINENO: checking for short" >&5
5289 echo $ECHO_N "checking for short... $ECHO_C" >&6
5290 if test "${ac_cv_type_short+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 cat >conftest.
$ac_ext <<_ACEOF
5296 cat confdefs.h
>>conftest.
$ac_ext
5297 cat >>conftest.
$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 $ac_includes_default
5311 rm -f conftest.
$ac_objext
5312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5313 (eval $ac_compile) 2>conftest.er1
5315 grep -v '^ *+' conftest.er1
>conftest.err
5317 cat conftest.err
>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } &&
5320 { ac_try
='test -z "$ac_c_werror_flag"
5321 || test ! -s conftest.err'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; } &&
5327 { ac_try
='test -s conftest.$ac_objext'
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }; }; then
5333 ac_cv_type_short
=yes
5335 echo "$as_me: failed program was:" >&5
5336 sed 's/^/| /' conftest.
$ac_ext >&5
5340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5342 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5343 echo "${ECHO_T}$ac_cv_type_short" >&6
5345 echo "$as_me:$LINENO: checking size of short" >&5
5346 echo $ECHO_N "checking size of short... $ECHO_C" >&6
5347 if test "${ac_cv_sizeof_short+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 if test "$ac_cv_type_short" = yes; then
5351 # The cast to unsigned long works around a bug in the HP C Compiler
5352 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5354 # This bug is HP SR number 8606223364.
5355 if test "$cross_compiling" = yes; then
5356 # Depending upon the size, compute the lo and hi bounds.
5357 cat >conftest.
$ac_ext <<_ACEOF
5360 cat confdefs.h
>>conftest.
$ac_ext
5361 cat >>conftest.
$ac_ext <<_ACEOF
5362 /* end confdefs.h. */
5363 $ac_includes_default
5367 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5374 rm -f conftest.
$ac_objext
5375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5376 (eval $ac_compile) 2>conftest.er1
5378 grep -v '^ *+' conftest.er1
>conftest.err
5380 cat conftest.err
>&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); } &&
5383 { ac_try
='test -z "$ac_c_werror_flag"
5384 || test ! -s conftest.err'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; } &&
5390 { ac_try
='test -s conftest.$ac_objext'
5391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5395 (exit $ac_status); }; }; then
5398 cat >conftest.
$ac_ext <<_ACEOF
5401 cat confdefs.h
>>conftest.
$ac_ext
5402 cat >>conftest.
$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5404 $ac_includes_default
5408 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5415 rm -f conftest.
$ac_objext
5416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5417 (eval $ac_compile) 2>conftest.er1
5419 grep -v '^ *+' conftest.er1
>conftest.err
5421 cat conftest.err
>&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); } &&
5424 { ac_try
='test -z "$ac_c_werror_flag"
5425 || test ! -s conftest.err'
5426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); }; } &&
5431 { ac_try
='test -s conftest.$ac_objext'
5432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); }; }; then
5437 ac_hi
=$ac_mid; break
5439 echo "$as_me: failed program was:" >&5
5440 sed 's/^/| /' conftest.
$ac_ext >&5
5442 ac_lo
=`expr $ac_mid + 1`
5443 if test $ac_lo -le $ac_mid; then
5447 ac_mid
=`expr 2 '*' $ac_mid + 1`
5449 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5452 echo "$as_me: failed program was:" >&5
5453 sed 's/^/| /' conftest.
$ac_ext >&5
5455 cat >conftest.
$ac_ext <<_ACEOF
5458 cat confdefs.h
>>conftest.
$ac_ext
5459 cat >>conftest.
$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5461 $ac_includes_default
5465 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5472 rm -f conftest.
$ac_objext
5473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5474 (eval $ac_compile) 2>conftest.er1
5476 grep -v '^ *+' conftest.er1
>conftest.err
5478 cat conftest.err
>&5
5479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); } &&
5481 { ac_try
='test -z "$ac_c_werror_flag"
5482 || test ! -s conftest.err'
5483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); }; } &&
5488 { ac_try
='test -s conftest.$ac_objext'
5489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493 (exit $ac_status); }; }; then
5496 cat >conftest.
$ac_ext <<_ACEOF
5499 cat confdefs.h
>>conftest.
$ac_ext
5500 cat >>conftest.
$ac_ext <<_ACEOF
5501 /* end confdefs.h. */
5502 $ac_includes_default
5506 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5513 rm -f conftest.
$ac_objext
5514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5515 (eval $ac_compile) 2>conftest.er1
5517 grep -v '^ *+' conftest.er1
>conftest.err
5519 cat conftest.err
>&5
5520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 (exit $ac_status); } &&
5522 { ac_try
='test -z "$ac_c_werror_flag"
5523 || test ! -s conftest.err'
5524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; } &&
5529 { ac_try
='test -s conftest.$ac_objext'
5530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); }; }; then
5535 ac_lo
=$ac_mid; break
5537 echo "$as_me: failed program was:" >&5
5538 sed 's/^/| /' conftest.
$ac_ext >&5
5540 ac_hi
=`expr '(' $ac_mid ')' - 1`
5541 if test $ac_mid -le $ac_hi; then
5545 ac_mid
=`expr 2 '*' $ac_mid`
5547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.
$ac_ext >&5
5555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5558 # Binary search between lo and hi bounds.
5559 while test "x$ac_lo" != "x$ac_hi"; do
5560 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5561 cat >conftest.
$ac_ext <<_ACEOF
5564 cat confdefs.h
>>conftest.
$ac_ext
5565 cat >>conftest.
$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5567 $ac_includes_default
5571 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5578 rm -f conftest.
$ac_objext
5579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5580 (eval $ac_compile) 2>conftest.er1
5582 grep -v '^ *+' conftest.er1
>conftest.err
5584 cat conftest.err
>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } &&
5587 { ac_try
='test -z "$ac_c_werror_flag"
5588 || test ! -s conftest.err'
5589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5593 (exit $ac_status); }; } &&
5594 { ac_try
='test -s conftest.$ac_objext'
5595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; }; then
5602 echo "$as_me: failed program was:" >&5
5603 sed 's/^/| /' conftest.
$ac_ext >&5
5605 ac_lo
=`expr '(' $ac_mid ')' + 1`
5607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5610 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5611 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5612 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5614 See \`config.log' for more details." >&5
5615 echo "$as_me: error: cannot compute sizeof (short), 77
5616 See \`config.log' for more details." >&2;}
5617 { (exit 1); exit 1; }; }; } ;;
5620 if test "$cross_compiling" = yes; then
5621 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5622 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5623 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5624 See \`config.log' for more details." >&5
5625 echo "$as_me: error: cannot run test program while cross compiling
5626 See \`config.log' for more details." >&2;}
5627 { (exit 1); exit 1; }; }; }
5629 cat >conftest.
$ac_ext <<_ACEOF
5632 cat confdefs.h
>>conftest.
$ac_ext
5633 cat >>conftest.
$ac_ext <<_ACEOF
5634 /* end confdefs.h. */
5635 $ac_includes_default
5636 long longval () { return (long) (sizeof (short)); }
5637 unsigned long ulongval () { return (long) (sizeof (short)); }
5644 FILE *f = fopen ("conftest.val", "w");
5647 if (((long) (sizeof (short))) < 0)
5649 long i = longval ();
5650 if (i != ((long) (sizeof (short))))
5652 fprintf (f, "%ld\n", i);
5656 unsigned long i = ulongval ();
5657 if (i != ((long) (sizeof (short))))
5659 fprintf (f, "%lu\n", i);
5661 exit (ferror (f) || fclose (f) != 0);
5667 rm -f conftest
$ac_exeext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5669 (eval $ac_link) 2>&5
5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5672 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; }; then
5678 ac_cv_sizeof_short
=`cat conftest.val`
5680 echo "$as_me: program exited with status $ac_status" >&5
5681 echo "$as_me: failed program was:" >&5
5682 sed 's/^/| /' conftest.
$ac_ext >&5
5685 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5686 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5688 See \`config.log' for more details." >&5
5689 echo "$as_me: error: cannot compute sizeof (short), 77
5690 See \`config.log' for more details." >&2;}
5691 { (exit 1); exit 1; }; }; }
5693 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5698 ac_cv_sizeof_short
=0
5701 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5702 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5703 cat >>confdefs.h
<<_ACEOF
5704 #define SIZEOF_SHORT $ac_cv_sizeof_short
5708 echo "$as_me:$LINENO: checking for char" >&5
5709 echo $ECHO_N "checking for char... $ECHO_C" >&6
5710 if test "${ac_cv_type_char+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 cat >conftest.
$ac_ext <<_ACEOF
5716 cat confdefs.h
>>conftest.
$ac_ext
5717 cat >>conftest.
$ac_ext <<_ACEOF
5718 /* end confdefs.h. */
5719 $ac_includes_default
5731 rm -f conftest.
$ac_objext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733 (eval $ac_compile) 2>conftest.er1
5735 grep -v '^ *+' conftest.er1
>conftest.err
5737 cat conftest.err
>&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } &&
5740 { ac_try
='test -z "$ac_c_werror_flag"
5741 || test ! -s conftest.err'
5742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }; } &&
5747 { ac_try
='test -s conftest.$ac_objext'
5748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); }; }; then
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.
$ac_ext >&5
5760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5762 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5763 echo "${ECHO_T}$ac_cv_type_char" >&6
5765 echo "$as_me:$LINENO: checking size of char" >&5
5766 echo $ECHO_N "checking size of char... $ECHO_C" >&6
5767 if test "${ac_cv_sizeof_char+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 if test "$ac_cv_type_char" = yes; then
5771 # The cast to unsigned long works around a bug in the HP C Compiler
5772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5774 # This bug is HP SR number 8606223364.
5775 if test "$cross_compiling" = yes; then
5776 # Depending upon the size, compute the lo and hi bounds.
5777 cat >conftest.
$ac_ext <<_ACEOF
5780 cat confdefs.h
>>conftest.
$ac_ext
5781 cat >>conftest.
$ac_ext <<_ACEOF
5782 /* end confdefs.h. */
5783 $ac_includes_default
5787 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
5794 rm -f conftest.
$ac_objext
5795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5796 (eval $ac_compile) 2>conftest.er1
5798 grep -v '^ *+' conftest.er1
>conftest.err
5800 cat conftest.err
>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try
='test -z "$ac_c_werror_flag"
5804 || test ! -s conftest.err'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; } &&
5810 { ac_try
='test -s conftest.$ac_objext'
5811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); }; }; then
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 $ac_includes_default
5828 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5835 rm -f conftest.
$ac_objext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5837 (eval $ac_compile) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1
>conftest.err
5841 cat conftest.err
>&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try
='test -z "$ac_c_werror_flag"
5845 || test ! -s conftest.err'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; } &&
5851 { ac_try
='test -s conftest.$ac_objext'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then
5857 ac_hi
=$ac_mid; break
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.
$ac_ext >&5
5862 ac_lo
=`expr $ac_mid + 1`
5863 if test $ac_lo -le $ac_mid; then
5867 ac_mid
=`expr 2 '*' $ac_mid + 1`
5869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.
$ac_ext >&5
5875 cat >conftest.
$ac_ext <<_ACEOF
5878 cat confdefs.h
>>conftest.
$ac_ext
5879 cat >>conftest.
$ac_ext <<_ACEOF
5880 /* end confdefs.h. */
5881 $ac_includes_default
5885 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
5892 rm -f conftest.
$ac_objext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5894 (eval $ac_compile) 2>conftest.er1
5896 grep -v '^ *+' conftest.er1
>conftest.err
5898 cat conftest.err
>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } &&
5901 { ac_try
='test -z "$ac_c_werror_flag"
5902 || test ! -s conftest.err'
5903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907 (exit $ac_status); }; } &&
5908 { ac_try
='test -s conftest.$ac_objext'
5909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); }; }; then
5916 cat >conftest.
$ac_ext <<_ACEOF
5919 cat confdefs.h
>>conftest.
$ac_ext
5920 cat >>conftest.
$ac_ext <<_ACEOF
5921 /* end confdefs.h. */
5922 $ac_includes_default
5926 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5933 rm -f conftest.
$ac_objext
5934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5935 (eval $ac_compile) 2>conftest.er1
5937 grep -v '^ *+' conftest.er1
>conftest.err
5939 cat conftest.err
>&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); } &&
5942 { ac_try
='test -z "$ac_c_werror_flag"
5943 || test ! -s conftest.err'
5944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; } &&
5949 { ac_try
='test -s conftest.$ac_objext'
5950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); }; }; then
5955 ac_lo
=$ac_mid; break
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.
$ac_ext >&5
5960 ac_hi
=`expr '(' $ac_mid ')' - 1`
5961 if test $ac_mid -le $ac_hi; then
5965 ac_mid
=`expr 2 '*' $ac_mid`
5967 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5970 echo "$as_me: failed program was:" >&5
5971 sed 's/^/| /' conftest.
$ac_ext >&5
5975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5978 # Binary search between lo and hi bounds.
5979 while test "x$ac_lo" != "x$ac_hi"; do
5980 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5981 cat >conftest.
$ac_ext <<_ACEOF
5984 cat confdefs.h
>>conftest.
$ac_ext
5985 cat >>conftest.
$ac_ext <<_ACEOF
5986 /* end confdefs.h. */
5987 $ac_includes_default
5991 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5998 rm -f conftest.
$ac_objext
5999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6000 (eval $ac_compile) 2>conftest.er1
6002 grep -v '^ *+' conftest.er1
>conftest.err
6004 cat conftest.err
>&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); } &&
6007 { ac_try
='test -z "$ac_c_werror_flag"
6008 || test ! -s conftest.err'
6009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6013 (exit $ac_status); }; } &&
6014 { ac_try
='test -s conftest.$ac_objext'
6015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6019 (exit $ac_status); }; }; then
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.
$ac_ext >&5
6025 ac_lo
=`expr '(' $ac_mid ')' + 1`
6027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 ?
*) ac_cv_sizeof_char
=$ac_lo;;
6031 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6032 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
6034 See \`config.log' for more details." >&5
6035 echo "$as_me: error: cannot compute sizeof (char), 77
6036 See \`config.log' for more details." >&2;}
6037 { (exit 1); exit 1; }; }; } ;;
6040 if test "$cross_compiling" = yes; then
6041 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6042 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6043 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6044 See \`config.log' for more details." >&5
6045 echo "$as_me: error: cannot run test program while cross compiling
6046 See \`config.log' for more details." >&2;}
6047 { (exit 1); exit 1; }; }; }
6049 cat >conftest.
$ac_ext <<_ACEOF
6052 cat confdefs.h
>>conftest.
$ac_ext
6053 cat >>conftest.
$ac_ext <<_ACEOF
6054 /* end confdefs.h. */
6055 $ac_includes_default
6056 long longval () { return (long) (sizeof (char)); }
6057 unsigned long ulongval () { return (long) (sizeof (char)); }
6064 FILE *f = fopen ("conftest.val", "w");
6067 if (((long) (sizeof (char))) < 0)
6069 long i = longval ();
6070 if (i != ((long) (sizeof (char))))
6072 fprintf (f, "%ld\n", i);
6076 unsigned long i = ulongval ();
6077 if (i != ((long) (sizeof (char))))
6079 fprintf (f, "%lu\n", i);
6081 exit (ferror (f) || fclose (f) != 0);
6087 rm -f conftest
$ac_exeext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6089 (eval $ac_link) 2>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6098 ac_cv_sizeof_char
=`cat conftest.val`
6100 echo "$as_me: program exited with status $ac_status" >&5
6101 echo "$as_me: failed program was:" >&5
6102 sed 's/^/| /' conftest.
$ac_ext >&5
6105 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6106 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6107 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
6108 See \`config.log' for more details." >&5
6109 echo "$as_me: error: cannot compute sizeof (char), 77
6110 See \`config.log' for more details." >&2;}
6111 { (exit 1); exit 1; }; }; }
6113 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6122 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
6123 cat >>confdefs.h
<<_ACEOF
6124 #define SIZEOF_CHAR $ac_cv_sizeof_char
6129 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
6130 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
6131 case "$ac_cv_sizeof_char" in
6132 1) acx_cv_type_int8_t
=char
;;
6133 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
6134 echo "$as_me: error: no 8-bit type" >&2;}
6135 { (exit please report a bug
); exit please report a bug
; }; }
6137 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
6138 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
6140 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
6141 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
6142 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
6143 2:*) acx_cv_type_int16_t
=int
;;
6144 *:2) acx_cv_type_int16_t
=short
;;
6145 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
6146 echo "$as_me: error: no 16-bit type" >&2;}
6147 { (exit please report a bug
); exit please report a bug
; }; }
6149 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
6150 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
6152 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
6153 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
6154 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
6155 4:*) acx_cv_type_int32_t
=int
;;
6156 *:4) acx_cv_type_int32_t
=long
;;
6157 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
6158 echo "$as_me: error: no 32-bit type" >&2;}
6159 { (exit please report a bug
); exit please report a bug
; }; }
6161 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
6162 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
6165 # These tests are here to make the output prettier
6167 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
6168 case "$ac_cv_sizeof_long" in
6169 8) acx_cv_type_int64_t
=long
;;
6171 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
6172 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
6173 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
6174 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
6177 # Now we can use the above types
6179 if test "$ac_cv_type_uintptr_t" != yes; then
6180 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
6181 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
6182 case $ac_cv_sizeof_void_p in
6183 2) acx_cv_type_intptr_t
=int16_t
;;
6184 4) acx_cv_type_intptr_t
=int32_t
;;
6185 8) acx_cv_type_intptr_t
=int64_t
;;
6186 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
6187 echo "$as_me: error: no equivalent for intptr_t" >&2;}
6188 { (exit please report a bug
); exit please report a bug
; }; }
6190 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
6191 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
6194 # ----------------- done all checks, emit header -------------
6195 ac_config_commands
="$ac_config_commands gstdint.h"
6200 # Checks for typedefs, structures, and compiler characteristics.
6201 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6202 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6203 if test "${ac_cv_c_const+set}" = set; then
6204 echo $ECHO_N "(cached) $ECHO_C" >&6
6206 cat >conftest.
$ac_ext <<_ACEOF
6209 cat confdefs.h
>>conftest.
$ac_ext
6210 cat >>conftest.
$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6216 /* FIXME: Include the comments suggested by Paul. */
6218 /* Ultrix mips cc rejects this. */
6219 typedef int charset[2];
6221 /* SunOS 4.1.1 cc rejects this. */
6222 char const *const *ccp;
6224 /* NEC SVR4.0.2 mips cc rejects this. */
6225 struct point {int x, y;};
6226 static struct point const zero = {0,0};
6227 /* AIX XL C 1.02.0.0 rejects this.
6228 It does not let you subtract one const X* pointer from another in
6229 an arm of an if-expression whose if-part is not a constant
6231 const char *g = "string";
6232 ccp = &g + (g ? g-g : 0);
6233 /* HPUX 7.0 cc rejects these. */
6236 ccp = (char const *const *) p;
6237 { /* SCO 3.2v4 cc rejects this. */
6239 char const *s = 0 ? (char *) 0 : (char const *) 0;
6243 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6245 const int *foo = &x[0];
6248 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6249 typedef const int *iptr;
6253 { /* AIX XL C 1.02.0.0 rejects this saying
6254 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6255 struct s { int j; const int *ap[3]; };
6256 struct s *b; b->j = 5;
6258 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6267 rm -f conftest.
$ac_objext
6268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6269 (eval $ac_compile) 2>conftest.er1
6271 grep -v '^ *+' conftest.er1
>conftest.err
6273 cat conftest.err
>&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } &&
6276 { ac_try
='test -z "$ac_c_werror_flag"
6277 || test ! -s conftest.err'
6278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); }; } &&
6283 { ac_try
='test -s conftest.$ac_objext'
6284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); }; }; then
6291 echo "$as_me: failed program was:" >&5
6292 sed 's/^/| /' conftest.
$ac_ext >&5
6296 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6298 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6299 echo "${ECHO_T}$ac_cv_c_const" >&6
6300 if test $ac_cv_c_const = no
; then
6302 cat >>confdefs.h
<<\_ACEOF
6308 echo "$as_me:$LINENO: checking for off_t" >&5
6309 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6310 if test "${ac_cv_type_off_t+set}" = set; then
6311 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 cat >conftest.
$ac_ext <<_ACEOF
6316 cat confdefs.h
>>conftest.
$ac_ext
6317 cat >>conftest.
$ac_ext <<_ACEOF
6318 /* end confdefs.h. */
6319 $ac_includes_default
6331 rm -f conftest.
$ac_objext
6332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6333 (eval $ac_compile) 2>conftest.er1
6335 grep -v '^ *+' conftest.er1
>conftest.err
6337 cat conftest.err
>&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); } &&
6340 { ac_try
='test -z "$ac_c_werror_flag"
6341 || test ! -s conftest.err'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; } &&
6347 { ac_try
='test -s conftest.$ac_objext'
6348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); }; }; then
6353 ac_cv_type_off_t
=yes
6355 echo "$as_me: failed program was:" >&5
6356 sed 's/^/| /' conftest.
$ac_ext >&5
6360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6362 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6363 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6364 if test $ac_cv_type_off_t = yes; then
6368 cat >>confdefs.h
<<_ACEOF
6374 echo "$as_me:$LINENO: checking for int" >&5
6375 echo $ECHO_N "checking for int... $ECHO_C" >&6
6376 if test "${ac_cv_type_int+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 cat >conftest.
$ac_ext <<_ACEOF
6382 cat confdefs.h
>>conftest.
$ac_ext
6383 cat >>conftest.
$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 $ac_includes_default
6397 rm -f conftest.
$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399 (eval $ac_compile) 2>conftest.er1
6401 grep -v '^ *+' conftest.er1
>conftest.err
6403 cat conftest.err
>&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try
='test -z "$ac_c_werror_flag"
6407 || test ! -s conftest.err'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; } &&
6413 { ac_try
='test -s conftest.$ac_objext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6421 echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.
$ac_ext >&5
6426 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6428 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6429 echo "${ECHO_T}$ac_cv_type_int" >&6
6431 echo "$as_me:$LINENO: checking size of int" >&5
6432 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6433 if test "${ac_cv_sizeof_int+set}" = set; then
6434 echo $ECHO_N "(cached) $ECHO_C" >&6
6436 if test "$ac_cv_type_int" = yes; then
6437 # The cast to unsigned long works around a bug in the HP C Compiler
6438 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6439 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6440 # This bug is HP SR number 8606223364.
6441 if test "$cross_compiling" = yes; then
6442 # Depending upon the size, compute the lo and hi bounds.
6443 cat >conftest.
$ac_ext <<_ACEOF
6446 cat confdefs.h
>>conftest.
$ac_ext
6447 cat >>conftest.
$ac_ext <<_ACEOF
6448 /* end confdefs.h. */
6449 $ac_includes_default
6453 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6460 rm -f conftest.
$ac_objext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462 (eval $ac_compile) 2>conftest.er1
6464 grep -v '^ *+' conftest.er1
>conftest.err
6466 cat conftest.err
>&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } &&
6469 { ac_try
='test -z "$ac_c_werror_flag"
6470 || test ! -s conftest.err'
6471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); }; } &&
6476 { ac_try
='test -s conftest.$ac_objext'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; }; then
6484 cat >conftest.
$ac_ext <<_ACEOF
6487 cat confdefs.h
>>conftest.
$ac_ext
6488 cat >>conftest.
$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 $ac_includes_default
6494 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6501 rm -f conftest.
$ac_objext
6502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6503 (eval $ac_compile) 2>conftest.er1
6505 grep -v '^ *+' conftest.er1
>conftest.err
6507 cat conftest.err
>&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); } &&
6510 { ac_try
='test -z "$ac_c_werror_flag"
6511 || test ! -s conftest.err'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; } &&
6517 { ac_try
='test -s conftest.$ac_objext'
6518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); }; }; then
6523 ac_hi
=$ac_mid; break
6525 echo "$as_me: failed program was:" >&5
6526 sed 's/^/| /' conftest.
$ac_ext >&5
6528 ac_lo
=`expr $ac_mid + 1`
6529 if test $ac_lo -le $ac_mid; then
6533 ac_mid
=`expr 2 '*' $ac_mid + 1`
6535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.
$ac_ext >&5
6541 cat >conftest.
$ac_ext <<_ACEOF
6544 cat confdefs.h
>>conftest.
$ac_ext
6545 cat >>conftest.
$ac_ext <<_ACEOF
6546 /* end confdefs.h. */
6547 $ac_includes_default
6551 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6558 rm -f conftest.
$ac_objext
6559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6560 (eval $ac_compile) 2>conftest.er1
6562 grep -v '^ *+' conftest.er1
>conftest.err
6564 cat conftest.err
>&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } &&
6567 { ac_try
='test -z "$ac_c_werror_flag"
6568 || test ! -s conftest.err'
6569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); }; } &&
6574 { ac_try
='test -s conftest.$ac_objext'
6575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); }; }; then
6582 cat >conftest.
$ac_ext <<_ACEOF
6585 cat confdefs.h
>>conftest.
$ac_ext
6586 cat >>conftest.
$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 $ac_includes_default
6592 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6599 rm -f conftest.
$ac_objext
6600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6601 (eval $ac_compile) 2>conftest.er1
6603 grep -v '^ *+' conftest.er1
>conftest.err
6605 cat conftest.err
>&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } &&
6608 { ac_try
='test -z "$ac_c_werror_flag"
6609 || test ! -s conftest.err'
6610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); }; } &&
6615 { ac_try
='test -s conftest.$ac_objext'
6616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); }; }; then
6621 ac_lo
=$ac_mid; break
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.
$ac_ext >&5
6626 ac_hi
=`expr '(' $ac_mid ')' - 1`
6627 if test $ac_mid -le $ac_hi; then
6631 ac_mid
=`expr 2 '*' $ac_mid`
6633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.
$ac_ext >&5
6641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6644 # Binary search between lo and hi bounds.
6645 while test "x$ac_lo" != "x$ac_hi"; do
6646 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6647 cat >conftest.
$ac_ext <<_ACEOF
6650 cat confdefs.h
>>conftest.
$ac_ext
6651 cat >>conftest.
$ac_ext <<_ACEOF
6652 /* end confdefs.h. */
6653 $ac_includes_default
6657 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6664 rm -f conftest.
$ac_objext
6665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6666 (eval $ac_compile) 2>conftest.er1
6668 grep -v '^ *+' conftest.er1
>conftest.err
6670 cat conftest.err
>&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } &&
6673 { ac_try
='test -z "$ac_c_werror_flag"
6674 || test ! -s conftest.err'
6675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6679 (exit $ac_status); }; } &&
6680 { ac_try
='test -s conftest.$ac_objext'
6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685 (exit $ac_status); }; }; then
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.
$ac_ext >&5
6691 ac_lo
=`expr '(' $ac_mid ')' + 1`
6693 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6696 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6697 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6698 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6699 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6700 See \`config.log' for more details." >&5
6701 echo "$as_me: error: cannot compute sizeof (int), 77
6702 See \`config.log' for more details." >&2;}
6703 { (exit 1); exit 1; }; }; } ;;
6706 if test "$cross_compiling" = yes; then
6707 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6708 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6709 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6710 See \`config.log' for more details." >&5
6711 echo "$as_me: error: cannot run test program while cross compiling
6712 See \`config.log' for more details." >&2;}
6713 { (exit 1); exit 1; }; }; }
6715 cat >conftest.
$ac_ext <<_ACEOF
6718 cat confdefs.h
>>conftest.
$ac_ext
6719 cat >>conftest.
$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6721 $ac_includes_default
6722 long longval () { return (long) (sizeof (int)); }
6723 unsigned long ulongval () { return (long) (sizeof (int)); }
6730 FILE *f = fopen ("conftest.val", "w");
6733 if (((long) (sizeof (int))) < 0)
6735 long i = longval ();
6736 if (i != ((long) (sizeof (int))))
6738 fprintf (f, "%ld\n", i);
6742 unsigned long i = ulongval ();
6743 if (i != ((long) (sizeof (int))))
6745 fprintf (f, "%lu\n", i);
6747 exit (ferror (f) || fclose (f) != 0);
6753 rm -f conftest
$ac_exeext
6754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6755 (eval $ac_link) 2>&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763 (exit $ac_status); }; }; then
6764 ac_cv_sizeof_int
=`cat conftest.val`
6766 echo "$as_me: program exited with status $ac_status" >&5
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.
$ac_ext >&5
6771 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6772 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6773 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6774 See \`config.log' for more details." >&5
6775 echo "$as_me: error: cannot compute sizeof (int), 77
6776 See \`config.log' for more details." >&2;}
6777 { (exit 1); exit 1; }; }; }
6779 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6787 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6788 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6789 cat >>confdefs.h
<<_ACEOF
6790 #define SIZEOF_INT $ac_cv_sizeof_int
6794 echo "$as_me:$LINENO: checking for long" >&5
6795 echo $ECHO_N "checking for long... $ECHO_C" >&6
6796 if test "${ac_cv_type_long+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 cat >conftest.
$ac_ext <<_ACEOF
6802 cat confdefs.h
>>conftest.
$ac_ext
6803 cat >>conftest.
$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6805 $ac_includes_default
6817 rm -f conftest.
$ac_objext
6818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6819 (eval $ac_compile) 2>conftest.er1
6821 grep -v '^ *+' conftest.er1
>conftest.err
6823 cat conftest.err
>&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); } &&
6826 { ac_try
='test -z "$ac_c_werror_flag"
6827 || test ! -s conftest.err'
6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 (exit $ac_status); }; } &&
6833 { ac_try
='test -s conftest.$ac_objext'
6834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); }; }; then
6841 echo "$as_me: failed program was:" >&5
6842 sed 's/^/| /' conftest.
$ac_ext >&5
6846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6848 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6849 echo "${ECHO_T}$ac_cv_type_long" >&6
6851 echo "$as_me:$LINENO: checking size of long" >&5
6852 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6853 if test "${ac_cv_sizeof_long+set}" = set; then
6854 echo $ECHO_N "(cached) $ECHO_C" >&6
6856 if test "$ac_cv_type_long" = yes; then
6857 # The cast to unsigned long works around a bug in the HP C Compiler
6858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6860 # This bug is HP SR number 8606223364.
6861 if test "$cross_compiling" = yes; then
6862 # Depending upon the size, compute the lo and hi bounds.
6863 cat >conftest.
$ac_ext <<_ACEOF
6866 cat confdefs.h
>>conftest.
$ac_ext
6867 cat >>conftest.
$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6869 $ac_includes_default
6873 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6880 rm -f conftest.
$ac_objext
6881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6882 (eval $ac_compile) 2>conftest.er1
6884 grep -v '^ *+' conftest.er1
>conftest.err
6886 cat conftest.err
>&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } &&
6889 { ac_try
='test -z "$ac_c_werror_flag"
6890 || test ! -s conftest.err'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; } &&
6896 { ac_try
='test -s conftest.$ac_objext'
6897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); }; }; then
6904 cat >conftest.
$ac_ext <<_ACEOF
6907 cat confdefs.h
>>conftest.
$ac_ext
6908 cat >>conftest.
$ac_ext <<_ACEOF
6909 /* end confdefs.h. */
6910 $ac_includes_default
6914 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6921 rm -f conftest.
$ac_objext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6923 (eval $ac_compile) 2>conftest.er1
6925 grep -v '^ *+' conftest.er1
>conftest.err
6927 cat conftest.err
>&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); } &&
6930 { ac_try
='test -z "$ac_c_werror_flag"
6931 || test ! -s conftest.err'
6932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); }; } &&
6937 { ac_try
='test -s conftest.$ac_objext'
6938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6942 (exit $ac_status); }; }; then
6943 ac_hi
=$ac_mid; break
6945 echo "$as_me: failed program was:" >&5
6946 sed 's/^/| /' conftest.
$ac_ext >&5
6948 ac_lo
=`expr $ac_mid + 1`
6949 if test $ac_lo -le $ac_mid; then
6953 ac_mid
=`expr 2 '*' $ac_mid + 1`
6955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6958 echo "$as_me: failed program was:" >&5
6959 sed 's/^/| /' conftest.
$ac_ext >&5
6961 cat >conftest.
$ac_ext <<_ACEOF
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 $ac_includes_default
6971 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6978 rm -f conftest.
$ac_objext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6980 (eval $ac_compile) 2>conftest.er1
6982 grep -v '^ *+' conftest.er1
>conftest.err
6984 cat conftest.err
>&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } &&
6987 { ac_try
='test -z "$ac_c_werror_flag"
6988 || test ! -s conftest.err'
6989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; } &&
6994 { ac_try
='test -s conftest.$ac_objext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7002 cat >conftest.
$ac_ext <<_ACEOF
7005 cat confdefs.h
>>conftest.
$ac_ext
7006 cat >>conftest.
$ac_ext <<_ACEOF
7007 /* end confdefs.h. */
7008 $ac_includes_default
7012 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
7019 rm -f conftest.
$ac_objext
7020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7021 (eval $ac_compile) 2>conftest.er1
7023 grep -v '^ *+' conftest.er1
>conftest.err
7025 cat conftest.err
>&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } &&
7028 { ac_try
='test -z "$ac_c_werror_flag"
7029 || test ! -s conftest.err'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; } &&
7035 { ac_try
='test -s conftest.$ac_objext'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; }; then
7041 ac_lo
=$ac_mid; break
7043 echo "$as_me: failed program was:" >&5
7044 sed 's/^/| /' conftest.
$ac_ext >&5
7046 ac_hi
=`expr '(' $ac_mid ')' - 1`
7047 if test $ac_mid -le $ac_hi; then
7051 ac_mid
=`expr 2 '*' $ac_mid`
7053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7056 echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.
$ac_ext >&5
7061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7064 # Binary search between lo and hi bounds.
7065 while test "x$ac_lo" != "x$ac_hi"; do
7066 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7067 cat >conftest.
$ac_ext <<_ACEOF
7070 cat confdefs.h
>>conftest.
$ac_ext
7071 cat >>conftest.
$ac_ext <<_ACEOF
7072 /* end confdefs.h. */
7073 $ac_includes_default
7077 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7084 rm -f conftest.
$ac_objext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7086 (eval $ac_compile) 2>conftest.er1
7088 grep -v '^ *+' conftest.er1
>conftest.err
7090 cat conftest.err
>&5
7091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7092 (exit $ac_status); } &&
7093 { ac_try
='test -z "$ac_c_werror_flag"
7094 || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try
='test -s conftest.$ac_objext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.
$ac_ext >&5
7111 ac_lo
=`expr '(' $ac_mid ')' + 1`
7113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7116 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7117 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7118 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7120 See \`config.log' for more details." >&5
7121 echo "$as_me: error: cannot compute sizeof (long), 77
7122 See \`config.log' for more details." >&2;}
7123 { (exit 1); exit 1; }; }; } ;;
7126 if test "$cross_compiling" = yes; then
7127 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7128 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7129 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7130 See \`config.log' for more details." >&5
7131 echo "$as_me: error: cannot run test program while cross compiling
7132 See \`config.log' for more details." >&2;}
7133 { (exit 1); exit 1; }; }; }
7135 cat >conftest.
$ac_ext <<_ACEOF
7138 cat confdefs.h
>>conftest.
$ac_ext
7139 cat >>conftest.
$ac_ext <<_ACEOF
7140 /* end confdefs.h. */
7141 $ac_includes_default
7142 long longval () { return (long) (sizeof (long)); }
7143 unsigned long ulongval () { return (long) (sizeof (long)); }
7150 FILE *f = fopen ("conftest.val", "w");
7153 if (((long) (sizeof (long))) < 0)
7155 long i = longval ();
7156 if (i != ((long) (sizeof (long))))
7158 fprintf (f, "%ld\n", i);
7162 unsigned long i = ulongval ();
7163 if (i != ((long) (sizeof (long))))
7165 fprintf (f, "%lu\n", i);
7167 exit (ferror (f) || fclose (f) != 0);
7173 rm -f conftest
$ac_exeext
7174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7175 (eval $ac_link) 2>&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; }; then
7184 ac_cv_sizeof_long
=`cat conftest.val`
7186 echo "$as_me: program exited with status $ac_status" >&5
7187 echo "$as_me: failed program was:" >&5
7188 sed 's/^/| /' conftest.
$ac_ext >&5
7191 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7192 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7194 See \`config.log' for more details." >&5
7195 echo "$as_me: error: cannot compute sizeof (long), 77
7196 See \`config.log' for more details." >&2;}
7197 { (exit 1); exit 1; }; }; }
7199 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7207 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7208 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7209 cat >>confdefs.h
<<_ACEOF
7210 #define SIZEOF_LONG $ac_cv_sizeof_long
7215 # Checks for library functions.
7216 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7217 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7218 if test "${ac_cv_header_stdc+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 cat >conftest.
$ac_ext <<_ACEOF
7224 cat confdefs.h
>>conftest.
$ac_ext
7225 cat >>conftest.
$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7240 rm -f conftest.
$ac_objext
7241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7242 (eval $ac_compile) 2>conftest.er1
7244 grep -v '^ *+' conftest.er1
>conftest.err
7246 cat conftest.err
>&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); } &&
7249 { ac_try
='test -z "$ac_c_werror_flag"
7250 || test ! -s conftest.err'
7251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); }; } &&
7256 { ac_try
='test -s conftest.$ac_objext'
7257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); }; }; then
7262 ac_cv_header_stdc
=yes
7264 echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.
$ac_ext >&5
7267 ac_cv_header_stdc
=no
7269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7271 if test $ac_cv_header_stdc = yes; then
7272 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7273 cat >conftest.
$ac_ext <<_ACEOF
7276 cat confdefs.h
>>conftest.
$ac_ext
7277 cat >>conftest.
$ac_ext <<_ACEOF
7278 /* end confdefs.h. */
7282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7283 $EGREP "memchr" >/dev
/null
2>&1; then
7286 ac_cv_header_stdc
=no
7292 if test $ac_cv_header_stdc = yes; then
7293 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7294 cat >conftest.
$ac_ext <<_ACEOF
7297 cat confdefs.h
>>conftest.
$ac_ext
7298 cat >>conftest.
$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7304 $EGREP "free" >/dev
/null
2>&1; then
7307 ac_cv_header_stdc
=no
7313 if test $ac_cv_header_stdc = yes; then
7314 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7315 if test "$cross_compiling" = yes; then
7318 cat >conftest.
$ac_ext <<_ACEOF
7321 cat confdefs.h
>>conftest.
$ac_ext
7322 cat >>conftest.
$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7325 #if ((' ' & 0x0FF) == 0x020)
7326 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7327 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7329 # define ISLOWER(c) \
7330 (('a' <= (c) && (c) <= 'i') \
7331 || ('j' <= (c) && (c) <= 'r') \
7332 || ('s' <= (c) && (c) <= 'z'))
7333 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7336 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7341 for (i = 0; i < 256; i++)
7342 if (XOR (islower (i), ISLOWER (i))
7343 || toupper (i) != TOUPPER (i))
7348 rm -f conftest
$ac_exeext
7349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7350 (eval $ac_link) 2>&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); }; }; then
7361 echo "$as_me: program exited with status $ac_status" >&5
7362 echo "$as_me: failed program was:" >&5
7363 sed 's/^/| /' conftest.
$ac_ext >&5
7366 ac_cv_header_stdc
=no
7368 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7372 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7373 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7374 if test $ac_cv_header_stdc = yes; then
7376 cat >>confdefs.h
<<\_ACEOF
7377 #define STDC_HEADERS 1
7383 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7384 if test "${enable_maintainer_mode+set}" = set; then
7385 enableval
="$enable_maintainer_mode"
7388 enable_maintainer_mode
=no
7391 if test "x$enable_maintainer_mode" = xno
; then
7399 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
7400 if test -f $ac_dir/install-sh
; then
7402 ac_install_sh
="$ac_aux_dir/install-sh -c"
7404 elif test -f $ac_dir/install.sh
; then
7406 ac_install_sh
="$ac_aux_dir/install.sh -c"
7408 elif test -f $ac_dir/shtool
; then
7410 ac_install_sh
="$ac_aux_dir/shtool install -c"
7414 if test -z "$ac_aux_dir"; then
7415 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
7416 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
7417 { (exit 1); exit 1; }; }
7419 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
7420 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
7421 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
7423 # Make sure we can run config.sub.
7424 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7425 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7426 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7427 { (exit 1); exit 1; }; }
7429 echo "$as_me:$LINENO: checking build system type" >&5
7430 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7431 if test "${ac_cv_build+set}" = set; then
7432 echo $ECHO_N "(cached) $ECHO_C" >&6
7434 ac_cv_build_alias
=$build_alias
7435 test -z "$ac_cv_build_alias" &&
7436 ac_cv_build_alias
=`$ac_config_guess`
7437 test -z "$ac_cv_build_alias" &&
7438 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7439 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7440 { (exit 1); exit 1; }; }
7441 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7442 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7443 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7444 { (exit 1); exit 1; }; }
7447 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7448 echo "${ECHO_T}$ac_cv_build" >&6
7450 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7451 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7452 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7455 echo "$as_me:$LINENO: checking host system type" >&5
7456 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7457 if test "${ac_cv_host+set}" = set; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 ac_cv_host_alias
=$host_alias
7461 test -z "$ac_cv_host_alias" &&
7462 ac_cv_host_alias
=$ac_cv_build_alias
7463 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7464 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7465 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7466 { (exit 1); exit 1; }; }
7469 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7470 echo "${ECHO_T}$ac_cv_host" >&6
7472 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7473 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7474 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7477 echo "$as_me:$LINENO: checking target system type" >&5
7478 echo $ECHO_N "checking target system type... $ECHO_C" >&6
7479 if test "${ac_cv_target+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 ac_cv_target_alias
=$target_alias
7483 test "x$ac_cv_target_alias" = "x" &&
7484 ac_cv_target_alias
=$ac_cv_host_alias
7485 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
7486 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7487 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7488 { (exit 1); exit 1; }; }
7491 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7492 echo "${ECHO_T}$ac_cv_target" >&6
7493 target
=$ac_cv_target
7494 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7495 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7496 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7499 # The aliases save the names the user supplied, while $host etc.
7500 # will get canonicalized.
7501 test -n "$target_alias" &&
7502 test "$program_prefix$program_suffix$program_transform_name" = \
7504 program_prefix
=${target_alias}-
7506 # Default decimal format
7507 # If you change the defaults here, be sure to change them in the GCC directory also
7508 echo "$as_me:$LINENO: checking for decimal floating point" >&5
7509 echo $ECHO_N "checking for decimal floating point... $ECHO_C" >&6
7510 # Check whether --enable-decimal-float or --disable-decimal-float was given.
7511 if test "${enable_decimal_float+set}" = set; then
7512 enableval
="$enable_decimal_float"
7514 case $enable_decimal_float in
7515 yes | no | bid | dpd
) ;;
7516 *) { { echo "$as_me:$LINENO: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
7517 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&5
7518 echo "$as_me: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
7519 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
7520 { (exit 1); exit 1; }; } ;;
7526 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux*)
7527 enable_decimal_float
=yes
7530 enable_decimal_float
=no
7536 # x86's use BID format instead of DPD
7537 # In theory --enable-decimal-float=no should not compile anything
7538 # For the sake of simplicity, just use the default format in this directory
7539 if test x
$enable_decimal_float = xyes
-o x
$enable_decimal_float = xno
; then
7541 i?
86*-*-linux* | x86_64
*-*-linux*)
7542 enable_decimal_float
=bid
7545 enable_decimal_float
=dpd
7550 # If BID is being used, additional objects should be linked in.
7551 if test x
$enable_decimal_float = xbid
; then
7552 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
7557 echo "$as_me:$LINENO: result: $enable_decimal_float" >&5
7558 echo "${ECHO_T}$enable_decimal_float" >&6
7562 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7563 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7564 if test "${ac_cv_c_bigendian+set}" = set; then
7565 echo $ECHO_N "(cached) $ECHO_C" >&6
7567 # See if sys/param.h defines the BYTE_ORDER macro.
7568 cat >conftest.
$ac_ext <<_ACEOF
7571 cat confdefs.h
>>conftest.
$ac_ext
7572 cat >>conftest.
$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <sys/types.h>
7575 #include <sys/param.h>
7580 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7588 rm -f conftest.
$ac_objext
7589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7590 (eval $ac_compile) 2>conftest.er1
7592 grep -v '^ *+' conftest.er1
>conftest.err
7594 cat conftest.err
>&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); } &&
7597 { ac_try
='test -z "$ac_c_werror_flag"
7598 || test ! -s conftest.err'
7599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); }; } &&
7604 { ac_try
='test -s conftest.$ac_objext'
7605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); }; }; then
7610 # It does; now see whether it defined to BIG_ENDIAN or not.
7611 cat >conftest.
$ac_ext <<_ACEOF
7614 cat confdefs.h
>>conftest.
$ac_ext
7615 cat >>conftest.
$ac_ext <<_ACEOF
7616 /* end confdefs.h. */
7617 #include <sys/types.h>
7618 #include <sys/param.h>
7623 #if BYTE_ORDER != BIG_ENDIAN
7631 rm -f conftest.
$ac_objext
7632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7633 (eval $ac_compile) 2>conftest.er1
7635 grep -v '^ *+' conftest.er1
>conftest.err
7637 cat conftest.err
>&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } &&
7640 { ac_try
='test -z "$ac_c_werror_flag"
7641 || test ! -s conftest.err'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; } &&
7647 { ac_try
='test -s conftest.$ac_objext'
7648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7652 (exit $ac_status); }; }; then
7653 ac_cv_c_bigendian
=yes
7655 echo "$as_me: failed program was:" >&5
7656 sed 's/^/| /' conftest.
$ac_ext >&5
7658 ac_cv_c_bigendian
=no
7660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7662 echo "$as_me: failed program was:" >&5
7663 sed 's/^/| /' conftest.
$ac_ext >&5
7665 # It does not; compile a test program.
7666 if test "$cross_compiling" = yes; then
7667 # try to guess the endianness by grepping values into an object file
7668 ac_cv_c_bigendian
=unknown
7669 cat >conftest.
$ac_ext <<_ACEOF
7672 cat confdefs.h
>>conftest.
$ac_ext
7673 cat >>conftest.
$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7675 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7676 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7677 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
7678 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7679 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7680 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
7684 _ascii (); _ebcdic ();
7689 rm -f conftest.
$ac_objext
7690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7691 (eval $ac_compile) 2>conftest.er1
7693 grep -v '^ *+' conftest.er1
>conftest.err
7695 cat conftest.err
>&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7697 (exit $ac_status); } &&
7698 { ac_try
='test -z "$ac_c_werror_flag"
7699 || test ! -s conftest.err'
7700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); }; } &&
7705 { ac_try
='test -s conftest.$ac_objext'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); }; }; then
7711 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
7712 ac_cv_c_bigendian
=yes
7714 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
7715 if test "$ac_cv_c_bigendian" = unknown
; then
7716 ac_cv_c_bigendian
=no
7718 # finding both strings is unlikely to happen, but who knows?
7719 ac_cv_c_bigendian
=unknown
7723 echo "$as_me: failed program was:" >&5
7724 sed 's/^/| /' conftest.
$ac_ext >&5
7727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7729 cat >conftest.
$ac_ext <<_ACEOF
7732 cat confdefs.h
>>conftest.
$ac_ext
7733 cat >>conftest.
$ac_ext <<_ACEOF
7734 /* end confdefs.h. */
7738 /* Are we little or big endian? From Harbison&Steele. */
7742 char c[sizeof (long)];
7745 exit (u.c[sizeof (long) - 1] == 1);
7748 rm -f conftest
$ac_exeext
7749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7750 (eval $ac_link) 2>&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); }; }; then
7759 ac_cv_c_bigendian
=no
7761 echo "$as_me: program exited with status $ac_status" >&5
7762 echo "$as_me: failed program was:" >&5
7763 sed 's/^/| /' conftest.
$ac_ext >&5
7766 ac_cv_c_bigendian
=yes
7768 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7771 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7773 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7774 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7775 case $ac_cv_c_bigendian in
7778 cat >>confdefs.h
<<\_ACEOF
7779 #define WORDS_BIGENDIAN 1
7785 { { echo "$as_me:$LINENO: error: unknown endianness
7786 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7787 echo "$as_me: error: unknown endianness
7788 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7789 { (exit 1); exit 1; }; } ;;
7795 ac_config_headers
="$ac_config_headers config.h:config.in"
7797 ac_config_files
="$ac_config_files Makefile"
7799 cat >confcache
<<\_ACEOF
7800 # This file is a shell script that caches the results of configure
7801 # tests run on this system so they can be shared between configure
7802 # scripts and configure runs, see configure's option --config-cache.
7803 # It is not useful on other systems. If it contains results you don't
7804 # want to keep, you may remove or edit it.
7806 # config.status only pays attention to the cache file if you give it
7807 # the --recheck option to rerun configure.
7809 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7810 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7815 # The following way of writing the cache mishandles newlines in values,
7816 # but we know of no workaround that is simple, portable, and efficient.
7817 # So, don't put newlines in cache variables' values.
7818 # Ultrix sh set writes to stderr and can't be redirected directly,
7819 # and sets the high bit in the cache file unless we assign to the vars.
7822 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7824 # `set' does not quote correctly, so add quotes (double-quote
7825 # substitution turns \\\\ into \\, and sed turns \\ into \).
7828 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7831 # `set' quotes correctly as required by POSIX, so do not add quotes.
7833 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7840 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7842 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7844 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7845 if test -w $cache_file; then
7846 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7847 cat confcache
>$cache_file
7849 echo "not updating unwritable cache $cache_file"
7854 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7855 # Let make expand exec_prefix.
7856 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7858 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7859 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7860 # trailing colons and then remove the whole line if VPATH becomes empty
7861 # (actually we leave an empty line to preserve line numbers).
7862 if test "x$srcdir" = x.
; then
7863 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7864 s/:*\$(srcdir):*/:/;
7865 s/:*\${srcdir}:*/:/;
7867 s/^\([^=]*=[ ]*\):*/\1/;
7873 DEFS
=-DHAVE_CONFIG_H
7877 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7878 # 1. Remove the extension, and $U if already installed.
7879 ac_i
=`echo "$ac_i" |
7880 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7882 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7883 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7887 LTLIBOBJS
=$ac_ltlibobjs
7891 : ${CONFIG_STATUS=./config.status}
7892 ac_clean_files_save
=$ac_clean_files
7893 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7894 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7895 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7896 cat >$CONFIG_STATUS <<_ACEOF
7898 # Generated by $as_me.
7899 # Run this file to recreate the current configuration.
7900 # Compiler output produced by configure, useful for debugging
7901 # configure, is in config.log if it exists.
7906 SHELL=\${CONFIG_SHELL-$SHELL}
7909 cat >>$CONFIG_STATUS <<\_ACEOF
7910 ## --------------------- ##
7911 ## M4sh Initialization. ##
7912 ## --------------------- ##
7914 # Be Bourne compatible
7915 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7918 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7919 # is contrary to our usage. Disable this feature.
7920 alias -g '${1+"$@"}'='"$@"'
7921 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7924 DUALCASE
=1; export DUALCASE
# for MKS sh
7926 # Support unset when possible.
7927 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7934 # Work around bugs in pre-3.0 UWIN ksh.
7935 $as_unset ENV MAIL MAILPATH
7942 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7943 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7944 LC_TELEPHONE LC_TIME
7946 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7947 eval $as_var=C
; export $as_var
7953 # Required to use basename.
7954 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7960 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7961 as_basename
=basename
7967 # Name of the executable.
7968 as_me
=`$as_basename "$0" ||
7969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7970 X"$0" : 'X\(//\)$' \| \
7971 X"$0" : 'X\(/\)$' \| \
7972 . : '\(.\)' 2>/dev/null ||
7974 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7975 /^X\/\(\/\/\)$/{ s//\1/; q; }
7976 /^X\/\(\/\).*/{ s//\1/; q; }
7980 # PATH needs CR, and LINENO needs CR and PATH.
7981 # Avoid depending upon Character Ranges.
7982 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7983 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7984 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7985 as_cr_digits
='0123456789'
7986 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7988 # The user is always right.
7989 if test "${PATH_SEPARATOR+set}" != set; then
7990 echo "#! /bin/sh" >conf$$.sh
7991 echo "exit 0" >>conf$$.sh
7993 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8004 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8005 test "x$as_lineno_1" != "x$as_lineno_2" &&
8006 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8007 # Find who we are. Look in the path if we contain no path at all
8010 *[\\/]* ) as_myself
=$0 ;;
8011 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir
=.
8016 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8021 # We did not find ourselves, most probably we were run as `sh COMMAND'
8022 # in which case we are not to be found in the path.
8023 if test "x$as_myself" = x
; then
8026 if test ! -f "$as_myself"; then
8027 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8028 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8029 { (exit 1); exit 1; }; }
8031 case $CONFIG_SHELL in
8033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8034 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8037 test -z "$as_dir" && as_dir
=.
8038 for as_base
in sh bash ksh sh5
; do
8041 if ("$as_dir/$as_base" -c '
8044 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8045 test "x$as_lineno_1" != "x$as_lineno_2" &&
8046 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8047 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8048 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8049 CONFIG_SHELL
=$as_dir/$as_base
8051 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8059 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8060 # uniformly replaced by the line number. The first 'sed' inserts a
8061 # line-number line before each line; the second 'sed' does the real
8062 # work. The second script uses 'N' to pair each line-number line
8063 # with the numbered line, and appends trailing '-' during
8064 # substitution so that $LINENO is not a special case at line end.
8065 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8066 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8067 sed '=' <$as_myself |
8072 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8075 s,^['$as_cr_digits']*\n,,
8077 chmod +x
$as_me.lineno ||
8078 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8079 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8080 { (exit 1); exit 1; }; }
8082 # Don't try to exec as it changes $[0], causing all sort of problems
8083 # (the dirname of $[0] is not the place where we might find the
8084 # original and so on. Autoconf is especially sensible to this).
8086 # Exit status is that of the last command.
8091 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8092 *c
*,-n*) ECHO_N
= ECHO_C
='
8094 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8095 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8098 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8104 rm -f conf$$ conf$$.exe conf$$.
file
8106 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8107 # We could just check for DJGPP; but this test a) works b) is more generic
8108 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8109 if test -f conf$$.exe
; then
8110 # Don't use ln at all; we don't have any links
8115 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8120 rm -f conf$$ conf$$.exe conf$$.
file
8122 if mkdir
-p .
2>/dev
/null
; then
8125 test -d .
/-p && rmdir .
/-p
8129 as_executable_p
="test -f"
8131 # Sed expression to map a string onto a valid CPP name.
8132 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8134 # Sed expression to map a string onto a valid variable name.
8135 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8139 # We need space, tab and new line, in precisely that order.
8149 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8150 # report actual input values of CONFIG_FILES etc. instead of their
8151 # values after options handling. Logging --version etc. is OK.
8155 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8156 ## Running $as_me. ##
8161 This file was extended by libdecnumber $as_me , which was
8162 generated by GNU Autoconf 2.59. Invocation command line was
8164 CONFIG_FILES = $CONFIG_FILES
8165 CONFIG_HEADERS = $CONFIG_HEADERS
8166 CONFIG_LINKS = $CONFIG_LINKS
8167 CONFIG_COMMANDS = $CONFIG_COMMANDS
8171 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8175 # Files that config.status was made for.
8176 if test -n "$ac_config_files"; then
8177 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8180 if test -n "$ac_config_headers"; then
8181 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8184 if test -n "$ac_config_links"; then
8185 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8188 if test -n "$ac_config_commands"; then
8189 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8192 cat >>$CONFIG_STATUS <<\_ACEOF
8195 \`$as_me' instantiates files from templates according to the
8196 current configuration.
8198 Usage: $0 [OPTIONS] [FILE]...
8200 -h, --help print this help, then exit
8201 -V, --version print version number, then exit
8202 -q, --quiet do not print progress messages
8203 -d, --debug don't remove temporary files
8204 --recheck update $as_me by reconfiguring in the same conditions
8205 --file=FILE[:TEMPLATE]
8206 instantiate the configuration file FILE
8207 --header=FILE[:TEMPLATE]
8208 instantiate the configuration header FILE
8210 Configuration files:
8213 Configuration headers:
8216 Configuration commands:
8219 Report bugs to <bug-autoconf@gnu.org>."
8222 cat >>$CONFIG_STATUS <<_ACEOF
8224 libdecnumber config.status
8225 configured by $0, generated by GNU Autoconf 2.59,
8226 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8228 Copyright (C) 2003 Free Software Foundation, Inc.
8229 This config.status script is free software; the Free Software Foundation
8230 gives unlimited permission to copy, distribute and modify it."
8234 cat >>$CONFIG_STATUS <<\_ACEOF
8235 # If no file are specified by the user, then we need to provide default
8236 # value. By we need to know if files were specified by the user.
8242 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8243 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8251 *) # This is not an option, so the user has probably given explicit
8254 ac_need_defaults
=false
;;
8258 # Handling of the options.
8260 cat >>$CONFIG_STATUS <<\_ACEOF
8261 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8263 --version |
--vers* |
-V )
8264 echo "$ac_cs_version"; exit 0 ;;
8266 # Conflict between --help and --header
8267 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8268 Try \`$0 --help' for more information." >&5
8269 echo "$as_me: error: ambiguous option: $1
8270 Try \`$0 --help' for more information." >&2;}
8271 { (exit 1); exit 1; }; };;
8272 --help |
--hel |
-h )
8273 echo "$ac_cs_usage"; exit 0 ;;
8274 --debug |
--d* |
-d )
8276 --file |
--fil |
--fi |
--f )
8278 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8279 ac_need_defaults
=false
;;
8280 --header |
--heade |
--head |
--hea )
8282 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8283 ac_need_defaults
=false
;;
8284 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8285 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8289 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8290 Try \`$0 --help' for more information." >&5
8291 echo "$as_me: error: unrecognized option: $1
8292 Try \`$0 --help' for more information." >&2;}
8293 { (exit 1); exit 1; }; } ;;
8295 *) ac_config_targets
="$ac_config_targets $1" ;;
8301 ac_configure_extra_args
=
8303 if $ac_cs_silent; then
8305 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8309 cat >>$CONFIG_STATUS <<_ACEOF
8310 if \$ac_cs_recheck; then
8311 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8312 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8317 cat >>$CONFIG_STATUS <<_ACEOF
8319 # INIT-COMMANDS section.
8325 acx_cv_header_stdint="$acx_cv_header_stdint"
8326 acx_cv_type_int8_t="$acx_cv_type_int8_t"
8327 acx_cv_type_int16_t="$acx_cv_type_int16_t"
8328 acx_cv_type_int32_t="$acx_cv_type_int32_t"
8329 acx_cv_type_int64_t="$acx_cv_type_int64_t"
8330 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
8331 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
8332 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
8333 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
8334 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
8335 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
8336 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
8337 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
8338 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
8345 cat >>$CONFIG_STATUS <<\_ACEOF
8346 for ac_config_target
in $ac_config_targets
8348 case "$ac_config_target" in
8349 # Handling of arguments.
8350 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8351 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
8352 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8353 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8354 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8355 { (exit 1); exit 1; }; };;
8359 # If the user did not use the arguments to specify the items to instantiate,
8360 # then the envvar interface is used. Set only those that are not.
8361 # We use the long form for the default assignment because of an extremely
8362 # bizarre bug on SunOS 4.1.3.
8363 if $ac_need_defaults; then
8364 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8365 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8366 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8369 # Have a temporary directory for convenience. Make it in the build tree
8370 # simply because there is no reason to put it here, and in addition,
8371 # creating and moving files from /tmp can sometimes cause problems.
8372 # Create a temporary directory, and hook for its removal unless debugging.
8375 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8376 trap '{ (exit 1); exit 1; }' 1 2 13 15
8379 # Create a (secure) tmp directory for tmp files.
8382 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8383 test -n "$tmp" && test -d "$tmp"
8386 tmp
=.
/confstat$$
-$RANDOM
8387 (umask 077 && mkdir
$tmp)
8390 echo "$me: cannot create a temporary directory in ." >&2
8391 { (exit 1); exit 1; }
8396 cat >>$CONFIG_STATUS <<_ACEOF
8399 # CONFIG_FILES section.
8402 # No need to generate the scripts if there are no CONFIG_FILES.
8403 # This happens for instance when ./config.status config.h
8404 if test -n "\$CONFIG_FILES"; then
8405 # Protect against being on the right side of a sed subst in config.status.
8406 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8407 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8408 s,@SHELL@,$SHELL,;t t
8409 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8410 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8411 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8412 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8413 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8414 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8415 s,@exec_prefix@,$exec_prefix,;t t
8416 s,@prefix@,$prefix,;t t
8417 s,@program_transform_name@,$program_transform_name,;t t
8418 s,@bindir@,$bindir,;t t
8419 s,@sbindir@,$sbindir,;t t
8420 s,@libexecdir@,$libexecdir,;t t
8421 s,@datadir@,$datadir,;t t
8422 s,@sysconfdir@,$sysconfdir,;t t
8423 s,@sharedstatedir@,$sharedstatedir,;t t
8424 s,@localstatedir@,$localstatedir,;t t
8425 s,@libdir@,$libdir,;t t
8426 s,@includedir@,$includedir,;t t
8427 s,@oldincludedir@,$oldincludedir,;t t
8428 s,@infodir@,$infodir,;t t
8429 s,@mandir@,$mandir,;t t
8430 s,@build_alias@,$build_alias,;t t
8431 s,@host_alias@,$host_alias,;t t
8432 s,@target_alias@,$target_alias,;t t
8434 s,@ECHO_C@,$ECHO_C,;t t
8435 s,@ECHO_N@,$ECHO_N,;t t
8436 s,@ECHO_T@,$ECHO_T,;t t
8438 s,@SET_MAKE@,$SET_MAKE,;t t
8440 s,@CFLAGS@,$CFLAGS,;t t
8441 s,@LDFLAGS@,$LDFLAGS,;t t
8442 s,@CPPFLAGS@,$CPPFLAGS,;t t
8443 s,@ac_ct_CC@,$ac_ct_CC,;t t
8444 s,@EXEEXT@,$EXEEXT,;t t
8445 s,@OBJEXT@,$OBJEXT,;t t
8446 s,@RANLIB@,$RANLIB,;t t
8447 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8448 s,@ACLOCAL@,$ACLOCAL,;t t
8449 s,@AUTOCONF@,$AUTOCONF,;t t
8450 s,@AUTOHEADER@,$AUTOHEADER,;t t
8451 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8452 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
8453 s,@WERROR@,$WERROR,;t t
8455 s,@EGREP@,$EGREP,;t t
8456 s,@MAINT@,$MAINT,;t t
8457 s,@build@,$build,;t t
8458 s,@build_cpu@,$build_cpu,;t t
8459 s,@build_vendor@,$build_vendor,;t t
8460 s,@build_os@,$build_os,;t t
8462 s,@host_cpu@,$host_cpu,;t t
8463 s,@host_vendor@,$host_vendor,;t t
8464 s,@host_os@,$host_os,;t t
8465 s,@target@,$target,;t t
8466 s,@target_cpu@,$target_cpu,;t t
8467 s,@target_vendor@,$target_vendor,;t t
8468 s,@target_os@,$target_os,;t t
8469 s,@enable_decimal_float@,$enable_decimal_float,;t t
8470 s,@ADDITIONAL_OBJS@,$ADDITIONAL_OBJS,;t t
8471 s,@LIBOBJS@,$LIBOBJS,;t t
8472 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8477 cat >>$CONFIG_STATUS <<\_ACEOF
8478 # Split the substitutions into bite-sized pieces for seds with
8479 # small command number limits, like on Digital OSF/1 and HP-UX.
8481 ac_sed_frag
=1 # Number of current file.
8482 ac_beg
=1 # First line for current file.
8483 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8486 while $ac_more_lines; do
8487 if test $ac_beg -gt 1; then
8488 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8490 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8492 if test ! -s $tmp/subs.frag
; then
8495 # The purpose of the label and of the branching condition is to
8496 # speed up the sed processing (if there are no `@' at all, there
8497 # is no need to browse any of the substitutions).
8498 # These are the two extra sed commands mentioned above.
8500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8501 if test -z "$ac_sed_cmds"; then
8502 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8504 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8506 ac_sed_frag
=`expr $ac_sed_frag + 1`
8508 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8511 if test -z "$ac_sed_cmds"; then
8514 fi # test -n "$CONFIG_FILES"
8517 cat >>$CONFIG_STATUS <<\_ACEOF
8518 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8519 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8521 - |
*:- |
*:-:* ) # input from stdin
8523 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8524 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8525 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8526 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8527 * ) ac_file_in
=$ac_file.
in ;;
8530 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8531 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8532 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8533 X"$ac_file" : 'X\(//\)[^/]' \| \
8534 X"$ac_file" : 'X\(//\)$' \| \
8535 X"$ac_file" : 'X\(/\)' \| \
8536 . : '\(.\)' 2>/dev/null ||
8538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8539 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8540 /^X\(\/\/\)$/{ s//\1/; q; }
8541 /^X\(\/\).*/{ s//\1/; q; }
8543 { if $as_mkdir_p; then
8548 while test ! -d "$as_dir"; do
8549 as_dirs
="$as_dir $as_dirs"
8550 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8552 X"$as_dir" : 'X\(//\)[^/]' \| \
8553 X"$as_dir" : 'X\(//\)$' \| \
8554 X"$as_dir" : 'X\(/\)' \| \
8555 . : '\(.\)' 2>/dev/null ||
8557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8558 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8559 /^X\(\/\/\)$/{ s//\1/; q; }
8560 /^X\(\/\).*/{ s//\1/; q; }
8563 test ! -n "$as_dirs" || mkdir
$as_dirs
8564 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8565 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8566 { (exit 1); exit 1; }; }; }
8570 if test "$ac_dir" != .
; then
8571 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8572 # A "../" for each directory in $ac_dir_suffix.
8573 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8575 ac_dir_suffix
= ac_top_builddir
=
8579 .
) # No --srcdir option. We are building in place.
8581 if test -z "$ac_top_builddir"; then
8584 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8586 [\\/]* | ?
:[\\/]* ) # Absolute path.
8587 ac_srcdir
=$srcdir$ac_dir_suffix;
8588 ac_top_srcdir
=$srcdir ;;
8590 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8591 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8594 # Do not use `cd foo && pwd` to compute absolute paths, because
8595 # the directories may not exist.
8597 .
) ac_abs_builddir
="$ac_dir";;
8600 .
) ac_abs_builddir
=`pwd`;;
8601 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8602 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8605 case $ac_abs_builddir in
8606 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8608 case ${ac_top_builddir}.
in
8609 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8610 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8611 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8614 case $ac_abs_builddir in
8615 .
) ac_abs_srcdir
=$ac_srcdir;;
8618 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8619 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8620 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8623 case $ac_abs_builddir in
8624 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8626 case $ac_top_srcdir in
8627 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8628 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8629 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8635 if test x
"$ac_file" != x-
; then
8636 { echo "$as_me:$LINENO: creating $ac_file" >&5
8637 echo "$as_me: creating $ac_file" >&6;}
8640 # Let's still pretend it is `configure' which instantiates (i.e., don't
8641 # use $as_me), people would be surprised to read:
8642 # /* config.h. Generated by config.status. */
8643 if test x
"$ac_file" = x-
; then
8646 configure_input
="$ac_file. "
8648 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8649 sed 's,.*/,,'` by configure."
8651 # First look for the input files in the build tree, otherwise in the
8653 ac_file_inputs
=`IFS=:
8654 for f in $ac_file_in; do
8656 -) echo $tmp/stdin ;;
8658 # Absolute (can't be DOS-style, as IFS=:)
8659 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8660 echo "$as_me: error: cannot find input file: $f" >&2;}
8661 { (exit 1); exit 1; }; }
8664 if test -f "$f"; then
8667 elif test -f "$srcdir/$f"; then
8672 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8673 echo "$as_me: error: cannot find input file: $f" >&2;}
8674 { (exit 1); exit 1; }; }
8677 done` ||
{ (exit 1); exit 1; }
8679 cat >>$CONFIG_STATUS <<_ACEOF
8683 cat >>$CONFIG_STATUS <<\_ACEOF
8685 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8686 s
,@configure_input@
,$configure_input,;t t
8687 s
,@srcdir@
,$ac_srcdir,;t t
8688 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8689 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8690 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8691 s
,@builddir@
,$ac_builddir,;t t
8692 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8693 s
,@top_builddir@
,$ac_top_builddir,;t t
8694 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8695 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8697 if test x"$ac_file" != x-; then
8698 mv $tmp/out $ac_file
8706 cat >>$CONFIG_STATUS <<\_ACEOF
8709 # CONFIG_HEADER section.
8712 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8713 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8715 # ac_d sets the value in "#define NAME VALUE" lines.
8716 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8717 ac_dB
='[ ].*$,\1#\2'
8720 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8721 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8722 ac_uB
='$,\1#\2define\3'
8726 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8727 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8729 - |
*:- |
*:-:* ) # input from stdin
8731 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8732 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8733 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8734 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8735 * ) ac_file_in
=$ac_file.
in ;;
8738 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8739 echo "$as_me: creating $ac_file" >&6;}
8741 # First look for the input files in the build tree, otherwise in the
8743 ac_file_inputs
=`IFS=:
8744 for f in $ac_file_in; do
8746 -) echo $tmp/stdin ;;
8748 # Absolute (can't be DOS-style, as IFS=:)
8749 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8750 echo "$as_me: error: cannot find input file: $f" >&2;}
8751 { (exit 1); exit 1; }; }
8752 # Do quote $f, to prevent DOS paths from being IFS'd.
8755 if test -f "$f"; then
8758 elif test -f "$srcdir/$f"; then
8763 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8764 echo "$as_me: error: cannot find input file: $f" >&2;}
8765 { (exit 1); exit 1; }; }
8768 done` ||
{ (exit 1); exit 1; }
8769 # Remove the trailing spaces.
8770 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8774 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8775 # `conftest.undefs', that substitutes the proper values into
8776 # config.h.in to produce config.h. The first handles `#define'
8777 # templates, and the second `#undef' templates.
8778 # And first: Protect against being on the right side of a sed subst in
8779 # config.status. Protect against being in an unquoted here document
8781 rm -f conftest.defines conftest.undefs
8782 # Using a here document instead of a string reduces the quoting nightmare.
8783 # Putting comments in sed scripts is not portable.
8785 # `end' is used to avoid that the second main sed command (meant for
8786 # 0-ary CPP macros) applies to n-ary macro definitions.
8787 # See the Autoconf documentation for `clear'.
8788 cat >confdef2sed.
sed <<\_ACEOF
8793 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8795 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8798 # If some macros were called several times there might be several times
8799 # the same #defines, which is useless. Nevertheless, we may not want to
8800 # sort them, since we want the *last* AC-DEFINE to be honored.
8801 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8802 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8803 rm -f confdef2sed.sed
8805 # This sed command replaces #undef with comments. This is necessary, for
8806 # example, in the case of _POSIX_SOURCE, which is predefined and required
8807 # on some systems where configure will not decide to define it.
8808 cat >>conftest.undefs <<\_ACEOF
8809 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8812 # Break up conftest.defines because some shells have a limit on the size
8813 # of here documents, and old seds have small limits too (100 cmds).
8814 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8815 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8816 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8817 echo ' :' >>$CONFIG_STATUS
8819 while grep . conftest.defines >/dev/null
8821 # Write a limited-size here document to $tmp/defines.sed.
8822 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8823 # Speed up: don't consider the non `#define' lines.
8824 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8825 # Work around the forget-to-reset-the-flag bug.
8826 echo 't clr' >>$CONFIG_STATUS
8827 echo ': clr' >>$CONFIG_STATUS
8828 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8830 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8834 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8835 rm -f conftest.defines
8836 mv conftest.
tail conftest.defines
8838 rm -f conftest.defines
8839 echo ' fi # grep' >>$CONFIG_STATUS
8840 echo >>$CONFIG_STATUS
8842 # Break up conftest.undefs because some shells have a limit on the size
8843 # of here documents, and old seds have small limits too (100 cmds).
8844 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8846 while grep . conftest.undefs
>/dev
/null
8848 # Write a limited-size here document to $tmp/undefs.sed.
8849 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8850 # Speed up: don't consider the non
`#undef'
8851 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8852 # Work around the forget-to-reset-the-flag bug.
8853 echo 't clr' >>$CONFIG_STATUS
8854 echo ': clr' >>$CONFIG_STATUS
8855 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8857 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8861 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8862 rm -f conftest.undefs
8863 mv conftest.tail conftest.undefs
8865 rm -f conftest.undefs
8867 cat >>$CONFIG_STATUS <<\_ACEOF
8868 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8869 # use $as_me), people would be surprised to read:
8870 # /* config.h. Generated by config.status. */
8871 if test x
"$ac_file" = x-
; then
8872 echo "/* Generated by configure. */" >$tmp/config.h
8874 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8876 cat $tmp/in >>$tmp/config.h
8878 if test x
"$ac_file" != x-
; then
8879 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8880 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8881 echo "$as_me: $ac_file is unchanged" >&6;}
8883 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8884 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8885 X"$ac_file" : 'X\(//\)[^/]' \| \
8886 X"$ac_file" : 'X\(//\)$' \| \
8887 X"$ac_file" : 'X\(/\)' \| \
8888 . : '\(.\)' 2>/dev/null ||
8890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8892 /^X\(\/\/\)$/{ s//\1/; q; }
8893 /^X\(\/\).*/{ s//\1/; q; }
8895 { if $as_mkdir_p; then
8900 while test ! -d "$as_dir"; do
8901 as_dirs
="$as_dir $as_dirs"
8902 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8904 X"$as_dir" : 'X\(//\)[^/]' \| \
8905 X"$as_dir" : 'X\(//\)$' \| \
8906 X"$as_dir" : 'X\(/\)' \| \
8907 . : '\(.\)' 2>/dev/null ||
8909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8910 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8911 /^X\(\/\/\)$/{ s//\1/; q; }
8912 /^X\(\/\).*/{ s//\1/; q; }
8915 test ! -n "$as_dirs" || mkdir
$as_dirs
8916 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8917 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8918 { (exit 1); exit 1; }; }; }
8921 mv $tmp/config.h
$ac_file
8927 # Run the commands associated with the file.
8929 config.h
) echo timestamp
> stamp-h1
;;
8933 cat >>$CONFIG_STATUS <<\_ACEOF
8936 # CONFIG_COMMANDS section.
8938 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8939 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8940 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8941 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8942 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8943 X"$ac_dest" : 'X\(//\)[^/]' \| \
8944 X"$ac_dest" : 'X\(//\)$' \| \
8945 X"$ac_dest" : 'X\(/\)' \| \
8946 . : '\(.\)' 2>/dev/null ||
8948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8950 /^X\(\/\/\)$/{ s//\1/; q; }
8951 /^X\(\/\).*/{ s//\1/; q; }
8953 { if $as_mkdir_p; then
8958 while test ! -d "$as_dir"; do
8959 as_dirs
="$as_dir $as_dirs"
8960 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8961 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8962 X"$as_dir" : 'X\(//\)[^/]' \| \
8963 X"$as_dir" : 'X\(//\)$' \| \
8964 X"$as_dir" : 'X\(/\)' \| \
8965 . : '\(.\)' 2>/dev/null ||
8967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8968 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8969 /^X\(\/\/\)$/{ s//\1/; q; }
8970 /^X\(\/\).*/{ s//\1/; q; }
8973 test ! -n "$as_dirs" || mkdir
$as_dirs
8974 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8975 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8976 { (exit 1); exit 1; }; }; }
8980 if test "$ac_dir" != .
; then
8981 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8982 # A "../" for each directory in $ac_dir_suffix.
8983 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8985 ac_dir_suffix
= ac_top_builddir
=
8989 .
) # No --srcdir option. We are building in place.
8991 if test -z "$ac_top_builddir"; then
8994 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8996 [\\/]* | ?
:[\\/]* ) # Absolute path.
8997 ac_srcdir
=$srcdir$ac_dir_suffix;
8998 ac_top_srcdir
=$srcdir ;;
9000 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9001 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9004 # Do not use `cd foo && pwd` to compute absolute paths, because
9005 # the directories may not exist.
9007 .
) ac_abs_builddir
="$ac_dir";;
9010 .
) ac_abs_builddir
=`pwd`;;
9011 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9012 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9015 case $ac_abs_builddir in
9016 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9018 case ${ac_top_builddir}.
in
9019 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9020 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9021 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9024 case $ac_abs_builddir in
9025 .
) ac_abs_srcdir
=$ac_srcdir;;
9028 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9029 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9030 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9033 case $ac_abs_builddir in
9034 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9036 case $ac_top_srcdir in
9037 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9038 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9039 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9044 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9045 echo "$as_me: executing $ac_dest commands" >&6;}
9048 if test "$GCC" = yes; then
9049 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
9051 echo "/* generated for $CC */" > tmp-stdint.h
9054 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9056 #ifndef GCC_GENERATED_STDINT_H
9057 #define GCC_GENERATED_STDINT_H 1
9059 #include <sys/types.h>
9062 if test "$acx_cv_header_stdint" != stdint.h
; then
9063 echo "#include <stddef.h>" >> tmp-stdint.h
9065 if test "$acx_cv_header_stdint" != stddef.h
; then
9066 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
9069 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9070 /* glibc uses these symbols as guards to prevent redefinitions. */
9071 #ifdef __int8_t_defined
9076 #ifdef __uint32_t_defined
9082 # ----------------- done header, emit basic int types -------------
9083 if test "$acx_cv_header_stdint" = stddef.h
; then
9084 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9088 #ifndef __uint8_t_defined
9089 #define __uint8_t_defined
9090 typedef unsigned $acx_cv_type_int8_t uint8_t;
9096 #ifndef __uint16_t_defined
9097 #define __uint16_t_defined
9098 typedef unsigned $acx_cv_type_int16_t uint16_t;
9104 #ifndef __uint32_t_defined
9105 #define __uint32_t_defined
9106 typedef unsigned $acx_cv_type_int32_t uint32_t;
9112 #ifndef __int8_t_defined
9113 #define __int8_t_defined
9114 typedef $acx_cv_type_int8_t int8_t;
9120 #ifndef __int16_t_defined
9121 #define __int16_t_defined
9122 typedef $acx_cv_type_int16_t int16_t;
9128 #ifndef __int32_t_defined
9129 #define __int32_t_defined
9130 typedef $acx_cv_type_int32_t int32_t;
9134 elif test "$ac_cv_type_u_int32_t" = yes; then
9135 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9137 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
9150 #ifndef __uint8_t_defined
9151 #define __uint8_t_defined
9152 typedef u_int8_t uint8_t;
9158 #ifndef __uint16_t_defined
9159 #define __uint16_t_defined
9160 typedef u_int16_t uint16_t;
9166 #ifndef __uint32_t_defined
9167 #define __uint32_t_defined
9168 typedef u_int32_t uint32_t;
9173 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9175 /* Some systems have guard macros to prevent redefinitions, define them. */
9197 # ------------- done basic int types, emit int64_t types ------------
9198 if test "$ac_cv_type_uint64_t" = yes; then
9199 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9201 /* system headers have good uint64_t and int64_t */
9209 elif test "$ac_cv_type_u_int64_t" = yes; then
9210 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9212 /* system headers have an u_int64_t (and int64_t) */
9218 #ifndef __uint64_t_defined
9219 #define __uint64_t_defined
9220 typedef u_int64_t uint64_t;
9224 elif test -n "$acx_cv_type_int64_t"; then
9225 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9227 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
9230 typedef $acx_cv_type_int64_t int64_t;
9234 #ifndef __uint64_t_defined
9235 #define __uint64_t_defined
9236 typedef unsigned $acx_cv_type_int64_t uint64_t;
9241 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9243 /* some common heuristics for int64_t, using compiler-specific tests */
9244 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
9247 #ifndef __int64_t_defined
9248 typedef long long int64_t;
9253 typedef unsigned long long uint64_t;
9256 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
9257 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
9258 does not implement __extension__. But that compiler doesn't define
9260 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
9261 # define __extension__
9266 __extension__ typedef long long int64_t;
9270 __extension__ typedef unsigned long long uint64_t;
9273 #elif !defined __STRICT_ANSI__
9274 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
9278 typedef __int64 int64_t;
9282 typedef unsigned __int64 uint64_t;
9284 # endif /* compiler */
9286 #endif /* ANSI version */
9290 # ------------- done int64_t types, emit intptr types ------------
9291 if test "$ac_cv_type_uintptr_t" != yes; then
9292 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9294 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
9295 #ifndef __uintptr_t_defined
9296 typedef u$acx_cv_type_intptr_t uintptr_t;
9298 #ifndef __intptr_t_defined
9299 typedef $acx_cv_type_intptr_t intptr_t;
9304 # ------------- done intptr types, emit int_least types ------------
9305 if test "$ac_cv_type_int_least32_t" != yes; then
9306 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9308 /* Define int_least types */
9309 typedef int8_t int_least8_t;
9310 typedef int16_t int_least16_t;
9311 typedef int32_t int_least32_t;
9313 typedef int64_t int_least64_t;
9316 typedef uint8_t uint_least8_t;
9317 typedef uint16_t uint_least16_t;
9318 typedef uint32_t uint_least32_t;
9320 typedef uint64_t uint_least64_t;
9325 # ------------- done intptr types, emit int_fast types ------------
9326 if test "$ac_cv_type_int_fast32_t" != yes; then
9327 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9329 /* Define int_fast types. short is often slow */
9330 typedef int8_t int_fast8_t;
9331 typedef int int_fast16_t;
9332 typedef int32_t int_fast32_t;
9334 typedef int64_t int_fast64_t;
9337 typedef uint8_t uint_fast8_t;
9338 typedef unsigned int uint_fast16_t;
9339 typedef uint32_t uint_fast32_t;
9341 typedef uint64_t uint_fast64_t;
9346 if test "$ac_cv_type_uintmax_t" != yes; then
9347 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9349 /* Define intmax based on what we found */
9351 typedef int64_t intmax_t;
9353 typedef long intmax_t;
9356 typedef uint64_t uintmax_t;
9358 typedef unsigned long uintmax_t;
9363 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9365 #endif /* GCC_GENERATED_STDINT_H */
9368 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
9371 mv -f tmp-stdint.h gstdint.h
9379 cat >>$CONFIG_STATUS <<\_ACEOF
9381 { (exit 0); exit 0; }
9383 chmod +x
$CONFIG_STATUS
9384 ac_clean_files
=$ac_clean_files_save
9387 # configure is writing to config.log, and then calls config.status.
9388 # config.status does its own redirection, appending to config.log.
9389 # Unfortunately, on DOS this fails, as config.log is still kept open
9390 # by configure, so config.status won't be able to write to it; its
9391 # output is simply discarded. So we exec the FD to /dev/null,
9392 # effectively closing config.log, so it can be properly (re)opened and
9393 # appended to by config.status. When coming back to configure, we
9394 # need to make the FD available again.
9395 if test "$no_create" != yes; then
9397 ac_config_status_args
=
9398 test "$silent" = yes &&
9399 ac_config_status_args
="$ac_config_status_args --quiet"
9401 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9403 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9404 # would make configure fail if this is the last instruction.
9405 $ac_cs_success ||
{ (exit 1); exit 1; }