2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libdecnumber .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='libdecnumber'
271 PACKAGE_TARNAME
='libdecnumber'
273 PACKAGE_STRING
='libdecnumber '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="decNumber.h"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER WARN_CFLAGS WARN_PEDANTIC WERROR CPP EGREP MAINT LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures libdecnumber to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive
) echo "Configuration of libdecnumber :";;
845 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
846 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
847 --enable-werror-always enable -Werror despite compiler version
848 --enable-maintainer-mode enable rules only needed by maintainers
850 Some influential environment variables
:
851 CC C compiler
command
852 CFLAGS C compiler flags
853 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
854 nonstandard directory
<lib dir
>
855 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
856 headers
in a nonstandard directory
<include dir
>
859 Use these variables to override the choices made by
`configure' or to help
860 it to find libraries and programs with nonstandard names/locations.
862 Report bugs to <gcc-bugs@gcc.gnu.org>.
866 if test "$ac_init_help" = "recursive"; then
867 # If there are subdirs, report their specific --help.
869 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
870 test -d $ac_dir || continue
873 if test "$ac_dir" != .; then
874 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
875 # A "../" for each directory in $ac_dir_suffix.
876 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
878 ac_dir_suffix= ac_top_builddir=
882 .) # No --srcdir option. We are building in place.
884 if test -z "$ac_top_builddir"; then
887 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
889 [\\/]* | ?:[\\/]* ) # Absolute path.
890 ac_srcdir=$srcdir$ac_dir_suffix;
891 ac_top_srcdir=$srcdir ;;
893 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
894 ac_top_srcdir=$ac_top_builddir$srcdir ;;
897 # Do not use `cd foo
&& pwd` to compute absolute paths, because
898 # the directories may not exist.
900 .) ac_abs_builddir="$ac_dir";;
903 .) ac_abs_builddir=`pwd`;;
904 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
905 *) ac_abs_builddir=`pwd`/"$ac_dir";;
908 case $ac_abs_builddir in
909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
911 case ${ac_top_builddir}. in
912 .) ac_abs_top_builddir=$ac_abs_builddir;;
913 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
914 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917 case $ac_abs_builddir in
918 .) ac_abs_srcdir=$ac_srcdir;;
921 .) ac_abs_srcdir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
923 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926 case $ac_abs_builddir in
927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
929 case $ac_top_srcdir in
930 .) ac_abs_top_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
932 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
937 # Check for guested configure; otherwise get Cygnus style configure.
938 if test -f $ac_srcdir/configure.gnu; then
940 $SHELL $ac_srcdir/configure.gnu --help=recursive
941 elif test -f $ac_srcdir/configure; then
943 $SHELL $ac_srcdir/configure --help=recursive
944 elif test -f $ac_srcdir/configure.ac ||
945 test -f $ac_srcdir/configure.in; then
949 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
955 test -n "$ac_init_help" && exit 0
956 if $ac_init_version; then
958 libdecnumber configure
959 generated by GNU Autoconf 2.59
961 Copyright (C) 2003 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
972 It was created by libdecnumber $as_me , which was
973 generated by GNU Autoconf 2.59. Invocation command line was
984 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
985 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
986 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
987 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
988 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
990 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
991 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
993 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
994 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
995 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
996 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
997 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
999 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1032 ac_must_keep_next=false
1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true; then
1050 ac_must_keep_next=false # Got value, back to normal.
1053 *=* | --config-cache | -C | -disable-* | --disable-* \
1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056 | -with-* | --with-* | -without-* | --without-* | --x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061 -* ) ac_must_keep_next=true ;;
1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close
' the trap.
1079 trap 'exit_status
=$?
1080 # Save into config.log some information that might help in debugging.
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1090 # The following way of writing the cache mishandles newlines in values,
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1113 for ac_var
in $ac_subst_vars
1115 eval ac_val
=$
`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -n "$ac_subst_files"; then
1127 for ac_var
in $ac_subst_files
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -s confdefs.h
; then
1142 sed "/^$/d" confdefs.h |
sort
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1149 rm -f core
*.core
&&
1150 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1153 for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163 # Predefined preprocessor variables.
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE; then
1194 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1196 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199 for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's
/^
/|
/' "$ac_site_file" >&5
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1225 # Check that the precious variables saved in the cache have kept the same
1227 ac_cache_corrupted=false
1228 for ac_var in `(set) 2>&1 |
1229 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231 eval ac_new_set=\$ac_env_${ac_var}_set
1232 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1238 ac_cache_corrupted=: ;;
1240 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted=: ;;
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1247 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted=:
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg=$ac_var=$ac_new_val ;;
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1272 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1279 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 [\\/]* | ?:[\\/]* ) ac_macro_dir=../config ;;
1311 *) ac_macro_dir=$srcdir/../config ;;
1313 if test -d "$ac_macro_dir"; then :
1315 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1316 echo "$as_me: error
: cannot
find macro directory \
`../config'" >&2;}
1317 { (exit 1); exit 1; }; }
1321 # Checks for programs.
1322 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1323 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1324 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,:./+-,___p_,'`
1325 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1326 echo $ECHO_N "(cached) $ECHO_C" >&6
1328 cat >conftest.make <<\_ACEOF
1330 @echo 'ac_maketemp="$(MAKE)"'
1332 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1333 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1334 if test -n "$ac_maketemp"; then
1335 eval ac_cv_prog_make_${ac_make}_set=yes
1337 eval ac_cv_prog_make_${ac_make}_set=no
1341 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1342 echo "$as_me:$LINENO: result: yes" >&5
1343 echo "${ECHO_T}yes" >&6
1346 echo "$as_me:$LINENO: result: no" >&5
1347 echo "${ECHO_T}no" >&6
1348 SET_MAKE="MAKE=${MAKE-make}"
1352 ac_cpp='$CPP $CPPFLAGS'
1353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1356 if test -n "$ac_tool_prefix"; then
1357 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1358 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1359 echo "$as_me:$LINENO: checking for $ac_word" >&5
1360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1361 if test "${ac_cv_prog_CC+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 if test -n "$CC"; then
1365 ac_cv_prog_CC="$CC" # Let the user override the test.
1367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir=.
1372 for ac_exec_ext in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1374 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1384 if test -n "$CC"; then
1385 echo "$as_me:$LINENO: result: $CC" >&5
1386 echo "${ECHO_T}$CC" >&6
1388 echo "$as_me:$LINENO: result: no" >&5
1389 echo "${ECHO_T}no" >&6
1393 if test -z "$ac_cv_prog_CC"; then
1395 # Extract the first word of "gcc", so it can be a program name with args.
1396 set dummy gcc; ac_word=$2
1397 echo "$as_me:$LINENO: checking for $ac_word" >&5
1398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1399 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 if test -n "$ac_ct_CC"; then
1403 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1409 test -z "$as_dir" && as_dir=.
1410 for ac_exec_ext in '' $ac_executable_extensions; do
1411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1412 ac_cv_prog_ac_ct_CC="gcc"
1413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1422 if test -n "$ac_ct_CC"; then
1423 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1424 echo "${ECHO_T}$ac_ct_CC" >&6
1426 echo "$as_me:$LINENO: result: no" >&5
1427 echo "${ECHO_T}no" >&6
1435 if test -z "$CC"; then
1436 if test -n "$ac_tool_prefix"; then
1437 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1438 set dummy ${ac_tool_prefix}cc; ac_word=$2
1439 echo "$as_me:$LINENO: checking for $ac_word" >&5
1440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1441 if test "${ac_cv_prog_CC+set}" = set; then
1442 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 if test -n "$CC"; then
1445 ac_cv_prog_CC="$CC" # Let the user override the test.
1447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 test -z "$as_dir" && as_dir=.
1452 for ac_exec_ext in '' $ac_executable_extensions; do
1453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1454 ac_cv_prog_CC="${ac_tool_prefix}cc"
1455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1464 if test -n "$CC"; then
1465 echo "$as_me:$LINENO: result: $CC" >&5
1466 echo "${ECHO_T}$CC" >&6
1468 echo "$as_me:$LINENO: result: no" >&5
1469 echo "${ECHO_T}no" >&6
1473 if test -z "$ac_cv_prog_CC"; then
1475 # Extract the first word of "cc", so it can be a program name with args.
1476 set dummy cc; ac_word=$2
1477 echo "$as_me:$LINENO: checking for $ac_word" >&5
1478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1480 echo $ECHO_N "(cached) $ECHO_C" >&6
1482 if test -n "$ac_ct_CC"; then
1483 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1489 test -z "$as_dir" && as_dir=.
1490 for ac_exec_ext in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492 ac_cv_prog_ac_ct_CC="cc"
1493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1502 if test -n "$ac_ct_CC"; then
1503 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1504 echo "${ECHO_T}$ac_ct_CC" >&6
1506 echo "$as_me:$LINENO: result: no" >&5
1507 echo "${ECHO_T}no" >&6
1516 if test -z "$CC"; then
1517 # Extract the first word of "cc", so it can be a program name with args.
1518 set dummy cc; ac_word=$2
1519 echo "$as_me:$LINENO: checking for $ac_word" >&5
1520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1521 if test "${ac_cv_prog_CC+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 if test -n "$CC"; then
1525 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1536 ac_prog_rejected=yes
1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1546 if test $ac_prog_rejected = yes; then
1547 # We found a bogon in the path, so make sure we never use it.
1548 set dummy $ac_cv_prog_CC
1550 if test $# != 0; then
1551 # We chose a different compiler from the bogus one.
1552 # However, it has the same basename, so the bogon will be chosen
1553 # first if we set CC to just the basename; use the full file name.
1555 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1561 if test -n "$CC"; then
1562 echo "$as_me:$LINENO: result: $CC" >&5
1563 echo "${ECHO_T}$CC" >&6
1565 echo "$as_me:$LINENO: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1570 if test -z "$CC"; then
1571 if test -n "$ac_tool_prefix"; then
1574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1576 echo "$as_me:$LINENO: checking for $ac_word" >&5
1577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1578 if test "${ac_cv_prog_CC+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 if test -n "$CC"; then
1582 ac_cv_prog_CC="$CC" # Let the user override the test.
1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 test -z "$as_dir" && as_dir=.
1589 for ac_exec_ext in '' $ac_executable_extensions; do
1590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1591 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1601 if test -n "$CC"; then
1602 echo "$as_me:$LINENO: result: $CC" >&5
1603 echo "${ECHO_T}$CC" >&6
1605 echo "$as_me:$LINENO: result: no" >&5
1606 echo "${ECHO_T}no" >&6
1609 test -n "$CC" && break
1612 if test -z "$CC"; then
1616 # Extract the first word of "$ac_prog", so it can be a program name with args.
1617 set dummy $ac_prog; ac_word=$2
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 if test -n "$ac_ct_CC"; then
1624 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir=.
1631 for ac_exec_ext in '' $ac_executable_extensions; do
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1633 ac_cv_prog_ac_ct_CC="$ac_prog"
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1643 if test -n "$ac_ct_CC"; then
1644 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1645 echo "${ECHO_T}$ac_ct_CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1651 test -n "$ac_ct_CC" && break
1660 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1661 See \`config.log
' for more details." >&5
1662 echo "$as_me: error: no acceptable C compiler found in \$PATH
1663 See \`config.log' for more details.
" >&2;}
1664 { (exit 1); exit 1; }; }
1666 # Provide some information about the compiler.
1667 echo "$as_me:$LINENO:" \
1668 "checking
for C compiler version
" >&5
1669 ac_compiler=`set X $ac_compile; echo $2`
1670 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev
/null
>&5\"") >&5
1671 (eval $ac_compiler --version </dev/null >&5) 2>&5
1673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1674 (exit $ac_status); }
1675 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev
/null
>&5\"") >&5
1676 (eval $ac_compiler -v </dev/null >&5) 2>&5
1678 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1679 (exit $ac_status); }
1680 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev
/null
>&5\"") >&5
1681 (eval $ac_compiler -V </dev/null >&5) 2>&5
1683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1684 (exit $ac_status); }
1686 cat >conftest.$ac_ext <<_ACEOF
1689 cat confdefs.h >>conftest.$ac_ext
1690 cat >>conftest.$ac_ext <<_ACEOF
1691 /* end confdefs.h. */
1701 ac_clean_files_save=$ac_clean_files
1702 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
1703 # Try to create an executable without -o first, disregard a.out.
1704 # It will help us diagnose broken compilers, and finding out an intuition
1706 echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
1707 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6
1708 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1709 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1710 (eval $ac_link_default) 2>&5
1712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1713 (exit $ac_status); }; then
1714 # Find the output, starting from the most likely. This scheme is
1715 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1718 # Be careful to initialize this variable, since it used to be cached.
1719 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1721 # b.out is created by i960 compilers.
1722 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1724 test -f "$ac_file" || continue
1726 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1729 # This is the source file.
1732 # We found the default executable, but exeext='' is most
1736 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1737 # FIXME: I believe we export ac_cv_exeext for Libtool,
1738 # but it would be cool to find out if it's true. Does anybody
1739 # maintain Libtool? --akim.
1747 echo "$as_me: failed program was
:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
1751 See \
`config.log' for more details." >&5
1752 echo "$as_me: error: C compiler cannot create executables
1753 See \`config.log
' for more details." >&2;}
1754 { (exit 77); exit 77; }; }
1757 ac_exeext=$ac_cv_exeext
1758 echo "$as_me:$LINENO: result: $ac_file" >&5
1759 echo "${ECHO_T}$ac_file" >&6
1761 # Check the compiler produces executables we can run. If not, either
1762 # the compiler is broken, or we cross compile.
1763 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1764 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1765 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1766 # If not cross compiling, check that we can run a simple program.
1767 if test "$cross_compiling" != yes; then
1768 if { ac_try='.
/$ac_file'
1769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }; }; then
1776 if test "$cross_compiling" = maybe; then
1779 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1780 If you meant to cross compile, use \`--host'.
1781 See \
`config.log' for more details." >&5
1782 echo "$as_me: error: cannot run C compiled programs.
1783 If you meant to cross compile, use \`--host'.
1784 See \`config.log' for more details.
" >&2;}
1785 { (exit 1); exit 1; }; }
1789 echo "$as_me:$LINENO: result
: yes" >&5
1790 echo "${ECHO_T}yes" >&6
1792 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1793 ac_clean_files=$ac_clean_files_save
1794 # Check the compiler produces executables we can run. If not, either
1795 # the compiler is broken, or we cross compile.
1796 echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
1797 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6
1798 echo "$as_me:$LINENO: result
: $cross_compiling" >&5
1799 echo "${ECHO_T}$cross_compiling" >&6
1801 echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
1802 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6
1803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1804 (eval $ac_link) 2>&5
1806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1807 (exit $ac_status); }; then
1808 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1809 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1810 # work properly (i.e., refer to `conftest.exe'), while it won't with
1812 for ac_file in conftest.exe conftest conftest.*; do
1813 test -f "$ac_file" || continue
1815 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1816 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1823 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
1824 See \
`config.log' for more details." >&5
1825 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1826 See \`config.log
' for more details." >&2;}
1827 { (exit 1); exit 1; }; }
1830 rm -f conftest$ac_cv_exeext
1831 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1832 echo "${ECHO_T}$ac_cv_exeext" >&6
1834 rm -f conftest.$ac_ext
1835 EXEEXT=$ac_cv_exeext
1837 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1838 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1839 if test "${ac_cv_objext+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 cat >conftest.$ac_ext <<_ACEOF
1845 cat confdefs.h >>conftest.$ac_ext
1846 cat >>conftest.$ac_ext <<_ACEOF
1847 /* end confdefs.h. */
1857 rm -f conftest.o conftest.obj
1858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1859 (eval $ac_compile) 2>&5
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; then
1863 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1866 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
1871 echo "$as_me: failed program was:" >&5
1872 sed 's
/^
/|
/' conftest.$ac_ext >&5
1874 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1875 See \`config.log' for more details.
" >&5
1876 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
1877 See \
`config.log' for more details." >&2;}
1878 { (exit 1); exit 1; }; }
1881 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1883 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1884 echo "${ECHO_T}$ac_cv_objext" >&6
1885 OBJEXT=$ac_cv_objext
1887 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1888 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1889 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 cat >conftest.$ac_ext <<_ACEOF
1895 cat confdefs.h >>conftest.$ac_ext
1896 cat >>conftest.$ac_ext <<_ACEOF
1897 /* end confdefs.h. */
1910 rm -f conftest.$ac_objext
1911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1912 (eval $ac_compile) 2>conftest.er1
1914 grep -v '^ *+' conftest.er1 >conftest.err
1916 cat conftest.err >&5
1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918 (exit $ac_status); } &&
1919 { ac_try='test -z "$ac_c_werror_flag"
1920 || test ! -s conftest.err'
1921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1925 (exit $ac_status); }; } &&
1926 { ac_try='test -s conftest.$ac_objext'
1927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1931 (exit $ac_status); }; }; then
1934 echo "$as_me: failed program was:" >&5
1935 sed 's/^/| /' conftest.$ac_ext >&5
1939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1943 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1944 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1945 GCC=`test $ac_compiler_gnu = yes && echo yes`
1946 ac_test_CFLAGS=${CFLAGS+set}
1947 ac_save_CFLAGS=$CFLAGS
1949 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1950 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1951 if test "${ac_cv_prog_cc_g+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 cat >conftest.$ac_ext <<_ACEOF
1957 cat confdefs.h >>conftest.$ac_ext
1958 cat >>conftest.$ac_ext <<_ACEOF
1959 /* end confdefs.h. */
1969 rm -f conftest.$ac_objext
1970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1971 (eval $ac_compile) 2>conftest.er1
1973 grep -v '^ *+' conftest.er1 >conftest.err
1975 cat conftest.err >&5
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 (exit $ac_status); } &&
1978 { ac_try='test -z "$ac_c_werror_flag"
1979 || test ! -s conftest.err'
1980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }; } &&
1985 { ac_try='test -s conftest.$ac_objext'
1986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990 (exit $ac_status); }; }; then
1993 echo "$as_me: failed program was:" >&5
1994 sed 's/^/| /' conftest.$ac_ext >&5
1998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2000 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2001 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2002 if test "$ac_test_CFLAGS" = set; then
2003 CFLAGS=$ac_save_CFLAGS
2004 elif test $ac_cv_prog_cc_g = yes; then
2005 if test "$GCC" = yes; then
2011 if test "$GCC" = yes; then
2017 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2018 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2019 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 ac_cv_prog_cc_stdc=no
2024 cat >conftest.$ac_ext <<_ACEOF
2027 cat confdefs.h >>conftest.$ac_ext
2028 cat >>conftest.$ac_ext <<_ACEOF
2029 /* end confdefs.h. */
2032 #include <sys/types.h>
2033 #include <sys/stat.h>
2034 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2035 struct buf { int x; };
2036 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2037 static char *e (p, i)
2043 static char *f (char * (*g) (char **, int), char **p, ...)
2048 s = g (p, va_arg (v,int));
2053 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2054 function prototypes and stuff, but not '\xHH' hex character constants.
2055 These don't provoke an error unfortunately, instead are silently treated
2056 as 'x'. The following induces an error, until -std1 is added to get
2057 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2058 array size at least. It's necessary to write '\x00'==0 to get something
2059 that's true only with -std1. */
2060 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2062 int test (int i, double x);
2063 struct s1 {int (*f) (int a);};
2064 struct s2 {int (*f) (double a);};
2065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2076 # Don't try gcc -ansi; that turns off useful extensions and
2077 # breaks some systems' header files.
2078 # AIX -qlanglvl=ansi
2079 # Ultrix and OSF/1 -std1
2080 # HP-UX 10.20 and later -Ae
2081 # HP-UX older versions -Aa -D_HPUX_SOURCE
2082 # SVR4 -Xc -D__EXTENSIONS__
2083 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2085 CC="$ac_save_CC $ac_arg"
2086 rm -f conftest.$ac_objext
2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2088 (eval $ac_compile) 2>conftest.er1
2090 grep -v '^ *+' conftest.er1 >conftest.err
2092 cat conftest.err >&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); } &&
2095 { ac_try='test -z "$ac_c_werror_flag"
2096 || test ! -s conftest.err'
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; } &&
2102 { ac_try='test -s conftest.$ac_objext'
2103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; }; then
2108 ac_cv_prog_cc_stdc=$ac_arg
2111 echo "$as_me: failed program was:" >&5
2112 sed 's/^/| /' conftest.$ac_ext >&5
2115 rm -f conftest.err conftest.$ac_objext
2117 rm -f conftest.$ac_ext conftest.$ac_objext
2122 case "x$ac_cv_prog_cc_stdc" in
2124 echo "$as_me:$LINENO: result: none needed" >&5
2125 echo "${ECHO_T}none needed" >&6 ;;
2127 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2128 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2129 CC="$CC $ac_cv_prog_cc_stdc" ;;
2132 # Some people use a C++ compiler to compile C. Since we use `exit',
2133 # in C++ we need to declare it. In case someone uses the same compiler
2134 # for both compiling C and C++ we need to have the C++ compiler decide
2135 # the declaration of exit, since it's the most demanding environment.
2136 cat >conftest.
$ac_ext <<_ACEOF
2141 rm -f conftest.
$ac_objext
2142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2143 (eval $ac_compile) 2>conftest.er1
2145 grep -v '^ *+' conftest.er1
>conftest.err
2147 cat conftest.err
>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } &&
2150 { ac_try
='test -z "$ac_c_werror_flag"
2151 || test ! -s conftest.err'
2152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; } &&
2157 { ac_try
='test -s conftest.$ac_objext'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; }; then
2163 for ac_declaration
in \
2165 'extern "C" void std::exit (int) throw (); using std::exit;' \
2166 'extern "C" void std::exit (int); using std::exit;' \
2167 'extern "C" void exit (int) throw ();' \
2168 'extern "C" void exit (int);' \
2171 cat >conftest.
$ac_ext <<_ACEOF
2174 cat confdefs.h
>>conftest.
$ac_ext
2175 cat >>conftest.
$ac_ext <<_ACEOF
2176 /* end confdefs.h. */
2187 rm -f conftest.
$ac_objext
2188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2189 (eval $ac_compile) 2>conftest.er1
2191 grep -v '^ *+' conftest.er1
>conftest.err
2193 cat conftest.err
>&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); } &&
2196 { ac_try
='test -z "$ac_c_werror_flag"
2197 || test ! -s conftest.err'
2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2202 (exit $ac_status); }; } &&
2203 { ac_try
='test -s conftest.$ac_objext'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; }; then
2211 echo "$as_me: failed program was:" >&5
2212 sed 's/^/| /' conftest.
$ac_ext >&5
2216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2217 cat >conftest.
$ac_ext <<_ACEOF
2220 cat confdefs.h
>>conftest.
$ac_ext
2221 cat >>conftest.
$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2232 rm -f conftest.
$ac_objext
2233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2234 (eval $ac_compile) 2>conftest.er1
2236 grep -v '^ *+' conftest.er1
>conftest.err
2238 cat conftest.err
>&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); } &&
2241 { ac_try
='test -z "$ac_c_werror_flag"
2242 || test ! -s conftest.err'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; } &&
2248 { ac_try
='test -s conftest.$ac_objext'
2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; }; then
2256 echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.
$ac_ext >&5
2260 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2263 if test -n "$ac_declaration"; then
2264 echo '#ifdef __cplusplus' >>confdefs.h
2265 echo $ac_declaration >>confdefs.h
2266 echo '#endif' >>confdefs.h
2270 echo "$as_me: failed program was:" >&5
2271 sed 's/^/| /' conftest.
$ac_ext >&5
2274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2276 ac_cpp
='$CPP $CPPFLAGS'
2277 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2281 if test -n "$ac_tool_prefix"; then
2282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2283 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2284 echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2286 if test "${ac_cv_prog_RANLIB+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 if test -n "$RANLIB"; then
2290 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir
=.
2297 for ac_exec_ext
in '' $ac_executable_extensions; do
2298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 RANLIB
=$ac_cv_prog_RANLIB
2309 if test -n "$RANLIB"; then
2310 echo "$as_me:$LINENO: result: $RANLIB" >&5
2311 echo "${ECHO_T}$RANLIB" >&6
2313 echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6
2318 if test -z "$ac_cv_prog_RANLIB"; then
2319 ac_ct_RANLIB
=$RANLIB
2320 # Extract the first word of "ranlib", so it can be a program name with args.
2321 set dummy ranlib
; ac_word
=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$ac_ct_RANLIB"; then
2328 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir
=.
2335 for ac_exec_ext
in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2347 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2348 if test -n "$ac_ct_RANLIB"; then
2349 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2350 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2352 echo "$as_me:$LINENO: result: no" >&5
2353 echo "${ECHO_T}no" >&6
2356 RANLIB
=$ac_ct_RANLIB
2358 RANLIB
="$ac_cv_prog_RANLIB"
2362 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2363 for ac_prog
in aclocal
2365 # Extract the first word of "$ac_prog", so it can be a program name with args.
2366 set dummy
$ac_prog; ac_word
=$2
2367 echo "$as_me:$LINENO: checking for $ac_word" >&5
2368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2369 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 if test -n "$ACLOCAL"; then
2373 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir
=.
2380 for ac_exec_ext
in '' $ac_executable_extensions; do
2381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2382 ac_cv_prog_ACLOCAL
="$ac_prog"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 ACLOCAL
=$ac_cv_prog_ACLOCAL
2392 if test -n "$ACLOCAL"; then
2393 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2394 echo "${ECHO_T}$ACLOCAL" >&6
2396 echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6
2400 test -n "$ACLOCAL" && break
2402 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2404 for ac_prog
in autoconf
2406 # Extract the first word of "$ac_prog", so it can be a program name with args.
2407 set dummy
$ac_prog; ac_word
=$2
2408 echo "$as_me:$LINENO: checking for $ac_word" >&5
2409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2410 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 if test -n "$AUTOCONF"; then
2414 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2420 test -z "$as_dir" && as_dir
=.
2421 for ac_exec_ext
in '' $ac_executable_extensions; do
2422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2423 ac_cv_prog_AUTOCONF
="$ac_prog"
2424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432 AUTOCONF
=$ac_cv_prog_AUTOCONF
2433 if test -n "$AUTOCONF"; then
2434 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2435 echo "${ECHO_T}$AUTOCONF" >&6
2437 echo "$as_me:$LINENO: result: no" >&5
2438 echo "${ECHO_T}no" >&6
2441 test -n "$AUTOCONF" && break
2443 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2445 for ac_prog
in autoheader
2447 # Extract the first word of "$ac_prog", so it can be a program name with args.
2448 set dummy
$ac_prog; ac_word
=$2
2449 echo "$as_me:$LINENO: checking for $ac_word" >&5
2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2451 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 if test -n "$AUTOHEADER"; then
2455 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir
=.
2462 for ac_exec_ext
in '' $ac_executable_extensions; do
2463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2464 ac_cv_prog_AUTOHEADER
="$ac_prog"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2473 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2474 if test -n "$AUTOHEADER"; then
2475 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2476 echo "${ECHO_T}$AUTOHEADER" >&6
2478 echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6
2482 test -n "$AUTOHEADER" && break
2484 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2487 # Figure out what compiler warnings we can enable.
2488 # See config/warnings.m4 for details.
2492 save_CFLAGS
="$CFLAGS"
2493 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2494 -Wmissing-prototypes -Wold-style-definition \
2495 -Wmissing-format-attribute; do
2496 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2498 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2499 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2500 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2501 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 cat >conftest.
$ac_ext <<_ACEOF
2507 cat confdefs.h
>>conftest.
$ac_ext
2508 cat >>conftest.
$ac_ext <<_ACEOF
2509 /* end confdefs.h. */
2519 rm -f conftest.
$ac_objext
2520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2521 (eval $ac_compile) 2>conftest.er1
2523 grep -v '^ *+' conftest.er1
>conftest.err
2525 cat conftest.err
>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); } &&
2528 { ac_try
='test -z "$ac_c_werror_flag"
2529 || test ! -s conftest.err'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; } &&
2535 { ac_try
='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2541 eval "$as_acx_Woption=yes"
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2546 eval "$as_acx_Woption=no"
2548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2551 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2552 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2553 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2554 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2558 CFLAGS
="$save_CFLAGS"
2561 if test "$GCC" = yes; then
2562 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2563 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2564 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 save_CFLAGS
="$CFLAGS"
2568 CFLAGS
="-pedantic -Wno-long-long"
2569 cat >conftest.
$ac_ext <<_ACEOF
2572 cat confdefs.h
>>conftest.
$ac_ext
2573 cat >>conftest.
$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2584 rm -f conftest.
$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2588 grep -v '^ *+' conftest.er1
>conftest.err
2590 cat conftest.err
>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try
='test -z "$ac_c_werror_flag"
2594 || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } &&
2600 { ac_try
='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2606 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.
$ac_ext >&5
2611 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2613 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2614 CFLAGS
="$save_CFLAGS"
2616 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2617 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2618 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2619 WARN_PEDANTIC
="-pedantic -Wno-long-long"
2627 # Only enable with --enable-werror-always until existing warnings are
2630 # Check whether --enable-werror-always or --disable-werror-always was given.
2631 if test "${enable_werror_always+set}" = set; then
2632 enableval
="$enable_werror_always"
2635 enable_werror_always
=no
2637 if test $enable_werror_always = yes; then
2643 # Checks for header files.
2645 ac_cpp
='$CPP $CPPFLAGS'
2646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2649 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2650 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2651 # On Suns, sometimes $CPP names a directory.
2652 if test -n "$CPP" && test -d "$CPP"; then
2655 if test -z "$CPP"; then
2656 if test "${ac_cv_prog_CPP+set}" = set; then
2657 echo $ECHO_N "(cached) $ECHO_C" >&6
2659 # Double quotes because CPP needs to be expanded
2660 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2663 for ac_c_preproc_warn_flag
in '' yes
2665 # Use a header file that comes with gcc, so configuring glibc
2666 # with a fresh cross-compiler works.
2667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2668 # <limits.h> exists even on freestanding compilers.
2669 # On the NeXT, cc -E runs the code through the compiler's parser,
2670 # not just through cpp. "Syntax error" is here to catch this case.
2671 cat >conftest.
$ac_ext <<_ACEOF
2674 cat confdefs.h
>>conftest.
$ac_ext
2675 cat >>conftest.
$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2678 # include <limits.h>
2680 # include <assert.h>
2684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2685 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2687 grep -v '^ *+' conftest.er1
>conftest.err
2689 cat conftest.err
>&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } >/dev
/null
; then
2692 if test -s conftest.err
; then
2693 ac_cpp_err
=$ac_c_preproc_warn_flag
2694 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2701 if test -z "$ac_cpp_err"; then
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.
$ac_ext >&5
2707 # Broken: fails on valid input.
2710 rm -f conftest.err conftest.
$ac_ext
2712 # OK, works on sane cases. Now check whether non-existent headers
2713 # can be detected and how.
2714 cat >conftest.
$ac_ext <<_ACEOF
2717 cat confdefs.h
>>conftest.
$ac_ext
2718 cat >>conftest.
$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2720 #include <ac_nonexistent.h>
2722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2723 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2725 grep -v '^ *+' conftest.er1
>conftest.err
2727 cat conftest.err
>&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); } >/dev
/null
; then
2730 if test -s conftest.err
; then
2731 ac_cpp_err
=$ac_c_preproc_warn_flag
2732 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2739 if test -z "$ac_cpp_err"; then
2740 # Broken: success on invalid input.
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.
$ac_ext >&5
2746 # Passes both tests.
2750 rm -f conftest.err conftest.
$ac_ext
2753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2754 rm -f conftest.err conftest.
$ac_ext
2755 if $ac_preproc_ok; then
2767 echo "$as_me:$LINENO: result: $CPP" >&5
2768 echo "${ECHO_T}$CPP" >&6
2770 for ac_c_preproc_warn_flag
in '' yes
2772 # Use a header file that comes with gcc, so configuring glibc
2773 # with a fresh cross-compiler works.
2774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2775 # <limits.h> exists even on freestanding compilers.
2776 # On the NeXT, cc -E runs the code through the compiler's parser,
2777 # not just through cpp. "Syntax error" is here to catch this case.
2778 cat >conftest.
$ac_ext <<_ACEOF
2781 cat confdefs.h
>>conftest.
$ac_ext
2782 cat >>conftest.
$ac_ext <<_ACEOF
2783 /* end confdefs.h. */
2785 # include <limits.h>
2787 # include <assert.h>
2791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2792 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } >/dev
/null
; then
2799 if test -s conftest.err
; then
2800 ac_cpp_err
=$ac_c_preproc_warn_flag
2801 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2808 if test -z "$ac_cpp_err"; then
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.
$ac_ext >&5
2814 # Broken: fails on valid input.
2817 rm -f conftest.err conftest.
$ac_ext
2819 # OK, works on sane cases. Now check whether non-existent headers
2820 # can be detected and how.
2821 cat >conftest.
$ac_ext <<_ACEOF
2824 cat confdefs.h
>>conftest.
$ac_ext
2825 cat >>conftest.
$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2827 #include <ac_nonexistent.h>
2829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2830 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2832 grep -v '^ *+' conftest.er1
>conftest.err
2834 cat conftest.err
>&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); } >/dev
/null
; then
2837 if test -s conftest.err
; then
2838 ac_cpp_err
=$ac_c_preproc_warn_flag
2839 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2846 if test -z "$ac_cpp_err"; then
2847 # Broken: success on invalid input.
2850 echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.
$ac_ext >&5
2853 # Passes both tests.
2857 rm -f conftest.err conftest.
$ac_ext
2860 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2861 rm -f conftest.err conftest.
$ac_ext
2862 if $ac_preproc_ok; then
2865 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2866 See \`config.log' for more details." >&5
2867 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2868 See \`config.log' for more details." >&2;}
2869 { (exit 1); exit 1; }; }
2873 ac_cpp
='$CPP $CPPFLAGS'
2874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2879 echo "$as_me:$LINENO: checking for egrep" >&5
2880 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2881 if test "${ac_cv_prog_egrep+set}" = set; then
2882 echo $ECHO_N "(cached) $ECHO_C" >&6
2884 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2885 then ac_cv_prog_egrep
='grep -E'
2886 else ac_cv_prog_egrep
='egrep'
2889 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2890 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2891 EGREP
=$ac_cv_prog_egrep
2894 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2895 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2896 if test "${ac_cv_header_stdc+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2899 cat >conftest.
$ac_ext <<_ACEOF
2902 cat confdefs.h
>>conftest.
$ac_ext
2903 cat >>conftest.
$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2918 rm -f conftest.
$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>conftest.er1
2922 grep -v '^ *+' conftest.er1
>conftest.err
2924 cat conftest.err
>&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try
='test -z "$ac_c_werror_flag"
2928 || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try
='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 ac_cv_header_stdc
=yes
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.
$ac_ext >&5
2945 ac_cv_header_stdc
=no
2947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2949 if test $ac_cv_header_stdc = yes; then
2950 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2951 cat >conftest.
$ac_ext <<_ACEOF
2954 cat confdefs.h
>>conftest.
$ac_ext
2955 cat >>conftest.
$ac_ext <<_ACEOF
2956 /* end confdefs.h. */
2960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2961 $EGREP "memchr" >/dev
/null
2>&1; then
2964 ac_cv_header_stdc
=no
2970 if test $ac_cv_header_stdc = yes; then
2971 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2972 cat >conftest.
$ac_ext <<_ACEOF
2975 cat confdefs.h
>>conftest.
$ac_ext
2976 cat >>conftest.
$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2982 $EGREP "free" >/dev
/null
2>&1; then
2985 ac_cv_header_stdc
=no
2991 if test $ac_cv_header_stdc = yes; then
2992 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2993 if test "$cross_compiling" = yes; then
2996 cat >conftest.
$ac_ext <<_ACEOF
2999 cat confdefs.h
>>conftest.
$ac_ext
3000 cat >>conftest.
$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3003 #if ((' ' & 0x0FF) == 0x020)
3004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3007 # define ISLOWER(c) \
3008 (('a' <= (c) && (c) <= 'i') \
3009 || ('j' <= (c) && (c) <= 'r') \
3010 || ('s' <= (c) && (c) <= 'z'))
3011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3019 for (i = 0; i < 256; i++)
3020 if (XOR (islower (i), ISLOWER (i))
3021 || toupper (i) != TOUPPER (i))
3026 rm -f conftest
$ac_exeext
3027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3028 (eval $ac_link) 2>&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); }; }; then
3039 echo "$as_me: program exited with status $ac_status" >&5
3040 echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.
$ac_ext >&5
3044 ac_cv_header_stdc
=no
3046 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3050 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3051 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3052 if test $ac_cv_header_stdc = yes; then
3054 cat >>confdefs.h
<<\_ACEOF
3055 #define STDC_HEADERS 1
3060 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3070 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3071 inttypes.h stdint.h unistd.h
3073 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3074 echo "$as_me:$LINENO: checking for $ac_header" >&5
3075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3077 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 cat >conftest.
$ac_ext <<_ACEOF
3082 cat confdefs.h
>>conftest.
$ac_ext
3083 cat >>conftest.
$ac_ext <<_ACEOF
3084 /* end confdefs.h. */
3085 $ac_includes_default
3087 #include <$ac_header>
3089 rm -f conftest.
$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>conftest.er1
3093 grep -v '^ *+' conftest.er1
>conftest.err
3095 cat conftest.err
>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try
='test -z "$ac_c_werror_flag"
3099 || test ! -s conftest.err'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; } &&
3105 { ac_try
='test -s conftest.$ac_objext'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3111 eval "$as_ac_Header=yes"
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.
$ac_ext >&5
3116 eval "$as_ac_Header=no"
3118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3123 cat >>confdefs.h
<<_ACEOF
3124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3136 for ac_header
in ctype.h stddef.h string.h stdio.h
3138 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3140 echo "$as_me:$LINENO: checking for $ac_header" >&5
3141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3148 # Is the header compilable?
3149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3151 cat >conftest.
$ac_ext <<_ACEOF
3154 cat confdefs.h
>>conftest.
$ac_ext
3155 cat >>conftest.
$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3157 $ac_includes_default
3158 #include <$ac_header>
3160 rm -f conftest.
$ac_objext
3161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3162 (eval $ac_compile) 2>conftest.er1
3164 grep -v '^ *+' conftest.er1
>conftest.err
3166 cat conftest.err
>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try
='test -z "$ac_c_werror_flag"
3170 || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try
='test -s conftest.$ac_objext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 ac_header_compiler
=yes
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 ac_header_compiler
=no
3189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3191 echo "${ECHO_T}$ac_header_compiler" >&6
3193 # Is the header present?
3194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3202 #include <$ac_header>
3204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3205 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3207 grep -v '^ *+' conftest.er1
>conftest.err
3209 cat conftest.err
>&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } >/dev
/null
; then
3212 if test -s conftest.err
; then
3213 ac_cpp_err
=$ac_c_preproc_warn_flag
3214 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3221 if test -z "$ac_cpp_err"; then
3222 ac_header_preproc
=yes
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.
$ac_ext >&5
3227 ac_header_preproc
=no
3229 rm -f conftest.err conftest.
$ac_ext
3230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3231 echo "${ECHO_T}$ac_header_preproc" >&6
3233 # So? What about this header?
3234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3240 ac_header_preproc
=yes
3243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3257 ## ----------------------------------- ##
3258 ## Report this to gcc-bugs@gcc.gnu.org ##
3259 ## ----------------------------------- ##
3262 sed "s/^/$as_me: WARNING: /" >&2
3265 echo "$as_me:$LINENO: checking for $ac_header" >&5
3266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3270 eval "$as_ac_Header=\$ac_header_preproc"
3272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3277 cat >>confdefs.h
<<_ACEOF
3278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3287 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3289 acx_cv_header_stdint
=stddef.h
3290 acx_cv_header_stdint_kind
="(already complete)"
3291 for i
in stdint.h
$inttype_headers; do
3292 unset ac_cv_type_uintptr_t
3293 unset ac_cv_type_uintmax_t
3294 unset ac_cv_type_int_least32_t
3295 unset ac_cv_type_int_fast32_t
3296 unset ac_cv_type_uint64_t
3297 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
3298 echo "$as_me:$LINENO: checking for uintmax_t" >&5
3299 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
3300 if test "${ac_cv_type_uintmax_t+set}" = set; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 cat >conftest.
$ac_ext <<_ACEOF
3306 cat confdefs.h
>>conftest.
$ac_ext
3307 cat >>conftest.
$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3309 #include <sys/types.h>
3315 if ((uintmax_t *) 0)
3317 if (sizeof (uintmax_t))
3323 rm -f conftest.
$ac_objext
3324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3325 (eval $ac_compile) 2>conftest.er1
3327 grep -v '^ *+' conftest.er1
>conftest.err
3329 cat conftest.err
>&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); } &&
3332 { ac_try
='test -z "$ac_c_werror_flag"
3333 || test ! -s conftest.err'
3334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }; } &&
3339 { ac_try
='test -s conftest.$ac_objext'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; }; then
3345 ac_cv_type_uintmax_t
=yes
3347 echo "$as_me: failed program was:" >&5
3348 sed 's/^/| /' conftest.
$ac_ext >&5
3350 ac_cv_type_uintmax_t
=no
3352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3354 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
3355 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
3356 if test $ac_cv_type_uintmax_t = yes; then
3357 acx_cv_header_stdint
=$i
3362 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3363 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3364 if test "${ac_cv_type_uintptr_t+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 cat >conftest.
$ac_ext <<_ACEOF
3370 cat confdefs.h
>>conftest.
$ac_ext
3371 cat >>conftest.
$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3373 #include <sys/types.h>
3379 if ((uintptr_t *) 0)
3381 if (sizeof (uintptr_t))
3387 rm -f conftest.
$ac_objext
3388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3389 (eval $ac_compile) 2>conftest.er1
3391 grep -v '^ *+' conftest.er1
>conftest.err
3393 cat conftest.err
>&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); } &&
3396 { ac_try
='test -z "$ac_c_werror_flag"
3397 || test ! -s conftest.err'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; } &&
3403 { ac_try
='test -s conftest.$ac_objext'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; }; then
3409 ac_cv_type_uintptr_t
=yes
3411 echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.
$ac_ext >&5
3414 ac_cv_type_uintptr_t
=no
3416 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3418 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3419 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3420 if test $ac_cv_type_uintptr_t = yes; then
3423 acx_cv_header_stdint_kind
="(mostly complete)"
3426 echo "$as_me:$LINENO: checking for int_least32_t" >&5
3427 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
3428 if test "${ac_cv_type_int_least32_t+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <sys/types.h>
3443 if ((int_least32_t *) 0)
3445 if (sizeof (int_least32_t))
3451 rm -f conftest.
$ac_objext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453 (eval $ac_compile) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1
>conftest.err
3457 cat conftest.err
>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try
='test -z "$ac_c_werror_flag"
3461 || test ! -s conftest.err'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; } &&
3467 { ac_try
='test -s conftest.$ac_objext'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; }; then
3473 ac_cv_type_int_least32_t
=yes
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.
$ac_ext >&5
3478 ac_cv_type_int_least32_t
=no
3480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3482 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
3483 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
3484 if test $ac_cv_type_int_least32_t = yes; then
3487 acx_cv_header_stdint_kind
="(mostly complete)"
3490 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
3491 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
3492 if test "${ac_cv_type_int_fast32_t+set}" = set; then
3493 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 cat >conftest.
$ac_ext <<_ACEOF
3498 cat confdefs.h
>>conftest.
$ac_ext
3499 cat >>conftest.
$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3501 #include <sys/types.h>
3507 if ((int_fast32_t *) 0)
3509 if (sizeof (int_fast32_t))
3515 rm -f conftest.
$ac_objext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517 (eval $ac_compile) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1
>conftest.err
3521 cat conftest.err
>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try
='test -z "$ac_c_werror_flag"
3525 || test ! -s conftest.err'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; } &&
3531 { ac_try
='test -s conftest.$ac_objext'
3532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }; }; then
3537 ac_cv_type_int_fast32_t
=yes
3539 echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.
$ac_ext >&5
3542 ac_cv_type_int_fast32_t
=no
3544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3546 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
3547 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
3548 if test $ac_cv_type_int_fast32_t = yes; then
3551 acx_cv_header_stdint_kind
="(mostly complete)"
3554 echo "$as_me:$LINENO: checking for uint64_t" >&5
3555 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3556 if test "${ac_cv_type_uint64_t+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 cat >conftest.
$ac_ext <<_ACEOF
3562 cat confdefs.h
>>conftest.
$ac_ext
3563 cat >>conftest.
$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3565 #include <sys/types.h>
3573 if (sizeof (uint64_t))
3579 rm -f conftest.
$ac_objext
3580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3581 (eval $ac_compile) 2>conftest.er1
3583 grep -v '^ *+' conftest.er1
>conftest.err
3585 cat conftest.err
>&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); } &&
3588 { ac_try
='test -z "$ac_c_werror_flag"
3589 || test ! -s conftest.err'
3590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }; } &&
3595 { ac_try
='test -s conftest.$ac_objext'
3596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }; }; then
3601 ac_cv_type_uint64_t
=yes
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.
$ac_ext >&5
3606 ac_cv_type_uint64_t
=no
3608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3610 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3611 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3612 if test $ac_cv_type_uint64_t = yes; then
3615 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3620 if test "$acx_cv_header_stdint" = stddef.h
; then
3621 acx_cv_header_stdint_kind
="(lacks uintptr_t)"
3622 for i
in stdint.h
$inttype_headers; do
3623 unset ac_cv_type_uint32_t
3624 unset ac_cv_type_uint64_t
3625 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
3626 echo "$as_me:$LINENO: checking for uint32_t" >&5
3627 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3628 if test "${ac_cv_type_uint32_t+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 cat >conftest.
$ac_ext <<_ACEOF
3634 cat confdefs.h
>>conftest.
$ac_ext
3635 cat >>conftest.
$ac_ext <<_ACEOF
3636 /* end confdefs.h. */
3637 #include <sys/types.h>
3645 if (sizeof (uint32_t))
3651 rm -f conftest.
$ac_objext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3653 (eval $ac_compile) 2>conftest.er1
3655 grep -v '^ *+' conftest.er1
>conftest.err
3657 cat conftest.err
>&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try
='test -z "$ac_c_werror_flag"
3661 || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try
='test -s conftest.$ac_objext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_cv_type_uint32_t
=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.
$ac_ext >&5
3678 ac_cv_type_uint32_t
=no
3680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3682 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
3683 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3684 if test $ac_cv_type_uint32_t = yes; then
3685 acx_cv_header_stdint
=$i
3690 echo "$as_me:$LINENO: checking for uint64_t" >&5
3691 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3692 if test "${ac_cv_type_uint64_t+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 cat >conftest.
$ac_ext <<_ACEOF
3698 cat confdefs.h
>>conftest.
$ac_ext
3699 cat >>conftest.
$ac_ext <<_ACEOF
3700 /* end confdefs.h. */
3701 #include <sys/types.h>
3709 if (sizeof (uint64_t))
3715 rm -f conftest.
$ac_objext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717 (eval $ac_compile) 2>conftest.er1
3719 grep -v '^ *+' conftest.er1
>conftest.err
3721 cat conftest.err
>&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); } &&
3724 { ac_try
='test -z "$ac_c_werror_flag"
3725 || test ! -s conftest.err'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; } &&
3731 { ac_try
='test -s conftest.$ac_objext'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; }; then
3737 ac_cv_type_uint64_t
=yes
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.
$ac_ext >&5
3742 ac_cv_type_uint64_t
=no
3744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3746 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3747 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3748 if test $ac_cv_type_uint64_t = yes; then
3751 acx_cv_header_stdint_kind
="(lacks uintptr_t and uint64_t)"
3757 if test "$acx_cv_header_stdint" = stddef.h
; then
3758 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3759 for i
in sys
/types.h
$inttype_headers; do
3760 unset ac_cv_type_u_int32_t
3761 unset ac_cv_type_u_int64_t
3762 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
3763 echo "$as_me:$LINENO: checking for u_int32_t" >&5
3764 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3765 if test "${ac_cv_type_u_int32_t+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 cat >conftest.
$ac_ext <<_ACEOF
3771 cat confdefs.h
>>conftest.
$ac_ext
3772 cat >>conftest.
$ac_ext <<_ACEOF
3773 /* end confdefs.h. */
3774 #include <sys/types.h>
3780 if ((u_int32_t *) 0)
3782 if (sizeof (u_int32_t))
3788 rm -f conftest.
$ac_objext
3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3790 (eval $ac_compile) 2>conftest.er1
3792 grep -v '^ *+' conftest.er1
>conftest.err
3794 cat conftest.err
>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } &&
3797 { ac_try
='test -z "$ac_c_werror_flag"
3798 || test ! -s conftest.err'
3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }; } &&
3804 { ac_try
='test -s conftest.$ac_objext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then
3810 ac_cv_type_u_int32_t
=yes
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.
$ac_ext >&5
3815 ac_cv_type_u_int32_t
=no
3817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3819 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
3820 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3821 if test $ac_cv_type_u_int32_t = yes; then
3822 acx_cv_header_stdint
=$i
3827 echo "$as_me:$LINENO: checking for u_int64_t" >&5
3828 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3829 if test "${ac_cv_type_u_int64_t+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 cat >conftest.
$ac_ext <<_ACEOF
3835 cat confdefs.h
>>conftest.
$ac_ext
3836 cat >>conftest.
$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <sys/types.h>
3844 if ((u_int64_t *) 0)
3846 if (sizeof (u_int64_t))
3852 rm -f conftest.
$ac_objext
3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3854 (eval $ac_compile) 2>conftest.er1
3856 grep -v '^ *+' conftest.er1
>conftest.err
3858 cat conftest.err
>&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } &&
3861 { ac_try
='test -z "$ac_c_werror_flag"
3862 || test ! -s conftest.err'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; } &&
3868 { ac_try
='test -s conftest.$ac_objext'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; }; then
3874 ac_cv_type_u_int64_t
=yes
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.
$ac_ext >&5
3879 ac_cv_type_u_int64_t
=no
3881 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3883 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
3884 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3885 if test $ac_cv_type_u_int64_t = yes; then
3888 acx_cv_header_stdint_kind
="(u_intXX_t style, lacks u_int64_t)"
3894 if test "$acx_cv_header_stdint" = stddef.h
; then
3895 acx_cv_header_stdint_kind
="(using manual detection)"
3898 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
3899 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
3900 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
3901 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
3902 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
3904 # ----------------- Summarize what we found so far
3906 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
3907 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
3909 case `$as_basename gstdint.h ||
3910 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
3911 Xgstdint.h : 'X\(//\)$' \| \
3912 Xgstdint.h : 'X\(/\)$' \| \
3913 . : '\(.\)' 2>/dev/null ||
3915 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3916 /^X\/\(\/\/\)$/{ s//\1/; q; }
3917 /^X\/\(\/\).*/{ s//\1/; q; }
3919 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
3920 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3921 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
3922 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3926 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
3927 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
3929 # ----------------- done included file, check C basic types --------
3931 # Lacking an uintptr_t? Test size of void *
3932 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
3933 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
3934 echo $ECHO_N "checking for void *... $ECHO_C" >&6
3935 if test "${ac_cv_type_void_p+set}" = set; then
3936 echo $ECHO_N "(cached) $ECHO_C" >&6
3938 cat >conftest.
$ac_ext <<_ACEOF
3941 cat confdefs.h
>>conftest.
$ac_ext
3942 cat >>conftest.
$ac_ext <<_ACEOF
3943 /* end confdefs.h. */
3944 $ac_includes_default
3950 if (sizeof (void *))
3956 rm -f conftest.
$ac_objext
3957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3958 (eval $ac_compile) 2>conftest.er1
3960 grep -v '^ *+' conftest.er1
>conftest.err
3962 cat conftest.err
>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } &&
3965 { ac_try
='test -z "$ac_c_werror_flag"
3966 || test ! -s conftest.err'
3967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); }; } &&
3972 { ac_try
='test -s conftest.$ac_objext'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3978 ac_cv_type_void_p
=yes
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.
$ac_ext >&5
3983 ac_cv_type_void_p
=no
3985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3987 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
3988 echo "${ECHO_T}$ac_cv_type_void_p" >&6
3990 echo "$as_me:$LINENO: checking size of void *" >&5
3991 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
3992 if test "${ac_cv_sizeof_void_p+set}" = set; then
3993 echo $ECHO_N "(cached) $ECHO_C" >&6
3995 if test "$ac_cv_type_void_p" = yes; then
3996 # The cast to unsigned long works around a bug in the HP C Compiler
3997 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3998 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3999 # This bug is HP SR number 8606223364.
4000 if test "$cross_compiling" = yes; then
4001 # Depending upon the size, compute the lo and hi bounds.
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 $ac_includes_default
4012 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
4019 rm -f conftest.
$ac_objext
4020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4021 (eval $ac_compile) 2>conftest.er1
4023 grep -v '^ *+' conftest.er1
>conftest.err
4025 cat conftest.err
>&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); } &&
4028 { ac_try
='test -z "$ac_c_werror_flag"
4029 || test ! -s conftest.err'
4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; } &&
4035 { ac_try
='test -s conftest.$ac_objext'
4036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); }; }; then
4043 cat >conftest.
$ac_ext <<_ACEOF
4046 cat confdefs.h
>>conftest.
$ac_ext
4047 cat >>conftest.
$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4049 $ac_includes_default
4053 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4060 rm -f conftest.
$ac_objext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4062 (eval $ac_compile) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1
>conftest.err
4066 cat conftest.err
>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } &&
4069 { ac_try
='test -z "$ac_c_werror_flag"
4070 || test ! -s conftest.err'
4071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); }; } &&
4076 { ac_try
='test -s conftest.$ac_objext'
4077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; }; then
4082 ac_hi
=$ac_mid; break
4084 echo "$as_me: failed program was:" >&5
4085 sed 's/^/| /' conftest.
$ac_ext >&5
4087 ac_lo
=`expr $ac_mid + 1`
4088 if test $ac_lo -le $ac_mid; then
4092 ac_mid
=`expr 2 '*' $ac_mid + 1`
4094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4097 echo "$as_me: failed program was:" >&5
4098 sed 's/^/| /' conftest.
$ac_ext >&5
4100 cat >conftest.
$ac_ext <<_ACEOF
4103 cat confdefs.h
>>conftest.
$ac_ext
4104 cat >>conftest.
$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4106 $ac_includes_default
4110 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
4117 rm -f conftest.
$ac_objext
4118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4119 (eval $ac_compile) 2>conftest.er1
4121 grep -v '^ *+' conftest.er1
>conftest.err
4123 cat conftest.err
>&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } &&
4126 { ac_try
='test -z "$ac_c_werror_flag"
4127 || test ! -s conftest.err'
4128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); }; } &&
4133 { ac_try
='test -s conftest.$ac_objext'
4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); }; }; then
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4147 $ac_includes_default
4151 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
4158 rm -f conftest.
$ac_objext
4159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4160 (eval $ac_compile) 2>conftest.er1
4162 grep -v '^ *+' conftest.er1
>conftest.err
4164 cat conftest.err
>&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); } &&
4167 { ac_try
='test -z "$ac_c_werror_flag"
4168 || test ! -s conftest.err'
4169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); }; } &&
4174 { ac_try
='test -s conftest.$ac_objext'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; }; then
4180 ac_lo
=$ac_mid; break
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.
$ac_ext >&5
4185 ac_hi
=`expr '(' $ac_mid ')' - 1`
4186 if test $ac_mid -le $ac_hi; then
4190 ac_mid
=`expr 2 '*' $ac_mid`
4192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4195 echo "$as_me: failed program was:" >&5
4196 sed 's/^/| /' conftest.
$ac_ext >&5
4200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4203 # Binary search between lo and hi bounds.
4204 while test "x$ac_lo" != "x$ac_hi"; do
4205 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 cat confdefs.h
>>conftest.
$ac_ext
4210 cat >>conftest.
$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4212 $ac_includes_default
4216 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4223 rm -f conftest.
$ac_objext
4224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4225 (eval $ac_compile) 2>conftest.er1
4227 grep -v '^ *+' conftest.er1
>conftest.err
4229 cat conftest.err
>&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); } &&
4232 { ac_try
='test -z "$ac_c_werror_flag"
4233 || test ! -s conftest.err'
4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238 (exit $ac_status); }; } &&
4239 { ac_try
='test -s conftest.$ac_objext'
4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; }; then
4247 echo "$as_me: failed program was:" >&5
4248 sed 's/^/| /' conftest.
$ac_ext >&5
4250 ac_lo
=`expr '(' $ac_mid ')' + 1`
4252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4255 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
4256 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4257 See \`config.log' for more details." >&5
4258 echo "$as_me: error: cannot compute sizeof (void *), 77
4259 See \`config.log' for more details." >&2;}
4260 { (exit 1); exit 1; }; } ;;
4263 if test "$cross_compiling" = yes; then
4264 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4265 See \`config.log' for more details." >&5
4266 echo "$as_me: error: cannot run test program while cross compiling
4267 See \`config.log' for more details." >&2;}
4268 { (exit 1); exit 1; }; }
4270 cat >conftest.
$ac_ext <<_ACEOF
4273 cat confdefs.h
>>conftest.
$ac_ext
4274 cat >>conftest.
$ac_ext <<_ACEOF
4275 /* end confdefs.h. */
4276 $ac_includes_default
4277 long longval () { return (long) (sizeof (void *)); }
4278 unsigned long ulongval () { return (long) (sizeof (void *)); }
4285 FILE *f = fopen ("conftest.val", "w");
4288 if (((long) (sizeof (void *))) < 0)
4290 long i = longval ();
4291 if (i != ((long) (sizeof (void *))))
4293 fprintf (f, "%ld\n", i);
4297 unsigned long i = ulongval ();
4298 if (i != ((long) (sizeof (void *))))
4300 fprintf (f, "%lu\n", i);
4302 exit (ferror (f) || fclose (f) != 0);
4308 rm -f conftest
$ac_exeext
4309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4310 (eval $ac_link) 2>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; }; then
4319 ac_cv_sizeof_void_p
=`cat conftest.val`
4321 echo "$as_me: program exited with status $ac_status" >&5
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.
$ac_ext >&5
4326 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4327 See \`config.log' for more details." >&5
4328 echo "$as_me: error: cannot compute sizeof (void *), 77
4329 See \`config.log' for more details." >&2;}
4330 { (exit 1); exit 1; }; }
4332 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4337 ac_cv_sizeof_void_p
=0
4340 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4341 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
4342 cat >>confdefs.h
<<_ACEOF
4343 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4349 # Lacking an uint64_t? Test size of long
4350 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4351 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
4352 echo $ECHO_N "checking for long... $ECHO_C" >&6
4353 if test "${ac_cv_type_long+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4356 cat >conftest.
$ac_ext <<_ACEOF
4359 cat confdefs.h
>>conftest.
$ac_ext
4360 cat >>conftest.
$ac_ext <<_ACEOF
4361 /* end confdefs.h. */
4362 $ac_includes_default
4374 rm -f conftest.
$ac_objext
4375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4376 (eval $ac_compile) 2>conftest.er1
4378 grep -v '^ *+' conftest.er1
>conftest.err
4380 cat conftest.err
>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } &&
4383 { ac_try
='test -z "$ac_c_werror_flag"
4384 || test ! -s conftest.err'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; } &&
4390 { ac_try
='test -s conftest.$ac_objext'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; }; then
4398 echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.
$ac_ext >&5
4403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4405 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4406 echo "${ECHO_T}$ac_cv_type_long" >&6
4408 echo "$as_me:$LINENO: checking size of long" >&5
4409 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4410 if test "${ac_cv_sizeof_long+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test "$ac_cv_type_long" = yes; then
4414 # The cast to unsigned long works around a bug in the HP C Compiler
4415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4417 # This bug is HP SR number 8606223364.
4418 if test "$cross_compiling" = yes; then
4419 # Depending upon the size, compute the lo and hi bounds.
4420 cat >conftest.
$ac_ext <<_ACEOF
4423 cat confdefs.h
>>conftest.
$ac_ext
4424 cat >>conftest.
$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4426 $ac_includes_default
4430 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4437 rm -f conftest.
$ac_objext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try
='test -z "$ac_c_werror_flag"
4447 || test ! -s conftest.err'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; } &&
4453 { ac_try
='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4461 cat >conftest.
$ac_ext <<_ACEOF
4464 cat confdefs.h
>>conftest.
$ac_ext
4465 cat >>conftest.
$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4467 $ac_includes_default
4471 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4478 rm -f conftest.
$ac_objext
4479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4480 (eval $ac_compile) 2>conftest.er1
4482 grep -v '^ *+' conftest.er1
>conftest.err
4484 cat conftest.err
>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } &&
4487 { ac_try
='test -z "$ac_c_werror_flag"
4488 || test ! -s conftest.err'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; } &&
4494 { ac_try
='test -s conftest.$ac_objext'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; }; then
4500 ac_hi
=$ac_mid; break
4502 echo "$as_me: failed program was:" >&5
4503 sed 's/^/| /' conftest.
$ac_ext >&5
4505 ac_lo
=`expr $ac_mid + 1`
4506 if test $ac_lo -le $ac_mid; then
4510 ac_mid
=`expr 2 '*' $ac_mid + 1`
4512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.
$ac_ext >&5
4518 cat >conftest.
$ac_ext <<_ACEOF
4521 cat confdefs.h
>>conftest.
$ac_ext
4522 cat >>conftest.
$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4524 $ac_includes_default
4528 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4535 rm -f conftest.
$ac_objext
4536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4537 (eval $ac_compile) 2>conftest.er1
4539 grep -v '^ *+' conftest.er1
>conftest.err
4541 cat conftest.err
>&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); } &&
4544 { ac_try
='test -z "$ac_c_werror_flag"
4545 || test ! -s conftest.err'
4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550 (exit $ac_status); }; } &&
4551 { ac_try
='test -s conftest.$ac_objext'
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); }; }; then
4559 cat >conftest.
$ac_ext <<_ACEOF
4562 cat confdefs.h
>>conftest.
$ac_ext
4563 cat >>conftest.
$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4565 $ac_includes_default
4569 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4576 rm -f conftest.
$ac_objext
4577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4578 (eval $ac_compile) 2>conftest.er1
4580 grep -v '^ *+' conftest.er1
>conftest.err
4582 cat conftest.err
>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try
='test -z "$ac_c_werror_flag"
4586 || test ! -s conftest.err'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; } &&
4592 { ac_try
='test -s conftest.$ac_objext'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; }; then
4598 ac_lo
=$ac_mid; break
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.
$ac_ext >&5
4603 ac_hi
=`expr '(' $ac_mid ')' - 1`
4604 if test $ac_mid -le $ac_hi; then
4608 ac_mid
=`expr 2 '*' $ac_mid`
4610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4621 # Binary search between lo and hi bounds.
4622 while test "x$ac_lo" != "x$ac_hi"; do
4623 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4624 cat >conftest.
$ac_ext <<_ACEOF
4627 cat confdefs.h
>>conftest.
$ac_ext
4628 cat >>conftest.
$ac_ext <<_ACEOF
4629 /* end confdefs.h. */
4630 $ac_includes_default
4634 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4641 rm -f conftest.
$ac_objext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4643 (eval $ac_compile) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag"
4651 || test ! -s conftest.err'
4652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); }; } &&
4657 { ac_try
='test -s conftest.$ac_objext'
4658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); }; }; then
4665 echo "$as_me: failed program was:" >&5
4666 sed 's/^/| /' conftest.
$ac_ext >&5
4668 ac_lo
=`expr '(' $ac_mid ')' + 1`
4670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4673 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4674 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4675 See \`config.log' for more details." >&5
4676 echo "$as_me: error: cannot compute sizeof (long), 77
4677 See \`config.log' for more details." >&2;}
4678 { (exit 1); exit 1; }; } ;;
4681 if test "$cross_compiling" = yes; then
4682 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4683 See \`config.log' for more details." >&5
4684 echo "$as_me: error: cannot run test program while cross compiling
4685 See \`config.log' for more details." >&2;}
4686 { (exit 1); exit 1; }; }
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4694 $ac_includes_default
4695 long longval () { return (long) (sizeof (long)); }
4696 unsigned long ulongval () { return (long) (sizeof (long)); }
4703 FILE *f = fopen ("conftest.val", "w");
4706 if (((long) (sizeof (long))) < 0)
4708 long i = longval ();
4709 if (i != ((long) (sizeof (long))))
4711 fprintf (f, "%ld\n", i);
4715 unsigned long i = ulongval ();
4716 if (i != ((long) (sizeof (long))))
4718 fprintf (f, "%lu\n", i);
4720 exit (ferror (f) || fclose (f) != 0);
4726 rm -f conftest
$ac_exeext
4727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4728 (eval $ac_link) 2>&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; }; then
4737 ac_cv_sizeof_long
=`cat conftest.val`
4739 echo "$as_me: program exited with status $ac_status" >&5
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.
$ac_ext >&5
4744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4745 See \`config.log' for more details." >&5
4746 echo "$as_me: error: cannot compute sizeof (long), 77
4747 See \`config.log' for more details." >&2;}
4748 { (exit 1); exit 1; }; }
4750 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4758 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4759 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4760 cat >>confdefs.h
<<_ACEOF
4761 #define SIZEOF_LONG $ac_cv_sizeof_long
4767 if test $acx_cv_header_stdint = stddef.h
; then
4768 # Lacking a good header? Test size of everything and deduce all types.
4769 echo "$as_me:$LINENO: checking for int" >&5
4770 echo $ECHO_N "checking for int... $ECHO_C" >&6
4771 if test "${ac_cv_type_int+set}" = set; then
4772 echo $ECHO_N "(cached) $ECHO_C" >&6
4774 cat >conftest.
$ac_ext <<_ACEOF
4777 cat confdefs.h
>>conftest.
$ac_ext
4778 cat >>conftest.
$ac_ext <<_ACEOF
4779 /* end confdefs.h. */
4780 $ac_includes_default
4792 rm -f conftest.
$ac_objext
4793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4794 (eval $ac_compile) 2>conftest.er1
4796 grep -v '^ *+' conftest.er1
>conftest.err
4798 cat conftest.err
>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try
='test -z "$ac_c_werror_flag"
4802 || test ! -s conftest.err'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; } &&
4808 { ac_try
='test -s conftest.$ac_objext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4816 echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4824 echo "${ECHO_T}$ac_cv_type_int" >&6
4826 echo "$as_me:$LINENO: checking size of int" >&5
4827 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4828 if test "${ac_cv_sizeof_int+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 if test "$ac_cv_type_int" = yes; then
4832 # The cast to unsigned long works around a bug in the HP C Compiler
4833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4835 # This bug is HP SR number 8606223364.
4836 if test "$cross_compiling" = yes; then
4837 # Depending upon the size, compute the lo and hi bounds.
4838 cat >conftest.
$ac_ext <<_ACEOF
4841 cat confdefs.h
>>conftest.
$ac_ext
4842 cat >>conftest.
$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 $ac_includes_default
4848 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4855 rm -f conftest.
$ac_objext
4856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4857 (eval $ac_compile) 2>conftest.er1
4859 grep -v '^ *+' conftest.er1
>conftest.err
4861 cat conftest.err
>&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } &&
4864 { ac_try
='test -z "$ac_c_werror_flag"
4865 || test ! -s conftest.err'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; } &&
4871 { ac_try
='test -s conftest.$ac_objext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4879 cat >conftest.
$ac_ext <<_ACEOF
4882 cat confdefs.h
>>conftest.
$ac_ext
4883 cat >>conftest.
$ac_ext <<_ACEOF
4884 /* end confdefs.h. */
4885 $ac_includes_default
4889 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4896 rm -f conftest.
$ac_objext
4897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4898 (eval $ac_compile) 2>conftest.er1
4900 grep -v '^ *+' conftest.er1
>conftest.err
4902 cat conftest.err
>&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); } &&
4905 { ac_try
='test -z "$ac_c_werror_flag"
4906 || test ! -s conftest.err'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; } &&
4912 { ac_try
='test -s conftest.$ac_objext'
4913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); }; }; then
4918 ac_hi
=$ac_mid; break
4920 echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.
$ac_ext >&5
4923 ac_lo
=`expr $ac_mid + 1`
4924 if test $ac_lo -le $ac_mid; then
4928 ac_mid
=`expr 2 '*' $ac_mid + 1`
4930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4933 echo "$as_me: failed program was:" >&5
4934 sed 's/^/| /' conftest.
$ac_ext >&5
4936 cat >conftest.
$ac_ext <<_ACEOF
4939 cat confdefs.h
>>conftest.
$ac_ext
4940 cat >>conftest.
$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4942 $ac_includes_default
4946 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4953 rm -f conftest.
$ac_objext
4954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4955 (eval $ac_compile) 2>conftest.er1
4957 grep -v '^ *+' conftest.er1
>conftest.err
4959 cat conftest.err
>&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } &&
4962 { ac_try
='test -z "$ac_c_werror_flag"
4963 || test ! -s conftest.err'
4964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); }; } &&
4969 { ac_try
='test -s conftest.$ac_objext'
4970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); }; }; then
4977 cat >conftest.
$ac_ext <<_ACEOF
4980 cat confdefs.h
>>conftest.
$ac_ext
4981 cat >>conftest.
$ac_ext <<_ACEOF
4982 /* end confdefs.h. */
4983 $ac_includes_default
4987 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4994 rm -f conftest.
$ac_objext
4995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4996 (eval $ac_compile) 2>conftest.er1
4998 grep -v '^ *+' conftest.er1
>conftest.err
5000 cat conftest.err
>&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } &&
5003 { ac_try
='test -z "$ac_c_werror_flag"
5004 || test ! -s conftest.err'
5005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); }; } &&
5010 { ac_try
='test -s conftest.$ac_objext'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; }; then
5016 ac_lo
=$ac_mid; break
5018 echo "$as_me: failed program was:" >&5
5019 sed 's/^/| /' conftest.
$ac_ext >&5
5021 ac_hi
=`expr '(' $ac_mid ')' - 1`
5022 if test $ac_mid -le $ac_hi; then
5026 ac_mid
=`expr 2 '*' $ac_mid`
5028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5039 # Binary search between lo and hi bounds.
5040 while test "x$ac_lo" != "x$ac_hi"; do
5041 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5042 cat >conftest.
$ac_ext <<_ACEOF
5045 cat confdefs.h
>>conftest.
$ac_ext
5046 cat >>conftest.
$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5048 $ac_includes_default
5052 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5059 rm -f conftest.
$ac_objext
5060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5061 (eval $ac_compile) 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } &&
5068 { ac_try
='test -z "$ac_c_werror_flag"
5069 || test ! -s conftest.err'
5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); }; } &&
5075 { ac_try
='test -s conftest.$ac_objext'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; }; then
5083 echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.
$ac_ext >&5
5086 ac_lo
=`expr '(' $ac_mid ')' + 1`
5088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5091 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5092 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5093 See \`config.log' for more details." >&5
5094 echo "$as_me: error: cannot compute sizeof (int), 77
5095 See \`config.log' for more details." >&2;}
5096 { (exit 1); exit 1; }; } ;;
5099 if test "$cross_compiling" = yes; then
5100 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5101 See \`config.log' for more details." >&5
5102 echo "$as_me: error: cannot run test program while cross compiling
5103 See \`config.log' for more details." >&2;}
5104 { (exit 1); exit 1; }; }
5106 cat >conftest.
$ac_ext <<_ACEOF
5109 cat confdefs.h
>>conftest.
$ac_ext
5110 cat >>conftest.
$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5112 $ac_includes_default
5113 long longval () { return (long) (sizeof (int)); }
5114 unsigned long ulongval () { return (long) (sizeof (int)); }
5121 FILE *f = fopen ("conftest.val", "w");
5124 if (((long) (sizeof (int))) < 0)
5126 long i = longval ();
5127 if (i != ((long) (sizeof (int))))
5129 fprintf (f, "%ld\n", i);
5133 unsigned long i = ulongval ();
5134 if (i != ((long) (sizeof (int))))
5136 fprintf (f, "%lu\n", i);
5138 exit (ferror (f) || fclose (f) != 0);
5144 rm -f conftest
$ac_exeext
5145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5146 (eval $ac_link) 2>&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); }; }; then
5155 ac_cv_sizeof_int
=`cat conftest.val`
5157 echo "$as_me: program exited with status $ac_status" >&5
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.
$ac_ext >&5
5162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5163 See \`config.log' for more details." >&5
5164 echo "$as_me: error: cannot compute sizeof (int), 77
5165 See \`config.log' for more details." >&2;}
5166 { (exit 1); exit 1; }; }
5168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5177 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5178 cat >>confdefs.h
<<_ACEOF
5179 #define SIZEOF_INT $ac_cv_sizeof_int
5183 echo "$as_me:$LINENO: checking for short" >&5
5184 echo $ECHO_N "checking for short... $ECHO_C" >&6
5185 if test "${ac_cv_type_short+set}" = set; then
5186 echo $ECHO_N "(cached) $ECHO_C" >&6
5188 cat >conftest.
$ac_ext <<_ACEOF
5191 cat confdefs.h
>>conftest.
$ac_ext
5192 cat >>conftest.
$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 $ac_includes_default
5206 rm -f conftest.
$ac_objext
5207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5208 (eval $ac_compile) 2>conftest.er1
5210 grep -v '^ *+' conftest.er1
>conftest.err
5212 cat conftest.err
>&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } &&
5215 { ac_try
='test -z "$ac_c_werror_flag"
5216 || test ! -s conftest.err'
5217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); }; } &&
5222 { ac_try
='test -s conftest.$ac_objext'
5223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); }; }; then
5228 ac_cv_type_short
=yes
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5237 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5238 echo "${ECHO_T}$ac_cv_type_short" >&6
5240 echo "$as_me:$LINENO: checking size of short" >&5
5241 echo $ECHO_N "checking size of short... $ECHO_C" >&6
5242 if test "${ac_cv_sizeof_short+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 if test "$ac_cv_type_short" = yes; then
5246 # The cast to unsigned long works around a bug in the HP C Compiler
5247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5249 # This bug is HP SR number 8606223364.
5250 if test "$cross_compiling" = yes; then
5251 # Depending upon the size, compute the lo and hi bounds.
5252 cat >conftest.
$ac_ext <<_ACEOF
5255 cat confdefs.h
>>conftest.
$ac_ext
5256 cat >>conftest.
$ac_ext <<_ACEOF
5257 /* end confdefs.h. */
5258 $ac_includes_default
5262 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5269 rm -f conftest.
$ac_objext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5271 (eval $ac_compile) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1
>conftest.err
5275 cat conftest.err
>&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try
='test -z "$ac_c_werror_flag"
5279 || test ! -s conftest.err'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; } &&
5285 { ac_try
='test -s conftest.$ac_objext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5293 cat >conftest.
$ac_ext <<_ACEOF
5296 cat confdefs.h
>>conftest.
$ac_ext
5297 cat >>conftest.
$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 $ac_includes_default
5303 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5310 rm -f conftest.
$ac_objext
5311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5312 (eval $ac_compile) 2>conftest.er1
5314 grep -v '^ *+' conftest.er1
>conftest.err
5316 cat conftest.err
>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } &&
5319 { ac_try
='test -z "$ac_c_werror_flag"
5320 || test ! -s conftest.err'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; } &&
5326 { ac_try
='test -s conftest.$ac_objext'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 ac_hi
=$ac_mid; break
5334 echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.
$ac_ext >&5
5337 ac_lo
=`expr $ac_mid + 1`
5338 if test $ac_lo -le $ac_mid; then
5342 ac_mid
=`expr 2 '*' $ac_mid + 1`
5344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.
$ac_ext >&5
5350 cat >conftest.
$ac_ext <<_ACEOF
5353 cat confdefs.h
>>conftest.
$ac_ext
5354 cat >>conftest.
$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5356 $ac_includes_default
5360 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5367 rm -f conftest.
$ac_objext
5368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5369 (eval $ac_compile) 2>conftest.er1
5371 grep -v '^ *+' conftest.er1
>conftest.err
5373 cat conftest.err
>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } &&
5376 { ac_try
='test -z "$ac_c_werror_flag"
5377 || test ! -s conftest.err'
5378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; } &&
5383 { ac_try
='test -s conftest.$ac_objext'
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; }; then
5391 cat >conftest.
$ac_ext <<_ACEOF
5394 cat confdefs.h
>>conftest.
$ac_ext
5395 cat >>conftest.
$ac_ext <<_ACEOF
5396 /* end confdefs.h. */
5397 $ac_includes_default
5401 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5408 rm -f conftest.
$ac_objext
5409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5410 (eval $ac_compile) 2>conftest.er1
5412 grep -v '^ *+' conftest.er1
>conftest.err
5414 cat conftest.err
>&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } &&
5417 { ac_try
='test -z "$ac_c_werror_flag"
5418 || test ! -s conftest.err'
5419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); }; } &&
5424 { ac_try
='test -s conftest.$ac_objext'
5425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429 (exit $ac_status); }; }; then
5430 ac_lo
=$ac_mid; break
5432 echo "$as_me: failed program was:" >&5
5433 sed 's/^/| /' conftest.
$ac_ext >&5
5435 ac_hi
=`expr '(' $ac_mid ')' - 1`
5436 if test $ac_mid -le $ac_hi; then
5440 ac_mid
=`expr 2 '*' $ac_mid`
5442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5445 echo "$as_me: failed program was:" >&5
5446 sed 's/^/| /' conftest.
$ac_ext >&5
5450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5453 # Binary search between lo and hi bounds.
5454 while test "x$ac_lo" != "x$ac_hi"; do
5455 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5456 cat >conftest.
$ac_ext <<_ACEOF
5459 cat confdefs.h
>>conftest.
$ac_ext
5460 cat >>conftest.
$ac_ext <<_ACEOF
5461 /* end confdefs.h. */
5462 $ac_includes_default
5466 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5473 rm -f conftest.
$ac_objext
5474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5475 (eval $ac_compile) 2>conftest.er1
5477 grep -v '^ *+' conftest.er1
>conftest.err
5479 cat conftest.err
>&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } &&
5482 { ac_try
='test -z "$ac_c_werror_flag"
5483 || test ! -s conftest.err'
5484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); }; } &&
5489 { ac_try
='test -s conftest.$ac_objext'
5490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; }; then
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.
$ac_ext >&5
5500 ac_lo
=`expr '(' $ac_mid ')' + 1`
5502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5506 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5507 See \`config.log' for more details." >&5
5508 echo "$as_me: error: cannot compute sizeof (short), 77
5509 See \`config.log' for more details." >&2;}
5510 { (exit 1); exit 1; }; } ;;
5513 if test "$cross_compiling" = yes; then
5514 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5515 See \`config.log' for more details." >&5
5516 echo "$as_me: error: cannot run test program while cross compiling
5517 See \`config.log' for more details." >&2;}
5518 { (exit 1); exit 1; }; }
5520 cat >conftest.
$ac_ext <<_ACEOF
5523 cat confdefs.h
>>conftest.
$ac_ext
5524 cat >>conftest.
$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5526 $ac_includes_default
5527 long longval () { return (long) (sizeof (short)); }
5528 unsigned long ulongval () { return (long) (sizeof (short)); }
5535 FILE *f = fopen ("conftest.val", "w");
5538 if (((long) (sizeof (short))) < 0)
5540 long i = longval ();
5541 if (i != ((long) (sizeof (short))))
5543 fprintf (f, "%ld\n", i);
5547 unsigned long i = ulongval ();
5548 if (i != ((long) (sizeof (short))))
5550 fprintf (f, "%lu\n", i);
5552 exit (ferror (f) || fclose (f) != 0);
5558 rm -f conftest
$ac_exeext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5560 (eval $ac_link) 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); }; }; then
5569 ac_cv_sizeof_short
=`cat conftest.val`
5571 echo "$as_me: program exited with status $ac_status" >&5
5572 echo "$as_me: failed program was:" >&5
5573 sed 's/^/| /' conftest.
$ac_ext >&5
5576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5577 See \`config.log' for more details." >&5
5578 echo "$as_me: error: cannot compute sizeof (short), 77
5579 See \`config.log' for more details." >&2;}
5580 { (exit 1); exit 1; }; }
5582 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5587 ac_cv_sizeof_short
=0
5590 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5591 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5592 cat >>confdefs.h
<<_ACEOF
5593 #define SIZEOF_SHORT $ac_cv_sizeof_short
5597 echo "$as_me:$LINENO: checking for char" >&5
5598 echo $ECHO_N "checking for char... $ECHO_C" >&6
5599 if test "${ac_cv_type_char+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 cat >conftest.
$ac_ext <<_ACEOF
5605 cat confdefs.h
>>conftest.
$ac_ext
5606 cat >>conftest.
$ac_ext <<_ACEOF
5607 /* end confdefs.h. */
5608 $ac_includes_default
5620 rm -f conftest.
$ac_objext
5621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5622 (eval $ac_compile) 2>conftest.er1
5624 grep -v '^ *+' conftest.er1
>conftest.err
5626 cat conftest.err
>&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); } &&
5629 { ac_try
='test -z "$ac_c_werror_flag"
5630 || test ! -s conftest.err'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; } &&
5636 { ac_try
='test -s conftest.$ac_objext'
5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }; }; then
5644 echo "$as_me: failed program was:" >&5
5645 sed 's/^/| /' conftest.
$ac_ext >&5
5649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5651 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5652 echo "${ECHO_T}$ac_cv_type_char" >&6
5654 echo "$as_me:$LINENO: checking size of char" >&5
5655 echo $ECHO_N "checking size of char... $ECHO_C" >&6
5656 if test "${ac_cv_sizeof_char+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 if test "$ac_cv_type_char" = yes; then
5660 # The cast to unsigned long works around a bug in the HP C Compiler
5661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5663 # This bug is HP SR number 8606223364.
5664 if test "$cross_compiling" = yes; then
5665 # Depending upon the size, compute the lo and hi bounds.
5666 cat >conftest.
$ac_ext <<_ACEOF
5669 cat confdefs.h
>>conftest.
$ac_ext
5670 cat >>conftest.
$ac_ext <<_ACEOF
5671 /* end confdefs.h. */
5672 $ac_includes_default
5676 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
5683 rm -f conftest.
$ac_objext
5684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5685 (eval $ac_compile) 2>conftest.er1
5687 grep -v '^ *+' conftest.er1
>conftest.err
5689 cat conftest.err
>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } &&
5692 { ac_try
='test -z "$ac_c_werror_flag"
5693 || test ! -s conftest.err'
5694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; } &&
5699 { ac_try
='test -s conftest.$ac_objext'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; }; then
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 $ac_includes_default
5717 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5724 rm -f conftest.
$ac_objext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5726 (eval $ac_compile) 2>conftest.er1
5728 grep -v '^ *+' conftest.er1
>conftest.err
5730 cat conftest.err
>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } &&
5733 { ac_try
='test -z "$ac_c_werror_flag"
5734 || test ! -s conftest.err'
5735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); }; } &&
5740 { ac_try
='test -s conftest.$ac_objext'
5741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then
5746 ac_hi
=$ac_mid; break
5748 echo "$as_me: failed program was:" >&5
5749 sed 's/^/| /' conftest.
$ac_ext >&5
5751 ac_lo
=`expr $ac_mid + 1`
5752 if test $ac_lo -le $ac_mid; then
5756 ac_mid
=`expr 2 '*' $ac_mid + 1`
5758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.
$ac_ext >&5
5764 cat >conftest.
$ac_ext <<_ACEOF
5767 cat confdefs.h
>>conftest.
$ac_ext
5768 cat >>conftest.
$ac_ext <<_ACEOF
5769 /* end confdefs.h. */
5770 $ac_includes_default
5774 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
5781 rm -f conftest.
$ac_objext
5782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5783 (eval $ac_compile) 2>conftest.er1
5785 grep -v '^ *+' conftest.er1
>conftest.err
5787 cat conftest.err
>&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } &&
5790 { ac_try
='test -z "$ac_c_werror_flag"
5791 || test ! -s conftest.err'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; } &&
5797 { ac_try
='test -s conftest.$ac_objext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5805 cat >conftest.
$ac_ext <<_ACEOF
5808 cat confdefs.h
>>conftest.
$ac_ext
5809 cat >>conftest.
$ac_ext <<_ACEOF
5810 /* end confdefs.h. */
5811 $ac_includes_default
5815 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5822 rm -f conftest.
$ac_objext
5823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5824 (eval $ac_compile) 2>conftest.er1
5826 grep -v '^ *+' conftest.er1
>conftest.err
5828 cat conftest.err
>&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); } &&
5831 { ac_try
='test -z "$ac_c_werror_flag"
5832 || test ! -s conftest.err'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; } &&
5838 { ac_try
='test -s conftest.$ac_objext'
5839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); }; }; then
5844 ac_lo
=$ac_mid; break
5846 echo "$as_me: failed program was:" >&5
5847 sed 's/^/| /' conftest.
$ac_ext >&5
5849 ac_hi
=`expr '(' $ac_mid ')' - 1`
5850 if test $ac_mid -le $ac_hi; then
5854 ac_mid
=`expr 2 '*' $ac_mid`
5856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.
$ac_ext >&5
5864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5866 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5867 # Binary search between lo and hi bounds.
5868 while test "x$ac_lo" != "x$ac_hi"; do
5869 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5870 cat >conftest.
$ac_ext <<_ACEOF
5873 cat confdefs.h
>>conftest.
$ac_ext
5874 cat >>conftest.
$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5876 $ac_includes_default
5880 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5887 rm -f conftest.
$ac_objext
5888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5889 (eval $ac_compile) 2>conftest.er1
5891 grep -v '^ *+' conftest.er1
>conftest.err
5893 cat conftest.err
>&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } &&
5896 { ac_try
='test -z "$ac_c_werror_flag"
5897 || test ! -s conftest.err'
5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); }; } &&
5903 { ac_try
='test -s conftest.$ac_objext'
5904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; }; then
5911 echo "$as_me: failed program was:" >&5
5912 sed 's/^/| /' conftest.
$ac_ext >&5
5914 ac_lo
=`expr '(' $ac_mid ')' + 1`
5916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5919 ?
*) ac_cv_sizeof_char
=$ac_lo;;
5920 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5921 See \`config.log' for more details." >&5
5922 echo "$as_me: error: cannot compute sizeof (char), 77
5923 See \`config.log' for more details." >&2;}
5924 { (exit 1); exit 1; }; } ;;
5927 if test "$cross_compiling" = yes; then
5928 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5929 See \`config.log' for more details." >&5
5930 echo "$as_me: error: cannot run test program while cross compiling
5931 See \`config.log' for more details." >&2;}
5932 { (exit 1); exit 1; }; }
5934 cat >conftest.
$ac_ext <<_ACEOF
5937 cat confdefs.h
>>conftest.
$ac_ext
5938 cat >>conftest.
$ac_ext <<_ACEOF
5939 /* end confdefs.h. */
5940 $ac_includes_default
5941 long longval () { return (long) (sizeof (char)); }
5942 unsigned long ulongval () { return (long) (sizeof (char)); }
5949 FILE *f = fopen ("conftest.val", "w");
5952 if (((long) (sizeof (char))) < 0)
5954 long i = longval ();
5955 if (i != ((long) (sizeof (char))))
5957 fprintf (f, "%ld\n", i);
5961 unsigned long i = ulongval ();
5962 if (i != ((long) (sizeof (char))))
5964 fprintf (f, "%lu\n", i);
5966 exit (ferror (f) || fclose (f) != 0);
5972 rm -f conftest
$ac_exeext
5973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5974 (eval $ac_link) 2>&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); }; }; then
5983 ac_cv_sizeof_char
=`cat conftest.val`
5985 echo "$as_me: program exited with status $ac_status" >&5
5986 echo "$as_me: failed program was:" >&5
5987 sed 's/^/| /' conftest.
$ac_ext >&5
5990 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5991 See \`config.log' for more details." >&5
5992 echo "$as_me: error: cannot compute sizeof (char), 77
5993 See \`config.log' for more details." >&2;}
5994 { (exit 1); exit 1; }; }
5996 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6004 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6005 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
6006 cat >>confdefs.h
<<_ACEOF
6007 #define SIZEOF_CHAR $ac_cv_sizeof_char
6012 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
6013 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
6014 case "$ac_cv_sizeof_char" in
6015 1) acx_cv_type_int8_t
=char
;;
6016 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
6017 echo "$as_me: error: no 8-bit type" >&2;}
6018 { (exit please report a bug
); exit please report a bug
; }; }
6020 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
6021 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
6023 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
6024 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
6025 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
6026 2:*) acx_cv_type_int16_t
=int
;;
6027 *:2) acx_cv_type_int16_t
=short
;;
6028 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
6029 echo "$as_me: error: no 16-bit type" >&2;}
6030 { (exit please report a bug
); exit please report a bug
; }; }
6032 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
6033 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
6035 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
6036 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
6037 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
6038 4:*) acx_cv_type_int32_t
=int
;;
6039 *:4) acx_cv_type_int32_t
=long
;;
6040 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
6041 echo "$as_me: error: no 32-bit type" >&2;}
6042 { (exit please report a bug
); exit please report a bug
; }; }
6044 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
6045 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
6048 # These tests are here to make the output prettier
6050 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
6051 case "$ac_cv_sizeof_long" in
6052 8) acx_cv_type_int64_t
=long
;;
6054 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
6055 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
6056 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
6057 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
6060 # Now we can use the above types
6062 if test "$ac_cv_type_uintptr_t" != yes; then
6063 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
6064 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
6065 case $ac_cv_sizeof_void_p in
6066 2) acx_cv_type_intptr_t
=int16_t
;;
6067 4) acx_cv_type_intptr_t
=int32_t
;;
6068 8) acx_cv_type_intptr_t
=int64_t
;;
6069 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
6070 echo "$as_me: error: no equivalent for intptr_t" >&2;}
6071 { (exit please report a bug
); exit please report a bug
; }; }
6073 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
6074 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
6077 # ----------------- done all checks, emit header -------------
6078 ac_config_commands
="$ac_config_commands gstdint.h"
6083 # Checks for typedefs, structures, and compiler characteristics.
6084 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6085 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6086 if test "${ac_cv_c_const+set}" = set; then
6087 echo $ECHO_N "(cached) $ECHO_C" >&6
6089 cat >conftest.
$ac_ext <<_ACEOF
6092 cat confdefs.h
>>conftest.
$ac_ext
6093 cat >>conftest.
$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6099 /* FIXME: Include the comments suggested by Paul. */
6101 /* Ultrix mips cc rejects this. */
6102 typedef int charset[2];
6104 /* SunOS 4.1.1 cc rejects this. */
6105 char const *const *ccp;
6107 /* NEC SVR4.0.2 mips cc rejects this. */
6108 struct point {int x, y;};
6109 static struct point const zero = {0,0};
6110 /* AIX XL C 1.02.0.0 rejects this.
6111 It does not let you subtract one const X* pointer from another in
6112 an arm of an if-expression whose if-part is not a constant
6114 const char *g = "string";
6115 ccp = &g + (g ? g-g : 0);
6116 /* HPUX 7.0 cc rejects these. */
6119 ccp = (char const *const *) p;
6120 { /* SCO 3.2v4 cc rejects this. */
6122 char const *s = 0 ? (char *) 0 : (char const *) 0;
6126 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6128 const int *foo = &x[0];
6131 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6132 typedef const int *iptr;
6136 { /* AIX XL C 1.02.0.0 rejects this saying
6137 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6138 struct s { int j; const int *ap[3]; };
6139 struct s *b; b->j = 5;
6141 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6150 rm -f conftest.
$ac_objext
6151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6152 (eval $ac_compile) 2>conftest.er1
6154 grep -v '^ *+' conftest.er1
>conftest.err
6156 cat conftest.err
>&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } &&
6159 { ac_try
='test -z "$ac_c_werror_flag"
6160 || test ! -s conftest.err'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; } &&
6166 { ac_try
='test -s conftest.$ac_objext'
6167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6171 (exit $ac_status); }; }; then
6174 echo "$as_me: failed program was:" >&5
6175 sed 's/^/| /' conftest.
$ac_ext >&5
6179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6181 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6182 echo "${ECHO_T}$ac_cv_c_const" >&6
6183 if test $ac_cv_c_const = no
; then
6185 cat >>confdefs.h
<<\_ACEOF
6191 echo "$as_me:$LINENO: checking for off_t" >&5
6192 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6193 if test "${ac_cv_type_off_t+set}" = set; then
6194 echo $ECHO_N "(cached) $ECHO_C" >&6
6196 cat >conftest.
$ac_ext <<_ACEOF
6199 cat confdefs.h
>>conftest.
$ac_ext
6200 cat >>conftest.
$ac_ext <<_ACEOF
6201 /* end confdefs.h. */
6202 $ac_includes_default
6214 rm -f conftest.
$ac_objext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6216 (eval $ac_compile) 2>conftest.er1
6218 grep -v '^ *+' conftest.er1
>conftest.err
6220 cat conftest.err
>&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } &&
6223 { ac_try
='test -z "$ac_c_werror_flag"
6224 || test ! -s conftest.err'
6225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6229 (exit $ac_status); }; } &&
6230 { ac_try
='test -s conftest.$ac_objext'
6231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); }; }; then
6236 ac_cv_type_off_t
=yes
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.
$ac_ext >&5
6243 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6245 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6246 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6247 if test $ac_cv_type_off_t = yes; then
6251 cat >>confdefs.h
<<_ACEOF
6257 echo "$as_me:$LINENO: checking for int" >&5
6258 echo $ECHO_N "checking for int... $ECHO_C" >&6
6259 if test "${ac_cv_type_int+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 cat >conftest.
$ac_ext <<_ACEOF
6265 cat confdefs.h
>>conftest.
$ac_ext
6266 cat >>conftest.
$ac_ext <<_ACEOF
6267 /* end confdefs.h. */
6268 $ac_includes_default
6280 rm -f conftest.
$ac_objext
6281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282 (eval $ac_compile) 2>conftest.er1
6284 grep -v '^ *+' conftest.er1
>conftest.err
6286 cat conftest.err
>&5
6287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6288 (exit $ac_status); } &&
6289 { ac_try
='test -z "$ac_c_werror_flag"
6290 || test ! -s conftest.err'
6291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6295 (exit $ac_status); }; } &&
6296 { ac_try
='test -s conftest.$ac_objext'
6297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }; }; then
6304 echo "$as_me: failed program was:" >&5
6305 sed 's/^/| /' conftest.
$ac_ext >&5
6309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6311 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6312 echo "${ECHO_T}$ac_cv_type_int" >&6
6314 echo "$as_me:$LINENO: checking size of int" >&5
6315 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6316 if test "${ac_cv_sizeof_int+set}" = set; then
6317 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 if test "$ac_cv_type_int" = yes; then
6320 # The cast to unsigned long works around a bug in the HP C Compiler
6321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6323 # This bug is HP SR number 8606223364.
6324 if test "$cross_compiling" = yes; then
6325 # Depending upon the size, compute the lo and hi bounds.
6326 cat >conftest.
$ac_ext <<_ACEOF
6329 cat confdefs.h
>>conftest.
$ac_ext
6330 cat >>conftest.
$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6332 $ac_includes_default
6336 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6343 rm -f conftest.
$ac_objext
6344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6345 (eval $ac_compile) 2>conftest.er1
6347 grep -v '^ *+' conftest.er1
>conftest.err
6349 cat conftest.err
>&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } &&
6352 { ac_try
='test -z "$ac_c_werror_flag"
6353 || test ! -s conftest.err'
6354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; } &&
6359 { ac_try
='test -s conftest.$ac_objext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6367 cat >conftest.
$ac_ext <<_ACEOF
6370 cat confdefs.h
>>conftest.
$ac_ext
6371 cat >>conftest.
$ac_ext <<_ACEOF
6372 /* end confdefs.h. */
6373 $ac_includes_default
6377 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6384 rm -f conftest.
$ac_objext
6385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6386 (eval $ac_compile) 2>conftest.er1
6388 grep -v '^ *+' conftest.er1
>conftest.err
6390 cat conftest.err
>&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } &&
6393 { ac_try
='test -z "$ac_c_werror_flag"
6394 || test ! -s conftest.err'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; } &&
6400 { ac_try
='test -s conftest.$ac_objext'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; }; then
6406 ac_hi
=$ac_mid; break
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.
$ac_ext >&5
6411 ac_lo
=`expr $ac_mid + 1`
6412 if test $ac_lo -le $ac_mid; then
6416 ac_mid
=`expr 2 '*' $ac_mid + 1`
6418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6421 echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.
$ac_ext >&5
6424 cat >conftest.
$ac_ext <<_ACEOF
6427 cat confdefs.h
>>conftest.
$ac_ext
6428 cat >>conftest.
$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6430 $ac_includes_default
6434 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6441 rm -f conftest.
$ac_objext
6442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6443 (eval $ac_compile) 2>conftest.er1
6445 grep -v '^ *+' conftest.er1
>conftest.err
6447 cat conftest.err
>&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); } &&
6450 { ac_try
='test -z "$ac_c_werror_flag"
6451 || test ! -s conftest.err'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; } &&
6457 { ac_try
='test -s conftest.$ac_objext'
6458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }; }; then
6465 cat >conftest.
$ac_ext <<_ACEOF
6468 cat confdefs.h
>>conftest.
$ac_ext
6469 cat >>conftest.
$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 $ac_includes_default
6475 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6482 rm -f conftest.
$ac_objext
6483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6484 (eval $ac_compile) 2>conftest.er1
6486 grep -v '^ *+' conftest.er1
>conftest.err
6488 cat conftest.err
>&5
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } &&
6491 { ac_try
='test -z "$ac_c_werror_flag"
6492 || test ! -s conftest.err'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; } &&
6498 { ac_try
='test -s conftest.$ac_objext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 ac_lo
=$ac_mid; break
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.
$ac_ext >&5
6509 ac_hi
=`expr '(' $ac_mid ')' - 1`
6510 if test $ac_mid -le $ac_hi; then
6514 ac_mid
=`expr 2 '*' $ac_mid`
6516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.
$ac_ext >&5
6524 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6527 # Binary search between lo and hi bounds.
6528 while test "x$ac_lo" != "x$ac_hi"; do
6529 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6530 cat >conftest.
$ac_ext <<_ACEOF
6533 cat confdefs.h
>>conftest.
$ac_ext
6534 cat >>conftest.
$ac_ext <<_ACEOF
6535 /* end confdefs.h. */
6536 $ac_includes_default
6540 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6547 rm -f conftest.
$ac_objext
6548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6549 (eval $ac_compile) 2>conftest.er1
6551 grep -v '^ *+' conftest.er1
>conftest.err
6553 cat conftest.err
>&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try
='test -z "$ac_c_werror_flag"
6557 || test ! -s conftest.err'
6558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; } &&
6563 { ac_try
='test -s conftest.$ac_objext'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6571 echo "$as_me: failed program was:" >&5
6572 sed 's/^/| /' conftest.
$ac_ext >&5
6574 ac_lo
=`expr '(' $ac_mid ')' + 1`
6576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6579 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6580 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6581 See \`config.log' for more details." >&5
6582 echo "$as_me: error: cannot compute sizeof (int), 77
6583 See \`config.log' for more details." >&2;}
6584 { (exit 1); exit 1; }; } ;;
6587 if test "$cross_compiling" = yes; then
6588 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6589 See \`config.log' for more details." >&5
6590 echo "$as_me: error: cannot run test program while cross compiling
6591 See \`config.log' for more details." >&2;}
6592 { (exit 1); exit 1; }; }
6594 cat >conftest.
$ac_ext <<_ACEOF
6597 cat confdefs.h
>>conftest.
$ac_ext
6598 cat >>conftest.
$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 $ac_includes_default
6601 long longval () { return (long) (sizeof (int)); }
6602 unsigned long ulongval () { return (long) (sizeof (int)); }
6609 FILE *f = fopen ("conftest.val", "w");
6612 if (((long) (sizeof (int))) < 0)
6614 long i = longval ();
6615 if (i != ((long) (sizeof (int))))
6617 fprintf (f, "%ld\n", i);
6621 unsigned long i = ulongval ();
6622 if (i != ((long) (sizeof (int))))
6624 fprintf (f, "%lu\n", i);
6626 exit (ferror (f) || fclose (f) != 0);
6632 rm -f conftest
$ac_exeext
6633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6634 (eval $ac_link) 2>&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; }; then
6643 ac_cv_sizeof_int
=`cat conftest.val`
6645 echo "$as_me: program exited with status $ac_status" >&5
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.
$ac_ext >&5
6650 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6651 See \`config.log' for more details." >&5
6652 echo "$as_me: error: cannot compute sizeof (int), 77
6653 See \`config.log' for more details." >&2;}
6654 { (exit 1); exit 1; }; }
6656 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6664 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6665 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6666 cat >>confdefs.h
<<_ACEOF
6667 #define SIZEOF_INT $ac_cv_sizeof_int
6671 echo "$as_me:$LINENO: checking for long" >&5
6672 echo $ECHO_N "checking for long... $ECHO_C" >&6
6673 if test "${ac_cv_type_long+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6676 cat >conftest.
$ac_ext <<_ACEOF
6679 cat confdefs.h
>>conftest.
$ac_ext
6680 cat >>conftest.
$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 $ac_includes_default
6694 rm -f conftest.
$ac_objext
6695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6696 (eval $ac_compile) 2>conftest.er1
6698 grep -v '^ *+' conftest.er1
>conftest.err
6700 cat conftest.err
>&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try
='test -z "$ac_c_werror_flag"
6704 || test ! -s conftest.err'
6705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6709 (exit $ac_status); }; } &&
6710 { ac_try
='test -s conftest.$ac_objext'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; }; then
6718 echo "$as_me: failed program was:" >&5
6719 sed 's/^/| /' conftest.
$ac_ext >&5
6723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6725 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6726 echo "${ECHO_T}$ac_cv_type_long" >&6
6728 echo "$as_me:$LINENO: checking size of long" >&5
6729 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6730 if test "${ac_cv_sizeof_long+set}" = set; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6733 if test "$ac_cv_type_long" = yes; then
6734 # The cast to unsigned long works around a bug in the HP C Compiler
6735 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6736 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6737 # This bug is HP SR number 8606223364.
6738 if test "$cross_compiling" = yes; then
6739 # Depending upon the size, compute the lo and hi bounds.
6740 cat >conftest.
$ac_ext <<_ACEOF
6743 cat confdefs.h
>>conftest.
$ac_ext
6744 cat >>conftest.
$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 $ac_includes_default
6750 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6757 rm -f conftest.
$ac_objext
6758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6759 (eval $ac_compile) 2>conftest.er1
6761 grep -v '^ *+' conftest.er1
>conftest.err
6763 cat conftest.err
>&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } &&
6766 { ac_try
='test -z "$ac_c_werror_flag"
6767 || test ! -s conftest.err'
6768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); }; } &&
6773 { ac_try
='test -s conftest.$ac_objext'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; }; then
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 $ac_includes_default
6791 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6798 rm -f conftest.
$ac_objext
6799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6800 (eval $ac_compile) 2>conftest.er1
6802 grep -v '^ *+' conftest.er1
>conftest.err
6804 cat conftest.err
>&5
6805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6806 (exit $ac_status); } &&
6807 { ac_try
='test -z "$ac_c_werror_flag"
6808 || test ! -s conftest.err'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; } &&
6814 { ac_try
='test -s conftest.$ac_objext'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; }; then
6820 ac_hi
=$ac_mid; break
6822 echo "$as_me: failed program was:" >&5
6823 sed 's/^/| /' conftest.
$ac_ext >&5
6825 ac_lo
=`expr $ac_mid + 1`
6826 if test $ac_lo -le $ac_mid; then
6830 ac_mid
=`expr 2 '*' $ac_mid + 1`
6832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6835 echo "$as_me: failed program was:" >&5
6836 sed 's/^/| /' conftest.
$ac_ext >&5
6838 cat >conftest.
$ac_ext <<_ACEOF
6841 cat confdefs.h
>>conftest.
$ac_ext
6842 cat >>conftest.
$ac_ext <<_ACEOF
6843 /* end confdefs.h. */
6844 $ac_includes_default
6848 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6855 rm -f conftest.
$ac_objext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6857 (eval $ac_compile) 2>conftest.er1
6859 grep -v '^ *+' conftest.er1
>conftest.err
6861 cat conftest.err
>&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try
='test -z "$ac_c_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try
='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6879 cat >conftest.
$ac_ext <<_ACEOF
6882 cat confdefs.h
>>conftest.
$ac_ext
6883 cat >>conftest.
$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6885 $ac_includes_default
6889 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6896 rm -f conftest.
$ac_objext
6897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 (eval $ac_compile) 2>conftest.er1
6900 grep -v '^ *+' conftest.er1
>conftest.err
6902 cat conftest.err
>&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try
='test -z "$ac_c_werror_flag"
6906 || test ! -s conftest.err'
6907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); }; } &&
6912 { ac_try
='test -s conftest.$ac_objext'
6913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; }; then
6918 ac_lo
=$ac_mid; break
6920 echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.
$ac_ext >&5
6923 ac_hi
=`expr '(' $ac_mid ')' - 1`
6924 if test $ac_mid -le $ac_hi; then
6928 ac_mid
=`expr 2 '*' $ac_mid`
6930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.
$ac_ext >&5
6938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6941 # Binary search between lo and hi bounds.
6942 while test "x$ac_lo" != "x$ac_hi"; do
6943 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6944 cat >conftest.
$ac_ext <<_ACEOF
6947 cat confdefs.h
>>conftest.
$ac_ext
6948 cat >>conftest.
$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 $ac_includes_default
6954 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6961 rm -f conftest.
$ac_objext
6962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6963 (eval $ac_compile) 2>conftest.er1
6965 grep -v '^ *+' conftest.er1
>conftest.err
6967 cat conftest.err
>&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } &&
6970 { ac_try
='test -z "$ac_c_werror_flag"
6971 || test ! -s conftest.err'
6972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); }; } &&
6977 { ac_try
='test -s conftest.$ac_objext'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; }; then
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.
$ac_ext >&5
6988 ac_lo
=`expr '(' $ac_mid ')' + 1`
6990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6993 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6994 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6995 See \`config.log' for more details." >&5
6996 echo "$as_me: error: cannot compute sizeof (long), 77
6997 See \`config.log' for more details." >&2;}
6998 { (exit 1); exit 1; }; } ;;
7001 if test "$cross_compiling" = yes; then
7002 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7003 See \`config.log' for more details." >&5
7004 echo "$as_me: error: cannot run test program while cross compiling
7005 See \`config.log' for more details." >&2;}
7006 { (exit 1); exit 1; }; }
7008 cat >conftest.
$ac_ext <<_ACEOF
7011 cat confdefs.h
>>conftest.
$ac_ext
7012 cat >>conftest.
$ac_ext <<_ACEOF
7013 /* end confdefs.h. */
7014 $ac_includes_default
7015 long longval () { return (long) (sizeof (long)); }
7016 unsigned long ulongval () { return (long) (sizeof (long)); }
7023 FILE *f = fopen ("conftest.val", "w");
7026 if (((long) (sizeof (long))) < 0)
7028 long i = longval ();
7029 if (i != ((long) (sizeof (long))))
7031 fprintf (f, "%ld\n", i);
7035 unsigned long i = ulongval ();
7036 if (i != ((long) (sizeof (long))))
7038 fprintf (f, "%lu\n", i);
7040 exit (ferror (f) || fclose (f) != 0);
7046 rm -f conftest
$ac_exeext
7047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7048 (eval $ac_link) 2>&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); }; }; then
7057 ac_cv_sizeof_long
=`cat conftest.val`
7059 echo "$as_me: program exited with status $ac_status" >&5
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7064 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7065 See \`config.log' for more details." >&5
7066 echo "$as_me: error: cannot compute sizeof (long), 77
7067 See \`config.log' for more details." >&2;}
7068 { (exit 1); exit 1; }; }
7070 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7078 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7079 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7080 cat >>confdefs.h
<<_ACEOF
7081 #define SIZEOF_LONG $ac_cv_sizeof_long
7086 # Checks for library functions.
7087 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7088 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7089 if test "${ac_cv_header_stdc+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 cat >conftest.
$ac_ext <<_ACEOF
7095 cat confdefs.h
>>conftest.
$ac_ext
7096 cat >>conftest.
$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7111 rm -f conftest.
$ac_objext
7112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7113 (eval $ac_compile) 2>conftest.er1
7115 grep -v '^ *+' conftest.er1
>conftest.err
7117 cat conftest.err
>&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 (exit $ac_status); } &&
7120 { ac_try
='test -z "$ac_c_werror_flag"
7121 || test ! -s conftest.err'
7122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); }; } &&
7127 { ac_try
='test -s conftest.$ac_objext'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; }; then
7133 ac_cv_header_stdc
=yes
7135 echo "$as_me: failed program was:" >&5
7136 sed 's/^/| /' conftest.
$ac_ext >&5
7138 ac_cv_header_stdc
=no
7140 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7142 if test $ac_cv_header_stdc = yes; then
7143 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7144 cat >conftest.
$ac_ext <<_ACEOF
7147 cat confdefs.h
>>conftest.
$ac_ext
7148 cat >>conftest.
$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7154 $EGREP "memchr" >/dev
/null
2>&1; then
7157 ac_cv_header_stdc
=no
7163 if test $ac_cv_header_stdc = yes; then
7164 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7165 cat >conftest.
$ac_ext <<_ACEOF
7168 cat confdefs.h
>>conftest.
$ac_ext
7169 cat >>conftest.
$ac_ext <<_ACEOF
7170 /* end confdefs.h. */
7174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7175 $EGREP "free" >/dev
/null
2>&1; then
7178 ac_cv_header_stdc
=no
7184 if test $ac_cv_header_stdc = yes; then
7185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7186 if test "$cross_compiling" = yes; then
7189 cat >conftest.
$ac_ext <<_ACEOF
7192 cat confdefs.h
>>conftest.
$ac_ext
7193 cat >>conftest.
$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7196 #if ((' ' & 0x0FF) == 0x020)
7197 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7198 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7200 # define ISLOWER(c) \
7201 (('a' <= (c) && (c) <= 'i') \
7202 || ('j' <= (c) && (c) <= 'r') \
7203 || ('s' <= (c) && (c) <= 'z'))
7204 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7207 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7212 for (i = 0; i < 256; i++)
7213 if (XOR (islower (i), ISLOWER (i))
7214 || toupper (i) != TOUPPER (i))
7219 rm -f conftest
$ac_exeext
7220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7221 (eval $ac_link) 2>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); }; }; then
7232 echo "$as_me: program exited with status $ac_status" >&5
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.
$ac_ext >&5
7237 ac_cv_header_stdc
=no
7239 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7243 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7244 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7245 if test $ac_cv_header_stdc = yes; then
7247 cat >>confdefs.h
<<\_ACEOF
7248 #define STDC_HEADERS 1
7254 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7255 if test "${enable_maintainer_mode+set}" = set; then
7256 enableval
="$enable_maintainer_mode"
7259 enable_maintainer_mode
=no
7262 if test "x$enable_maintainer_mode" = xno
; then
7271 ac_config_headers
="$ac_config_headers config.h:config.in"
7273 ac_config_files
="$ac_config_files Makefile"
7275 cat >confcache
<<\_ACEOF
7276 # This file is a shell script that caches the results of configure
7277 # tests run on this system so they can be shared between configure
7278 # scripts and configure runs, see configure's option --config-cache.
7279 # It is not useful on other systems. If it contains results you don't
7280 # want to keep, you may remove or edit it.
7282 # config.status only pays attention to the cache file if you give it
7283 # the --recheck option to rerun configure.
7285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7291 # The following way of writing the cache mishandles newlines in values,
7292 # but we know of no workaround that is simple, portable, and efficient.
7293 # So, don't put newlines in cache variables' values.
7294 # Ultrix sh set writes to stderr and can't be redirected directly,
7295 # and sets the high bit in the cache file unless we assign to the vars.
7298 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7300 # `set' does not quote correctly, so add quotes (double-quote
7301 # substitution turns \\\\ into \\, and sed turns \\ into \).
7304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7307 # `set' quotes correctly as required by POSIX, so do not add quotes.
7309 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7318 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7320 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7321 if test -w $cache_file; then
7322 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7323 cat confcache
>$cache_file
7325 echo "not updating unwritable cache $cache_file"
7330 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7331 # Let make expand exec_prefix.
7332 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7334 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7335 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7336 # trailing colons and then remove the whole line if VPATH becomes empty
7337 # (actually we leave an empty line to preserve line numbers).
7338 if test "x$srcdir" = x.
; then
7339 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7340 s/:*\$(srcdir):*/:/;
7341 s/:*\${srcdir}:*/:/;
7343 s/^\([^=]*=[ ]*\):*/\1/;
7349 DEFS
=-DHAVE_CONFIG_H
7353 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7354 # 1. Remove the extension, and $U if already installed.
7355 ac_i
=`echo "$ac_i" |
7356 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7358 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7359 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7363 LTLIBOBJS
=$ac_ltlibobjs
7367 : ${CONFIG_STATUS=./config.status}
7368 ac_clean_files_save
=$ac_clean_files
7369 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7370 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7371 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7372 cat >$CONFIG_STATUS <<_ACEOF
7374 # Generated by $as_me.
7375 # Run this file to recreate the current configuration.
7376 # Compiler output produced by configure, useful for debugging
7377 # configure, is in config.log if it exists.
7382 SHELL=\${CONFIG_SHELL-$SHELL}
7385 cat >>$CONFIG_STATUS <<\_ACEOF
7386 ## --------------------- ##
7387 ## M4sh Initialization. ##
7388 ## --------------------- ##
7390 # Be Bourne compatible
7391 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7394 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7395 # is contrary to our usage. Disable this feature.
7396 alias -g '${1+"$@"}'='"$@"'
7397 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7400 DUALCASE
=1; export DUALCASE
# for MKS sh
7402 # Support unset when possible.
7403 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7410 # Work around bugs in pre-3.0 UWIN ksh.
7411 $as_unset ENV MAIL MAILPATH
7418 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7419 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7420 LC_TELEPHONE LC_TIME
7422 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7423 eval $as_var=C
; export $as_var
7429 # Required to use basename.
7430 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7436 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7437 as_basename
=basename
7443 # Name of the executable.
7444 as_me
=`$as_basename "$0" ||
7445 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7446 X"$0" : 'X\(//\)$' \| \
7447 X"$0" : 'X\(/\)$' \| \
7448 . : '\(.\)' 2>/dev/null ||
7450 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7451 /^X\/\(\/\/\)$/{ s//\1/; q; }
7452 /^X\/\(\/\).*/{ s//\1/; q; }
7456 # PATH needs CR, and LINENO needs CR and PATH.
7457 # Avoid depending upon Character Ranges.
7458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7461 as_cr_digits
='0123456789'
7462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7464 # The user is always right.
7465 if test "${PATH_SEPARATOR+set}" != set; then
7466 echo "#! /bin/sh" >conf$$.sh
7467 echo "exit 0" >>conf$$.sh
7469 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7480 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7481 test "x$as_lineno_1" != "x$as_lineno_2" &&
7482 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7483 # Find who we are. Look in the path if we contain no path at all
7486 *[\\/]* ) as_myself
=$0 ;;
7487 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7491 test -z "$as_dir" && as_dir
=.
7492 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7497 # We did not find ourselves, most probably we were run as `sh COMMAND'
7498 # in which case we are not to be found in the path.
7499 if test "x$as_myself" = x
; then
7502 if test ! -f "$as_myself"; then
7503 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7504 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7505 { (exit 1); exit 1; }; }
7507 case $CONFIG_SHELL in
7509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7510 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7513 test -z "$as_dir" && as_dir
=.
7514 for as_base
in sh bash ksh sh5
; do
7517 if ("$as_dir/$as_base" -c '
7520 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7521 test "x$as_lineno_1" != "x$as_lineno_2" &&
7522 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7523 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7524 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7525 CONFIG_SHELL
=$as_dir/$as_base
7527 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7535 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7536 # uniformly replaced by the line number. The first 'sed' inserts a
7537 # line-number line before each line; the second 'sed' does the real
7538 # work. The second script uses 'N' to pair each line-number line
7539 # with the numbered line, and appends trailing '-' during
7540 # substitution so that $LINENO is not a special case at line end.
7541 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7542 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7543 sed '=' <$as_myself |
7548 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7551 s,^['$as_cr_digits']*\n,,
7553 chmod +x
$as_me.lineno ||
7554 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7555 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7556 { (exit 1); exit 1; }; }
7558 # Don't try to exec as it changes $[0], causing all sort of problems
7559 # (the dirname of $[0] is not the place where we might find the
7560 # original and so on. Autoconf is especially sensible to this).
7562 # Exit status is that of the last command.
7567 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7568 *c
*,-n*) ECHO_N
= ECHO_C
='
7570 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7571 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7574 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7580 rm -f conf$$ conf$$.exe conf$$.
file
7582 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7583 # We could just check for DJGPP; but this test a) works b) is more generic
7584 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7585 if test -f conf$$.exe
; then
7586 # Don't use ln at all; we don't have any links
7591 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7596 rm -f conf$$ conf$$.exe conf$$.
file
7598 if mkdir
-p .
2>/dev
/null
; then
7601 test -d .
/-p && rmdir .
/-p
7605 as_executable_p
="test -f"
7607 # Sed expression to map a string onto a valid CPP name.
7608 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7610 # Sed expression to map a string onto a valid variable name.
7611 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7615 # We need space, tab and new line, in precisely that order.
7625 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7626 # report actual input values of CONFIG_FILES etc. instead of their
7627 # values after options handling. Logging --version etc. is OK.
7631 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7632 ## Running $as_me. ##
7637 This file was extended by libdecnumber $as_me , which was
7638 generated by GNU Autoconf 2.59. Invocation command line was
7640 CONFIG_FILES = $CONFIG_FILES
7641 CONFIG_HEADERS = $CONFIG_HEADERS
7642 CONFIG_LINKS = $CONFIG_LINKS
7643 CONFIG_COMMANDS = $CONFIG_COMMANDS
7647 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7651 # Files that config.status was made for.
7652 if test -n "$ac_config_files"; then
7653 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7656 if test -n "$ac_config_headers"; then
7657 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7660 if test -n "$ac_config_links"; then
7661 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7664 if test -n "$ac_config_commands"; then
7665 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7668 cat >>$CONFIG_STATUS <<\_ACEOF
7671 \`$as_me' instantiates files from templates according to the
7672 current configuration.
7674 Usage: $0 [OPTIONS] [FILE]...
7676 -h, --help print this help, then exit
7677 -V, --version print version number, then exit
7678 -q, --quiet do not print progress messages
7679 -d, --debug don't remove temporary files
7680 --recheck update $as_me by reconfiguring in the same conditions
7681 --file=FILE[:TEMPLATE]
7682 instantiate the configuration file FILE
7683 --header=FILE[:TEMPLATE]
7684 instantiate the configuration header FILE
7686 Configuration files:
7689 Configuration headers:
7692 Configuration commands:
7695 Report bugs to <bug-autoconf@gnu.org>."
7698 cat >>$CONFIG_STATUS <<_ACEOF
7700 libdecnumber config.status
7701 configured by $0, generated by GNU Autoconf 2.59,
7702 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7704 Copyright (C) 2003 Free Software Foundation, Inc.
7705 This config.status script is free software; the Free Software Foundation
7706 gives unlimited permission to copy, distribute and modify it."
7710 cat >>$CONFIG_STATUS <<\_ACEOF
7711 # If no file are specified by the user, then we need to provide default
7712 # value. By we need to know if files were specified by the user.
7718 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7719 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7727 *) # This is not an option, so the user has probably given explicit
7730 ac_need_defaults
=false
;;
7734 # Handling of the options.
7736 cat >>$CONFIG_STATUS <<\_ACEOF
7737 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7739 --version |
--vers* |
-V )
7740 echo "$ac_cs_version"; exit 0 ;;
7742 # Conflict between --help and --header
7743 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7744 Try \`$0 --help' for more information." >&5
7745 echo "$as_me: error: ambiguous option: $1
7746 Try \`$0 --help' for more information." >&2;}
7747 { (exit 1); exit 1; }; };;
7748 --help |
--hel |
-h )
7749 echo "$ac_cs_usage"; exit 0 ;;
7750 --debug |
--d* |
-d )
7752 --file |
--fil |
--fi |
--f )
7754 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7755 ac_need_defaults
=false
;;
7756 --header |
--heade |
--head |
--hea )
7758 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7759 ac_need_defaults
=false
;;
7760 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7761 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7765 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7766 Try \`$0 --help' for more information." >&5
7767 echo "$as_me: error: unrecognized option: $1
7768 Try \`$0 --help' for more information." >&2;}
7769 { (exit 1); exit 1; }; } ;;
7771 *) ac_config_targets
="$ac_config_targets $1" ;;
7777 ac_configure_extra_args
=
7779 if $ac_cs_silent; then
7781 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7785 cat >>$CONFIG_STATUS <<_ACEOF
7786 if \$ac_cs_recheck; then
7787 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7788 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7793 cat >>$CONFIG_STATUS <<_ACEOF
7795 # INIT-COMMANDS section.
7801 acx_cv_header_stdint="$acx_cv_header_stdint"
7802 acx_cv_type_int8_t="$acx_cv_type_int8_t"
7803 acx_cv_type_int16_t="$acx_cv_type_int16_t"
7804 acx_cv_type_int32_t="$acx_cv_type_int32_t"
7805 acx_cv_type_int64_t="$acx_cv_type_int64_t"
7806 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
7807 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
7808 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
7809 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
7810 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
7811 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
7812 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
7813 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
7814 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
7821 cat >>$CONFIG_STATUS <<\_ACEOF
7822 for ac_config_target
in $ac_config_targets
7824 case "$ac_config_target" in
7825 # Handling of arguments.
7826 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7827 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
7828 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7829 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7830 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7831 { (exit 1); exit 1; }; };;
7835 # If the user did not use the arguments to specify the items to instantiate,
7836 # then the envvar interface is used. Set only those that are not.
7837 # We use the long form for the default assignment because of an extremely
7838 # bizarre bug on SunOS 4.1.3.
7839 if $ac_need_defaults; then
7840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7845 # Have a temporary directory for convenience. Make it in the build tree
7846 # simply because there is no reason to put it here, and in addition,
7847 # creating and moving files from /tmp can sometimes cause problems.
7848 # Create a temporary directory, and hook for its removal unless debugging.
7851 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7852 trap '{ (exit 1); exit 1; }' 1 2 13 15
7855 # Create a (secure) tmp directory for tmp files.
7858 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7859 test -n "$tmp" && test -d "$tmp"
7862 tmp
=.
/confstat$$
-$RANDOM
7863 (umask 077 && mkdir
$tmp)
7866 echo "$me: cannot create a temporary directory in ." >&2
7867 { (exit 1); exit 1; }
7872 cat >>$CONFIG_STATUS <<_ACEOF
7875 # CONFIG_FILES section.
7878 # No need to generate the scripts if there are no CONFIG_FILES.
7879 # This happens for instance when ./config.status config.h
7880 if test -n "\$CONFIG_FILES"; then
7881 # Protect against being on the right side of a sed subst in config.status.
7882 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7883 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7884 s,@SHELL@,$SHELL,;t t
7885 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7886 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7887 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7888 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7889 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7890 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7891 s,@exec_prefix@,$exec_prefix,;t t
7892 s,@prefix@,$prefix,;t t
7893 s,@program_transform_name@,$program_transform_name,;t t
7894 s,@bindir@,$bindir,;t t
7895 s,@sbindir@,$sbindir,;t t
7896 s,@libexecdir@,$libexecdir,;t t
7897 s,@datadir@,$datadir,;t t
7898 s,@sysconfdir@,$sysconfdir,;t t
7899 s,@sharedstatedir@,$sharedstatedir,;t t
7900 s,@localstatedir@,$localstatedir,;t t
7901 s,@libdir@,$libdir,;t t
7902 s,@includedir@,$includedir,;t t
7903 s,@oldincludedir@,$oldincludedir,;t t
7904 s,@infodir@,$infodir,;t t
7905 s,@mandir@,$mandir,;t t
7906 s,@build_alias@,$build_alias,;t t
7907 s,@host_alias@,$host_alias,;t t
7908 s,@target_alias@,$target_alias,;t t
7910 s,@ECHO_C@,$ECHO_C,;t t
7911 s,@ECHO_N@,$ECHO_N,;t t
7912 s,@ECHO_T@,$ECHO_T,;t t
7914 s,@SET_MAKE@,$SET_MAKE,;t t
7916 s,@CFLAGS@,$CFLAGS,;t t
7917 s,@LDFLAGS@,$LDFLAGS,;t t
7918 s,@CPPFLAGS@,$CPPFLAGS,;t t
7919 s,@ac_ct_CC@,$ac_ct_CC,;t t
7920 s,@EXEEXT@,$EXEEXT,;t t
7921 s,@OBJEXT@,$OBJEXT,;t t
7922 s,@RANLIB@,$RANLIB,;t t
7923 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7924 s,@ACLOCAL@,$ACLOCAL,;t t
7925 s,@AUTOCONF@,$AUTOCONF,;t t
7926 s,@AUTOHEADER@,$AUTOHEADER,;t t
7927 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7928 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
7929 s,@WERROR@,$WERROR,;t t
7931 s,@EGREP@,$EGREP,;t t
7932 s,@MAINT@,$MAINT,;t t
7933 s,@LIBOBJS@,$LIBOBJS,;t t
7934 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7939 cat >>$CONFIG_STATUS <<\_ACEOF
7940 # Split the substitutions into bite-sized pieces for seds with
7941 # small command number limits, like on Digital OSF/1 and HP-UX.
7943 ac_sed_frag
=1 # Number of current file.
7944 ac_beg
=1 # First line for current file.
7945 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7948 while $ac_more_lines; do
7949 if test $ac_beg -gt 1; then
7950 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7952 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7954 if test ! -s $tmp/subs.frag
; then
7957 # The purpose of the label and of the branching condition is to
7958 # speed up the sed processing (if there are no `@' at all, there
7959 # is no need to browse any of the substitutions).
7960 # These are the two extra sed commands mentioned above.
7962 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7963 if test -z "$ac_sed_cmds"; then
7964 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7966 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7968 ac_sed_frag
=`expr $ac_sed_frag + 1`
7970 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7973 if test -z "$ac_sed_cmds"; then
7976 fi # test -n "$CONFIG_FILES"
7979 cat >>$CONFIG_STATUS <<\_ACEOF
7980 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7981 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7983 - |
*:- |
*:-:* ) # input from stdin
7985 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7986 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7987 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7988 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7989 * ) ac_file_in
=$ac_file.
in ;;
7992 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7993 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7994 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7995 X"$ac_file" : 'X\(//\)[^/]' \| \
7996 X"$ac_file" : 'X\(//\)$' \| \
7997 X"$ac_file" : 'X\(/\)' \| \
7998 . : '\(.\)' 2>/dev/null ||
8000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8001 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8002 /^X\(\/\/\)$/{ s//\1/; q; }
8003 /^X\(\/\).*/{ s//\1/; q; }
8005 { if $as_mkdir_p; then
8010 while test ! -d "$as_dir"; do
8011 as_dirs
="$as_dir $as_dirs"
8012 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8014 X"$as_dir" : 'X\(//\)[^/]' \| \
8015 X"$as_dir" : 'X\(//\)$' \| \
8016 X"$as_dir" : 'X\(/\)' \| \
8017 . : '\(.\)' 2>/dev/null ||
8019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8020 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8021 /^X\(\/\/\)$/{ s//\1/; q; }
8022 /^X\(\/\).*/{ s//\1/; q; }
8025 test ! -n "$as_dirs" || mkdir
$as_dirs
8026 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8027 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8028 { (exit 1); exit 1; }; }; }
8032 if test "$ac_dir" != .
; then
8033 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8034 # A "../" for each directory in $ac_dir_suffix.
8035 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8037 ac_dir_suffix
= ac_top_builddir
=
8041 .
) # No --srcdir option. We are building in place.
8043 if test -z "$ac_top_builddir"; then
8046 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8048 [\\/]* | ?
:[\\/]* ) # Absolute path.
8049 ac_srcdir
=$srcdir$ac_dir_suffix;
8050 ac_top_srcdir
=$srcdir ;;
8052 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8053 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8056 # Do not use `cd foo && pwd` to compute absolute paths, because
8057 # the directories may not exist.
8059 .
) ac_abs_builddir
="$ac_dir";;
8062 .
) ac_abs_builddir
=`pwd`;;
8063 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8064 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8067 case $ac_abs_builddir in
8068 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8070 case ${ac_top_builddir}.
in
8071 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8072 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8073 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8076 case $ac_abs_builddir in
8077 .
) ac_abs_srcdir
=$ac_srcdir;;
8080 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8081 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8082 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8085 case $ac_abs_builddir in
8086 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8088 case $ac_top_srcdir in
8089 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8090 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8091 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8097 if test x
"$ac_file" != x-
; then
8098 { echo "$as_me:$LINENO: creating $ac_file" >&5
8099 echo "$as_me: creating $ac_file" >&6;}
8102 # Let's still pretend it is `configure' which instantiates (i.e., don't
8103 # use $as_me), people would be surprised to read:
8104 # /* config.h. Generated by config.status. */
8105 if test x
"$ac_file" = x-
; then
8108 configure_input
="$ac_file. "
8110 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8111 sed 's,.*/,,'` by configure."
8113 # First look for the input files in the build tree, otherwise in the
8115 ac_file_inputs
=`IFS=:
8116 for f in $ac_file_in; do
8118 -) echo $tmp/stdin ;;
8120 # Absolute (can't be DOS-style, as IFS=:)
8121 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8122 echo "$as_me: error: cannot find input file: $f" >&2;}
8123 { (exit 1); exit 1; }; }
8126 if test -f "$f"; then
8129 elif test -f "$srcdir/$f"; then
8134 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8135 echo "$as_me: error: cannot find input file: $f" >&2;}
8136 { (exit 1); exit 1; }; }
8139 done` ||
{ (exit 1); exit 1; }
8141 cat >>$CONFIG_STATUS <<_ACEOF
8145 cat >>$CONFIG_STATUS <<\_ACEOF
8147 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8148 s
,@configure_input@
,$configure_input,;t t
8149 s
,@srcdir@
,$ac_srcdir,;t t
8150 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8151 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8152 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8153 s
,@builddir@
,$ac_builddir,;t t
8154 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8155 s
,@top_builddir@
,$ac_top_builddir,;t t
8156 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8157 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8159 if test x"$ac_file" != x-; then
8160 mv $tmp/out $ac_file
8168 cat >>$CONFIG_STATUS <<\_ACEOF
8171 # CONFIG_HEADER section.
8174 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8175 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8177 # ac_d sets the value in "#define NAME VALUE" lines.
8178 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8179 ac_dB
='[ ].*$,\1#\2'
8182 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8183 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8184 ac_uB
='$,\1#\2define\3'
8188 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8189 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8191 - |
*:- |
*:-:* ) # input from stdin
8193 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8194 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8195 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8196 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8197 * ) ac_file_in
=$ac_file.
in ;;
8200 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8201 echo "$as_me: creating $ac_file" >&6;}
8203 # First look for the input files in the build tree, otherwise in the
8205 ac_file_inputs
=`IFS=:
8206 for f in $ac_file_in; do
8208 -) echo $tmp/stdin ;;
8210 # Absolute (can't be DOS-style, as IFS=:)
8211 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8212 echo "$as_me: error: cannot find input file: $f" >&2;}
8213 { (exit 1); exit 1; }; }
8214 # Do quote $f, to prevent DOS paths from being IFS'd.
8217 if test -f "$f"; then
8220 elif test -f "$srcdir/$f"; then
8225 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8226 echo "$as_me: error: cannot find input file: $f" >&2;}
8227 { (exit 1); exit 1; }; }
8230 done` ||
{ (exit 1); exit 1; }
8231 # Remove the trailing spaces.
8232 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8236 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8237 # `conftest.undefs', that substitutes the proper values into
8238 # config.h.in to produce config.h. The first handles `#define'
8239 # templates, and the second `#undef' templates.
8240 # And first: Protect against being on the right side of a sed subst in
8241 # config.status. Protect against being in an unquoted here document
8243 rm -f conftest.defines conftest.undefs
8244 # Using a here document instead of a string reduces the quoting nightmare.
8245 # Putting comments in sed scripts is not portable.
8247 # `end' is used to avoid that the second main sed command (meant for
8248 # 0-ary CPP macros) applies to n-ary macro definitions.
8249 # See the Autoconf documentation for `clear'.
8250 cat >confdef2sed.
sed <<\_ACEOF
8255 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8257 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8260 # If some macros were called several times there might be several times
8261 # the same #defines, which is useless. Nevertheless, we may not want to
8262 # sort them, since we want the *last* AC-DEFINE to be honored.
8263 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8264 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8265 rm -f confdef2sed.sed
8267 # This sed command replaces #undef with comments. This is necessary, for
8268 # example, in the case of _POSIX_SOURCE, which is predefined and required
8269 # on some systems where configure will not decide to define it.
8270 cat >>conftest.undefs <<\_ACEOF
8271 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8274 # Break up conftest.defines because some shells have a limit on the size
8275 # of here documents, and old seds have small limits too (100 cmds).
8276 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8277 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8278 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8279 echo ' :' >>$CONFIG_STATUS
8281 while grep . conftest.defines >/dev/null
8283 # Write a limited-size here document to $tmp/defines.sed.
8284 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8285 # Speed up: don't consider the non `#define' lines.
8286 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8287 # Work around the forget-to-reset-the-flag bug.
8288 echo 't clr' >>$CONFIG_STATUS
8289 echo ': clr' >>$CONFIG_STATUS
8290 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8292 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8296 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8297 rm -f conftest.defines
8298 mv conftest.
tail conftest.defines
8300 rm -f conftest.defines
8301 echo ' fi # grep' >>$CONFIG_STATUS
8302 echo >>$CONFIG_STATUS
8304 # Break up conftest.undefs because some shells have a limit on the size
8305 # of here documents, and old seds have small limits too (100 cmds).
8306 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8308 while grep . conftest.undefs
>/dev
/null
8310 # Write a limited-size here document to $tmp/undefs.sed.
8311 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8312 # Speed up: don't consider the non
`#undef'
8313 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8314 # Work around the forget-to-reset-the-flag bug.
8315 echo 't clr' >>$CONFIG_STATUS
8316 echo ': clr' >>$CONFIG_STATUS
8317 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8319 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8323 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8324 rm -f conftest.undefs
8325 mv conftest.tail conftest.undefs
8327 rm -f conftest.undefs
8329 cat >>$CONFIG_STATUS <<\_ACEOF
8330 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8331 # use $as_me), people would be surprised to read:
8332 # /* config.h. Generated by config.status. */
8333 if test x
"$ac_file" = x-
; then
8334 echo "/* Generated by configure. */" >$tmp/config.h
8336 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8338 cat $tmp/in >>$tmp/config.h
8340 if test x
"$ac_file" != x-
; then
8341 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8342 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8343 echo "$as_me: $ac_file is unchanged" >&6;}
8345 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8346 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8347 X"$ac_file" : 'X\(//\)[^/]' \| \
8348 X"$ac_file" : 'X\(//\)$' \| \
8349 X"$ac_file" : 'X\(/\)' \| \
8350 . : '\(.\)' 2>/dev/null ||
8352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8353 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8354 /^X\(\/\/\)$/{ s//\1/; q; }
8355 /^X\(\/\).*/{ s//\1/; q; }
8357 { if $as_mkdir_p; then
8362 while test ! -d "$as_dir"; do
8363 as_dirs
="$as_dir $as_dirs"
8364 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8365 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8366 X"$as_dir" : 'X\(//\)[^/]' \| \
8367 X"$as_dir" : 'X\(//\)$' \| \
8368 X"$as_dir" : 'X\(/\)' \| \
8369 . : '\(.\)' 2>/dev/null ||
8371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8373 /^X\(\/\/\)$/{ s//\1/; q; }
8374 /^X\(\/\).*/{ s//\1/; q; }
8377 test ! -n "$as_dirs" || mkdir
$as_dirs
8378 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8379 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8380 { (exit 1); exit 1; }; }; }
8383 mv $tmp/config.h
$ac_file
8389 # Run the commands associated with the file.
8391 config.h
) echo timestamp
> stamp-h1
;;
8395 cat >>$CONFIG_STATUS <<\_ACEOF
8398 # CONFIG_COMMANDS section.
8400 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8401 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8402 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8403 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8404 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8405 X"$ac_dest" : 'X\(//\)[^/]' \| \
8406 X"$ac_dest" : 'X\(//\)$' \| \
8407 X"$ac_dest" : 'X\(/\)' \| \
8408 . : '\(.\)' 2>/dev/null ||
8410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8412 /^X\(\/\/\)$/{ s//\1/; q; }
8413 /^X\(\/\).*/{ s//\1/; q; }
8415 { if $as_mkdir_p; then
8420 while test ! -d "$as_dir"; do
8421 as_dirs
="$as_dir $as_dirs"
8422 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8424 X"$as_dir" : 'X\(//\)[^/]' \| \
8425 X"$as_dir" : 'X\(//\)$' \| \
8426 X"$as_dir" : 'X\(/\)' \| \
8427 . : '\(.\)' 2>/dev/null ||
8429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8431 /^X\(\/\/\)$/{ s//\1/; q; }
8432 /^X\(\/\).*/{ s//\1/; q; }
8435 test ! -n "$as_dirs" || mkdir
$as_dirs
8436 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8437 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8438 { (exit 1); exit 1; }; }; }
8442 if test "$ac_dir" != .
; then
8443 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8444 # A "../" for each directory in $ac_dir_suffix.
8445 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8447 ac_dir_suffix
= ac_top_builddir
=
8451 .
) # No --srcdir option. We are building in place.
8453 if test -z "$ac_top_builddir"; then
8456 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8458 [\\/]* | ?
:[\\/]* ) # Absolute path.
8459 ac_srcdir
=$srcdir$ac_dir_suffix;
8460 ac_top_srcdir
=$srcdir ;;
8462 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8463 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8466 # Do not use `cd foo && pwd` to compute absolute paths, because
8467 # the directories may not exist.
8469 .
) ac_abs_builddir
="$ac_dir";;
8472 .
) ac_abs_builddir
=`pwd`;;
8473 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8474 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8477 case $ac_abs_builddir in
8478 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8480 case ${ac_top_builddir}.
in
8481 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8482 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8483 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8486 case $ac_abs_builddir in
8487 .
) ac_abs_srcdir
=$ac_srcdir;;
8490 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8491 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8492 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8495 case $ac_abs_builddir in
8496 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8498 case $ac_top_srcdir in
8499 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8500 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8501 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8506 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8507 echo "$as_me: executing $ac_dest commands" >&6;}
8510 if test "$GCC" = yes; then
8511 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
8513 echo "/* generated for $CC */" > tmp-stdint.h
8516 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8518 #ifndef GCC_GENERATED_STDINT_H
8519 #define GCC_GENERATED_STDINT_H 1
8521 #include <sys/types.h>
8524 if test "$acx_cv_header_stdint" != stdint.h
; then
8525 echo "#include <stddef.h>" >> tmp-stdint.h
8527 if test "$acx_cv_header_stdint" != stddef.h
; then
8528 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
8531 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8532 /* glibc uses these symbols as guards to prevent redefinitions. */
8533 #ifdef __int8_t_defined
8538 #ifdef __uint32_t_defined
8544 # ----------------- done header, emit basic int types -------------
8545 if test "$acx_cv_header_stdint" = stddef.h
; then
8546 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8550 typedef unsigned $acx_cv_type_int8_t uint8_t;
8555 typedef unsigned $acx_cv_type_int16_t uint16_t;
8560 typedef unsigned $acx_cv_type_int32_t uint32_t;
8565 typedef $acx_cv_type_int8_t int8_t;
8570 typedef $acx_cv_type_int16_t int16_t;
8575 typedef $acx_cv_type_int32_t int32_t;
8578 elif test "$ac_cv_type_u_int32_t" = yes; then
8579 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8581 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
8594 typedef u_int8_t uint8_t;
8599 typedef u_int16_t uint16_t;
8604 typedef u_int32_t uint32_t;
8608 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8610 /* Some systems have guard macros to prevent redefinitions, define them. */
8632 # ------------- done basic int types, emit int64_t types ------------
8633 if test "$ac_cv_type_uint64_t" = yes; then
8634 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8636 /* system headers have good uint64_t and int64_t */
8644 elif test "$ac_cv_type_u_int64_t" = yes; then
8645 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8647 /* system headers have an u_int64_t (and int64_t) */
8653 typedef u_int64_t uint64_t;
8656 elif test -n "$acx_cv_type_int64_t"; then
8657 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8659 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
8662 typedef $acx_cv_type_int64_t int64_t;
8666 typedef unsigned $acx_cv_type_int64_t uint64_t;
8670 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8672 /* some common heuristics for int64_t, using compiler-specific tests */
8673 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
8676 typedef long long int64_t;
8680 typedef unsigned long long uint64_t;
8683 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
8684 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
8685 does not implement __extension__. But that compiler doesn't define
8687 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
8688 # define __extension__
8693 __extension__ typedef long long int64_t;
8697 __extension__ typedef unsigned long long uint64_t;
8700 #elif !defined __STRICT_ANSI__
8701 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
8705 typedef __int64 int64_t;
8709 typedef unsigned __int64 uint64_t;
8711 # endif /* compiler */
8713 #endif /* ANSI version */
8717 # ------------- done int64_t types, emit intptr types ------------
8718 if test "$ac_cv_type_uintptr_t" != yes; then
8719 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8721 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
8722 typedef u$acx_cv_type_intptr_t uintptr_t;
8723 typedef $acx_cv_type_intptr_t intptr_t;
8727 # ------------- done intptr types, emit int_least types ------------
8728 if test "$ac_cv_type_int_least32_t" != yes; then
8729 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8731 /* Define int_least types */
8732 typedef int8_t int_least8_t;
8733 typedef int16_t int_least16_t;
8734 typedef int32_t int_least32_t;
8736 typedef int64_t int_least64_t;
8739 typedef uint8_t uint_least8_t;
8740 typedef uint16_t uint_least16_t;
8741 typedef uint32_t uint_least32_t;
8743 typedef uint64_t uint_least64_t;
8748 # ------------- done intptr types, emit int_fast types ------------
8749 if test "$ac_cv_type_int_fast32_t" != yes; then
8750 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8752 /* Define int_fast types. short is often slow */
8753 typedef int8_t int_fast8_t;
8754 typedef int int_fast16_t;
8755 typedef int32_t int_fast32_t;
8757 typedef int64_t int_fast64_t;
8760 typedef uint8_t uint_fast8_t;
8761 typedef unsigned int uint_fast16_t;
8762 typedef uint32_t uint_fast32_t;
8764 typedef uint64_t uint_fast64_t;
8769 if test "$ac_cv_type_uintmax_t" != yes; then
8770 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8772 /* Define intmax based on what we found */
8774 typedef int64_t intmax_t;
8776 typedef long intmax_t;
8779 typedef uint64_t uintmax_t;
8781 typedef unsigned long uintmax_t;
8786 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8788 #endif /* GCC_GENERATED_STDINT_H */
8791 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
8794 mv -f tmp-stdint.h gstdint.h
8802 cat >>$CONFIG_STATUS <<\_ACEOF
8804 { (exit 0); exit 0; }
8806 chmod +x
$CONFIG_STATUS
8807 ac_clean_files
=$ac_clean_files_save
8810 # configure is writing to config.log, and then calls config.status.
8811 # config.status does its own redirection, appending to config.log.
8812 # Unfortunately, on DOS this fails, as config.log is still kept open
8813 # by configure, so config.status won't be able to write to it; its
8814 # output is simply discarded. So we exec the FD to /dev/null,
8815 # effectively closing config.log, so it can be properly (re)opened and
8816 # appended to by config.status. When coming back to configure, we
8817 # need to make the FD available again.
8818 if test "$no_create" != yes; then
8820 ac_config_status_args
=
8821 test "$silent" = yes &&
8822 ac_config_status_args
="$ac_config_status_args --quiet"
8824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8827 # would make configure fail if this is the last instruction.
8828 $ac_cs_success ||
{ (exit 1); exit 1; }