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'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures libdecnumber to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of libdecnumber :";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --enable-werror-always enable -Werror despite compiler version
853 --enable-maintainer-mode enable rules only needed by maintainers
854 --enable-decimal-float={no
,yes,bid
,dpd
}
855 enable decimal float extension to C. Selecting
'bid'
856 or
'dpd' choses
which decimal floating point format
859 Some influential environment variables
:
860 CC C compiler
command
861 CFLAGS C compiler flags
862 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
863 nonstandard directory
<lib dir
>
864 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
865 headers
in a nonstandard directory
<include dir
>
868 Use these variables to override the choices made by
`configure' or to help
869 it to find libraries and programs with nonstandard names/locations.
871 Report bugs to <gcc-bugs@gcc.gnu.org>.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo
&& pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
967 libdecnumber configure
968 generated by GNU Autoconf 2.59
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
981 It was created by libdecnumber $as_me , which was
982 generated by GNU Autoconf 2.59. Invocation command line was
993 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
994 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
995 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
996 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
997 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
999 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1000 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1002 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1003 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1004 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1005 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1006 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1008 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1041 ac_must_keep_next=false
1047 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1055 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1057 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058 if test $ac_must_keep_next = true; then
1059 ac_must_keep_next=false # Got value, back to normal.
1062 *=* | --config-cache | -C | -disable-* | --disable-* \
1063 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065 | -with-* | --with-* | -without-* | --without-* | --x)
1066 case "$ac_configure_args0 " in
1067 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log. We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close
' the trap.
1088 trap 'exit_status
=$?
1089 # Save into config.log some information that might help in debugging.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202 if test "x$prefix" != xNONE; then
1203 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1205 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1208 for ac_site_file in $CONFIG_SITE; do
1209 if test -r "$ac_site_file"; then
1210 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212 sed 's
/^
/|
/' "$ac_site_file" >&5
1217 if test -r "$cache_file"; then
1218 # Some versions of bash will fail to source /dev/null (special
1219 # files actually), so we avoid doing that.
1220 if test -f "$cache_file"; then
1221 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1239 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240 eval ac_new_set=\$ac_env_${ac_var}_set
1241 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242 eval ac_new_val="\$ac_env_${ac_var}_value"
1243 case $ac_old_set,$ac_new_set in
1245 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1247 ac_cache_corrupted=: ;;
1249 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251 ac_cache_corrupted=: ;;
1254 if test "x$ac_old_val" != "x$ac_new_val"; then
1255 # differences in whitespace do not lead to failure.
1256 ac_old_val_w=`echo x $ac_old_val`
1257 ac_new_val_w=`echo x $ac_new_val`
1258 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1260 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1261 ac_cache_corrupted=:
1263 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1264 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1265 eval $ac_var=\$ac_old_val
1267 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1268 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1269 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1270 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1290 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 [\\/]* | ?:[\\/]* ) ac_macro_dir=../config ;;
1329 *) ac_macro_dir=$srcdir/../config ;;
1331 if test -d "$ac_macro_dir"; then :
1333 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1334 echo "$as_me: error
: cannot
find macro directory \
`../config'" >&2;}
1335 { (exit 1); exit 1; }; }
1339 # Checks for programs.
1340 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1341 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1342 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,:./+-,___p_,'`
1343 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 cat >conftest.make <<\_ACEOF
1348 @echo 'ac_maketemp="$(MAKE)"'
1350 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1351 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1352 if test -n "$ac_maketemp"; then
1353 eval ac_cv_prog_make_${ac_make}_set=yes
1355 eval ac_cv_prog_make_${ac_make}_set=no
1359 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1360 echo "$as_me:$LINENO: result: yes" >&5
1361 echo "${ECHO_T}yes" >&6
1364 echo "$as_me:$LINENO: result: no" >&5
1365 echo "${ECHO_T}no" >&6
1366 SET_MAKE="MAKE=${MAKE-make}"
1370 ac_cpp='$CPP $CPPFLAGS'
1371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1374 if test -n "$ac_tool_prefix"; then
1375 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1376 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1377 echo "$as_me:$LINENO: checking for $ac_word" >&5
1378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1379 if test "${ac_cv_prog_CC+set}" = set; then
1380 echo $ECHO_N "(cached) $ECHO_C" >&6
1382 if test -n "$CC"; then
1383 ac_cv_prog_CC="$CC" # Let the user override the test.
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1389 test -z "$as_dir" && as_dir=.
1390 for ac_exec_ext in '' $ac_executable_extensions; do
1391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1392 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 if test -n "$CC"; then
1403 echo "$as_me:$LINENO: result: $CC" >&5
1404 echo "${ECHO_T}$CC" >&6
1406 echo "$as_me:$LINENO: result: no" >&5
1407 echo "${ECHO_T}no" >&6
1411 if test -z "$ac_cv_prog_CC"; then
1413 # Extract the first word of "gcc", so it can be a program name with args.
1414 set dummy gcc; ac_word=$2
1415 echo "$as_me:$LINENO: checking for $ac_word" >&5
1416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1418 echo $ECHO_N "(cached) $ECHO_C" >&6
1420 if test -n "$ac_ct_CC"; then
1421 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427 test -z "$as_dir" && as_dir=.
1428 for ac_exec_ext in '' $ac_executable_extensions; do
1429 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1430 ac_cv_prog_ac_ct_CC="gcc"
1431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1439 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1440 if test -n "$ac_ct_CC"; then
1441 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1442 echo "${ECHO_T}$ac_ct_CC" >&6
1444 echo "$as_me:$LINENO: result: no" >&5
1445 echo "${ECHO_T}no" >&6
1453 if test -z "$CC"; then
1454 if test -n "$ac_tool_prefix"; then
1455 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1456 set dummy ${ac_tool_prefix}cc; ac_word=$2
1457 echo "$as_me:$LINENO: checking for $ac_word" >&5
1458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1459 if test "${ac_cv_prog_CC+set}" = set; then
1460 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 if test -n "$CC"; then
1463 ac_cv_prog_CC="$CC" # Let the user override the test.
1465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1469 test -z "$as_dir" && as_dir=.
1470 for ac_exec_ext in '' $ac_executable_extensions; do
1471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1472 ac_cv_prog_CC="${ac_tool_prefix}cc"
1473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 if test -n "$CC"; then
1483 echo "$as_me:$LINENO: result: $CC" >&5
1484 echo "${ECHO_T}$CC" >&6
1486 echo "$as_me:$LINENO: result: no" >&5
1487 echo "${ECHO_T}no" >&6
1491 if test -z "$ac_cv_prog_CC"; then
1493 # Extract the first word of "cc", so it can be a program name with args.
1494 set dummy cc; ac_word=$2
1495 echo "$as_me:$LINENO: checking for $ac_word" >&5
1496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1497 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1498 echo $ECHO_N "(cached) $ECHO_C" >&6
1500 if test -n "$ac_ct_CC"; then
1501 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507 test -z "$as_dir" && as_dir=.
1508 for ac_exec_ext in '' $ac_executable_extensions; do
1509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1510 ac_cv_prog_ac_ct_CC="cc"
1511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1520 if test -n "$ac_ct_CC"; then
1521 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1522 echo "${ECHO_T}$ac_ct_CC" >&6
1524 echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1534 if test -z "$CC"; then
1535 # Extract the first word of "cc", so it can be a program name with args.
1536 set dummy cc; ac_word=$2
1537 echo "$as_me:$LINENO: checking for $ac_word" >&5
1538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539 if test "${ac_cv_prog_CC+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1542 if test -n "$CC"; then
1543 ac_cv_prog_CC="$CC" # Let the user override the test.
1546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir=.
1551 for ac_exec_ext in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1554 ac_prog_rejected=yes
1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1564 if test $ac_prog_rejected = yes; then
1565 # We found a bogon in the path, so make sure we never use it.
1566 set dummy $ac_cv_prog_CC
1568 if test $# != 0; then
1569 # We chose a different compiler from the bogus one.
1570 # However, it has the same basename, so the bogon will be chosen
1571 # first if we set CC to just the basename; use the full file name.
1573 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1579 if test -n "$CC"; then
1580 echo "$as_me:$LINENO: result: $CC" >&5
1581 echo "${ECHO_T}$CC" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1588 if test -z "$CC"; then
1589 if test -n "$ac_tool_prefix"; then
1592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1594 echo "$as_me:$LINENO: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_CC+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$CC"; then
1600 ac_cv_prog_CC="$CC" # Let the user override the test.
1602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir=.
1607 for ac_exec_ext in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1619 if test -n "$CC"; then
1620 echo "$as_me:$LINENO: result: $CC" >&5
1621 echo "${ECHO_T}$CC" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1627 test -n "$CC" && break
1630 if test -z "$CC"; then
1634 # Extract the first word of "$ac_prog", so it can be a program name with args.
1635 set dummy $ac_prog; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC="$ac_prog"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 test -n "$ac_ct_CC" && break
1678 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1679 See \`config.log
' for more details." >&5
1680 echo "$as_me: error: no acceptable C compiler found in \$PATH
1681 See \`config.log' for more details.
" >&2;}
1682 { (exit 1); exit 1; }; }
1684 # Provide some information about the compiler.
1685 echo "$as_me:$LINENO:" \
1686 "checking
for C compiler version
" >&5
1687 ac_compiler=`set X $ac_compile; echo $2`
1688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev
/null
>&5\"") >&5
1689 (eval $ac_compiler --version </dev/null >&5) 2>&5
1691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1692 (exit $ac_status); }
1693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev
/null
>&5\"") >&5
1694 (eval $ac_compiler -v </dev/null >&5) 2>&5
1696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1697 (exit $ac_status); }
1698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev
/null
>&5\"") >&5
1699 (eval $ac_compiler -V </dev/null >&5) 2>&5
1701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1702 (exit $ac_status); }
1704 cat >conftest.$ac_ext <<_ACEOF
1707 cat confdefs.h >>conftest.$ac_ext
1708 cat >>conftest.$ac_ext <<_ACEOF
1709 /* end confdefs.h. */
1719 ac_clean_files_save=$ac_clean_files
1720 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
1721 # Try to create an executable without -o first, disregard a.out.
1722 # It will help us diagnose broken compilers, and finding out an intuition
1724 echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
1725 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6
1726 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1727 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1728 (eval $ac_link_default) 2>&5
1730 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1731 (exit $ac_status); }; then
1732 # Find the output, starting from the most likely. This scheme is
1733 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1736 # Be careful to initialize this variable, since it used to be cached.
1737 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1739 # b.out is created by i960 compilers.
1740 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1742 test -f "$ac_file" || continue
1744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1747 # This is the source file.
1750 # We found the default executable, but exeext='' is most
1754 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1755 # FIXME: I believe we export ac_cv_exeext for Libtool,
1756 # but it would be cool to find out if it's true. Does anybody
1757 # maintain Libtool? --akim.
1765 echo "$as_me: failed program was
:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1768 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
1769 See \
`config.log' for more details." >&5
1770 echo "$as_me: error: C compiler cannot create executables
1771 See \`config.log
' for more details." >&2;}
1772 { (exit 77); exit 77; }; }
1775 ac_exeext=$ac_cv_exeext
1776 echo "$as_me:$LINENO: result: $ac_file" >&5
1777 echo "${ECHO_T}$ac_file" >&6
1779 # Check the compiler produces executables we can run. If not, either
1780 # the compiler is broken, or we cross compile.
1781 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1782 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1783 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1784 # If not cross compiling, check that we can run a simple program.
1785 if test "$cross_compiling" != yes; then
1786 if { ac_try='.
/$ac_file'
1787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }; }; then
1794 if test "$cross_compiling" = maybe; then
1797 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1798 If you meant to cross compile, use \`--host'.
1799 See \
`config.log' for more details." >&5
1800 echo "$as_me: error: cannot run C compiled programs.
1801 If you meant to cross compile, use \`--host'.
1802 See \`config.log' for more details.
" >&2;}
1803 { (exit 1); exit 1; }; }
1807 echo "$as_me:$LINENO: result
: yes" >&5
1808 echo "${ECHO_T}yes" >&6
1810 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1811 ac_clean_files=$ac_clean_files_save
1812 # Check the compiler produces executables we can run. If not, either
1813 # the compiler is broken, or we cross compile.
1814 echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
1815 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6
1816 echo "$as_me:$LINENO: result
: $cross_compiling" >&5
1817 echo "${ECHO_T}$cross_compiling" >&6
1819 echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
1820 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6
1821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1822 (eval $ac_link) 2>&5
1824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1825 (exit $ac_status); }; then
1826 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1827 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1828 # work properly (i.e., refer to `conftest.exe'), while it won't with
1830 for ac_file in conftest.exe conftest conftest.*; do
1831 test -f "$ac_file" || continue
1833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1834 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1841 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
1842 See \
`config.log' for more details." >&5
1843 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1844 See \`config.log
' for more details." >&2;}
1845 { (exit 1); exit 1; }; }
1848 rm -f conftest$ac_cv_exeext
1849 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1850 echo "${ECHO_T}$ac_cv_exeext" >&6
1852 rm -f conftest.$ac_ext
1853 EXEEXT=$ac_cv_exeext
1855 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1856 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1857 if test "${ac_cv_objext+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 cat >conftest.$ac_ext <<_ACEOF
1863 cat confdefs.h >>conftest.$ac_ext
1864 cat >>conftest.$ac_ext <<_ACEOF
1865 /* end confdefs.h. */
1875 rm -f conftest.o conftest.obj
1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877 (eval $ac_compile) 2>&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; then
1881 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1884 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
1889 echo "$as_me: failed program was:" >&5
1890 sed 's
/^
/|
/' conftest.$ac_ext >&5
1892 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1893 See \`config.log' for more details.
" >&5
1894 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
1895 See \
`config.log' for more details." >&2;}
1896 { (exit 1); exit 1; }; }
1899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1901 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1902 echo "${ECHO_T}$ac_cv_objext" >&6
1903 OBJEXT=$ac_cv_objext
1905 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 cat >conftest.$ac_ext <<_ACEOF
1913 cat confdefs.h >>conftest.$ac_ext
1914 cat >>conftest.$ac_ext <<_ACEOF
1915 /* end confdefs.h. */
1928 rm -f conftest.$ac_objext
1929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1930 (eval $ac_compile) 2>conftest.er1
1932 grep -v '^ *+' conftest.er1 >conftest.err
1934 cat conftest.err >&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); } &&
1937 { ac_try='test -z "$ac_c_werror_flag"
1938 || test ! -s conftest.err'
1939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }; } &&
1944 { ac_try='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1952 echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.$ac_ext >&5
1957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1961 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1962 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1963 GCC=`test $ac_compiler_gnu = yes && echo yes`
1964 ac_test_CFLAGS=${CFLAGS+set}
1965 ac_save_CFLAGS=$CFLAGS
1967 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1968 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_g+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 cat >conftest.$ac_ext <<_ACEOF
1975 cat confdefs.h >>conftest.$ac_ext
1976 cat >>conftest.$ac_ext <<_ACEOF
1977 /* end confdefs.h. */
1987 rm -f conftest.$ac_objext
1988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1989 (eval $ac_compile) 2>conftest.er1
1991 grep -v '^ *+' conftest.er1 >conftest.err
1993 cat conftest.err >&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); } &&
1996 { ac_try='test -z "$ac_c_werror_flag"
1997 || test ! -s conftest.err'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; } &&
2003 { ac_try='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2011 echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.$ac_ext >&5
2016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2018 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2019 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2020 if test "$ac_test_CFLAGS" = set; then
2021 CFLAGS=$ac_save_CFLAGS
2022 elif test $ac_cv_prog_cc_g = yes; then
2023 if test "$GCC" = yes; then
2029 if test "$GCC" = yes; then
2035 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2036 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2037 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2038 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 ac_cv_prog_cc_stdc=no
2042 cat >conftest.$ac_ext <<_ACEOF
2045 cat confdefs.h >>conftest.$ac_ext
2046 cat >>conftest.$ac_ext <<_ACEOF
2047 /* end confdefs.h. */
2050 #include <sys/types.h>
2051 #include <sys/stat.h>
2052 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2053 struct buf { int x; };
2054 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2055 static char *e (p, i)
2061 static char *f (char * (*g) (char **, int), char **p, ...)
2066 s = g (p, va_arg (v,int));
2071 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2072 function prototypes and stuff, but not '\xHH' hex character constants.
2073 These don't provoke an error unfortunately, instead are silently treated
2074 as 'x'. The following induces an error, until -std1 is added to get
2075 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2076 array size at least. It's necessary to write '\x00'==0 to get something
2077 that's true only with -std1. */
2078 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2080 int test (int i, double x);
2081 struct s1 {int (*f) (int a);};
2082 struct s2 {int (*f) (double a);};
2083 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2089 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2094 # Don't try gcc -ansi; that turns off useful extensions and
2095 # breaks some systems' header files.
2096 # AIX -qlanglvl=ansi
2097 # Ultrix and OSF/1 -std1
2098 # HP-UX 10.20 and later -Ae
2099 # HP-UX older versions -Aa -D_HPUX_SOURCE
2100 # SVR4 -Xc -D__EXTENSIONS__
2101 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2103 CC="$ac_save_CC $ac_arg"
2104 rm -f conftest.$ac_objext
2105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>conftest.er1
2108 grep -v '^ *+' conftest.er1 >conftest.err
2110 cat conftest.err >&5
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); } &&
2113 { ac_try='test -z "$ac_c_werror_flag"
2114 || test ! -s conftest.err'
2115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; } &&
2120 { ac_try='test -s conftest.$ac_objext'
2121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }; }; then
2126 ac_cv_prog_cc_stdc=$ac_arg
2129 echo "$as_me: failed program was:" >&5
2130 sed 's/^/| /' conftest.$ac_ext >&5
2133 rm -f conftest.err conftest.$ac_objext
2135 rm -f conftest.$ac_ext conftest.$ac_objext
2140 case "x$ac_cv_prog_cc_stdc" in
2142 echo "$as_me:$LINENO: result: none needed" >&5
2143 echo "${ECHO_T}none needed" >&6 ;;
2145 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2146 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2147 CC="$CC $ac_cv_prog_cc_stdc" ;;
2150 # Some people use a C++ compiler to compile C. Since we use `exit',
2151 # in C++ we need to declare it. In case someone uses the same compiler
2152 # for both compiling C and C++ we need to have the C++ compiler decide
2153 # the declaration of exit, since it's the most demanding environment.
2154 cat >conftest.
$ac_ext <<_ACEOF
2159 rm -f conftest.
$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2163 grep -v '^ *+' conftest.er1
>conftest.err
2165 cat conftest.err
>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try
='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try
='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 for ac_declaration
in \
2183 'extern "C" void std::exit (int) throw (); using std::exit;' \
2184 'extern "C" void std::exit (int); using std::exit;' \
2185 'extern "C" void exit (int) throw ();' \
2186 'extern "C" void exit (int);' \
2189 cat >conftest.
$ac_ext <<_ACEOF
2192 cat confdefs.h
>>conftest.
$ac_ext
2193 cat >>conftest.
$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2205 rm -f conftest.
$ac_objext
2206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2207 (eval $ac_compile) 2>conftest.er1
2209 grep -v '^ *+' conftest.er1
>conftest.err
2211 cat conftest.err
>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try
='test -z "$ac_c_werror_flag"
2215 || test ! -s conftest.err'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; } &&
2221 { ac_try
='test -s conftest.$ac_objext'
2222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); }; }; then
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2235 cat >conftest.
$ac_ext <<_ACEOF
2238 cat confdefs.h
>>conftest.
$ac_ext
2239 cat >>conftest.
$ac_ext <<_ACEOF
2240 /* end confdefs.h. */
2250 rm -f conftest.
$ac_objext
2251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252 (eval $ac_compile) 2>conftest.er1
2254 grep -v '^ *+' conftest.er1
>conftest.err
2256 cat conftest.err
>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); } &&
2259 { ac_try
='test -z "$ac_c_werror_flag"
2260 || test ! -s conftest.err'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; } &&
2266 { ac_try
='test -s conftest.$ac_objext'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; }; then
2274 echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.
$ac_ext >&5
2278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2281 if test -n "$ac_declaration"; then
2282 echo '#ifdef __cplusplus' >>confdefs.h
2283 echo $ac_declaration >>confdefs.h
2284 echo '#endif' >>confdefs.h
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2294 ac_cpp
='$CPP $CPPFLAGS'
2295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2299 if test -n "$ac_tool_prefix"; then
2300 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2301 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2302 echo "$as_me:$LINENO: checking for $ac_word" >&5
2303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2304 if test "${ac_cv_prog_RANLIB+set}" = set; then
2305 echo $ECHO_N "(cached) $ECHO_C" >&6
2307 if test -n "$RANLIB"; then
2308 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir
=.
2315 for ac_exec_ext
in '' $ac_executable_extensions; do
2316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2317 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 RANLIB
=$ac_cv_prog_RANLIB
2327 if test -n "$RANLIB"; then
2328 echo "$as_me:$LINENO: result: $RANLIB" >&5
2329 echo "${ECHO_T}$RANLIB" >&6
2331 echo "$as_me:$LINENO: result: no" >&5
2332 echo "${ECHO_T}no" >&6
2336 if test -z "$ac_cv_prog_RANLIB"; then
2337 ac_ct_RANLIB
=$RANLIB
2338 # Extract the first word of "ranlib", so it can be a program name with args.
2339 set dummy ranlib
; ac_word
=$2
2340 echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2342 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 if test -n "$ac_ct_RANLIB"; then
2346 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2365 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2366 if test -n "$ac_ct_RANLIB"; then
2367 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2368 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2370 echo "$as_me:$LINENO: result: no" >&5
2371 echo "${ECHO_T}no" >&6
2374 RANLIB
=$ac_ct_RANLIB
2376 RANLIB
="$ac_cv_prog_RANLIB"
2380 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2381 for ac_prog
in aclocal
2383 # Extract the first word of "$ac_prog", so it can be a program name with args.
2384 set dummy
$ac_prog; ac_word
=$2
2385 echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2387 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$ACLOCAL"; then
2391 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_prog_ACLOCAL
="$ac_prog"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 ACLOCAL
=$ac_cv_prog_ACLOCAL
2410 if test -n "$ACLOCAL"; then
2411 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2412 echo "${ECHO_T}$ACLOCAL" >&6
2414 echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6
2418 test -n "$ACLOCAL" && break
2420 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2422 for ac_prog
in autoconf
2424 # Extract the first word of "$ac_prog", so it can be a program name with args.
2425 set dummy
$ac_prog; ac_word
=$2
2426 echo "$as_me:$LINENO: checking for $ac_word" >&5
2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2428 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 if test -n "$AUTOCONF"; then
2432 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2438 test -z "$as_dir" && as_dir
=.
2439 for ac_exec_ext
in '' $ac_executable_extensions; do
2440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2441 ac_cv_prog_AUTOCONF
="$ac_prog"
2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 AUTOCONF
=$ac_cv_prog_AUTOCONF
2451 if test -n "$AUTOCONF"; then
2452 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2453 echo "${ECHO_T}$AUTOCONF" >&6
2455 echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6
2459 test -n "$AUTOCONF" && break
2461 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2463 for ac_prog
in autoheader
2465 # Extract the first word of "$ac_prog", so it can be a program name with args.
2466 set dummy
$ac_prog; ac_word
=$2
2467 echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 if test -n "$AUTOHEADER"; then
2473 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2479 test -z "$as_dir" && as_dir
=.
2480 for ac_exec_ext
in '' $ac_executable_extensions; do
2481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_AUTOHEADER
="$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2492 if test -n "$AUTOHEADER"; then
2493 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2494 echo "${ECHO_T}$AUTOHEADER" >&6
2496 echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6
2500 test -n "$AUTOHEADER" && break
2502 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2505 # Figure out what compiler warnings we can enable.
2506 # See config/warnings.m4 for details.
2510 save_CFLAGS
="$CFLAGS"
2511 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2512 -Wmissing-prototypes -Wold-style-definition \
2513 -Wmissing-format-attribute -Wcast-qual; do
2514 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2516 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2517 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2518 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 cat >conftest.
$ac_ext <<_ACEOF
2525 cat confdefs.h
>>conftest.
$ac_ext
2526 cat >>conftest.
$ac_ext <<_ACEOF
2527 /* end confdefs.h. */
2537 rm -f conftest.
$ac_objext
2538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>conftest.er1
2541 grep -v '^ *+' conftest.er1
>conftest.err
2543 cat conftest.err
>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } &&
2546 { ac_try
='test -z "$ac_c_werror_flag"
2547 || test ! -s conftest.err'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; } &&
2553 { ac_try
='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2559 eval "$as_acx_Woption=yes"
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.
$ac_ext >&5
2564 eval "$as_acx_Woption=no"
2566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2569 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2570 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2571 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2572 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2576 CFLAGS
="$save_CFLAGS"
2579 if test "$GCC" = yes; then
2580 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2581 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2582 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 save_CFLAGS
="$CFLAGS"
2586 CFLAGS
="-pedantic -Wno-long-long"
2587 cat >conftest.
$ac_ext <<_ACEOF
2590 cat confdefs.h
>>conftest.
$ac_ext
2591 cat >>conftest.
$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2602 rm -f conftest.
$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604 (eval $ac_compile) 2>conftest.er1
2606 grep -v '^ *+' conftest.er1
>conftest.err
2608 cat conftest.err
>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try
='test -z "$ac_c_werror_flag"
2612 || test ! -s conftest.err'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; } &&
2618 { ac_try
='test -s conftest.$ac_objext'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; }; then
2624 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2626 echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.
$ac_ext >&5
2629 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2631 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2632 CFLAGS
="$save_CFLAGS"
2634 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2635 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2636 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2637 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2645 # Only enable with --enable-werror-always until existing warnings are
2648 # Check whether --enable-werror-always or --disable-werror-always was given.
2649 if test "${enable_werror_always+set}" = set; then
2650 enableval
="$enable_werror_always"
2653 enable_werror_always
=no
2655 if test $enable_werror_always = yes; then
2656 WERROR
="$WERROR${WERROR:+ }-Werror"
2662 # Checks for header files.
2664 ac_cpp
='$CPP $CPPFLAGS'
2665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2668 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2669 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2670 # On Suns, sometimes $CPP names a directory.
2671 if test -n "$CPP" && test -d "$CPP"; then
2674 if test -z "$CPP"; then
2675 if test "${ac_cv_prog_CPP+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2678 # Double quotes because CPP needs to be expanded
2679 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2682 for ac_c_preproc_warn_flag
in '' yes
2684 # Use a header file that comes with gcc, so configuring glibc
2685 # with a fresh cross-compiler works.
2686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2687 # <limits.h> exists even on freestanding compilers.
2688 # On the NeXT, cc -E runs the code through the compiler's parser,
2689 # not just through cpp. "Syntax error" is here to catch this case.
2690 cat >conftest.
$ac_ext <<_ACEOF
2693 cat confdefs.h
>>conftest.
$ac_ext
2694 cat >>conftest.
$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2697 # include <limits.h>
2699 # include <assert.h>
2703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2706 grep -v '^ *+' conftest.er1
>conftest.err
2708 cat conftest.err
>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); } >/dev
/null
; then
2711 if test -s conftest.err
; then
2712 ac_cpp_err
=$ac_c_preproc_warn_flag
2713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2720 if test -z "$ac_cpp_err"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.
$ac_ext >&5
2726 # Broken: fails on valid input.
2729 rm -f conftest.err conftest.
$ac_ext
2731 # OK, works on sane cases. Now check whether non-existent headers
2732 # can be detected and how.
2733 cat >conftest.
$ac_ext <<_ACEOF
2736 cat confdefs.h
>>conftest.
$ac_ext
2737 cat >>conftest.
$ac_ext <<_ACEOF
2738 /* end confdefs.h. */
2739 #include <ac_nonexistent.h>
2741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } >/dev
/null
; then
2749 if test -s conftest.err
; then
2750 ac_cpp_err
=$ac_c_preproc_warn_flag
2751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2758 if test -z "$ac_cpp_err"; then
2759 # Broken: success on invalid input.
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2765 # Passes both tests.
2769 rm -f conftest.err conftest.
$ac_ext
2772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2773 rm -f conftest.err conftest.
$ac_ext
2774 if $ac_preproc_ok; then
2786 echo "$as_me:$LINENO: result: $CPP" >&5
2787 echo "${ECHO_T}$CPP" >&6
2789 for ac_c_preproc_warn_flag
in '' yes
2791 # Use a header file that comes with gcc, so configuring glibc
2792 # with a fresh cross-compiler works.
2793 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2794 # <limits.h> exists even on freestanding compilers.
2795 # On the NeXT, cc -E runs the code through the compiler's parser,
2796 # not just through cpp. "Syntax error" is here to catch this case.
2797 cat >conftest.
$ac_ext <<_ACEOF
2800 cat confdefs.h
>>conftest.
$ac_ext
2801 cat >>conftest.
$ac_ext <<_ACEOF
2802 /* end confdefs.h. */
2804 # include <limits.h>
2806 # include <assert.h>
2810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2813 grep -v '^ *+' conftest.er1
>conftest.err
2815 cat conftest.err
>&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); } >/dev
/null
; then
2818 if test -s conftest.err
; then
2819 ac_cpp_err
=$ac_c_preproc_warn_flag
2820 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2827 if test -z "$ac_cpp_err"; then
2830 echo "$as_me: failed program was:" >&5
2831 sed 's/^/| /' conftest.
$ac_ext >&5
2833 # Broken: fails on valid input.
2836 rm -f conftest.err conftest.
$ac_ext
2838 # OK, works on sane cases. Now check whether non-existent headers
2839 # can be detected and how.
2840 cat >conftest.
$ac_ext <<_ACEOF
2843 cat confdefs.h
>>conftest.
$ac_ext
2844 cat >>conftest.
$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2846 #include <ac_nonexistent.h>
2848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2851 grep -v '^ *+' conftest.er1
>conftest.err
2853 cat conftest.err
>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); } >/dev
/null
; then
2856 if test -s conftest.err
; then
2857 ac_cpp_err
=$ac_c_preproc_warn_flag
2858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2865 if test -z "$ac_cpp_err"; then
2866 # Broken: success on invalid input.
2869 echo "$as_me: failed program was:" >&5
2870 sed 's/^/| /' conftest.
$ac_ext >&5
2872 # Passes both tests.
2876 rm -f conftest.err conftest.
$ac_ext
2879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2880 rm -f conftest.err conftest.
$ac_ext
2881 if $ac_preproc_ok; then
2884 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2885 See \`config.log' for more details." >&5
2886 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2887 See \`config.log' for more details." >&2;}
2888 { (exit 1); exit 1; }; }
2892 ac_cpp
='$CPP $CPPFLAGS'
2893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2898 echo "$as_me:$LINENO: checking for egrep" >&5
2899 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2900 if test "${ac_cv_prog_egrep+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2904 then ac_cv_prog_egrep
='grep -E'
2905 else ac_cv_prog_egrep
='egrep'
2908 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2909 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2910 EGREP
=$ac_cv_prog_egrep
2913 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2914 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2915 if test "${ac_cv_header_stdc+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 cat >conftest.
$ac_ext <<_ACEOF
2921 cat confdefs.h
>>conftest.
$ac_ext
2922 cat >>conftest.
$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2937 rm -f conftest.
$ac_objext
2938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2939 (eval $ac_compile) 2>conftest.er1
2941 grep -v '^ *+' conftest.er1
>conftest.err
2943 cat conftest.err
>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); } &&
2946 { ac_try
='test -z "$ac_c_werror_flag"
2947 || test ! -s conftest.err'
2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); }; } &&
2953 { ac_try
='test -s conftest.$ac_objext'
2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }; }; then
2959 ac_cv_header_stdc
=yes
2961 echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.
$ac_ext >&5
2964 ac_cv_header_stdc
=no
2966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2968 if test $ac_cv_header_stdc = yes; then
2969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2970 cat >conftest.
$ac_ext <<_ACEOF
2973 cat confdefs.h
>>conftest.
$ac_ext
2974 cat >>conftest.
$ac_ext <<_ACEOF
2975 /* end confdefs.h. */
2979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2980 $EGREP "memchr" >/dev
/null
2>&1; then
2983 ac_cv_header_stdc
=no
2989 if test $ac_cv_header_stdc = yes; then
2990 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2991 cat >conftest.
$ac_ext <<_ACEOF
2994 cat confdefs.h
>>conftest.
$ac_ext
2995 cat >>conftest.
$ac_ext <<_ACEOF
2996 /* end confdefs.h. */
3000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3001 $EGREP "free" >/dev
/null
2>&1; then
3004 ac_cv_header_stdc
=no
3010 if test $ac_cv_header_stdc = yes; then
3011 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3012 if test "$cross_compiling" = yes; then
3015 cat >conftest.
$ac_ext <<_ACEOF
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3022 #if ((' ' & 0x0FF) == 0x020)
3023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3026 # define ISLOWER(c) \
3027 (('a' <= (c) && (c) <= 'i') \
3028 || ('j' <= (c) && (c) <= 'r') \
3029 || ('s' <= (c) && (c) <= 'z'))
3030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3038 for (i = 0; i < 256; i++)
3039 if (XOR (islower (i), ISLOWER (i))
3040 || toupper (i) != TOUPPER (i))
3045 rm -f conftest
$ac_exeext
3046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3047 (eval $ac_link) 2>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3055 (exit $ac_status); }; }; then
3058 echo "$as_me: program exited with status $ac_status" >&5
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3063 ac_cv_header_stdc
=no
3065 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3069 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3070 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3071 if test $ac_cv_header_stdc = yes; then
3073 cat >>confdefs.h
<<\_ACEOF
3074 #define STDC_HEADERS 1
3079 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3089 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3090 inttypes.h stdint.h unistd.h
3092 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3093 echo "$as_me:$LINENO: checking for $ac_header" >&5
3094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3096 echo $ECHO_N "(cached) $ECHO_C" >&6
3098 cat >conftest.
$ac_ext <<_ACEOF
3101 cat confdefs.h
>>conftest.
$ac_ext
3102 cat >>conftest.
$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3104 $ac_includes_default
3106 #include <$ac_header>
3108 rm -f conftest.
$ac_objext
3109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3110 (eval $ac_compile) 2>conftest.er1
3112 grep -v '^ *+' conftest.er1
>conftest.err
3114 cat conftest.err
>&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); } &&
3117 { ac_try
='test -z "$ac_c_werror_flag"
3118 || test ! -s conftest.err'
3119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); }; } &&
3124 { ac_try
='test -s conftest.$ac_objext'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3130 eval "$as_ac_Header=yes"
3132 echo "$as_me: failed program was:" >&5
3133 sed 's/^/| /' conftest.
$ac_ext >&5
3135 eval "$as_ac_Header=no"
3137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3141 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3142 cat >>confdefs.h
<<_ACEOF
3143 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3155 for ac_header
in ctype.h stddef.h string.h stdio.h
3157 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3159 echo "$as_me:$LINENO: checking for $ac_header" >&5
3160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3167 # Is the header compilable?
3168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3170 cat >conftest.
$ac_ext <<_ACEOF
3173 cat confdefs.h
>>conftest.
$ac_ext
3174 cat >>conftest.
$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3176 $ac_includes_default
3177 #include <$ac_header>
3179 rm -f conftest.
$ac_objext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181 (eval $ac_compile) 2>conftest.er1
3183 grep -v '^ *+' conftest.er1
>conftest.err
3185 cat conftest.err
>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } &&
3188 { ac_try
='test -z "$ac_c_werror_flag"
3189 || test ! -s conftest.err'
3190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); }; } &&
3195 { ac_try
='test -s conftest.$ac_objext'
3196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); }; }; then
3201 ac_header_compiler
=yes
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.
$ac_ext >&5
3206 ac_header_compiler
=no
3208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3210 echo "${ECHO_T}$ac_header_compiler" >&6
3212 # Is the header present?
3213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3215 cat >conftest.
$ac_ext <<_ACEOF
3218 cat confdefs.h
>>conftest.
$ac_ext
3219 cat >>conftest.
$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3221 #include <$ac_header>
3223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3224 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3226 grep -v '^ *+' conftest.er1
>conftest.err
3228 cat conftest.err
>&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); } >/dev
/null
; then
3231 if test -s conftest.err
; then
3232 ac_cpp_err
=$ac_c_preproc_warn_flag
3233 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3240 if test -z "$ac_cpp_err"; then
3241 ac_header_preproc
=yes
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 ac_header_preproc
=no
3248 rm -f conftest.err conftest.
$ac_ext
3249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3250 echo "${ECHO_T}$ac_header_preproc" >&6
3252 # So? What about this header?
3253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3259 ac_header_preproc
=yes
3262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3276 ## ----------------------------------- ##
3277 ## Report this to gcc-bugs@gcc.gnu.org ##
3278 ## ----------------------------------- ##
3281 sed "s/^/$as_me: WARNING: /" >&2
3284 echo "$as_me:$LINENO: checking for $ac_header" >&5
3285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 eval "$as_ac_Header=\$ac_header_preproc"
3291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3296 cat >>confdefs.h
<<_ACEOF
3297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3306 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3308 acx_cv_header_stdint
=stddef.h
3309 acx_cv_header_stdint_kind
="(already complete)"
3310 for i
in stdint.h
$inttype_headers; do
3311 unset ac_cv_type_uintptr_t
3312 unset ac_cv_type_uintmax_t
3313 unset ac_cv_type_int_least32_t
3314 unset ac_cv_type_int_fast32_t
3315 unset ac_cv_type_uint64_t
3316 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
3317 echo "$as_me:$LINENO: checking for uintmax_t" >&5
3318 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
3319 if test "${ac_cv_type_uintmax_t+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 cat >conftest.
$ac_ext <<_ACEOF
3325 cat confdefs.h
>>conftest.
$ac_ext
3326 cat >>conftest.
$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3328 #include <sys/types.h>
3334 if ((uintmax_t *) 0)
3336 if (sizeof (uintmax_t))
3342 rm -f conftest.
$ac_objext
3343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3344 (eval $ac_compile) 2>conftest.er1
3346 grep -v '^ *+' conftest.er1
>conftest.err
3348 cat conftest.err
>&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } &&
3351 { ac_try
='test -z "$ac_c_werror_flag"
3352 || test ! -s conftest.err'
3353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); }; } &&
3358 { ac_try
='test -s conftest.$ac_objext'
3359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; }; then
3364 ac_cv_type_uintmax_t
=yes
3366 echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.
$ac_ext >&5
3369 ac_cv_type_uintmax_t
=no
3371 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3373 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
3374 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
3375 if test $ac_cv_type_uintmax_t = yes; then
3376 acx_cv_header_stdint
=$i
3381 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3382 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3383 if test "${ac_cv_type_uintptr_t+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 cat >conftest.
$ac_ext <<_ACEOF
3389 cat confdefs.h
>>conftest.
$ac_ext
3390 cat >>conftest.
$ac_ext <<_ACEOF
3391 /* end confdefs.h. */
3392 #include <sys/types.h>
3398 if ((uintptr_t *) 0)
3400 if (sizeof (uintptr_t))
3406 rm -f conftest.
$ac_objext
3407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3408 (eval $ac_compile) 2>conftest.er1
3410 grep -v '^ *+' conftest.er1
>conftest.err
3412 cat conftest.err
>&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); } &&
3415 { ac_try
='test -z "$ac_c_werror_flag"
3416 || test ! -s conftest.err'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; } &&
3422 { ac_try
='test -s conftest.$ac_objext'
3423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); }; }; then
3428 ac_cv_type_uintptr_t
=yes
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.
$ac_ext >&5
3433 ac_cv_type_uintptr_t
=no
3435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3437 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3438 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3439 if test $ac_cv_type_uintptr_t = yes; then
3442 acx_cv_header_stdint_kind
="(mostly complete)"
3445 echo "$as_me:$LINENO: checking for int_least32_t" >&5
3446 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
3447 if test "${ac_cv_type_int_least32_t+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 cat >conftest.
$ac_ext <<_ACEOF
3453 cat confdefs.h
>>conftest.
$ac_ext
3454 cat >>conftest.
$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3456 #include <sys/types.h>
3462 if ((int_least32_t *) 0)
3464 if (sizeof (int_least32_t))
3470 rm -f conftest.
$ac_objext
3471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3472 (eval $ac_compile) 2>conftest.er1
3474 grep -v '^ *+' conftest.er1
>conftest.err
3476 cat conftest.err
>&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); } &&
3479 { ac_try
='test -z "$ac_c_werror_flag"
3480 || test ! -s conftest.err'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; } &&
3486 { ac_try
='test -s conftest.$ac_objext'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3492 ac_cv_type_int_least32_t
=yes
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3497 ac_cv_type_int_least32_t
=no
3499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3501 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
3502 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
3503 if test $ac_cv_type_int_least32_t = yes; then
3506 acx_cv_header_stdint_kind
="(mostly complete)"
3509 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
3510 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
3511 if test "${ac_cv_type_int_fast32_t+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 cat >conftest.
$ac_ext <<_ACEOF
3517 cat confdefs.h
>>conftest.
$ac_ext
3518 cat >>conftest.
$ac_ext <<_ACEOF
3519 /* end confdefs.h. */
3520 #include <sys/types.h>
3526 if ((int_fast32_t *) 0)
3528 if (sizeof (int_fast32_t))
3534 rm -f conftest.
$ac_objext
3535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3536 (eval $ac_compile) 2>conftest.er1
3538 grep -v '^ *+' conftest.er1
>conftest.err
3540 cat conftest.err
>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 { ac_try
='test -z "$ac_c_werror_flag"
3544 || test ! -s conftest.err'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; } &&
3550 { ac_try
='test -s conftest.$ac_objext'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; }; then
3556 ac_cv_type_int_fast32_t
=yes
3558 echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.
$ac_ext >&5
3561 ac_cv_type_int_fast32_t
=no
3563 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3565 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
3566 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
3567 if test $ac_cv_type_int_fast32_t = yes; then
3570 acx_cv_header_stdint_kind
="(mostly complete)"
3573 echo "$as_me:$LINENO: checking for uint64_t" >&5
3574 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3575 if test "${ac_cv_type_uint64_t+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 cat >conftest.
$ac_ext <<_ACEOF
3581 cat confdefs.h
>>conftest.
$ac_ext
3582 cat >>conftest.
$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 #include <sys/types.h>
3592 if (sizeof (uint64_t))
3598 rm -f conftest.
$ac_objext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600 (eval $ac_compile) 2>conftest.er1
3602 grep -v '^ *+' conftest.er1
>conftest.err
3604 cat conftest.err
>&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } &&
3607 { ac_try
='test -z "$ac_c_werror_flag"
3608 || test ! -s conftest.err'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; } &&
3614 { ac_try
='test -s conftest.$ac_objext'
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); }; }; then
3620 ac_cv_type_uint64_t
=yes
3622 echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.
$ac_ext >&5
3625 ac_cv_type_uint64_t
=no
3627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3629 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3630 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3631 if test $ac_cv_type_uint64_t = yes; then
3634 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3639 if test "$acx_cv_header_stdint" = stddef.h
; then
3640 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
3641 for i
in stdint.h
$inttype_headers; do
3642 unset ac_cv_type_uintptr_t
3643 unset ac_cv_type_uint32_t
3644 unset ac_cv_type_uint64_t
3645 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
3646 echo "$as_me:$LINENO: checking for uint32_t" >&5
3647 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3648 if test "${ac_cv_type_uint32_t+set}" = set; then
3649 echo $ECHO_N "(cached) $ECHO_C" >&6
3651 cat >conftest.
$ac_ext <<_ACEOF
3654 cat confdefs.h
>>conftest.
$ac_ext
3655 cat >>conftest.
$ac_ext <<_ACEOF
3656 /* end confdefs.h. */
3657 #include <sys/types.h>
3665 if (sizeof (uint32_t))
3671 rm -f conftest.
$ac_objext
3672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3673 (eval $ac_compile) 2>conftest.er1
3675 grep -v '^ *+' conftest.er1
>conftest.err
3677 cat conftest.err
>&5
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); } &&
3680 { ac_try
='test -z "$ac_c_werror_flag"
3681 || test ! -s conftest.err'
3682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; } &&
3687 { ac_try
='test -s conftest.$ac_objext'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; }; then
3693 ac_cv_type_uint32_t
=yes
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.
$ac_ext >&5
3698 ac_cv_type_uint32_t
=no
3700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3702 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
3703 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3704 if test $ac_cv_type_uint32_t = yes; then
3705 acx_cv_header_stdint
=$i
3710 echo "$as_me:$LINENO: checking for uint64_t" >&5
3711 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3712 if test "${ac_cv_type_uint64_t+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 cat >conftest.
$ac_ext <<_ACEOF
3718 cat confdefs.h
>>conftest.
$ac_ext
3719 cat >>conftest.
$ac_ext <<_ACEOF
3720 /* end confdefs.h. */
3721 #include <sys/types.h>
3729 if (sizeof (uint64_t))
3735 rm -f conftest.
$ac_objext
3736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 (eval $ac_compile) 2>conftest.er1
3739 grep -v '^ *+' conftest.er1
>conftest.err
3741 cat conftest.err
>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } &&
3744 { ac_try
='test -z "$ac_c_werror_flag"
3745 || test ! -s conftest.err'
3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }; } &&
3751 { ac_try
='test -s conftest.$ac_objext'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; }; then
3757 ac_cv_type_uint64_t
=yes
3759 echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.
$ac_ext >&5
3762 ac_cv_type_uint64_t
=no
3764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3766 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3767 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3769 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3770 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3771 if test "${ac_cv_type_uintptr_t+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 cat >conftest.
$ac_ext <<_ACEOF
3777 cat confdefs.h
>>conftest.
$ac_ext
3778 cat >>conftest.
$ac_ext <<_ACEOF
3779 /* end confdefs.h. */
3780 #include <sys/types.h>
3786 if ((uintptr_t *) 0)
3788 if (sizeof (uintptr_t))
3794 rm -f conftest.
$ac_objext
3795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3796 (eval $ac_compile) 2>conftest.er1
3798 grep -v '^ *+' conftest.er1
>conftest.err
3800 cat conftest.err
>&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } &&
3803 { ac_try
='test -z "$ac_c_werror_flag"
3804 || test ! -s conftest.err'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; } &&
3810 { ac_try
='test -s conftest.$ac_objext'
3811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }; }; then
3816 ac_cv_type_uintptr_t
=yes
3818 echo "$as_me: failed program was:" >&5
3819 sed 's/^/| /' conftest.
$ac_ext >&5
3821 ac_cv_type_uintptr_t
=no
3823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3825 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3826 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3831 if test "$acx_cv_header_stdint" = stddef.h
; then
3832 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3833 for i
in sys
/types.h
$inttype_headers; do
3834 unset ac_cv_type_u_int32_t
3835 unset ac_cv_type_u_int64_t
3836 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
3837 echo "$as_me:$LINENO: checking for u_int32_t" >&5
3838 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3839 if test "${ac_cv_type_u_int32_t+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 cat >conftest.
$ac_ext <<_ACEOF
3845 cat confdefs.h
>>conftest.
$ac_ext
3846 cat >>conftest.
$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3848 #include <sys/types.h>
3854 if ((u_int32_t *) 0)
3856 if (sizeof (u_int32_t))
3862 rm -f conftest.
$ac_objext
3863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3864 (eval $ac_compile) 2>conftest.er1
3866 grep -v '^ *+' conftest.er1
>conftest.err
3868 cat conftest.err
>&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try
='test -z "$ac_c_werror_flag"
3872 || test ! -s conftest.err'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; } &&
3878 { ac_try
='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3884 ac_cv_type_u_int32_t
=yes
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.
$ac_ext >&5
3889 ac_cv_type_u_int32_t
=no
3891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3893 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
3894 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3895 if test $ac_cv_type_u_int32_t = yes; then
3896 acx_cv_header_stdint
=$i
3901 echo "$as_me:$LINENO: checking for u_int64_t" >&5
3902 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3903 if test "${ac_cv_type_u_int64_t+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 cat >conftest.
$ac_ext <<_ACEOF
3909 cat confdefs.h
>>conftest.
$ac_ext
3910 cat >>conftest.
$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3912 #include <sys/types.h>
3918 if ((u_int64_t *) 0)
3920 if (sizeof (u_int64_t))
3926 rm -f conftest.
$ac_objext
3927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3928 (eval $ac_compile) 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try
='test -z "$ac_c_werror_flag"
3936 || test ! -s conftest.err'
3937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; } &&
3942 { ac_try
='test -s conftest.$ac_objext'
3943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); }; }; then
3948 ac_cv_type_u_int64_t
=yes
3950 echo "$as_me: failed program was:" >&5
3951 sed 's/^/| /' conftest.
$ac_ext >&5
3953 ac_cv_type_u_int64_t
=no
3955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3957 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
3958 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3963 if test "$acx_cv_header_stdint" = stddef.h
; then
3964 acx_cv_header_stdint_kind
="(using manual detection)"
3967 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
3968 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
3969 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
3970 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
3971 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
3973 # ----------------- Summarize what we found so far
3975 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
3976 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
3978 case `$as_basename gstdint.h ||
3979 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
3980 Xgstdint.h : 'X\(//\)$' \| \
3981 Xgstdint.h : 'X\(/\)$' \| \
3982 . : '\(.\)' 2>/dev/null ||
3984 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3985 /^X\/\(\/\/\)$/{ s//\1/; q; }
3986 /^X\/\(\/\).*/{ s//\1/; q; }
3988 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
3989 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3990 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
3991 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3995 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
3996 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
3998 # ----------------- done included file, check C basic types --------
4000 # Lacking an uintptr_t? Test size of void *
4001 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4002 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
4003 echo $ECHO_N "checking for void *... $ECHO_C" >&6
4004 if test "${ac_cv_type_void_p+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 cat >conftest.
$ac_ext <<_ACEOF
4010 cat confdefs.h
>>conftest.
$ac_ext
4011 cat >>conftest.
$ac_ext <<_ACEOF
4012 /* end confdefs.h. */
4013 $ac_includes_default
4019 if (sizeof (void *))
4025 rm -f conftest.
$ac_objext
4026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4027 (eval $ac_compile) 2>conftest.er1
4029 grep -v '^ *+' conftest.er1
>conftest.err
4031 cat conftest.err
>&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } &&
4034 { ac_try
='test -z "$ac_c_werror_flag"
4035 || test ! -s conftest.err'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; } &&
4041 { ac_try
='test -s conftest.$ac_objext'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; }; then
4047 ac_cv_type_void_p
=yes
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.
$ac_ext >&5
4052 ac_cv_type_void_p
=no
4054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4056 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
4057 echo "${ECHO_T}$ac_cv_type_void_p" >&6
4059 echo "$as_me:$LINENO: checking size of void *" >&5
4060 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
4061 if test "${ac_cv_sizeof_void_p+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 if test "$ac_cv_type_void_p" = yes; then
4065 # The cast to unsigned long works around a bug in the HP C Compiler
4066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4068 # This bug is HP SR number 8606223364.
4069 if test "$cross_compiling" = yes; then
4070 # Depending upon the size, compute the lo and hi bounds.
4071 cat >conftest.
$ac_ext <<_ACEOF
4074 cat confdefs.h
>>conftest.
$ac_ext
4075 cat >>conftest.
$ac_ext <<_ACEOF
4076 /* end confdefs.h. */
4077 $ac_includes_default
4081 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
4088 rm -f conftest.
$ac_objext
4089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4090 (eval $ac_compile) 2>conftest.er1
4092 grep -v '^ *+' conftest.er1
>conftest.err
4094 cat conftest.err
>&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); } &&
4097 { ac_try
='test -z "$ac_c_werror_flag"
4098 || test ! -s conftest.err'
4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); }; } &&
4104 { ac_try
='test -s conftest.$ac_objext'
4105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }; }; then
4112 cat >conftest.
$ac_ext <<_ACEOF
4115 cat confdefs.h
>>conftest.
$ac_ext
4116 cat >>conftest.
$ac_ext <<_ACEOF
4117 /* end confdefs.h. */
4118 $ac_includes_default
4122 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4129 rm -f conftest.
$ac_objext
4130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4131 (eval $ac_compile) 2>conftest.er1
4133 grep -v '^ *+' conftest.er1
>conftest.err
4135 cat conftest.err
>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } &&
4138 { ac_try
='test -z "$ac_c_werror_flag"
4139 || test ! -s conftest.err'
4140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); }; } &&
4145 { ac_try
='test -s conftest.$ac_objext'
4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; }; then
4151 ac_hi
=$ac_mid; break
4153 echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.
$ac_ext >&5
4156 ac_lo
=`expr $ac_mid + 1`
4157 if test $ac_lo -le $ac_mid; then
4161 ac_mid
=`expr 2 '*' $ac_mid + 1`
4163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4166 echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.
$ac_ext >&5
4169 cat >conftest.
$ac_ext <<_ACEOF
4172 cat confdefs.h
>>conftest.
$ac_ext
4173 cat >>conftest.
$ac_ext <<_ACEOF
4174 /* end confdefs.h. */
4175 $ac_includes_default
4179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
4186 rm -f conftest.
$ac_objext
4187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4188 (eval $ac_compile) 2>conftest.er1
4190 grep -v '^ *+' conftest.er1
>conftest.err
4192 cat conftest.err
>&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } &&
4195 { ac_try
='test -z "$ac_c_werror_flag"
4196 || test ! -s conftest.err'
4197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); }; } &&
4202 { ac_try
='test -s conftest.$ac_objext'
4203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); }; }; then
4210 cat >conftest.
$ac_ext <<_ACEOF
4213 cat confdefs.h
>>conftest.
$ac_ext
4214 cat >>conftest.
$ac_ext <<_ACEOF
4215 /* end confdefs.h. */
4216 $ac_includes_default
4220 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
4227 rm -f conftest.
$ac_objext
4228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4229 (eval $ac_compile) 2>conftest.er1
4231 grep -v '^ *+' conftest.er1
>conftest.err
4233 cat conftest.err
>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); } &&
4236 { ac_try
='test -z "$ac_c_werror_flag"
4237 || test ! -s conftest.err'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; } &&
4243 { ac_try
='test -s conftest.$ac_objext'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; }; then
4249 ac_lo
=$ac_mid; break
4251 echo "$as_me: failed program was:" >&5
4252 sed 's/^/| /' conftest.
$ac_ext >&5
4254 ac_hi
=`expr '(' $ac_mid ')' - 1`
4255 if test $ac_mid -le $ac_hi; then
4259 ac_mid
=`expr 2 '*' $ac_mid`
4261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.
$ac_ext >&5
4269 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4271 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4272 # Binary search between lo and hi bounds.
4273 while test "x$ac_lo" != "x$ac_hi"; do
4274 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4275 cat >conftest.
$ac_ext <<_ACEOF
4278 cat confdefs.h
>>conftest.
$ac_ext
4279 cat >>conftest.
$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 $ac_includes_default
4285 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4292 rm -f conftest.
$ac_objext
4293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4294 (eval $ac_compile) 2>conftest.er1
4296 grep -v '^ *+' conftest.er1
>conftest.err
4298 cat conftest.err
>&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } &&
4301 { ac_try
='test -z "$ac_c_werror_flag"
4302 || test ! -s conftest.err'
4303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); }; } &&
4308 { ac_try
='test -s conftest.$ac_objext'
4309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; }; then
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.
$ac_ext >&5
4319 ac_lo
=`expr '(' $ac_mid ')' + 1`
4321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4324 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
4325 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4326 See \`config.log' for more details." >&5
4327 echo "$as_me: error: cannot compute sizeof (void *), 77
4328 See \`config.log' for more details." >&2;}
4329 { (exit 1); exit 1; }; } ;;
4332 if test "$cross_compiling" = yes; then
4333 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4334 See \`config.log' for more details." >&5
4335 echo "$as_me: error: cannot run test program while cross compiling
4336 See \`config.log' for more details." >&2;}
4337 { (exit 1); exit 1; }; }
4339 cat >conftest.
$ac_ext <<_ACEOF
4342 cat confdefs.h
>>conftest.
$ac_ext
4343 cat >>conftest.
$ac_ext <<_ACEOF
4344 /* end confdefs.h. */
4345 $ac_includes_default
4346 long longval () { return (long) (sizeof (void *)); }
4347 unsigned long ulongval () { return (long) (sizeof (void *)); }
4354 FILE *f = fopen ("conftest.val", "w");
4357 if (((long) (sizeof (void *))) < 0)
4359 long i = longval ();
4360 if (i != ((long) (sizeof (void *))))
4362 fprintf (f, "%ld\n", i);
4366 unsigned long i = ulongval ();
4367 if (i != ((long) (sizeof (void *))))
4369 fprintf (f, "%lu\n", i);
4371 exit (ferror (f) || fclose (f) != 0);
4377 rm -f conftest
$ac_exeext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4379 (eval $ac_link) 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; }; then
4388 ac_cv_sizeof_void_p
=`cat conftest.val`
4390 echo "$as_me: program exited with status $ac_status" >&5
4391 echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.
$ac_ext >&5
4395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4396 See \`config.log' for more details." >&5
4397 echo "$as_me: error: cannot compute sizeof (void *), 77
4398 See \`config.log' for more details." >&2;}
4399 { (exit 1); exit 1; }; }
4401 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4406 ac_cv_sizeof_void_p
=0
4409 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4410 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
4411 cat >>confdefs.h
<<_ACEOF
4412 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4418 # Lacking an uint64_t? Test size of long
4419 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4420 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
4421 echo $ECHO_N "checking for long... $ECHO_C" >&6
4422 if test "${ac_cv_type_long+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 $ac_includes_default
4443 rm -f conftest.
$ac_objext
4444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445 (eval $ac_compile) 2>conftest.er1
4447 grep -v '^ *+' conftest.er1
>conftest.err
4449 cat conftest.err
>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } &&
4452 { ac_try
='test -z "$ac_c_werror_flag"
4453 || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4475 echo "${ECHO_T}$ac_cv_type_long" >&6
4477 echo "$as_me:$LINENO: checking size of long" >&5
4478 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4479 if test "${ac_cv_sizeof_long+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 if test "$ac_cv_type_long" = yes; then
4483 # The cast to unsigned long works around a bug in the HP C Compiler
4484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4486 # This bug is HP SR number 8606223364.
4487 if test "$cross_compiling" = yes; then
4488 # Depending upon the size, compute the lo and hi bounds.
4489 cat >conftest.
$ac_ext <<_ACEOF
4492 cat confdefs.h
>>conftest.
$ac_ext
4493 cat >>conftest.
$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 $ac_includes_default
4499 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4506 rm -f conftest.
$ac_objext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4508 (eval $ac_compile) 2>conftest.er1
4510 grep -v '^ *+' conftest.er1
>conftest.err
4512 cat conftest.err
>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try
='test -z "$ac_c_werror_flag"
4516 || test ! -s conftest.err'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; } &&
4522 { ac_try
='test -s conftest.$ac_objext'
4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); }; }; then
4530 cat >conftest.
$ac_ext <<_ACEOF
4533 cat confdefs.h
>>conftest.
$ac_ext
4534 cat >>conftest.
$ac_ext <<_ACEOF
4535 /* end confdefs.h. */
4536 $ac_includes_default
4540 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4547 rm -f conftest.
$ac_objext
4548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549 (eval $ac_compile) 2>conftest.er1
4551 grep -v '^ *+' conftest.er1
>conftest.err
4553 cat conftest.err
>&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); } &&
4556 { ac_try
='test -z "$ac_c_werror_flag"
4557 || test ! -s conftest.err'
4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); }; } &&
4563 { ac_try
='test -s conftest.$ac_objext'
4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); }; }; then
4569 ac_hi
=$ac_mid; break
4571 echo "$as_me: failed program was:" >&5
4572 sed 's/^/| /' conftest.
$ac_ext >&5
4574 ac_lo
=`expr $ac_mid + 1`
4575 if test $ac_lo -le $ac_mid; then
4579 ac_mid
=`expr 2 '*' $ac_mid + 1`
4581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.
$ac_ext >&5
4587 cat >conftest.
$ac_ext <<_ACEOF
4590 cat confdefs.h
>>conftest.
$ac_ext
4591 cat >>conftest.
$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4593 $ac_includes_default
4597 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4604 rm -f conftest.
$ac_objext
4605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4606 (eval $ac_compile) 2>conftest.er1
4608 grep -v '^ *+' conftest.er1
>conftest.err
4610 cat conftest.err
>&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); } &&
4613 { ac_try
='test -z "$ac_c_werror_flag"
4614 || test ! -s conftest.err'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; } &&
4620 { ac_try
='test -s conftest.$ac_objext'
4621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); }; }; then
4628 cat >conftest.
$ac_ext <<_ACEOF
4631 cat confdefs.h
>>conftest.
$ac_ext
4632 cat >>conftest.
$ac_ext <<_ACEOF
4633 /* end confdefs.h. */
4634 $ac_includes_default
4638 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4645 rm -f conftest.
$ac_objext
4646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4647 (eval $ac_compile) 2>conftest.er1
4649 grep -v '^ *+' conftest.er1
>conftest.err
4651 cat conftest.err
>&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); } &&
4654 { ac_try
='test -z "$ac_c_werror_flag"
4655 || test ! -s conftest.err'
4656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; } &&
4661 { ac_try
='test -s conftest.$ac_objext'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; }; then
4667 ac_lo
=$ac_mid; break
4669 echo "$as_me: failed program was:" >&5
4670 sed 's/^/| /' conftest.
$ac_ext >&5
4672 ac_hi
=`expr '(' $ac_mid ')' - 1`
4673 if test $ac_mid -le $ac_hi; then
4677 ac_mid
=`expr 2 '*' $ac_mid`
4679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.
$ac_ext >&5
4687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 # Binary search between lo and hi bounds.
4691 while test "x$ac_lo" != "x$ac_hi"; do
4692 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4699 $ac_includes_default
4703 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4710 rm -f conftest.
$ac_objext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>conftest.er1
4714 grep -v '^ *+' conftest.er1
>conftest.err
4716 cat conftest.err
>&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } &&
4719 { ac_try
='test -z "$ac_c_werror_flag"
4720 || test ! -s conftest.err'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; } &&
4726 { ac_try
='test -s conftest.$ac_objext'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; }; then
4734 echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.
$ac_ext >&5
4737 ac_lo
=`expr '(' $ac_mid ')' + 1`
4739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4742 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4743 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4744 See \`config.log' for more details." >&5
4745 echo "$as_me: error: cannot compute sizeof (long), 77
4746 See \`config.log' for more details." >&2;}
4747 { (exit 1); exit 1; }; } ;;
4750 if test "$cross_compiling" = yes; then
4751 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4752 See \`config.log' for more details." >&5
4753 echo "$as_me: error: cannot run test program while cross compiling
4754 See \`config.log' for more details." >&2;}
4755 { (exit 1); exit 1; }; }
4757 cat >conftest.
$ac_ext <<_ACEOF
4760 cat confdefs.h
>>conftest.
$ac_ext
4761 cat >>conftest.
$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 $ac_includes_default
4764 long longval () { return (long) (sizeof (long)); }
4765 unsigned long ulongval () { return (long) (sizeof (long)); }
4772 FILE *f = fopen ("conftest.val", "w");
4775 if (((long) (sizeof (long))) < 0)
4777 long i = longval ();
4778 if (i != ((long) (sizeof (long))))
4780 fprintf (f, "%ld\n", i);
4784 unsigned long i = ulongval ();
4785 if (i != ((long) (sizeof (long))))
4787 fprintf (f, "%lu\n", i);
4789 exit (ferror (f) || fclose (f) != 0);
4795 rm -f conftest
$ac_exeext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4797 (eval $ac_link) 2>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4806 ac_cv_sizeof_long
=`cat conftest.val`
4808 echo "$as_me: program exited with status $ac_status" >&5
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.
$ac_ext >&5
4813 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4814 See \`config.log' for more details." >&5
4815 echo "$as_me: error: cannot compute sizeof (long), 77
4816 See \`config.log' for more details." >&2;}
4817 { (exit 1); exit 1; }; }
4819 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4827 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4828 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4829 cat >>confdefs.h
<<_ACEOF
4830 #define SIZEOF_LONG $ac_cv_sizeof_long
4836 if test $acx_cv_header_stdint = stddef.h
; then
4837 # Lacking a good header? Test size of everything and deduce all types.
4838 echo "$as_me:$LINENO: checking for int" >&5
4839 echo $ECHO_N "checking for int... $ECHO_C" >&6
4840 if test "${ac_cv_type_int+set}" = set; then
4841 echo $ECHO_N "(cached) $ECHO_C" >&6
4843 cat >conftest.
$ac_ext <<_ACEOF
4846 cat confdefs.h
>>conftest.
$ac_ext
4847 cat >>conftest.
$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 $ac_includes_default
4861 rm -f conftest.
$ac_objext
4862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4863 (eval $ac_compile) 2>conftest.er1
4865 grep -v '^ *+' conftest.er1
>conftest.err
4867 cat conftest.err
>&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } &&
4870 { ac_try
='test -z "$ac_c_werror_flag"
4871 || test ! -s conftest.err'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; } &&
4877 { ac_try
='test -s conftest.$ac_objext'
4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; }; then
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.
$ac_ext >&5
4890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4892 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4893 echo "${ECHO_T}$ac_cv_type_int" >&6
4895 echo "$as_me:$LINENO: checking size of int" >&5
4896 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4897 if test "${ac_cv_sizeof_int+set}" = set; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 if test "$ac_cv_type_int" = yes; then
4901 # The cast to unsigned long works around a bug in the HP C Compiler
4902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4904 # This bug is HP SR number 8606223364.
4905 if test "$cross_compiling" = yes; then
4906 # Depending upon the size, compute the lo and hi bounds.
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4913 $ac_includes_default
4917 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4924 rm -f conftest.
$ac_objext
4925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4926 (eval $ac_compile) 2>conftest.er1
4928 grep -v '^ *+' conftest.er1
>conftest.err
4930 cat conftest.err
>&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); } &&
4933 { ac_try
='test -z "$ac_c_werror_flag"
4934 || test ! -s conftest.err'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; } &&
4940 { ac_try
='test -s conftest.$ac_objext'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; }; then
4948 cat >conftest.
$ac_ext <<_ACEOF
4951 cat confdefs.h
>>conftest.
$ac_ext
4952 cat >>conftest.
$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4954 $ac_includes_default
4958 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4965 rm -f conftest.
$ac_objext
4966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>conftest.er1
4969 grep -v '^ *+' conftest.er1
>conftest.err
4971 cat conftest.err
>&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } &&
4974 { ac_try
='test -z "$ac_c_werror_flag"
4975 || test ! -s conftest.err'
4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); }; } &&
4981 { ac_try
='test -s conftest.$ac_objext'
4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); }; }; then
4987 ac_hi
=$ac_mid; break
4989 echo "$as_me: failed program was:" >&5
4990 sed 's/^/| /' conftest.
$ac_ext >&5
4992 ac_lo
=`expr $ac_mid + 1`
4993 if test $ac_lo -le $ac_mid; then
4997 ac_mid
=`expr 2 '*' $ac_mid + 1`
4999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5002 echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.
$ac_ext >&5
5005 cat >conftest.
$ac_ext <<_ACEOF
5008 cat confdefs.h
>>conftest.
$ac_ext
5009 cat >>conftest.
$ac_ext <<_ACEOF
5010 /* end confdefs.h. */
5011 $ac_includes_default
5015 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5022 rm -f conftest.
$ac_objext
5023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5024 (eval $ac_compile) 2>conftest.er1
5026 grep -v '^ *+' conftest.er1
>conftest.err
5028 cat conftest.err
>&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); } &&
5031 { ac_try
='test -z "$ac_c_werror_flag"
5032 || test ! -s conftest.err'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; } &&
5038 { ac_try
='test -s conftest.$ac_objext'
5039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; }; then
5046 cat >conftest.
$ac_ext <<_ACEOF
5049 cat confdefs.h
>>conftest.
$ac_ext
5050 cat >>conftest.
$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5052 $ac_includes_default
5056 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5063 rm -f conftest.
$ac_objext
5064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5065 (eval $ac_compile) 2>conftest.er1
5067 grep -v '^ *+' conftest.er1
>conftest.err
5069 cat conftest.err
>&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } &&
5072 { ac_try
='test -z "$ac_c_werror_flag"
5073 || test ! -s conftest.err'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; } &&
5079 { ac_try
='test -s conftest.$ac_objext'
5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); }; }; then
5085 ac_lo
=$ac_mid; break
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.
$ac_ext >&5
5090 ac_hi
=`expr '(' $ac_mid ')' - 1`
5091 if test $ac_mid -le $ac_hi; then
5095 ac_mid
=`expr 2 '*' $ac_mid`
5097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5107 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 # Binary search between lo and hi bounds.
5109 while test "x$ac_lo" != "x$ac_hi"; do
5110 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5111 cat >conftest.
$ac_ext <<_ACEOF
5114 cat confdefs.h
>>conftest.
$ac_ext
5115 cat >>conftest.
$ac_ext <<_ACEOF
5116 /* end confdefs.h. */
5117 $ac_includes_default
5121 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5128 rm -f conftest.
$ac_objext
5129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5130 (eval $ac_compile) 2>conftest.er1
5132 grep -v '^ *+' conftest.er1
>conftest.err
5134 cat conftest.err
>&5
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } &&
5137 { ac_try
='test -z "$ac_c_werror_flag"
5138 || test ! -s conftest.err'
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); }; } &&
5144 { ac_try
='test -s conftest.$ac_objext'
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5152 echo "$as_me: failed program was:" >&5
5153 sed 's/^/| /' conftest.
$ac_ext >&5
5155 ac_lo
=`expr '(' $ac_mid ')' + 1`
5157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5160 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5161 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5162 See \`config.log' for more details." >&5
5163 echo "$as_me: error: cannot compute sizeof (int), 77
5164 See \`config.log' for more details." >&2;}
5165 { (exit 1); exit 1; }; } ;;
5168 if test "$cross_compiling" = yes; then
5169 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5170 See \`config.log' for more details." >&5
5171 echo "$as_me: error: cannot run test program while cross compiling
5172 See \`config.log' for more details." >&2;}
5173 { (exit 1); exit 1; }; }
5175 cat >conftest.
$ac_ext <<_ACEOF
5178 cat confdefs.h
>>conftest.
$ac_ext
5179 cat >>conftest.
$ac_ext <<_ACEOF
5180 /* end confdefs.h. */
5181 $ac_includes_default
5182 long longval () { return (long) (sizeof (int)); }
5183 unsigned long ulongval () { return (long) (sizeof (int)); }
5190 FILE *f = fopen ("conftest.val", "w");
5193 if (((long) (sizeof (int))) < 0)
5195 long i = longval ();
5196 if (i != ((long) (sizeof (int))))
5198 fprintf (f, "%ld\n", i);
5202 unsigned long i = ulongval ();
5203 if (i != ((long) (sizeof (int))))
5205 fprintf (f, "%lu\n", i);
5207 exit (ferror (f) || fclose (f) != 0);
5213 rm -f conftest
$ac_exeext
5214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5215 (eval $ac_link) 2>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); }; }; then
5224 ac_cv_sizeof_int
=`cat conftest.val`
5226 echo "$as_me: program exited with status $ac_status" >&5
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.
$ac_ext >&5
5231 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5232 See \`config.log' for more details." >&5
5233 echo "$as_me: error: cannot compute sizeof (int), 77
5234 See \`config.log' for more details." >&2;}
5235 { (exit 1); exit 1; }; }
5237 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5245 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5246 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5247 cat >>confdefs.h
<<_ACEOF
5248 #define SIZEOF_INT $ac_cv_sizeof_int
5252 echo "$as_me:$LINENO: checking for short" >&5
5253 echo $ECHO_N "checking for short... $ECHO_C" >&6
5254 if test "${ac_cv_type_short+set}" = set; then
5255 echo $ECHO_N "(cached) $ECHO_C" >&6
5257 cat >conftest.
$ac_ext <<_ACEOF
5260 cat confdefs.h
>>conftest.
$ac_ext
5261 cat >>conftest.
$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5263 $ac_includes_default
5275 rm -f conftest.
$ac_objext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5277 (eval $ac_compile) 2>conftest.er1
5279 grep -v '^ *+' conftest.er1
>conftest.err
5281 cat conftest.err
>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try
='test -z "$ac_c_werror_flag"
5285 || test ! -s conftest.err'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; } &&
5291 { ac_try
='test -s conftest.$ac_objext'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then
5297 ac_cv_type_short
=yes
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.
$ac_ext >&5
5304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5306 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5307 echo "${ECHO_T}$ac_cv_type_short" >&6
5309 echo "$as_me:$LINENO: checking size of short" >&5
5310 echo $ECHO_N "checking size of short... $ECHO_C" >&6
5311 if test "${ac_cv_sizeof_short+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 if test "$ac_cv_type_short" = yes; then
5315 # The cast to unsigned long works around a bug in the HP C Compiler
5316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5318 # This bug is HP SR number 8606223364.
5319 if test "$cross_compiling" = yes; then
5320 # Depending upon the size, compute the lo and hi bounds.
5321 cat >conftest.
$ac_ext <<_ACEOF
5324 cat confdefs.h
>>conftest.
$ac_ext
5325 cat >>conftest.
$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5327 $ac_includes_default
5331 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5338 rm -f conftest.
$ac_objext
5339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 (eval $ac_compile) 2>conftest.er1
5342 grep -v '^ *+' conftest.er1
>conftest.err
5344 cat conftest.err
>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); } &&
5347 { ac_try
='test -z "$ac_c_werror_flag"
5348 || test ! -s conftest.err'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; } &&
5354 { ac_try
='test -s conftest.$ac_objext'
5355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); }; }; then
5362 cat >conftest.
$ac_ext <<_ACEOF
5365 cat confdefs.h
>>conftest.
$ac_ext
5366 cat >>conftest.
$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5368 $ac_includes_default
5372 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5379 rm -f conftest.
$ac_objext
5380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5381 (eval $ac_compile) 2>conftest.er1
5383 grep -v '^ *+' conftest.er1
>conftest.err
5385 cat conftest.err
>&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } &&
5388 { ac_try
='test -z "$ac_c_werror_flag"
5389 || test ! -s conftest.err'
5390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; } &&
5395 { ac_try
='test -s conftest.$ac_objext'
5396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5401 ac_hi
=$ac_mid; break
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.
$ac_ext >&5
5406 ac_lo
=`expr $ac_mid + 1`
5407 if test $ac_lo -le $ac_mid; then
5411 ac_mid
=`expr 2 '*' $ac_mid + 1`
5413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 echo "$as_me: failed program was:" >&5
5417 sed 's/^/| /' conftest.
$ac_ext >&5
5419 cat >conftest.
$ac_ext <<_ACEOF
5422 cat confdefs.h
>>conftest.
$ac_ext
5423 cat >>conftest.
$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 $ac_includes_default
5429 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5436 rm -f conftest.
$ac_objext
5437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5438 (eval $ac_compile) 2>conftest.er1
5440 grep -v '^ *+' conftest.er1
>conftest.err
5442 cat conftest.err
>&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); } &&
5445 { ac_try
='test -z "$ac_c_werror_flag"
5446 || test ! -s conftest.err'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; } &&
5452 { ac_try
='test -s conftest.$ac_objext'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; }; then
5460 cat >conftest.
$ac_ext <<_ACEOF
5463 cat confdefs.h
>>conftest.
$ac_ext
5464 cat >>conftest.
$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5466 $ac_includes_default
5470 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5477 rm -f conftest.
$ac_objext
5478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5479 (eval $ac_compile) 2>conftest.er1
5481 grep -v '^ *+' conftest.er1
>conftest.err
5483 cat conftest.err
>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } &&
5486 { ac_try
='test -z "$ac_c_werror_flag"
5487 || test ! -s conftest.err'
5488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); }; } &&
5493 { ac_try
='test -s conftest.$ac_objext'
5494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5498 (exit $ac_status); }; }; then
5499 ac_lo
=$ac_mid; break
5501 echo "$as_me: failed program was:" >&5
5502 sed 's/^/| /' conftest.
$ac_ext >&5
5504 ac_hi
=`expr '(' $ac_mid ')' - 1`
5505 if test $ac_mid -le $ac_hi; then
5509 ac_mid
=`expr 2 '*' $ac_mid`
5511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.
$ac_ext >&5
5519 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5521 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5522 # Binary search between lo and hi bounds.
5523 while test "x$ac_lo" != "x$ac_hi"; do
5524 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5525 cat >conftest.
$ac_ext <<_ACEOF
5528 cat confdefs.h
>>conftest.
$ac_ext
5529 cat >>conftest.
$ac_ext <<_ACEOF
5530 /* end confdefs.h. */
5531 $ac_includes_default
5535 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5542 rm -f conftest.
$ac_objext
5543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5544 (eval $ac_compile) 2>conftest.er1
5546 grep -v '^ *+' conftest.er1
>conftest.err
5548 cat conftest.err
>&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); } &&
5551 { ac_try
='test -z "$ac_c_werror_flag"
5552 || test ! -s conftest.err'
5553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557 (exit $ac_status); }; } &&
5558 { ac_try
='test -s conftest.$ac_objext'
5559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; }; then
5566 echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.
$ac_ext >&5
5569 ac_lo
=`expr '(' $ac_mid ')' + 1`
5571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5574 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5575 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5576 See \`config.log' for more details." >&5
5577 echo "$as_me: error: cannot compute sizeof (short), 77
5578 See \`config.log' for more details." >&2;}
5579 { (exit 1); exit 1; }; } ;;
5582 if test "$cross_compiling" = yes; then
5583 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5584 See \`config.log' for more details." >&5
5585 echo "$as_me: error: cannot run test program while cross compiling
5586 See \`config.log' for more details." >&2;}
5587 { (exit 1); exit 1; }; }
5589 cat >conftest.
$ac_ext <<_ACEOF
5592 cat confdefs.h
>>conftest.
$ac_ext
5593 cat >>conftest.
$ac_ext <<_ACEOF
5594 /* end confdefs.h. */
5595 $ac_includes_default
5596 long longval () { return (long) (sizeof (short)); }
5597 unsigned long ulongval () { return (long) (sizeof (short)); }
5604 FILE *f = fopen ("conftest.val", "w");
5607 if (((long) (sizeof (short))) < 0)
5609 long i = longval ();
5610 if (i != ((long) (sizeof (short))))
5612 fprintf (f, "%ld\n", i);
5616 unsigned long i = ulongval ();
5617 if (i != ((long) (sizeof (short))))
5619 fprintf (f, "%lu\n", i);
5621 exit (ferror (f) || fclose (f) != 0);
5627 rm -f conftest
$ac_exeext
5628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5629 (eval $ac_link) 2>&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 ac_cv_sizeof_short
=`cat conftest.val`
5640 echo "$as_me: program exited with status $ac_status" >&5
5641 echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.
$ac_ext >&5
5645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5646 See \`config.log' for more details." >&5
5647 echo "$as_me: error: cannot compute sizeof (short), 77
5648 See \`config.log' for more details." >&2;}
5649 { (exit 1); exit 1; }; }
5651 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5656 ac_cv_sizeof_short
=0
5659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5660 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5661 cat >>confdefs.h
<<_ACEOF
5662 #define SIZEOF_SHORT $ac_cv_sizeof_short
5666 echo "$as_me:$LINENO: checking for char" >&5
5667 echo $ECHO_N "checking for char... $ECHO_C" >&6
5668 if test "${ac_cv_type_char+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 cat >conftest.
$ac_ext <<_ACEOF
5674 cat confdefs.h
>>conftest.
$ac_ext
5675 cat >>conftest.
$ac_ext <<_ACEOF
5676 /* end confdefs.h. */
5677 $ac_includes_default
5689 rm -f conftest.
$ac_objext
5690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5691 (eval $ac_compile) 2>conftest.er1
5693 grep -v '^ *+' conftest.er1
>conftest.err
5695 cat conftest.err
>&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); } &&
5698 { ac_try
='test -z "$ac_c_werror_flag"
5699 || test ! -s conftest.err'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; } &&
5705 { ac_try
='test -s conftest.$ac_objext'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; }; then
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.
$ac_ext >&5
5718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5720 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5721 echo "${ECHO_T}$ac_cv_type_char" >&6
5723 echo "$as_me:$LINENO: checking size of char" >&5
5724 echo $ECHO_N "checking size of char... $ECHO_C" >&6
5725 if test "${ac_cv_sizeof_char+set}" = set; then
5726 echo $ECHO_N "(cached) $ECHO_C" >&6
5728 if test "$ac_cv_type_char" = yes; then
5729 # The cast to unsigned long works around a bug in the HP C Compiler
5730 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5731 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5732 # This bug is HP SR number 8606223364.
5733 if test "$cross_compiling" = yes; then
5734 # Depending upon the size, compute the lo and hi bounds.
5735 cat >conftest.
$ac_ext <<_ACEOF
5738 cat confdefs.h
>>conftest.
$ac_ext
5739 cat >>conftest.
$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5741 $ac_includes_default
5745 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
5752 rm -f conftest.
$ac_objext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754 (eval $ac_compile) 2>conftest.er1
5756 grep -v '^ *+' conftest.er1
>conftest.err
5758 cat conftest.err
>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); } &&
5761 { ac_try
='test -z "$ac_c_werror_flag"
5762 || test ! -s conftest.err'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; } &&
5768 { ac_try
='test -s conftest.$ac_objext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5776 cat >conftest.
$ac_ext <<_ACEOF
5779 cat confdefs.h
>>conftest.
$ac_ext
5780 cat >>conftest.
$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5786 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5793 rm -f conftest.
$ac_objext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5795 (eval $ac_compile) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1
>conftest.err
5799 cat conftest.err
>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try
='test -z "$ac_c_werror_flag"
5803 || test ! -s conftest.err'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; } &&
5809 { ac_try
='test -s conftest.$ac_objext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 ac_hi
=$ac_mid; break
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.
$ac_ext >&5
5820 ac_lo
=`expr $ac_mid + 1`
5821 if test $ac_lo -le $ac_mid; then
5825 ac_mid
=`expr 2 '*' $ac_mid + 1`
5827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5830 echo "$as_me: failed program was:" >&5
5831 sed 's/^/| /' conftest.
$ac_ext >&5
5833 cat >conftest.
$ac_ext <<_ACEOF
5836 cat confdefs.h
>>conftest.
$ac_ext
5837 cat >>conftest.
$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5839 $ac_includes_default
5843 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
5850 rm -f conftest.
$ac_objext
5851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5852 (eval $ac_compile) 2>conftest.er1
5854 grep -v '^ *+' conftest.er1
>conftest.err
5856 cat conftest.err
>&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } &&
5859 { ac_try
='test -z "$ac_c_werror_flag"
5860 || test ! -s conftest.err'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; } &&
5866 { ac_try
='test -s conftest.$ac_objext'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; }; then
5874 cat >conftest.
$ac_ext <<_ACEOF
5877 cat confdefs.h
>>conftest.
$ac_ext
5878 cat >>conftest.
$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 $ac_includes_default
5884 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5891 rm -f conftest.
$ac_objext
5892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893 (eval $ac_compile) 2>conftest.er1
5895 grep -v '^ *+' conftest.er1
>conftest.err
5897 cat conftest.err
>&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); } &&
5900 { ac_try
='test -z "$ac_c_werror_flag"
5901 || test ! -s conftest.err'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; } &&
5907 { ac_try
='test -s conftest.$ac_objext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 ac_lo
=$ac_mid; break
5915 echo "$as_me: failed program was:" >&5
5916 sed 's/^/| /' conftest.
$ac_ext >&5
5918 ac_hi
=`expr '(' $ac_mid ')' - 1`
5919 if test $ac_mid -le $ac_hi; then
5923 ac_mid
=`expr 2 '*' $ac_mid`
5925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.
$ac_ext >&5
5933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5935 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5936 # Binary search between lo and hi bounds.
5937 while test "x$ac_lo" != "x$ac_hi"; do
5938 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5939 cat >conftest.
$ac_ext <<_ACEOF
5942 cat confdefs.h
>>conftest.
$ac_ext
5943 cat >>conftest.
$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5945 $ac_includes_default
5949 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5956 rm -f conftest.
$ac_objext
5957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5958 (eval $ac_compile) 2>conftest.er1
5960 grep -v '^ *+' conftest.er1
>conftest.err
5962 cat conftest.err
>&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } &&
5965 { ac_try
='test -z "$ac_c_werror_flag"
5966 || test ! -s conftest.err'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; } &&
5972 { ac_try
='test -s conftest.$ac_objext'
5973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); }; }; then
5980 echo "$as_me: failed program was:" >&5
5981 sed 's/^/| /' conftest.
$ac_ext >&5
5983 ac_lo
=`expr '(' $ac_mid ')' + 1`
5985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5988 ?
*) ac_cv_sizeof_char
=$ac_lo;;
5989 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5990 See \`config.log' for more details." >&5
5991 echo "$as_me: error: cannot compute sizeof (char), 77
5992 See \`config.log' for more details." >&2;}
5993 { (exit 1); exit 1; }; } ;;
5996 if test "$cross_compiling" = yes; then
5997 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5998 See \`config.log' for more details." >&5
5999 echo "$as_me: error: cannot run test program while cross compiling
6000 See \`config.log' for more details." >&2;}
6001 { (exit 1); exit 1; }; }
6003 cat >conftest.
$ac_ext <<_ACEOF
6006 cat confdefs.h
>>conftest.
$ac_ext
6007 cat >>conftest.
$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6009 $ac_includes_default
6010 long longval () { return (long) (sizeof (char)); }
6011 unsigned long ulongval () { return (long) (sizeof (char)); }
6018 FILE *f = fopen ("conftest.val", "w");
6021 if (((long) (sizeof (char))) < 0)
6023 long i = longval ();
6024 if (i != ((long) (sizeof (char))))
6026 fprintf (f, "%ld\n", i);
6030 unsigned long i = ulongval ();
6031 if (i != ((long) (sizeof (char))))
6033 fprintf (f, "%lu\n", i);
6035 exit (ferror (f) || fclose (f) != 0);
6041 rm -f conftest
$ac_exeext
6042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6043 (eval $ac_link) 2>&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_cv_sizeof_char
=`cat conftest.val`
6054 echo "$as_me: program exited with status $ac_status" >&5
6055 echo "$as_me: failed program was:" >&5
6056 sed 's/^/| /' conftest.
$ac_ext >&5
6059 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
6060 See \`config.log' for more details." >&5
6061 echo "$as_me: error: cannot compute sizeof (char), 77
6062 See \`config.log' for more details." >&2;}
6063 { (exit 1); exit 1; }; }
6065 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6073 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6074 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
6075 cat >>confdefs.h
<<_ACEOF
6076 #define SIZEOF_CHAR $ac_cv_sizeof_char
6081 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
6082 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
6083 case "$ac_cv_sizeof_char" in
6084 1) acx_cv_type_int8_t
=char
;;
6085 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
6086 echo "$as_me: error: no 8-bit type" >&2;}
6087 { (exit please report a bug
); exit please report a bug
; }; }
6089 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
6090 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
6092 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
6093 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
6094 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
6095 2:*) acx_cv_type_int16_t
=int
;;
6096 *:2) acx_cv_type_int16_t
=short
;;
6097 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
6098 echo "$as_me: error: no 16-bit type" >&2;}
6099 { (exit please report a bug
); exit please report a bug
; }; }
6101 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
6102 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
6104 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
6105 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
6106 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
6107 4:*) acx_cv_type_int32_t
=int
;;
6108 *:4) acx_cv_type_int32_t
=long
;;
6109 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
6110 echo "$as_me: error: no 32-bit type" >&2;}
6111 { (exit please report a bug
); exit please report a bug
; }; }
6113 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
6114 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
6117 # These tests are here to make the output prettier
6119 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
6120 case "$ac_cv_sizeof_long" in
6121 8) acx_cv_type_int64_t
=long
;;
6123 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
6124 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
6125 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
6126 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
6129 # Now we can use the above types
6131 if test "$ac_cv_type_uintptr_t" != yes; then
6132 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
6133 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
6134 case $ac_cv_sizeof_void_p in
6135 2) acx_cv_type_intptr_t
=int16_t
;;
6136 4) acx_cv_type_intptr_t
=int32_t
;;
6137 8) acx_cv_type_intptr_t
=int64_t
;;
6138 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
6139 echo "$as_me: error: no equivalent for intptr_t" >&2;}
6140 { (exit please report a bug
); exit please report a bug
; }; }
6142 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
6143 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
6146 # ----------------- done all checks, emit header -------------
6147 ac_config_commands
="$ac_config_commands gstdint.h"
6152 # Checks for typedefs, structures, and compiler characteristics.
6153 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6154 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6155 if test "${ac_cv_c_const+set}" = set; then
6156 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 cat >conftest.
$ac_ext <<_ACEOF
6161 cat confdefs.h
>>conftest.
$ac_ext
6162 cat >>conftest.
$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6168 /* FIXME: Include the comments suggested by Paul. */
6170 /* Ultrix mips cc rejects this. */
6171 typedef int charset[2];
6173 /* SunOS 4.1.1 cc rejects this. */
6174 char const *const *ccp;
6176 /* NEC SVR4.0.2 mips cc rejects this. */
6177 struct point {int x, y;};
6178 static struct point const zero = {0,0};
6179 /* AIX XL C 1.02.0.0 rejects this.
6180 It does not let you subtract one const X* pointer from another in
6181 an arm of an if-expression whose if-part is not a constant
6183 const char *g = "string";
6184 ccp = &g + (g ? g-g : 0);
6185 /* HPUX 7.0 cc rejects these. */
6188 ccp = (char const *const *) p;
6189 { /* SCO 3.2v4 cc rejects this. */
6191 char const *s = 0 ? (char *) 0 : (char const *) 0;
6195 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6197 const int *foo = &x[0];
6200 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6201 typedef const int *iptr;
6205 { /* AIX XL C 1.02.0.0 rejects this saying
6206 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6207 struct s { int j; const int *ap[3]; };
6208 struct s *b; b->j = 5;
6210 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6219 rm -f conftest.
$ac_objext
6220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6221 (eval $ac_compile) 2>conftest.er1
6223 grep -v '^ *+' conftest.er1
>conftest.err
6225 cat conftest.err
>&5
6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } &&
6228 { ac_try
='test -z "$ac_c_werror_flag"
6229 || test ! -s conftest.err'
6230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }; } &&
6235 { ac_try
='test -s conftest.$ac_objext'
6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); }; }; then
6243 echo "$as_me: failed program was:" >&5
6244 sed 's/^/| /' conftest.
$ac_ext >&5
6248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6250 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6251 echo "${ECHO_T}$ac_cv_c_const" >&6
6252 if test $ac_cv_c_const = no
; then
6254 cat >>confdefs.h
<<\_ACEOF
6260 echo "$as_me:$LINENO: checking for off_t" >&5
6261 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6262 if test "${ac_cv_type_off_t+set}" = set; then
6263 echo $ECHO_N "(cached) $ECHO_C" >&6
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 $ac_includes_default
6283 rm -f conftest.
$ac_objext
6284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6285 (eval $ac_compile) 2>conftest.er1
6287 grep -v '^ *+' conftest.er1
>conftest.err
6289 cat conftest.err
>&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } &&
6292 { ac_try
='test -z "$ac_c_werror_flag"
6293 || test ! -s conftest.err'
6294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; } &&
6299 { ac_try
='test -s conftest.$ac_objext'
6300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }; }; then
6305 ac_cv_type_off_t
=yes
6307 echo "$as_me: failed program was:" >&5
6308 sed 's/^/| /' conftest.
$ac_ext >&5
6312 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6314 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6315 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6316 if test $ac_cv_type_off_t = yes; then
6320 cat >>confdefs.h
<<_ACEOF
6326 echo "$as_me:$LINENO: checking for int" >&5
6327 echo $ECHO_N "checking for int... $ECHO_C" >&6
6328 if test "${ac_cv_type_int+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6331 cat >conftest.
$ac_ext <<_ACEOF
6334 cat confdefs.h
>>conftest.
$ac_ext
6335 cat >>conftest.
$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6337 $ac_includes_default
6349 rm -f conftest.
$ac_objext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6351 (eval $ac_compile) 2>conftest.er1
6353 grep -v '^ *+' conftest.er1
>conftest.err
6355 cat conftest.err
>&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 { ac_try
='test -z "$ac_c_werror_flag"
6359 || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try
='test -s conftest.$ac_objext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.
$ac_ext >&5
6378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6381 echo "${ECHO_T}$ac_cv_type_int" >&6
6383 echo "$as_me:$LINENO: checking size of int" >&5
6384 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6385 if test "${ac_cv_sizeof_int+set}" = set; then
6386 echo $ECHO_N "(cached) $ECHO_C" >&6
6388 if test "$ac_cv_type_int" = yes; then
6389 # The cast to unsigned long works around a bug in the HP C Compiler
6390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6392 # This bug is HP SR number 8606223364.
6393 if test "$cross_compiling" = yes; then
6394 # Depending upon the size, compute the lo and hi bounds.
6395 cat >conftest.
$ac_ext <<_ACEOF
6398 cat confdefs.h
>>conftest.
$ac_ext
6399 cat >>conftest.
$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6401 $ac_includes_default
6405 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6412 rm -f conftest.
$ac_objext
6413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6414 (eval $ac_compile) 2>conftest.er1
6416 grep -v '^ *+' conftest.er1
>conftest.err
6418 cat conftest.err
>&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); } &&
6421 { ac_try
='test -z "$ac_c_werror_flag"
6422 || test ! -s conftest.err'
6423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); }; } &&
6428 { ac_try
='test -s conftest.$ac_objext'
6429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6433 (exit $ac_status); }; }; then
6436 cat >conftest.
$ac_ext <<_ACEOF
6439 cat confdefs.h
>>conftest.
$ac_ext
6440 cat >>conftest.
$ac_ext <<_ACEOF
6441 /* end confdefs.h. */
6442 $ac_includes_default
6446 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6453 rm -f conftest.
$ac_objext
6454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6455 (eval $ac_compile) 2>conftest.er1
6457 grep -v '^ *+' conftest.er1
>conftest.err
6459 cat conftest.err
>&5
6460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); } &&
6462 { ac_try
='test -z "$ac_c_werror_flag"
6463 || test ! -s conftest.err'
6464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); }; } &&
6469 { ac_try
='test -s conftest.$ac_objext'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; }; then
6475 ac_hi
=$ac_mid; break
6477 echo "$as_me: failed program was:" >&5
6478 sed 's/^/| /' conftest.
$ac_ext >&5
6480 ac_lo
=`expr $ac_mid + 1`
6481 if test $ac_lo -le $ac_mid; then
6485 ac_mid
=`expr 2 '*' $ac_mid + 1`
6487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.
$ac_ext >&5
6493 cat >conftest.
$ac_ext <<_ACEOF
6496 cat confdefs.h
>>conftest.
$ac_ext
6497 cat >>conftest.
$ac_ext <<_ACEOF
6498 /* end confdefs.h. */
6499 $ac_includes_default
6503 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6510 rm -f conftest.
$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6514 grep -v '^ *+' conftest.er1
>conftest.err
6516 cat conftest.err
>&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try
='test -z "$ac_c_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try
='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6540 $ac_includes_default
6544 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6551 rm -f conftest.
$ac_objext
6552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6553 (eval $ac_compile) 2>conftest.er1
6555 grep -v '^ *+' conftest.er1
>conftest.err
6557 cat conftest.err
>&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } &&
6560 { ac_try
='test -z "$ac_c_werror_flag"
6561 || test ! -s conftest.err'
6562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); }; } &&
6567 { ac_try
='test -s conftest.$ac_objext'
6568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; }; then
6573 ac_lo
=$ac_mid; break
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.
$ac_ext >&5
6578 ac_hi
=`expr '(' $ac_mid ')' - 1`
6579 if test $ac_mid -le $ac_hi; then
6583 ac_mid
=`expr 2 '*' $ac_mid`
6585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.
$ac_ext >&5
6593 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6596 # Binary search between lo and hi bounds.
6597 while test "x$ac_lo" != "x$ac_hi"; do
6598 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6599 cat >conftest.
$ac_ext <<_ACEOF
6602 cat confdefs.h
>>conftest.
$ac_ext
6603 cat >>conftest.
$ac_ext <<_ACEOF
6604 /* end confdefs.h. */
6605 $ac_includes_default
6609 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6616 rm -f conftest.
$ac_objext
6617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6618 (eval $ac_compile) 2>conftest.er1
6620 grep -v '^ *+' conftest.er1
>conftest.err
6622 cat conftest.err
>&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); } &&
6625 { ac_try
='test -z "$ac_c_werror_flag"
6626 || test ! -s conftest.err'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; } &&
6632 { ac_try
='test -s conftest.$ac_objext'
6633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); }; }; then
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.
$ac_ext >&5
6643 ac_lo
=`expr '(' $ac_mid ')' + 1`
6645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6648 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6649 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6650 See \`config.log' for more details." >&5
6651 echo "$as_me: error: cannot compute sizeof (int), 77
6652 See \`config.log' for more details." >&2;}
6653 { (exit 1); exit 1; }; } ;;
6656 if test "$cross_compiling" = yes; then
6657 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6658 See \`config.log' for more details." >&5
6659 echo "$as_me: error: cannot run test program while cross compiling
6660 See \`config.log' for more details." >&2;}
6661 { (exit 1); exit 1; }; }
6663 cat >conftest.
$ac_ext <<_ACEOF
6666 cat confdefs.h
>>conftest.
$ac_ext
6667 cat >>conftest.
$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6670 long longval () { return (long) (sizeof (int)); }
6671 unsigned long ulongval () { return (long) (sizeof (int)); }
6678 FILE *f = fopen ("conftest.val", "w");
6681 if (((long) (sizeof (int))) < 0)
6683 long i = longval ();
6684 if (i != ((long) (sizeof (int))))
6686 fprintf (f, "%ld\n", i);
6690 unsigned long i = ulongval ();
6691 if (i != ((long) (sizeof (int))))
6693 fprintf (f, "%lu\n", i);
6695 exit (ferror (f) || fclose (f) != 0);
6701 rm -f conftest
$ac_exeext
6702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6703 (eval $ac_link) 2>&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; }; then
6712 ac_cv_sizeof_int
=`cat conftest.val`
6714 echo "$as_me: program exited with status $ac_status" >&5
6715 echo "$as_me: failed program was:" >&5
6716 sed 's/^/| /' conftest.
$ac_ext >&5
6719 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6720 See \`config.log' for more details." >&5
6721 echo "$as_me: error: cannot compute sizeof (int), 77
6722 See \`config.log' for more details." >&2;}
6723 { (exit 1); exit 1; }; }
6725 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6733 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6734 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6735 cat >>confdefs.h
<<_ACEOF
6736 #define SIZEOF_INT $ac_cv_sizeof_int
6740 echo "$as_me:$LINENO: checking for long" >&5
6741 echo $ECHO_N "checking for long... $ECHO_C" >&6
6742 if test "${ac_cv_type_long+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 cat >conftest.
$ac_ext <<_ACEOF
6748 cat confdefs.h
>>conftest.
$ac_ext
6749 cat >>conftest.
$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 $ac_includes_default
6763 rm -f conftest.
$ac_objext
6764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6765 (eval $ac_compile) 2>conftest.er1
6767 grep -v '^ *+' conftest.er1
>conftest.err
6769 cat conftest.err
>&5
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); } &&
6772 { ac_try
='test -z "$ac_c_werror_flag"
6773 || test ! -s conftest.err'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; } &&
6779 { ac_try
='test -s conftest.$ac_objext'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6787 echo "$as_me: failed program was:" >&5
6788 sed 's/^/| /' conftest.
$ac_ext >&5
6792 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6794 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6795 echo "${ECHO_T}$ac_cv_type_long" >&6
6797 echo "$as_me:$LINENO: checking size of long" >&5
6798 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6799 if test "${ac_cv_sizeof_long+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 if test "$ac_cv_type_long" = yes; then
6803 # The cast to unsigned long works around a bug in the HP C Compiler
6804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6806 # This bug is HP SR number 8606223364.
6807 if test "$cross_compiling" = yes; then
6808 # Depending upon the size, compute the lo and hi bounds.
6809 cat >conftest.
$ac_ext <<_ACEOF
6812 cat confdefs.h
>>conftest.
$ac_ext
6813 cat >>conftest.
$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 $ac_includes_default
6819 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6826 rm -f conftest.
$ac_objext
6827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6828 (eval $ac_compile) 2>conftest.er1
6830 grep -v '^ *+' conftest.er1
>conftest.err
6832 cat conftest.err
>&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); } &&
6835 { ac_try
='test -z "$ac_c_werror_flag"
6836 || test ! -s conftest.err'
6837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); }; } &&
6842 { ac_try
='test -s conftest.$ac_objext'
6843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; }; then
6850 cat >conftest.
$ac_ext <<_ACEOF
6853 cat confdefs.h
>>conftest.
$ac_ext
6854 cat >>conftest.
$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6856 $ac_includes_default
6860 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6867 rm -f conftest.
$ac_objext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869 (eval $ac_compile) 2>conftest.er1
6871 grep -v '^ *+' conftest.er1
>conftest.err
6873 cat conftest.err
>&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); } &&
6876 { ac_try
='test -z "$ac_c_werror_flag"
6877 || test ! -s conftest.err'
6878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); }; } &&
6883 { ac_try
='test -s conftest.$ac_objext'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; }; then
6889 ac_hi
=$ac_mid; break
6891 echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.
$ac_ext >&5
6894 ac_lo
=`expr $ac_mid + 1`
6895 if test $ac_lo -le $ac_mid; then
6899 ac_mid
=`expr 2 '*' $ac_mid + 1`
6901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6904 echo "$as_me: failed program was:" >&5
6905 sed 's/^/| /' conftest.
$ac_ext >&5
6907 cat >conftest.
$ac_ext <<_ACEOF
6910 cat confdefs.h
>>conftest.
$ac_ext
6911 cat >>conftest.
$ac_ext <<_ACEOF
6912 /* end confdefs.h. */
6913 $ac_includes_default
6917 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6924 rm -f conftest.
$ac_objext
6925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6926 (eval $ac_compile) 2>conftest.er1
6928 grep -v '^ *+' conftest.er1
>conftest.err
6930 cat conftest.err
>&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); } &&
6933 { ac_try
='test -z "$ac_c_werror_flag"
6934 || test ! -s conftest.err'
6935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); }; } &&
6940 { ac_try
='test -s conftest.$ac_objext'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; }; then
6948 cat >conftest.
$ac_ext <<_ACEOF
6951 cat confdefs.h
>>conftest.
$ac_ext
6952 cat >>conftest.
$ac_ext <<_ACEOF
6953 /* end confdefs.h. */
6954 $ac_includes_default
6958 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6965 rm -f conftest.
$ac_objext
6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6967 (eval $ac_compile) 2>conftest.er1
6969 grep -v '^ *+' conftest.er1
>conftest.err
6971 cat conftest.err
>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } &&
6974 { ac_try
='test -z "$ac_c_werror_flag"
6975 || test ! -s conftest.err'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; } &&
6981 { ac_try
='test -s conftest.$ac_objext'
6982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); }; }; then
6987 ac_lo
=$ac_mid; break
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.
$ac_ext >&5
6992 ac_hi
=`expr '(' $ac_mid ')' - 1`
6993 if test $ac_mid -le $ac_hi; then
6997 ac_mid
=`expr 2 '*' $ac_mid`
6999 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.
$ac_ext >&5
7007 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7010 # Binary search between lo and hi bounds.
7011 while test "x$ac_lo" != "x$ac_hi"; do
7012 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7013 cat >conftest.
$ac_ext <<_ACEOF
7016 cat confdefs.h
>>conftest.
$ac_ext
7017 cat >>conftest.
$ac_ext <<_ACEOF
7018 /* end confdefs.h. */
7019 $ac_includes_default
7023 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7030 rm -f conftest.
$ac_objext
7031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7032 (eval $ac_compile) 2>conftest.er1
7034 grep -v '^ *+' conftest.er1
>conftest.err
7036 cat conftest.err
>&5
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); } &&
7039 { ac_try
='test -z "$ac_c_werror_flag"
7040 || test ! -s conftest.err'
7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); }; } &&
7046 { ac_try
='test -s conftest.$ac_objext'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; }; then
7054 echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.
$ac_ext >&5
7057 ac_lo
=`expr '(' $ac_mid ')' + 1`
7059 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7062 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7063 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7064 See \`config.log' for more details." >&5
7065 echo "$as_me: error: cannot compute sizeof (long), 77
7066 See \`config.log' for more details." >&2;}
7067 { (exit 1); exit 1; }; } ;;
7070 if test "$cross_compiling" = yes; then
7071 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7072 See \`config.log' for more details." >&5
7073 echo "$as_me: error: cannot run test program while cross compiling
7074 See \`config.log' for more details." >&2;}
7075 { (exit 1); exit 1; }; }
7077 cat >conftest.
$ac_ext <<_ACEOF
7080 cat confdefs.h
>>conftest.
$ac_ext
7081 cat >>conftest.
$ac_ext <<_ACEOF
7082 /* end confdefs.h. */
7083 $ac_includes_default
7084 long longval () { return (long) (sizeof (long)); }
7085 unsigned long ulongval () { return (long) (sizeof (long)); }
7092 FILE *f = fopen ("conftest.val", "w");
7095 if (((long) (sizeof (long))) < 0)
7097 long i = longval ();
7098 if (i != ((long) (sizeof (long))))
7100 fprintf (f, "%ld\n", i);
7104 unsigned long i = ulongval ();
7105 if (i != ((long) (sizeof (long))))
7107 fprintf (f, "%lu\n", i);
7109 exit (ferror (f) || fclose (f) != 0);
7115 rm -f conftest
$ac_exeext
7116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7117 (eval $ac_link) 2>&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125 (exit $ac_status); }; }; then
7126 ac_cv_sizeof_long
=`cat conftest.val`
7128 echo "$as_me: program exited with status $ac_status" >&5
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.
$ac_ext >&5
7133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7134 See \`config.log' for more details." >&5
7135 echo "$as_me: error: cannot compute sizeof (long), 77
7136 See \`config.log' for more details." >&2;}
7137 { (exit 1); exit 1; }; }
7139 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7147 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7148 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7149 cat >>confdefs.h
<<_ACEOF
7150 #define SIZEOF_LONG $ac_cv_sizeof_long
7155 # Checks for library functions.
7156 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7157 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7158 if test "${ac_cv_header_stdc+set}" = set; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 cat >conftest.
$ac_ext <<_ACEOF
7164 cat confdefs.h
>>conftest.
$ac_ext
7165 cat >>conftest.
$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7180 rm -f conftest.
$ac_objext
7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7182 (eval $ac_compile) 2>conftest.er1
7184 grep -v '^ *+' conftest.er1
>conftest.err
7186 cat conftest.err
>&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } &&
7189 { ac_try
='test -z "$ac_c_werror_flag"
7190 || test ! -s conftest.err'
7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; } &&
7196 { ac_try
='test -s conftest.$ac_objext'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; }; then
7202 ac_cv_header_stdc
=yes
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.
$ac_ext >&5
7207 ac_cv_header_stdc
=no
7209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7211 if test $ac_cv_header_stdc = yes; then
7212 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7213 cat >conftest.
$ac_ext <<_ACEOF
7216 cat confdefs.h
>>conftest.
$ac_ext
7217 cat >>conftest.
$ac_ext <<_ACEOF
7218 /* end confdefs.h. */
7222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7223 $EGREP "memchr" >/dev
/null
2>&1; then
7226 ac_cv_header_stdc
=no
7232 if test $ac_cv_header_stdc = yes; then
7233 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7234 cat >conftest.
$ac_ext <<_ACEOF
7237 cat confdefs.h
>>conftest.
$ac_ext
7238 cat >>conftest.
$ac_ext <<_ACEOF
7239 /* end confdefs.h. */
7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7244 $EGREP "free" >/dev
/null
2>&1; then
7247 ac_cv_header_stdc
=no
7253 if test $ac_cv_header_stdc = yes; then
7254 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7255 if test "$cross_compiling" = yes; then
7258 cat >conftest.
$ac_ext <<_ACEOF
7261 cat confdefs.h
>>conftest.
$ac_ext
7262 cat >>conftest.
$ac_ext <<_ACEOF
7263 /* end confdefs.h. */
7265 #if ((' ' & 0x0FF) == 0x020)
7266 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7267 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7269 # define ISLOWER(c) \
7270 (('a' <= (c) && (c) <= 'i') \
7271 || ('j' <= (c) && (c) <= 'r') \
7272 || ('s' <= (c) && (c) <= 'z'))
7273 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7276 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7281 for (i = 0; i < 256; i++)
7282 if (XOR (islower (i), ISLOWER (i))
7283 || toupper (i) != TOUPPER (i))
7288 rm -f conftest
$ac_exeext
7289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7290 (eval $ac_link) 2>&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7298 (exit $ac_status); }; }; then
7301 echo "$as_me: program exited with status $ac_status" >&5
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.
$ac_ext >&5
7306 ac_cv_header_stdc
=no
7308 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7312 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7313 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7314 if test $ac_cv_header_stdc = yes; then
7316 cat >>confdefs.h
<<\_ACEOF
7317 #define STDC_HEADERS 1
7323 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7324 if test "${enable_maintainer_mode+set}" = set; then
7325 enableval
="$enable_maintainer_mode"
7328 enable_maintainer_mode
=no
7331 if test "x$enable_maintainer_mode" = xno
; then
7339 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
7340 if test -f $ac_dir/install-sh
; then
7342 ac_install_sh
="$ac_aux_dir/install-sh -c"
7344 elif test -f $ac_dir/install.sh
; then
7346 ac_install_sh
="$ac_aux_dir/install.sh -c"
7348 elif test -f $ac_dir/shtool
; then
7350 ac_install_sh
="$ac_aux_dir/shtool install -c"
7354 if test -z "$ac_aux_dir"; then
7355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
7356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
7357 { (exit 1); exit 1; }; }
7359 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
7360 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
7361 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
7363 # Make sure we can run config.sub.
7364 $ac_config_sub sun4
>/dev
/null
2>&1 ||
7365 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
7366 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
7367 { (exit 1); exit 1; }; }
7369 echo "$as_me:$LINENO: checking build system type" >&5
7370 echo $ECHO_N "checking build system type... $ECHO_C" >&6
7371 if test "${ac_cv_build+set}" = set; then
7372 echo $ECHO_N "(cached) $ECHO_C" >&6
7374 ac_cv_build_alias
=$build_alias
7375 test -z "$ac_cv_build_alias" &&
7376 ac_cv_build_alias
=`$ac_config_guess`
7377 test -z "$ac_cv_build_alias" &&
7378 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
7379 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
7380 { (exit 1); exit 1; }; }
7381 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
7382 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
7383 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
7384 { (exit 1); exit 1; }; }
7387 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
7388 echo "${ECHO_T}$ac_cv_build" >&6
7390 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7391 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7392 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7395 echo "$as_me:$LINENO: checking host system type" >&5
7396 echo $ECHO_N "checking host system type... $ECHO_C" >&6
7397 if test "${ac_cv_host+set}" = set; then
7398 echo $ECHO_N "(cached) $ECHO_C" >&6
7400 ac_cv_host_alias
=$host_alias
7401 test -z "$ac_cv_host_alias" &&
7402 ac_cv_host_alias
=$ac_cv_build_alias
7403 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
7404 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7405 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7406 { (exit 1); exit 1; }; }
7409 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7410 echo "${ECHO_T}$ac_cv_host" >&6
7412 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7413 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7414 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7417 echo "$as_me:$LINENO: checking target system type" >&5
7418 echo $ECHO_N "checking target system type... $ECHO_C" >&6
7419 if test "${ac_cv_target+set}" = set; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 ac_cv_target_alias
=$target_alias
7423 test "x$ac_cv_target_alias" = "x" &&
7424 ac_cv_target_alias
=$ac_cv_host_alias
7425 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
7426 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
7427 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
7428 { (exit 1); exit 1; }; }
7431 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
7432 echo "${ECHO_T}$ac_cv_target" >&6
7433 target
=$ac_cv_target
7434 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7435 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7436 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7439 # The aliases save the names the user supplied, while $host etc.
7440 # will get canonicalized.
7441 test -n "$target_alias" &&
7442 test "$program_prefix$program_suffix$program_transform_name" = \
7444 program_prefix
=${target_alias}-
7446 # Default decimal format
7447 # If you change the defaults here, be sure to change them in the GCC directory also
7448 echo "$as_me:$LINENO: checking for decimal floating point" >&5
7449 echo $ECHO_N "checking for decimal floating point... $ECHO_C" >&6
7450 # Check whether --enable-decimal-float or --disable-decimal-float was given.
7451 if test "${enable_decimal_float+set}" = set; then
7452 enableval
="$enable_decimal_float"
7454 case $enable_decimal_float in
7455 yes | no | bid | dpd
) ;;
7456 *) { { echo "$as_me:$LINENO: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
7457 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&5
7458 echo "$as_me: error: '$enable_decimal_float' is an invalid value for --enable-decimal-float.
7459 Valid choices are 'yes', 'bid', 'dpd', and 'no'." >&2;}
7460 { (exit 1); exit 1; }; } ;;
7466 powerpc
*-*-linux* | i?
86*-*-linux* | x86_64
*-*-linux*)
7467 enable_decimal_float
=yes
7470 enable_decimal_float
=no
7476 # x86's use BID format instead of DPD
7477 # In theory --enable-decimal-float=no should not compile anything
7478 # For the sake of simplicity, just use the default format in this directory
7479 if test x
$enable_decimal_float = xyes
-o x
$enable_decimal_float = xno
; then
7481 i?
86*-*-linux* | x86_64
*-*-linux*)
7482 enable_decimal_float
=bid
7485 enable_decimal_float
=dpd
7490 # If BID is being used, additional objects should be linked in.
7491 if test x
$enable_decimal_float = xbid
; then
7492 ADDITIONAL_OBJS
="$ADDITIONAL_OBJS \$(bid_OBJS)"
7497 echo "$as_me:$LINENO: result: $enable_decimal_float" >&5
7498 echo "${ECHO_T}$enable_decimal_float" >&6
7502 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
7503 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
7504 if test "${ac_cv_c_bigendian+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 # See if sys/param.h defines the BYTE_ORDER macro.
7508 cat >conftest.
$ac_ext <<_ACEOF
7511 cat confdefs.h
>>conftest.
$ac_ext
7512 cat >>conftest.
$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <sys/types.h>
7515 #include <sys/param.h>
7520 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
7528 rm -f conftest.
$ac_objext
7529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7530 (eval $ac_compile) 2>conftest.er1
7532 grep -v '^ *+' conftest.er1
>conftest.err
7534 cat conftest.err
>&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); } &&
7537 { ac_try
='test -z "$ac_c_werror_flag"
7538 || test ! -s conftest.err'
7539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543 (exit $ac_status); }; } &&
7544 { ac_try
='test -s conftest.$ac_objext'
7545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549 (exit $ac_status); }; }; then
7550 # It does; now see whether it defined to BIG_ENDIAN or not.
7551 cat >conftest.
$ac_ext <<_ACEOF
7554 cat confdefs.h
>>conftest.
$ac_ext
7555 cat >>conftest.
$ac_ext <<_ACEOF
7556 /* end confdefs.h. */
7557 #include <sys/types.h>
7558 #include <sys/param.h>
7563 #if BYTE_ORDER != BIG_ENDIAN
7571 rm -f conftest.
$ac_objext
7572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7573 (eval $ac_compile) 2>conftest.er1
7575 grep -v '^ *+' conftest.er1
>conftest.err
7577 cat conftest.err
>&5
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); } &&
7580 { ac_try
='test -z "$ac_c_werror_flag"
7581 || test ! -s conftest.err'
7582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); }; } &&
7587 { ac_try
='test -s conftest.$ac_objext'
7588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); }; }; then
7593 ac_cv_c_bigendian
=yes
7595 echo "$as_me: failed program was:" >&5
7596 sed 's/^/| /' conftest.
$ac_ext >&5
7598 ac_cv_c_bigendian
=no
7600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7602 echo "$as_me: failed program was:" >&5
7603 sed 's/^/| /' conftest.
$ac_ext >&5
7605 # It does not; compile a test program.
7606 if test "$cross_compiling" = yes; then
7607 # try to guess the endianness by grepping values into an object file
7608 ac_cv_c_bigendian
=unknown
7609 cat >conftest.
$ac_ext <<_ACEOF
7612 cat confdefs.h
>>conftest.
$ac_ext
7613 cat >>conftest.
$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
7616 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
7617 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
7618 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
7619 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
7620 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
7624 _ascii (); _ebcdic ();
7629 rm -f conftest.
$ac_objext
7630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7631 (eval $ac_compile) 2>conftest.er1
7633 grep -v '^ *+' conftest.er1
>conftest.err
7635 cat conftest.err
>&5
7636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7637 (exit $ac_status); } &&
7638 { ac_try
='test -z "$ac_c_werror_flag"
7639 || test ! -s conftest.err'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; } &&
7645 { ac_try
='test -s conftest.$ac_objext'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; }; then
7651 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
7652 ac_cv_c_bigendian
=yes
7654 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
7655 if test "$ac_cv_c_bigendian" = unknown
; then
7656 ac_cv_c_bigendian
=no
7658 # finding both strings is unlikely to happen, but who knows?
7659 ac_cv_c_bigendian
=unknown
7663 echo "$as_me: failed program was:" >&5
7664 sed 's/^/| /' conftest.
$ac_ext >&5
7667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7669 cat >conftest.
$ac_ext <<_ACEOF
7672 cat confdefs.h
>>conftest.
$ac_ext
7673 cat >>conftest.
$ac_ext <<_ACEOF
7674 /* end confdefs.h. */
7678 /* Are we little or big endian? From Harbison&Steele. */
7682 char c[sizeof (long)];
7685 exit (u.c[sizeof (long) - 1] == 1);
7688 rm -f conftest
$ac_exeext
7689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7690 (eval $ac_link) 2>&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); }; }; then
7699 ac_cv_c_bigendian
=no
7701 echo "$as_me: program exited with status $ac_status" >&5
7702 echo "$as_me: failed program was:" >&5
7703 sed 's/^/| /' conftest.
$ac_ext >&5
7706 ac_cv_c_bigendian
=yes
7708 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7713 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
7714 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
7715 case $ac_cv_c_bigendian in
7718 cat >>confdefs.h
<<\_ACEOF
7719 #define WORDS_BIGENDIAN 1
7725 { { echo "$as_me:$LINENO: error: unknown endianness
7726 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
7727 echo "$as_me: error: unknown endianness
7728 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
7729 { (exit 1); exit 1; }; } ;;
7735 ac_config_headers
="$ac_config_headers config.h:config.in"
7737 ac_config_files
="$ac_config_files Makefile"
7739 cat >confcache
<<\_ACEOF
7740 # This file is a shell script that caches the results of configure
7741 # tests run on this system so they can be shared between configure
7742 # scripts and configure runs, see configure's option --config-cache.
7743 # It is not useful on other systems. If it contains results you don't
7744 # want to keep, you may remove or edit it.
7746 # config.status only pays attention to the cache file if you give it
7747 # the --recheck option to rerun configure.
7749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7755 # The following way of writing the cache mishandles newlines in values,
7756 # but we know of no workaround that is simple, portable, and efficient.
7757 # So, don't put newlines in cache variables' values.
7758 # Ultrix sh set writes to stderr and can't be redirected directly,
7759 # and sets the high bit in the cache file unless we assign to the vars.
7762 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7764 # `set' does not quote correctly, so add quotes (double-quote
7765 # substitution turns \\\\ into \\, and sed turns \\ into \).
7768 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7771 # `set' quotes correctly as required by POSIX, so do not add quotes.
7773 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7780 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7782 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7784 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7785 if test -w $cache_file; then
7786 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7787 cat confcache
>$cache_file
7789 echo "not updating unwritable cache $cache_file"
7794 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7795 # Let make expand exec_prefix.
7796 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7798 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7799 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7800 # trailing colons and then remove the whole line if VPATH becomes empty
7801 # (actually we leave an empty line to preserve line numbers).
7802 if test "x$srcdir" = x.
; then
7803 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7804 s/:*\$(srcdir):*/:/;
7805 s/:*\${srcdir}:*/:/;
7807 s/^\([^=]*=[ ]*\):*/\1/;
7813 DEFS
=-DHAVE_CONFIG_H
7817 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7818 # 1. Remove the extension, and $U if already installed.
7819 ac_i
=`echo "$ac_i" |
7820 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7822 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7823 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7827 LTLIBOBJS
=$ac_ltlibobjs
7831 : ${CONFIG_STATUS=./config.status}
7832 ac_clean_files_save
=$ac_clean_files
7833 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7834 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7835 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7836 cat >$CONFIG_STATUS <<_ACEOF
7838 # Generated by $as_me.
7839 # Run this file to recreate the current configuration.
7840 # Compiler output produced by configure, useful for debugging
7841 # configure, is in config.log if it exists.
7846 SHELL=\${CONFIG_SHELL-$SHELL}
7849 cat >>$CONFIG_STATUS <<\_ACEOF
7850 ## --------------------- ##
7851 ## M4sh Initialization. ##
7852 ## --------------------- ##
7854 # Be Bourne compatible
7855 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7858 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7859 # is contrary to our usage. Disable this feature.
7860 alias -g '${1+"$@"}'='"$@"'
7861 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7864 DUALCASE
=1; export DUALCASE
# for MKS sh
7866 # Support unset when possible.
7867 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7874 # Work around bugs in pre-3.0 UWIN ksh.
7875 $as_unset ENV MAIL MAILPATH
7882 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7883 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7884 LC_TELEPHONE LC_TIME
7886 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7887 eval $as_var=C
; export $as_var
7893 # Required to use basename.
7894 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7900 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7901 as_basename
=basename
7907 # Name of the executable.
7908 as_me
=`$as_basename "$0" ||
7909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7910 X"$0" : 'X\(//\)$' \| \
7911 X"$0" : 'X\(/\)$' \| \
7912 . : '\(.\)' 2>/dev/null ||
7914 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7915 /^X\/\(\/\/\)$/{ s//\1/; q; }
7916 /^X\/\(\/\).*/{ s//\1/; q; }
7920 # PATH needs CR, and LINENO needs CR and PATH.
7921 # Avoid depending upon Character Ranges.
7922 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7923 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7924 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7925 as_cr_digits
='0123456789'
7926 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7928 # The user is always right.
7929 if test "${PATH_SEPARATOR+set}" != set; then
7930 echo "#! /bin/sh" >conf$$.sh
7931 echo "exit 0" >>conf$$.sh
7933 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7944 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7945 test "x$as_lineno_1" != "x$as_lineno_2" &&
7946 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7947 # Find who we are. Look in the path if we contain no path at all
7950 *[\\/]* ) as_myself
=$0 ;;
7951 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir
=.
7956 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7961 # We did not find ourselves, most probably we were run as `sh COMMAND'
7962 # in which case we are not to be found in the path.
7963 if test "x$as_myself" = x
; then
7966 if test ! -f "$as_myself"; then
7967 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7968 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7969 { (exit 1); exit 1; }; }
7971 case $CONFIG_SHELL in
7973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7974 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7977 test -z "$as_dir" && as_dir
=.
7978 for as_base
in sh bash ksh sh5
; do
7981 if ("$as_dir/$as_base" -c '
7984 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7985 test "x$as_lineno_1" != "x$as_lineno_2" &&
7986 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7987 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7988 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7989 CONFIG_SHELL
=$as_dir/$as_base
7991 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7999 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8000 # uniformly replaced by the line number. The first 'sed' inserts a
8001 # line-number line before each line; the second 'sed' does the real
8002 # work. The second script uses 'N' to pair each line-number line
8003 # with the numbered line, and appends trailing '-' during
8004 # substitution so that $LINENO is not a special case at line end.
8005 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8006 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8007 sed '=' <$as_myself |
8012 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8015 s,^['$as_cr_digits']*\n,,
8017 chmod +x
$as_me.lineno ||
8018 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8019 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8020 { (exit 1); exit 1; }; }
8022 # Don't try to exec as it changes $[0], causing all sort of problems
8023 # (the dirname of $[0] is not the place where we might find the
8024 # original and so on. Autoconf is especially sensible to this).
8026 # Exit status is that of the last command.
8031 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8032 *c
*,-n*) ECHO_N
= ECHO_C
='
8034 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8035 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8038 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8044 rm -f conf$$ conf$$.exe conf$$.
file
8046 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8047 # We could just check for DJGPP; but this test a) works b) is more generic
8048 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8049 if test -f conf$$.exe
; then
8050 # Don't use ln at all; we don't have any links
8055 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8060 rm -f conf$$ conf$$.exe conf$$.
file
8062 if mkdir
-p .
2>/dev
/null
; then
8065 test -d .
/-p && rmdir .
/-p
8069 as_executable_p
="test -f"
8071 # Sed expression to map a string onto a valid CPP name.
8072 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8074 # Sed expression to map a string onto a valid variable name.
8075 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8079 # We need space, tab and new line, in precisely that order.
8089 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8090 # report actual input values of CONFIG_FILES etc. instead of their
8091 # values after options handling. Logging --version etc. is OK.
8095 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8096 ## Running $as_me. ##
8101 This file was extended by libdecnumber $as_me , which was
8102 generated by GNU Autoconf 2.59. Invocation command line was
8104 CONFIG_FILES = $CONFIG_FILES
8105 CONFIG_HEADERS = $CONFIG_HEADERS
8106 CONFIG_LINKS = $CONFIG_LINKS
8107 CONFIG_COMMANDS = $CONFIG_COMMANDS
8111 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8115 # Files that config.status was made for.
8116 if test -n "$ac_config_files"; then
8117 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8120 if test -n "$ac_config_headers"; then
8121 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8124 if test -n "$ac_config_links"; then
8125 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8128 if test -n "$ac_config_commands"; then
8129 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8132 cat >>$CONFIG_STATUS <<\_ACEOF
8135 \`$as_me' instantiates files from templates according to the
8136 current configuration.
8138 Usage: $0 [OPTIONS] [FILE]...
8140 -h, --help print this help, then exit
8141 -V, --version print version number, then exit
8142 -q, --quiet do not print progress messages
8143 -d, --debug don't remove temporary files
8144 --recheck update $as_me by reconfiguring in the same conditions
8145 --file=FILE[:TEMPLATE]
8146 instantiate the configuration file FILE
8147 --header=FILE[:TEMPLATE]
8148 instantiate the configuration header FILE
8150 Configuration files:
8153 Configuration headers:
8156 Configuration commands:
8159 Report bugs to <bug-autoconf@gnu.org>."
8162 cat >>$CONFIG_STATUS <<_ACEOF
8164 libdecnumber config.status
8165 configured by $0, generated by GNU Autoconf 2.59,
8166 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8168 Copyright (C) 2003 Free Software Foundation, Inc.
8169 This config.status script is free software; the Free Software Foundation
8170 gives unlimited permission to copy, distribute and modify it."
8174 cat >>$CONFIG_STATUS <<\_ACEOF
8175 # If no file are specified by the user, then we need to provide default
8176 # value. By we need to know if files were specified by the user.
8182 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8183 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8191 *) # This is not an option, so the user has probably given explicit
8194 ac_need_defaults
=false
;;
8198 # Handling of the options.
8200 cat >>$CONFIG_STATUS <<\_ACEOF
8201 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8203 --version |
--vers* |
-V )
8204 echo "$ac_cs_version"; exit 0 ;;
8206 # Conflict between --help and --header
8207 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8208 Try \`$0 --help' for more information." >&5
8209 echo "$as_me: error: ambiguous option: $1
8210 Try \`$0 --help' for more information." >&2;}
8211 { (exit 1); exit 1; }; };;
8212 --help |
--hel |
-h )
8213 echo "$ac_cs_usage"; exit 0 ;;
8214 --debug |
--d* |
-d )
8216 --file |
--fil |
--fi |
--f )
8218 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8219 ac_need_defaults
=false
;;
8220 --header |
--heade |
--head |
--hea )
8222 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8223 ac_need_defaults
=false
;;
8224 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8225 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8229 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8230 Try \`$0 --help' for more information." >&5
8231 echo "$as_me: error: unrecognized option: $1
8232 Try \`$0 --help' for more information." >&2;}
8233 { (exit 1); exit 1; }; } ;;
8235 *) ac_config_targets
="$ac_config_targets $1" ;;
8241 ac_configure_extra_args
=
8243 if $ac_cs_silent; then
8245 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8249 cat >>$CONFIG_STATUS <<_ACEOF
8250 if \$ac_cs_recheck; then
8251 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8252 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8257 cat >>$CONFIG_STATUS <<_ACEOF
8259 # INIT-COMMANDS section.
8265 acx_cv_header_stdint="$acx_cv_header_stdint"
8266 acx_cv_type_int8_t="$acx_cv_type_int8_t"
8267 acx_cv_type_int16_t="$acx_cv_type_int16_t"
8268 acx_cv_type_int32_t="$acx_cv_type_int32_t"
8269 acx_cv_type_int64_t="$acx_cv_type_int64_t"
8270 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
8271 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
8272 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
8273 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
8274 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
8275 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
8276 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
8277 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
8278 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
8285 cat >>$CONFIG_STATUS <<\_ACEOF
8286 for ac_config_target
in $ac_config_targets
8288 case "$ac_config_target" in
8289 # Handling of arguments.
8290 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8291 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
8292 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
8293 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8294 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8295 { (exit 1); exit 1; }; };;
8299 # If the user did not use the arguments to specify the items to instantiate,
8300 # then the envvar interface is used. Set only those that are not.
8301 # We use the long form for the default assignment because of an extremely
8302 # bizarre bug on SunOS 4.1.3.
8303 if $ac_need_defaults; then
8304 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8305 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8306 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8309 # Have a temporary directory for convenience. Make it in the build tree
8310 # simply because there is no reason to put it here, and in addition,
8311 # creating and moving files from /tmp can sometimes cause problems.
8312 # Create a temporary directory, and hook for its removal unless debugging.
8315 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8316 trap '{ (exit 1); exit 1; }' 1 2 13 15
8319 # Create a (secure) tmp directory for tmp files.
8322 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8323 test -n "$tmp" && test -d "$tmp"
8326 tmp
=.
/confstat$$
-$RANDOM
8327 (umask 077 && mkdir
$tmp)
8330 echo "$me: cannot create a temporary directory in ." >&2
8331 { (exit 1); exit 1; }
8336 cat >>$CONFIG_STATUS <<_ACEOF
8339 # CONFIG_FILES section.
8342 # No need to generate the scripts if there are no CONFIG_FILES.
8343 # This happens for instance when ./config.status config.h
8344 if test -n "\$CONFIG_FILES"; then
8345 # Protect against being on the right side of a sed subst in config.status.
8346 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8347 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8348 s,@SHELL@,$SHELL,;t t
8349 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8350 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8351 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8352 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8353 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8354 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8355 s,@exec_prefix@,$exec_prefix,;t t
8356 s,@prefix@,$prefix,;t t
8357 s,@program_transform_name@,$program_transform_name,;t t
8358 s,@bindir@,$bindir,;t t
8359 s,@sbindir@,$sbindir,;t t
8360 s,@libexecdir@,$libexecdir,;t t
8361 s,@datadir@,$datadir,;t t
8362 s,@sysconfdir@,$sysconfdir,;t t
8363 s,@sharedstatedir@,$sharedstatedir,;t t
8364 s,@localstatedir@,$localstatedir,;t t
8365 s,@libdir@,$libdir,;t t
8366 s,@includedir@,$includedir,;t t
8367 s,@oldincludedir@,$oldincludedir,;t t
8368 s,@infodir@,$infodir,;t t
8369 s,@mandir@,$mandir,;t t
8370 s,@build_alias@,$build_alias,;t t
8371 s,@host_alias@,$host_alias,;t t
8372 s,@target_alias@,$target_alias,;t t
8374 s,@ECHO_C@,$ECHO_C,;t t
8375 s,@ECHO_N@,$ECHO_N,;t t
8376 s,@ECHO_T@,$ECHO_T,;t t
8378 s,@SET_MAKE@,$SET_MAKE,;t t
8380 s,@CFLAGS@,$CFLAGS,;t t
8381 s,@LDFLAGS@,$LDFLAGS,;t t
8382 s,@CPPFLAGS@,$CPPFLAGS,;t t
8383 s,@ac_ct_CC@,$ac_ct_CC,;t t
8384 s,@EXEEXT@,$EXEEXT,;t t
8385 s,@OBJEXT@,$OBJEXT,;t t
8386 s,@RANLIB@,$RANLIB,;t t
8387 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8388 s,@ACLOCAL@,$ACLOCAL,;t t
8389 s,@AUTOCONF@,$AUTOCONF,;t t
8390 s,@AUTOHEADER@,$AUTOHEADER,;t t
8391 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
8392 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
8393 s,@WERROR@,$WERROR,;t t
8395 s,@EGREP@,$EGREP,;t t
8396 s,@MAINT@,$MAINT,;t t
8397 s,@build@,$build,;t t
8398 s,@build_cpu@,$build_cpu,;t t
8399 s,@build_vendor@,$build_vendor,;t t
8400 s,@build_os@,$build_os,;t t
8402 s,@host_cpu@,$host_cpu,;t t
8403 s,@host_vendor@,$host_vendor,;t t
8404 s,@host_os@,$host_os,;t t
8405 s,@target@,$target,;t t
8406 s,@target_cpu@,$target_cpu,;t t
8407 s,@target_vendor@,$target_vendor,;t t
8408 s,@target_os@,$target_os,;t t
8409 s,@enable_decimal_float@,$enable_decimal_float,;t t
8410 s,@ADDITIONAL_OBJS@,$ADDITIONAL_OBJS,;t t
8411 s,@LIBOBJS@,$LIBOBJS,;t t
8412 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8417 cat >>$CONFIG_STATUS <<\_ACEOF
8418 # Split the substitutions into bite-sized pieces for seds with
8419 # small command number limits, like on Digital OSF/1 and HP-UX.
8421 ac_sed_frag
=1 # Number of current file.
8422 ac_beg
=1 # First line for current file.
8423 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8426 while $ac_more_lines; do
8427 if test $ac_beg -gt 1; then
8428 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8430 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8432 if test ! -s $tmp/subs.frag
; then
8435 # The purpose of the label and of the branching condition is to
8436 # speed up the sed processing (if there are no `@' at all, there
8437 # is no need to browse any of the substitutions).
8438 # These are the two extra sed commands mentioned above.
8440 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8441 if test -z "$ac_sed_cmds"; then
8442 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8444 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8446 ac_sed_frag
=`expr $ac_sed_frag + 1`
8448 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8451 if test -z "$ac_sed_cmds"; then
8454 fi # test -n "$CONFIG_FILES"
8457 cat >>$CONFIG_STATUS <<\_ACEOF
8458 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8459 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8461 - |
*:- |
*:-:* ) # input from stdin
8463 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8464 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8465 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8466 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8467 * ) ac_file_in
=$ac_file.
in ;;
8470 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8471 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8472 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8473 X"$ac_file" : 'X\(//\)[^/]' \| \
8474 X"$ac_file" : 'X\(//\)$' \| \
8475 X"$ac_file" : 'X\(/\)' \| \
8476 . : '\(.\)' 2>/dev/null ||
8478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8480 /^X\(\/\/\)$/{ s//\1/; q; }
8481 /^X\(\/\).*/{ s//\1/; q; }
8483 { if $as_mkdir_p; then
8488 while test ! -d "$as_dir"; do
8489 as_dirs
="$as_dir $as_dirs"
8490 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8492 X"$as_dir" : 'X\(//\)[^/]' \| \
8493 X"$as_dir" : 'X\(//\)$' \| \
8494 X"$as_dir" : 'X\(/\)' \| \
8495 . : '\(.\)' 2>/dev/null ||
8497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8498 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8499 /^X\(\/\/\)$/{ s//\1/; q; }
8500 /^X\(\/\).*/{ s//\1/; q; }
8503 test ! -n "$as_dirs" || mkdir
$as_dirs
8504 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8505 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8506 { (exit 1); exit 1; }; }; }
8510 if test "$ac_dir" != .
; then
8511 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8512 # A "../" for each directory in $ac_dir_suffix.
8513 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8515 ac_dir_suffix
= ac_top_builddir
=
8519 .
) # No --srcdir option. We are building in place.
8521 if test -z "$ac_top_builddir"; then
8524 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8526 [\\/]* | ?
:[\\/]* ) # Absolute path.
8527 ac_srcdir
=$srcdir$ac_dir_suffix;
8528 ac_top_srcdir
=$srcdir ;;
8530 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8531 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8534 # Do not use `cd foo && pwd` to compute absolute paths, because
8535 # the directories may not exist.
8537 .
) ac_abs_builddir
="$ac_dir";;
8540 .
) ac_abs_builddir
=`pwd`;;
8541 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8542 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8545 case $ac_abs_builddir in
8546 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8548 case ${ac_top_builddir}.
in
8549 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8550 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8551 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8554 case $ac_abs_builddir in
8555 .
) ac_abs_srcdir
=$ac_srcdir;;
8558 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8559 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8560 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8563 case $ac_abs_builddir in
8564 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8566 case $ac_top_srcdir in
8567 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8568 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8569 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8575 if test x
"$ac_file" != x-
; then
8576 { echo "$as_me:$LINENO: creating $ac_file" >&5
8577 echo "$as_me: creating $ac_file" >&6;}
8580 # Let's still pretend it is `configure' which instantiates (i.e., don't
8581 # use $as_me), people would be surprised to read:
8582 # /* config.h. Generated by config.status. */
8583 if test x
"$ac_file" = x-
; then
8586 configure_input
="$ac_file. "
8588 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8589 sed 's,.*/,,'` by configure."
8591 # First look for the input files in the build tree, otherwise in the
8593 ac_file_inputs
=`IFS=:
8594 for f in $ac_file_in; do
8596 -) echo $tmp/stdin ;;
8598 # Absolute (can't be DOS-style, as IFS=:)
8599 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8600 echo "$as_me: error: cannot find input file: $f" >&2;}
8601 { (exit 1); exit 1; }; }
8604 if test -f "$f"; then
8607 elif test -f "$srcdir/$f"; then
8612 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8613 echo "$as_me: error: cannot find input file: $f" >&2;}
8614 { (exit 1); exit 1; }; }
8617 done` ||
{ (exit 1); exit 1; }
8619 cat >>$CONFIG_STATUS <<_ACEOF
8623 cat >>$CONFIG_STATUS <<\_ACEOF
8625 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8626 s
,@configure_input@
,$configure_input,;t t
8627 s
,@srcdir@
,$ac_srcdir,;t t
8628 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8629 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8630 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8631 s
,@builddir@
,$ac_builddir,;t t
8632 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8633 s
,@top_builddir@
,$ac_top_builddir,;t t
8634 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8635 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8637 if test x"$ac_file" != x-; then
8638 mv $tmp/out $ac_file
8646 cat >>$CONFIG_STATUS <<\_ACEOF
8649 # CONFIG_HEADER section.
8652 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8653 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8655 # ac_d sets the value in "#define NAME VALUE" lines.
8656 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8657 ac_dB
='[ ].*$,\1#\2'
8660 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8661 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8662 ac_uB
='$,\1#\2define\3'
8666 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8667 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8669 - |
*:- |
*:-:* ) # input from stdin
8671 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8672 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8673 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8674 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8675 * ) ac_file_in
=$ac_file.
in ;;
8678 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8679 echo "$as_me: creating $ac_file" >&6;}
8681 # First look for the input files in the build tree, otherwise in the
8683 ac_file_inputs
=`IFS=:
8684 for f in $ac_file_in; do
8686 -) echo $tmp/stdin ;;
8688 # Absolute (can't be DOS-style, as IFS=:)
8689 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8690 echo "$as_me: error: cannot find input file: $f" >&2;}
8691 { (exit 1); exit 1; }; }
8692 # Do quote $f, to prevent DOS paths from being IFS'd.
8695 if test -f "$f"; then
8698 elif test -f "$srcdir/$f"; then
8703 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8704 echo "$as_me: error: cannot find input file: $f" >&2;}
8705 { (exit 1); exit 1; }; }
8708 done` ||
{ (exit 1); exit 1; }
8709 # Remove the trailing spaces.
8710 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8714 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8715 # `conftest.undefs', that substitutes the proper values into
8716 # config.h.in to produce config.h. The first handles `#define'
8717 # templates, and the second `#undef' templates.
8718 # And first: Protect against being on the right side of a sed subst in
8719 # config.status. Protect against being in an unquoted here document
8721 rm -f conftest.defines conftest.undefs
8722 # Using a here document instead of a string reduces the quoting nightmare.
8723 # Putting comments in sed scripts is not portable.
8725 # `end' is used to avoid that the second main sed command (meant for
8726 # 0-ary CPP macros) applies to n-ary macro definitions.
8727 # See the Autoconf documentation for `clear'.
8728 cat >confdef2sed.
sed <<\_ACEOF
8733 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8735 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8738 # If some macros were called several times there might be several times
8739 # the same #defines, which is useless. Nevertheless, we may not want to
8740 # sort them, since we want the *last* AC-DEFINE to be honored.
8741 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8742 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8743 rm -f confdef2sed.sed
8745 # This sed command replaces #undef with comments. This is necessary, for
8746 # example, in the case of _POSIX_SOURCE, which is predefined and required
8747 # on some systems where configure will not decide to define it.
8748 cat >>conftest.undefs <<\_ACEOF
8749 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8752 # Break up conftest.defines because some shells have a limit on the size
8753 # of here documents, and old seds have small limits too (100 cmds).
8754 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8755 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8756 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8757 echo ' :' >>$CONFIG_STATUS
8759 while grep . conftest.defines >/dev/null
8761 # Write a limited-size here document to $tmp/defines.sed.
8762 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8763 # Speed up: don't consider the non `#define' lines.
8764 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8765 # Work around the forget-to-reset-the-flag bug.
8766 echo 't clr' >>$CONFIG_STATUS
8767 echo ': clr' >>$CONFIG_STATUS
8768 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8770 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8774 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8775 rm -f conftest.defines
8776 mv conftest.
tail conftest.defines
8778 rm -f conftest.defines
8779 echo ' fi # grep' >>$CONFIG_STATUS
8780 echo >>$CONFIG_STATUS
8782 # Break up conftest.undefs because some shells have a limit on the size
8783 # of here documents, and old seds have small limits too (100 cmds).
8784 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8786 while grep . conftest.undefs
>/dev
/null
8788 # Write a limited-size here document to $tmp/undefs.sed.
8789 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8790 # Speed up: don't consider the non
`#undef'
8791 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8792 # Work around the forget-to-reset-the-flag bug.
8793 echo 't clr' >>$CONFIG_STATUS
8794 echo ': clr' >>$CONFIG_STATUS
8795 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8797 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8801 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8802 rm -f conftest.undefs
8803 mv conftest.tail conftest.undefs
8805 rm -f conftest.undefs
8807 cat >>$CONFIG_STATUS <<\_ACEOF
8808 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8809 # use $as_me), people would be surprised to read:
8810 # /* config.h. Generated by config.status. */
8811 if test x
"$ac_file" = x-
; then
8812 echo "/* Generated by configure. */" >$tmp/config.h
8814 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8816 cat $tmp/in >>$tmp/config.h
8818 if test x
"$ac_file" != x-
; then
8819 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8820 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8821 echo "$as_me: $ac_file is unchanged" >&6;}
8823 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8824 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8825 X"$ac_file" : 'X\(//\)[^/]' \| \
8826 X"$ac_file" : 'X\(//\)$' \| \
8827 X"$ac_file" : 'X\(/\)' \| \
8828 . : '\(.\)' 2>/dev/null ||
8830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8831 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8832 /^X\(\/\/\)$/{ s//\1/; q; }
8833 /^X\(\/\).*/{ s//\1/; q; }
8835 { if $as_mkdir_p; then
8840 while test ! -d "$as_dir"; do
8841 as_dirs
="$as_dir $as_dirs"
8842 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8844 X"$as_dir" : 'X\(//\)[^/]' \| \
8845 X"$as_dir" : 'X\(//\)$' \| \
8846 X"$as_dir" : 'X\(/\)' \| \
8847 . : '\(.\)' 2>/dev/null ||
8849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8851 /^X\(\/\/\)$/{ s//\1/; q; }
8852 /^X\(\/\).*/{ s//\1/; q; }
8855 test ! -n "$as_dirs" || mkdir
$as_dirs
8856 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8857 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8858 { (exit 1); exit 1; }; }; }
8861 mv $tmp/config.h
$ac_file
8867 # Run the commands associated with the file.
8869 config.h
) echo timestamp
> stamp-h1
;;
8873 cat >>$CONFIG_STATUS <<\_ACEOF
8876 # CONFIG_COMMANDS section.
8878 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8879 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8880 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8881 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8882 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8883 X"$ac_dest" : 'X\(//\)[^/]' \| \
8884 X"$ac_dest" : 'X\(//\)$' \| \
8885 X"$ac_dest" : 'X\(/\)' \| \
8886 . : '\(.\)' 2>/dev/null ||
8888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8889 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8890 /^X\(\/\/\)$/{ s//\1/; q; }
8891 /^X\(\/\).*/{ s//\1/; q; }
8893 { if $as_mkdir_p; then
8898 while test ! -d "$as_dir"; do
8899 as_dirs
="$as_dir $as_dirs"
8900 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8902 X"$as_dir" : 'X\(//\)[^/]' \| \
8903 X"$as_dir" : 'X\(//\)$' \| \
8904 X"$as_dir" : 'X\(/\)' \| \
8905 . : '\(.\)' 2>/dev/null ||
8907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8909 /^X\(\/\/\)$/{ s//\1/; q; }
8910 /^X\(\/\).*/{ s//\1/; q; }
8913 test ! -n "$as_dirs" || mkdir
$as_dirs
8914 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8915 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8916 { (exit 1); exit 1; }; }; }
8920 if test "$ac_dir" != .
; then
8921 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8922 # A "../" for each directory in $ac_dir_suffix.
8923 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8925 ac_dir_suffix
= ac_top_builddir
=
8929 .
) # No --srcdir option. We are building in place.
8931 if test -z "$ac_top_builddir"; then
8934 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8936 [\\/]* | ?
:[\\/]* ) # Absolute path.
8937 ac_srcdir
=$srcdir$ac_dir_suffix;
8938 ac_top_srcdir
=$srcdir ;;
8940 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8941 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8944 # Do not use `cd foo && pwd` to compute absolute paths, because
8945 # the directories may not exist.
8947 .
) ac_abs_builddir
="$ac_dir";;
8950 .
) ac_abs_builddir
=`pwd`;;
8951 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8952 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8955 case $ac_abs_builddir in
8956 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8958 case ${ac_top_builddir}.
in
8959 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8960 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8961 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8964 case $ac_abs_builddir in
8965 .
) ac_abs_srcdir
=$ac_srcdir;;
8968 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8969 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8970 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8973 case $ac_abs_builddir in
8974 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8976 case $ac_top_srcdir in
8977 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8978 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8979 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8984 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8985 echo "$as_me: executing $ac_dest commands" >&6;}
8988 if test "$GCC" = yes; then
8989 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
8991 echo "/* generated for $CC */" > tmp-stdint.h
8994 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8996 #ifndef GCC_GENERATED_STDINT_H
8997 #define GCC_GENERATED_STDINT_H 1
8999 #include <sys/types.h>
9002 if test "$acx_cv_header_stdint" != stdint.h
; then
9003 echo "#include <stddef.h>" >> tmp-stdint.h
9005 if test "$acx_cv_header_stdint" != stddef.h
; then
9006 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
9009 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9010 /* glibc uses these symbols as guards to prevent redefinitions. */
9011 #ifdef __int8_t_defined
9016 #ifdef __uint32_t_defined
9022 # ----------------- done header, emit basic int types -------------
9023 if test "$acx_cv_header_stdint" = stddef.h
; then
9024 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9028 #ifndef __uint8_t_defined
9029 #define __uint8_t_defined
9030 typedef unsigned $acx_cv_type_int8_t uint8_t;
9036 #ifndef __uint16_t_defined
9037 #define __uint16_t_defined
9038 typedef unsigned $acx_cv_type_int16_t uint16_t;
9044 #ifndef __uint32_t_defined
9045 #define __uint32_t_defined
9046 typedef unsigned $acx_cv_type_int32_t uint32_t;
9052 #ifndef __int8_t_defined
9053 #define __int8_t_defined
9054 typedef $acx_cv_type_int8_t int8_t;
9060 #ifndef __int16_t_defined
9061 #define __int16_t_defined
9062 typedef $acx_cv_type_int16_t int16_t;
9068 #ifndef __int32_t_defined
9069 #define __int32_t_defined
9070 typedef $acx_cv_type_int32_t int32_t;
9074 elif test "$ac_cv_type_u_int32_t" = yes; then
9075 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9077 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
9090 #ifndef __uint8_t_defined
9091 #define __uint8_t_defined
9092 typedef u_int8_t uint8_t;
9098 #ifndef __uint16_t_defined
9099 #define __uint16_t_defined
9100 typedef u_int16_t uint16_t;
9106 #ifndef __uint32_t_defined
9107 #define __uint32_t_defined
9108 typedef u_int32_t uint32_t;
9113 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9115 /* Some systems have guard macros to prevent redefinitions, define them. */
9137 # ------------- done basic int types, emit int64_t types ------------
9138 if test "$ac_cv_type_uint64_t" = yes; then
9139 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9141 /* system headers have good uint64_t and int64_t */
9149 elif test "$ac_cv_type_u_int64_t" = yes; then
9150 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9152 /* system headers have an u_int64_t (and int64_t) */
9158 #ifndef __uint64_t_defined
9159 #define __uint64_t_defined
9160 typedef u_int64_t uint64_t;
9164 elif test -n "$acx_cv_type_int64_t"; then
9165 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9167 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
9170 typedef $acx_cv_type_int64_t int64_t;
9174 #ifndef __uint64_t_defined
9175 #define __uint64_t_defined
9176 typedef unsigned $acx_cv_type_int64_t uint64_t;
9181 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9183 /* some common heuristics for int64_t, using compiler-specific tests */
9184 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
9187 #ifndef __int64_t_defined
9188 typedef long long int64_t;
9193 typedef unsigned long long uint64_t;
9196 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
9197 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
9198 does not implement __extension__. But that compiler doesn't define
9200 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
9201 # define __extension__
9206 __extension__ typedef long long int64_t;
9210 __extension__ typedef unsigned long long uint64_t;
9213 #elif !defined __STRICT_ANSI__
9214 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
9218 typedef __int64 int64_t;
9222 typedef unsigned __int64 uint64_t;
9224 # endif /* compiler */
9226 #endif /* ANSI version */
9230 # ------------- done int64_t types, emit intptr types ------------
9231 if test "$ac_cv_type_uintptr_t" != yes; then
9232 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9234 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
9235 #ifndef __uintptr_t_defined
9236 typedef u$acx_cv_type_intptr_t uintptr_t;
9238 #ifndef __intptr_t_defined
9239 typedef $acx_cv_type_intptr_t intptr_t;
9244 # ------------- done intptr types, emit int_least types ------------
9245 if test "$ac_cv_type_int_least32_t" != yes; then
9246 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9248 /* Define int_least types */
9249 typedef int8_t int_least8_t;
9250 typedef int16_t int_least16_t;
9251 typedef int32_t int_least32_t;
9253 typedef int64_t int_least64_t;
9256 typedef uint8_t uint_least8_t;
9257 typedef uint16_t uint_least16_t;
9258 typedef uint32_t uint_least32_t;
9260 typedef uint64_t uint_least64_t;
9265 # ------------- done intptr types, emit int_fast types ------------
9266 if test "$ac_cv_type_int_fast32_t" != yes; then
9267 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9269 /* Define int_fast types. short is often slow */
9270 typedef int8_t int_fast8_t;
9271 typedef int int_fast16_t;
9272 typedef int32_t int_fast32_t;
9274 typedef int64_t int_fast64_t;
9277 typedef uint8_t uint_fast8_t;
9278 typedef unsigned int uint_fast16_t;
9279 typedef uint32_t uint_fast32_t;
9281 typedef uint64_t uint_fast64_t;
9286 if test "$ac_cv_type_uintmax_t" != yes; then
9287 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9289 /* Define intmax based on what we found */
9291 typedef int64_t intmax_t;
9293 typedef long intmax_t;
9296 typedef uint64_t uintmax_t;
9298 typedef unsigned long uintmax_t;
9303 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9305 #endif /* GCC_GENERATED_STDINT_H */
9308 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
9311 mv -f tmp-stdint.h gstdint.h
9319 cat >>$CONFIG_STATUS <<\_ACEOF
9321 { (exit 0); exit 0; }
9323 chmod +x
$CONFIG_STATUS
9324 ac_clean_files
=$ac_clean_files_save
9327 # configure is writing to config.log, and then calls config.status.
9328 # config.status does its own redirection, appending to config.log.
9329 # Unfortunately, on DOS this fails, as config.log is still kept open
9330 # by configure, so config.status won't be able to write to it; its
9331 # output is simply discarded. So we exec the FD to /dev/null,
9332 # effectively closing config.log, so it can be properly (re)opened and
9333 # appended to by config.status. When coming back to configure, we
9334 # need to make the FD available again.
9335 if test "$no_create" != yes; then
9337 ac_config_status_args
=
9338 test "$silent" = yes &&
9339 ac_config_status_args
="$ac_config_status_args --quiet"
9341 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9343 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9344 # would make configure fail if this is the last instruction.
9345 $ac_cs_success ||
{ (exit 1); exit 1; }