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 -Wcast-qual; 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 uintmax_t)"
3622 for i
in stdint.h
$inttype_headers; do
3623 unset ac_cv_type_uintptr_t
3624 unset ac_cv_type_uint32_t
3625 unset ac_cv_type_uint64_t
3626 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
3627 echo "$as_me:$LINENO: checking for uint32_t" >&5
3628 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3629 if test "${ac_cv_type_uint32_t+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 cat >conftest.
$ac_ext <<_ACEOF
3635 cat confdefs.h
>>conftest.
$ac_ext
3636 cat >>conftest.
$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3638 #include <sys/types.h>
3646 if (sizeof (uint32_t))
3652 rm -f conftest.
$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try
='test -z "$ac_c_werror_flag"
3662 || test ! -s conftest.err'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try
='test -s conftest.$ac_objext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3674 ac_cv_type_uint32_t
=yes
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.
$ac_ext >&5
3679 ac_cv_type_uint32_t
=no
3681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3683 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
3684 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3685 if test $ac_cv_type_uint32_t = yes; then
3686 acx_cv_header_stdint
=$i
3691 echo "$as_me:$LINENO: checking for uint64_t" >&5
3692 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3693 if test "${ac_cv_type_uint64_t+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 cat >conftest.
$ac_ext <<_ACEOF
3699 cat confdefs.h
>>conftest.
$ac_ext
3700 cat >>conftest.
$ac_ext <<_ACEOF
3701 /* end confdefs.h. */
3702 #include <sys/types.h>
3710 if (sizeof (uint64_t))
3716 rm -f conftest.
$ac_objext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3718 (eval $ac_compile) 2>conftest.er1
3720 grep -v '^ *+' conftest.er1
>conftest.err
3722 cat conftest.err
>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 { ac_try
='test -z "$ac_c_werror_flag"
3726 || test ! -s conftest.err'
3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); }; } &&
3732 { ac_try
='test -s conftest.$ac_objext'
3733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); }; }; then
3738 ac_cv_type_uint64_t
=yes
3740 echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.
$ac_ext >&5
3743 ac_cv_type_uint64_t
=no
3745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3747 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3748 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3750 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3751 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3752 if test "${ac_cv_type_uintptr_t+set}" = set; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 cat >conftest.
$ac_ext <<_ACEOF
3758 cat confdefs.h
>>conftest.
$ac_ext
3759 cat >>conftest.
$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3761 #include <sys/types.h>
3767 if ((uintptr_t *) 0)
3769 if (sizeof (uintptr_t))
3775 rm -f conftest.
$ac_objext
3776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3777 (eval $ac_compile) 2>conftest.er1
3779 grep -v '^ *+' conftest.er1
>conftest.err
3781 cat conftest.err
>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } &&
3784 { ac_try
='test -z "$ac_c_werror_flag"
3785 || test ! -s conftest.err'
3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; } &&
3791 { ac_try
='test -s conftest.$ac_objext'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; }; then
3797 ac_cv_type_uintptr_t
=yes
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.
$ac_ext >&5
3802 ac_cv_type_uintptr_t
=no
3804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3806 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3807 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3812 if test "$acx_cv_header_stdint" = stddef.h
; then
3813 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3814 for i
in sys
/types.h
$inttype_headers; do
3815 unset ac_cv_type_u_int32_t
3816 unset ac_cv_type_u_int64_t
3817 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
3818 echo "$as_me:$LINENO: checking for u_int32_t" >&5
3819 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3820 if test "${ac_cv_type_u_int32_t+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3829 #include <sys/types.h>
3835 if ((u_int32_t *) 0)
3837 if (sizeof (u_int32_t))
3843 rm -f conftest.
$ac_objext
3844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3845 (eval $ac_compile) 2>conftest.er1
3847 grep -v '^ *+' conftest.er1
>conftest.err
3849 cat conftest.err
>&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } &&
3852 { ac_try
='test -z "$ac_c_werror_flag"
3853 || test ! -s conftest.err'
3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; } &&
3859 { ac_try
='test -s conftest.$ac_objext'
3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; }; then
3865 ac_cv_type_u_int32_t
=yes
3867 echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.
$ac_ext >&5
3870 ac_cv_type_u_int32_t
=no
3872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3874 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
3875 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3876 if test $ac_cv_type_u_int32_t = yes; then
3877 acx_cv_header_stdint
=$i
3882 echo "$as_me:$LINENO: checking for u_int64_t" >&5
3883 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3884 if test "${ac_cv_type_u_int64_t+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3887 cat >conftest.
$ac_ext <<_ACEOF
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3893 #include <sys/types.h>
3899 if ((u_int64_t *) 0)
3901 if (sizeof (u_int64_t))
3907 rm -f conftest.
$ac_objext
3908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3909 (eval $ac_compile) 2>conftest.er1
3911 grep -v '^ *+' conftest.er1
>conftest.err
3913 cat conftest.err
>&5
3914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915 (exit $ac_status); } &&
3916 { ac_try
='test -z "$ac_c_werror_flag"
3917 || test ! -s conftest.err'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; } &&
3923 { ac_try
='test -s conftest.$ac_objext'
3924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); }; }; then
3929 ac_cv_type_u_int64_t
=yes
3931 echo "$as_me: failed program was:" >&5
3932 sed 's/^/| /' conftest.
$ac_ext >&5
3934 ac_cv_type_u_int64_t
=no
3936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3938 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
3939 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
3944 if test "$acx_cv_header_stdint" = stddef.h
; then
3945 acx_cv_header_stdint_kind
="(using manual detection)"
3948 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
3949 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
3950 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
3951 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
3952 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
3954 # ----------------- Summarize what we found so far
3956 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
3957 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
3959 case `$as_basename gstdint.h ||
3960 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
3961 Xgstdint.h : 'X\(//\)$' \| \
3962 Xgstdint.h : 'X\(/\)$' \| \
3963 . : '\(.\)' 2>/dev/null ||
3965 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3966 /^X\/\(\/\/\)$/{ s//\1/; q; }
3967 /^X\/\(\/\).*/{ s//\1/; q; }
3969 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
3970 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3971 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
3972 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
3976 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
3977 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
3979 # ----------------- done included file, check C basic types --------
3981 # Lacking an uintptr_t? Test size of void *
3982 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
3983 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
3984 echo $ECHO_N "checking for void *... $ECHO_C" >&6
3985 if test "${ac_cv_type_void_p+set}" = set; then
3986 echo $ECHO_N "(cached) $ECHO_C" >&6
3988 cat >conftest.
$ac_ext <<_ACEOF
3991 cat confdefs.h
>>conftest.
$ac_ext
3992 cat >>conftest.
$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
3994 $ac_includes_default
4000 if (sizeof (void *))
4006 rm -f conftest.
$ac_objext
4007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4008 (eval $ac_compile) 2>conftest.er1
4010 grep -v '^ *+' conftest.er1
>conftest.err
4012 cat conftest.err
>&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } &&
4015 { ac_try
='test -z "$ac_c_werror_flag"
4016 || test ! -s conftest.err'
4017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); }; } &&
4022 { ac_try
='test -s conftest.$ac_objext'
4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4027 (exit $ac_status); }; }; then
4028 ac_cv_type_void_p
=yes
4030 echo "$as_me: failed program was:" >&5
4031 sed 's/^/| /' conftest.
$ac_ext >&5
4033 ac_cv_type_void_p
=no
4035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4037 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
4038 echo "${ECHO_T}$ac_cv_type_void_p" >&6
4040 echo "$as_me:$LINENO: checking size of void *" >&5
4041 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
4042 if test "${ac_cv_sizeof_void_p+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 if test "$ac_cv_type_void_p" = yes; then
4046 # The cast to unsigned long works around a bug in the HP C Compiler
4047 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4048 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4049 # This bug is HP SR number 8606223364.
4050 if test "$cross_compiling" = yes; then
4051 # Depending upon the size, compute the lo and hi bounds.
4052 cat >conftest.
$ac_ext <<_ACEOF
4055 cat confdefs.h
>>conftest.
$ac_ext
4056 cat >>conftest.
$ac_ext <<_ACEOF
4057 /* end confdefs.h. */
4058 $ac_includes_default
4062 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
4069 rm -f conftest.
$ac_objext
4070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4071 (eval $ac_compile) 2>conftest.er1
4073 grep -v '^ *+' conftest.er1
>conftest.err
4075 cat conftest.err
>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } &&
4078 { ac_try
='test -z "$ac_c_werror_flag"
4079 || test ! -s conftest.err'
4080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; } &&
4085 { ac_try
='test -s conftest.$ac_objext'
4086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); }; }; then
4093 cat >conftest.
$ac_ext <<_ACEOF
4096 cat confdefs.h
>>conftest.
$ac_ext
4097 cat >>conftest.
$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4099 $ac_includes_default
4103 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4110 rm -f conftest.
$ac_objext
4111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4112 (eval $ac_compile) 2>conftest.er1
4114 grep -v '^ *+' conftest.er1
>conftest.err
4116 cat conftest.err
>&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); } &&
4119 { ac_try
='test -z "$ac_c_werror_flag"
4120 || test ! -s conftest.err'
4121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); }; } &&
4126 { ac_try
='test -s conftest.$ac_objext'
4127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 (exit $ac_status); }; }; then
4132 ac_hi
=$ac_mid; break
4134 echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.
$ac_ext >&5
4137 ac_lo
=`expr $ac_mid + 1`
4138 if test $ac_lo -le $ac_mid; then
4142 ac_mid
=`expr 2 '*' $ac_mid + 1`
4144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4147 echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.
$ac_ext >&5
4150 cat >conftest.
$ac_ext <<_ACEOF
4153 cat confdefs.h
>>conftest.
$ac_ext
4154 cat >>conftest.
$ac_ext <<_ACEOF
4155 /* end confdefs.h. */
4156 $ac_includes_default
4160 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
4167 rm -f conftest.
$ac_objext
4168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4169 (eval $ac_compile) 2>conftest.er1
4171 grep -v '^ *+' conftest.er1
>conftest.err
4173 cat conftest.err
>&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); } &&
4176 { ac_try
='test -z "$ac_c_werror_flag"
4177 || test ! -s conftest.err'
4178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182 (exit $ac_status); }; } &&
4183 { ac_try
='test -s conftest.$ac_objext'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; }; then
4191 cat >conftest.
$ac_ext <<_ACEOF
4194 cat confdefs.h
>>conftest.
$ac_ext
4195 cat >>conftest.
$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4197 $ac_includes_default
4201 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
4208 rm -f conftest.
$ac_objext
4209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4210 (eval $ac_compile) 2>conftest.er1
4212 grep -v '^ *+' conftest.er1
>conftest.err
4214 cat conftest.err
>&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); } &&
4217 { ac_try
='test -z "$ac_c_werror_flag"
4218 || test ! -s conftest.err'
4219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); }; } &&
4224 { ac_try
='test -s conftest.$ac_objext'
4225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); }; }; then
4230 ac_lo
=$ac_mid; break
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.
$ac_ext >&5
4235 ac_hi
=`expr '(' $ac_mid ')' - 1`
4236 if test $ac_mid -le $ac_hi; then
4240 ac_mid
=`expr 2 '*' $ac_mid`
4242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4250 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4253 # Binary search between lo and hi bounds.
4254 while test "x$ac_lo" != "x$ac_hi"; do
4255 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4256 cat >conftest.
$ac_ext <<_ACEOF
4259 cat confdefs.h
>>conftest.
$ac_ext
4260 cat >>conftest.
$ac_ext <<_ACEOF
4261 /* end confdefs.h. */
4262 $ac_includes_default
4266 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4273 rm -f conftest.
$ac_objext
4274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4275 (eval $ac_compile) 2>conftest.er1
4277 grep -v '^ *+' conftest.er1
>conftest.err
4279 cat conftest.err
>&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } &&
4282 { ac_try
='test -z "$ac_c_werror_flag"
4283 || test ! -s conftest.err'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; } &&
4289 { ac_try
='test -s conftest.$ac_objext'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; }; then
4297 echo "$as_me: failed program was:" >&5
4298 sed 's/^/| /' conftest.
$ac_ext >&5
4300 ac_lo
=`expr '(' $ac_mid ')' + 1`
4302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4305 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
4306 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4307 See \`config.log' for more details." >&5
4308 echo "$as_me: error: cannot compute sizeof (void *), 77
4309 See \`config.log' for more details." >&2;}
4310 { (exit 1); exit 1; }; } ;;
4313 if test "$cross_compiling" = yes; then
4314 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4315 See \`config.log' for more details." >&5
4316 echo "$as_me: error: cannot run test program while cross compiling
4317 See \`config.log' for more details." >&2;}
4318 { (exit 1); exit 1; }; }
4320 cat >conftest.
$ac_ext <<_ACEOF
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4326 $ac_includes_default
4327 long longval () { return (long) (sizeof (void *)); }
4328 unsigned long ulongval () { return (long) (sizeof (void *)); }
4335 FILE *f = fopen ("conftest.val", "w");
4338 if (((long) (sizeof (void *))) < 0)
4340 long i = longval ();
4341 if (i != ((long) (sizeof (void *))))
4343 fprintf (f, "%ld\n", i);
4347 unsigned long i = ulongval ();
4348 if (i != ((long) (sizeof (void *))))
4350 fprintf (f, "%lu\n", i);
4352 exit (ferror (f) || fclose (f) != 0);
4358 rm -f conftest
$ac_exeext
4359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4360 (eval $ac_link) 2>&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); }; }; then
4369 ac_cv_sizeof_void_p
=`cat conftest.val`
4371 echo "$as_me: program exited with status $ac_status" >&5
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.
$ac_ext >&5
4376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4377 See \`config.log' for more details." >&5
4378 echo "$as_me: error: cannot compute sizeof (void *), 77
4379 See \`config.log' for more details." >&2;}
4380 { (exit 1); exit 1; }; }
4382 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4387 ac_cv_sizeof_void_p
=0
4390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4391 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
4392 cat >>confdefs.h
<<_ACEOF
4393 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4399 # Lacking an uint64_t? Test size of long
4400 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4401 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
4402 echo $ECHO_N "checking for long... $ECHO_C" >&6
4403 if test "${ac_cv_type_long+set}" = set; then
4404 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 cat >conftest.
$ac_ext <<_ACEOF
4409 cat confdefs.h
>>conftest.
$ac_ext
4410 cat >>conftest.
$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4412 $ac_includes_default
4424 rm -f conftest.
$ac_objext
4425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4426 (eval $ac_compile) 2>conftest.er1
4428 grep -v '^ *+' conftest.er1
>conftest.err
4430 cat conftest.err
>&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } &&
4433 { ac_try
='test -z "$ac_c_werror_flag"
4434 || test ! -s conftest.err'
4435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; } &&
4440 { ac_try
='test -s conftest.$ac_objext'
4441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); }; }; then
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.
$ac_ext >&5
4453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4455 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4456 echo "${ECHO_T}$ac_cv_type_long" >&6
4458 echo "$as_me:$LINENO: checking size of long" >&5
4459 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4460 if test "${ac_cv_sizeof_long+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 if test "$ac_cv_type_long" = yes; then
4464 # The cast to unsigned long works around a bug in the HP C Compiler
4465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4467 # This bug is HP SR number 8606223364.
4468 if test "$cross_compiling" = yes; then
4469 # Depending upon the size, compute the lo and hi bounds.
4470 cat >conftest.
$ac_ext <<_ACEOF
4473 cat confdefs.h
>>conftest.
$ac_ext
4474 cat >>conftest.
$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 $ac_includes_default
4480 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4487 rm -f conftest.
$ac_objext
4488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4489 (eval $ac_compile) 2>conftest.er1
4491 grep -v '^ *+' conftest.er1
>conftest.err
4493 cat conftest.err
>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } &&
4496 { ac_try
='test -z "$ac_c_werror_flag"
4497 || test ! -s conftest.err'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; } &&
4503 { ac_try
='test -s conftest.$ac_objext'
4504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); }; }; then
4511 cat >conftest.
$ac_ext <<_ACEOF
4514 cat confdefs.h
>>conftest.
$ac_ext
4515 cat >>conftest.
$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4517 $ac_includes_default
4521 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4528 rm -f conftest.
$ac_objext
4529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530 (eval $ac_compile) 2>conftest.er1
4532 grep -v '^ *+' conftest.er1
>conftest.err
4534 cat conftest.err
>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try
='test -z "$ac_c_werror_flag"
4538 || test ! -s conftest.err'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try
='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 ac_hi
=$ac_mid; break
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.
$ac_ext >&5
4555 ac_lo
=`expr $ac_mid + 1`
4556 if test $ac_lo -le $ac_mid; then
4560 ac_mid
=`expr 2 '*' $ac_mid + 1`
4562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4565 echo "$as_me: failed program was:" >&5
4566 sed 's/^/| /' conftest.
$ac_ext >&5
4568 cat >conftest.
$ac_ext <<_ACEOF
4571 cat confdefs.h
>>conftest.
$ac_ext
4572 cat >>conftest.
$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4574 $ac_includes_default
4578 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4585 rm -f conftest.
$ac_objext
4586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587 (eval $ac_compile) 2>conftest.er1
4589 grep -v '^ *+' conftest.er1
>conftest.err
4591 cat conftest.err
>&5
4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593 (exit $ac_status); } &&
4594 { ac_try
='test -z "$ac_c_werror_flag"
4595 || test ! -s conftest.err'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; } &&
4601 { ac_try
='test -s conftest.$ac_objext'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; }; then
4609 cat >conftest.
$ac_ext <<_ACEOF
4612 cat confdefs.h
>>conftest.
$ac_ext
4613 cat >>conftest.
$ac_ext <<_ACEOF
4614 /* end confdefs.h. */
4615 $ac_includes_default
4619 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4626 rm -f conftest.
$ac_objext
4627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4628 (eval $ac_compile) 2>conftest.er1
4630 grep -v '^ *+' conftest.er1
>conftest.err
4632 cat conftest.err
>&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); } &&
4635 { ac_try
='test -z "$ac_c_werror_flag"
4636 || test ! -s conftest.err'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; } &&
4642 { ac_try
='test -s conftest.$ac_objext'
4643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4647 (exit $ac_status); }; }; then
4648 ac_lo
=$ac_mid; break
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4653 ac_hi
=`expr '(' $ac_mid ')' - 1`
4654 if test $ac_mid -le $ac_hi; then
4658 ac_mid
=`expr 2 '*' $ac_mid`
4660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4668 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4671 # Binary search between lo and hi bounds.
4672 while test "x$ac_lo" != "x$ac_hi"; do
4673 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4674 cat >conftest.
$ac_ext <<_ACEOF
4677 cat confdefs.h
>>conftest.
$ac_ext
4678 cat >>conftest.
$ac_ext <<_ACEOF
4679 /* end confdefs.h. */
4680 $ac_includes_default
4684 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4691 rm -f conftest.
$ac_objext
4692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4693 (eval $ac_compile) 2>conftest.er1
4695 grep -v '^ *+' conftest.er1
>conftest.err
4697 cat conftest.err
>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } &&
4700 { ac_try
='test -z "$ac_c_werror_flag"
4701 || test ! -s conftest.err'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; } &&
4707 { ac_try
='test -s conftest.$ac_objext'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; }; then
4715 echo "$as_me: failed program was:" >&5
4716 sed 's/^/| /' conftest.
$ac_ext >&5
4718 ac_lo
=`expr '(' $ac_mid ')' + 1`
4720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4723 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4724 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4725 See \`config.log' for more details." >&5
4726 echo "$as_me: error: cannot compute sizeof (long), 77
4727 See \`config.log' for more details." >&2;}
4728 { (exit 1); exit 1; }; } ;;
4731 if test "$cross_compiling" = yes; then
4732 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4733 See \`config.log' for more details." >&5
4734 echo "$as_me: error: cannot run test program while cross compiling
4735 See \`config.log' for more details." >&2;}
4736 { (exit 1); exit 1; }; }
4738 cat >conftest.
$ac_ext <<_ACEOF
4741 cat confdefs.h
>>conftest.
$ac_ext
4742 cat >>conftest.
$ac_ext <<_ACEOF
4743 /* end confdefs.h. */
4744 $ac_includes_default
4745 long longval () { return (long) (sizeof (long)); }
4746 unsigned long ulongval () { return (long) (sizeof (long)); }
4753 FILE *f = fopen ("conftest.val", "w");
4756 if (((long) (sizeof (long))) < 0)
4758 long i = longval ();
4759 if (i != ((long) (sizeof (long))))
4761 fprintf (f, "%ld\n", i);
4765 unsigned long i = ulongval ();
4766 if (i != ((long) (sizeof (long))))
4768 fprintf (f, "%lu\n", i);
4770 exit (ferror (f) || fclose (f) != 0);
4776 rm -f conftest
$ac_exeext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4778 (eval $ac_link) 2>&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 ac_cv_sizeof_long
=`cat conftest.val`
4789 echo "$as_me: program exited with status $ac_status" >&5
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.
$ac_ext >&5
4794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4795 See \`config.log' for more details." >&5
4796 echo "$as_me: error: cannot compute sizeof (long), 77
4797 See \`config.log' for more details." >&2;}
4798 { (exit 1); exit 1; }; }
4800 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4808 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4809 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4810 cat >>confdefs.h
<<_ACEOF
4811 #define SIZEOF_LONG $ac_cv_sizeof_long
4817 if test $acx_cv_header_stdint = stddef.h
; then
4818 # Lacking a good header? Test size of everything and deduce all types.
4819 echo "$as_me:$LINENO: checking for int" >&5
4820 echo $ECHO_N "checking for int... $ECHO_C" >&6
4821 if test "${ac_cv_type_int+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 cat >conftest.
$ac_ext <<_ACEOF
4827 cat confdefs.h
>>conftest.
$ac_ext
4828 cat >>conftest.
$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4830 $ac_includes_default
4842 rm -f conftest.
$ac_objext
4843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4844 (eval $ac_compile) 2>conftest.er1
4846 grep -v '^ *+' conftest.er1
>conftest.err
4848 cat conftest.err
>&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } &&
4851 { ac_try
='test -z "$ac_c_werror_flag"
4852 || test ! -s conftest.err'
4853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); }; } &&
4858 { ac_try
='test -s conftest.$ac_objext'
4859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); }; }; then
4866 echo "$as_me: failed program was:" >&5
4867 sed 's/^/| /' conftest.
$ac_ext >&5
4871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4873 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4874 echo "${ECHO_T}$ac_cv_type_int" >&6
4876 echo "$as_me:$LINENO: checking size of int" >&5
4877 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4878 if test "${ac_cv_sizeof_int+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 if test "$ac_cv_type_int" = yes; then
4882 # The cast to unsigned long works around a bug in the HP C Compiler
4883 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4884 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4885 # This bug is HP SR number 8606223364.
4886 if test "$cross_compiling" = yes; then
4887 # Depending upon the size, compute the lo and hi bounds.
4888 cat >conftest.
$ac_ext <<_ACEOF
4891 cat confdefs.h
>>conftest.
$ac_ext
4892 cat >>conftest.
$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 $ac_includes_default
4898 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4905 rm -f conftest.
$ac_objext
4906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4907 (eval $ac_compile) 2>conftest.er1
4909 grep -v '^ *+' conftest.er1
>conftest.err
4911 cat conftest.err
>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } &&
4914 { ac_try
='test -z "$ac_c_werror_flag"
4915 || test ! -s conftest.err'
4916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; } &&
4921 { ac_try
='test -s conftest.$ac_objext'
4922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); }; }; then
4929 cat >conftest.
$ac_ext <<_ACEOF
4932 cat confdefs.h
>>conftest.
$ac_ext
4933 cat >>conftest.
$ac_ext <<_ACEOF
4934 /* end confdefs.h. */
4935 $ac_includes_default
4939 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4946 rm -f conftest.
$ac_objext
4947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4948 (eval $ac_compile) 2>conftest.er1
4950 grep -v '^ *+' conftest.er1
>conftest.err
4952 cat conftest.err
>&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } &&
4955 { ac_try
='test -z "$ac_c_werror_flag"
4956 || test ! -s conftest.err'
4957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); }; } &&
4962 { ac_try
='test -s conftest.$ac_objext'
4963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); }; }; then
4968 ac_hi
=$ac_mid; break
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.
$ac_ext >&5
4973 ac_lo
=`expr $ac_mid + 1`
4974 if test $ac_lo -le $ac_mid; then
4978 ac_mid
=`expr 2 '*' $ac_mid + 1`
4980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4983 echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.
$ac_ext >&5
4986 cat >conftest.
$ac_ext <<_ACEOF
4989 cat confdefs.h
>>conftest.
$ac_ext
4990 cat >>conftest.
$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 $ac_includes_default
4996 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5003 rm -f conftest.
$ac_objext
5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5005 (eval $ac_compile) 2>conftest.er1
5007 grep -v '^ *+' conftest.er1
>conftest.err
5009 cat conftest.err
>&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } &&
5012 { ac_try
='test -z "$ac_c_werror_flag"
5013 || test ! -s conftest.err'
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5018 (exit $ac_status); }; } &&
5019 { ac_try
='test -s conftest.$ac_objext'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; }; then
5027 cat >conftest.
$ac_ext <<_ACEOF
5030 cat confdefs.h
>>conftest.
$ac_ext
5031 cat >>conftest.
$ac_ext <<_ACEOF
5032 /* end confdefs.h. */
5033 $ac_includes_default
5037 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5044 rm -f conftest.
$ac_objext
5045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5046 (eval $ac_compile) 2>conftest.er1
5048 grep -v '^ *+' conftest.er1
>conftest.err
5050 cat conftest.err
>&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } &&
5053 { ac_try
='test -z "$ac_c_werror_flag"
5054 || test ! -s conftest.err'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; } &&
5060 { ac_try
='test -s conftest.$ac_objext'
5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); }; }; then
5066 ac_lo
=$ac_mid; break
5068 echo "$as_me: failed program was:" >&5
5069 sed 's/^/| /' conftest.
$ac_ext >&5
5071 ac_hi
=`expr '(' $ac_mid ')' - 1`
5072 if test $ac_mid -le $ac_hi; then
5076 ac_mid
=`expr 2 '*' $ac_mid`
5078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5081 echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.
$ac_ext >&5
5086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5088 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5089 # Binary search between lo and hi bounds.
5090 while test "x$ac_lo" != "x$ac_hi"; do
5091 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5098 $ac_includes_default
5102 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5109 rm -f conftest.
$ac_objext
5110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5111 (eval $ac_compile) 2>conftest.er1
5113 grep -v '^ *+' conftest.er1
>conftest.err
5115 cat conftest.err
>&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } &&
5118 { ac_try
='test -z "$ac_c_werror_flag"
5119 || test ! -s conftest.err'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; } &&
5125 { ac_try
='test -s conftest.$ac_objext'
5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); }; }; then
5133 echo "$as_me: failed program was:" >&5
5134 sed 's/^/| /' conftest.
$ac_ext >&5
5136 ac_lo
=`expr '(' $ac_mid ')' + 1`
5138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5141 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5142 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5143 See \`config.log' for more details." >&5
5144 echo "$as_me: error: cannot compute sizeof (int), 77
5145 See \`config.log' for more details." >&2;}
5146 { (exit 1); exit 1; }; } ;;
5149 if test "$cross_compiling" = yes; then
5150 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5151 See \`config.log' for more details." >&5
5152 echo "$as_me: error: cannot run test program while cross compiling
5153 See \`config.log' for more details." >&2;}
5154 { (exit 1); exit 1; }; }
5156 cat >conftest.
$ac_ext <<_ACEOF
5159 cat confdefs.h
>>conftest.
$ac_ext
5160 cat >>conftest.
$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 $ac_includes_default
5163 long longval () { return (long) (sizeof (int)); }
5164 unsigned long ulongval () { return (long) (sizeof (int)); }
5171 FILE *f = fopen ("conftest.val", "w");
5174 if (((long) (sizeof (int))) < 0)
5176 long i = longval ();
5177 if (i != ((long) (sizeof (int))))
5179 fprintf (f, "%ld\n", i);
5183 unsigned long i = ulongval ();
5184 if (i != ((long) (sizeof (int))))
5186 fprintf (f, "%lu\n", i);
5188 exit (ferror (f) || fclose (f) != 0);
5194 rm -f conftest
$ac_exeext
5195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5196 (eval $ac_link) 2>&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); }; }; then
5205 ac_cv_sizeof_int
=`cat conftest.val`
5207 echo "$as_me: program exited with status $ac_status" >&5
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.
$ac_ext >&5
5212 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5213 See \`config.log' for more details." >&5
5214 echo "$as_me: error: cannot compute sizeof (int), 77
5215 See \`config.log' for more details." >&2;}
5216 { (exit 1); exit 1; }; }
5218 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5226 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5227 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5228 cat >>confdefs.h
<<_ACEOF
5229 #define SIZEOF_INT $ac_cv_sizeof_int
5233 echo "$as_me:$LINENO: checking for short" >&5
5234 echo $ECHO_N "checking for short... $ECHO_C" >&6
5235 if test "${ac_cv_type_short+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 cat >conftest.
$ac_ext <<_ACEOF
5241 cat confdefs.h
>>conftest.
$ac_ext
5242 cat >>conftest.
$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5244 $ac_includes_default
5256 rm -f conftest.
$ac_objext
5257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5258 (eval $ac_compile) 2>conftest.er1
5260 grep -v '^ *+' conftest.er1
>conftest.err
5262 cat conftest.err
>&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); } &&
5265 { ac_try
='test -z "$ac_c_werror_flag"
5266 || test ! -s conftest.err'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; } &&
5272 { ac_try
='test -s conftest.$ac_objext'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; }; then
5278 ac_cv_type_short
=yes
5280 echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.
$ac_ext >&5
5285 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5287 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5288 echo "${ECHO_T}$ac_cv_type_short" >&6
5290 echo "$as_me:$LINENO: checking size of short" >&5
5291 echo $ECHO_N "checking size of short... $ECHO_C" >&6
5292 if test "${ac_cv_sizeof_short+set}" = set; then
5293 echo $ECHO_N "(cached) $ECHO_C" >&6
5295 if test "$ac_cv_type_short" = yes; then
5296 # The cast to unsigned long works around a bug in the HP C Compiler
5297 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5298 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5299 # This bug is HP SR number 8606223364.
5300 if test "$cross_compiling" = yes; then
5301 # Depending upon the size, compute the lo and hi bounds.
5302 cat >conftest.
$ac_ext <<_ACEOF
5305 cat confdefs.h
>>conftest.
$ac_ext
5306 cat >>conftest.
$ac_ext <<_ACEOF
5307 /* end confdefs.h. */
5308 $ac_includes_default
5312 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5319 rm -f conftest.
$ac_objext
5320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5321 (eval $ac_compile) 2>conftest.er1
5323 grep -v '^ *+' conftest.er1
>conftest.err
5325 cat conftest.err
>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); } &&
5328 { ac_try
='test -z "$ac_c_werror_flag"
5329 || test ! -s conftest.err'
5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); }; } &&
5335 { ac_try
='test -s conftest.$ac_objext'
5336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); }; }; then
5343 cat >conftest.
$ac_ext <<_ACEOF
5346 cat confdefs.h
>>conftest.
$ac_ext
5347 cat >>conftest.
$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5349 $ac_includes_default
5353 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5360 rm -f conftest.
$ac_objext
5361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5362 (eval $ac_compile) 2>conftest.er1
5364 grep -v '^ *+' conftest.er1
>conftest.err
5366 cat conftest.err
>&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } &&
5369 { ac_try
='test -z "$ac_c_werror_flag"
5370 || test ! -s conftest.err'
5371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); }; } &&
5376 { ac_try
='test -s conftest.$ac_objext'
5377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; }; then
5382 ac_hi
=$ac_mid; break
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.
$ac_ext >&5
5387 ac_lo
=`expr $ac_mid + 1`
5388 if test $ac_lo -le $ac_mid; then
5392 ac_mid
=`expr 2 '*' $ac_mid + 1`
5394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5397 echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.
$ac_ext >&5
5400 cat >conftest.
$ac_ext <<_ACEOF
5403 cat confdefs.h
>>conftest.
$ac_ext
5404 cat >>conftest.
$ac_ext <<_ACEOF
5405 /* end confdefs.h. */
5406 $ac_includes_default
5410 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5417 rm -f conftest.
$ac_objext
5418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5419 (eval $ac_compile) 2>conftest.er1
5421 grep -v '^ *+' conftest.er1
>conftest.err
5423 cat conftest.err
>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } &&
5426 { ac_try
='test -z "$ac_c_werror_flag"
5427 || test ! -s conftest.err'
5428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5432 (exit $ac_status); }; } &&
5433 { ac_try
='test -s conftest.$ac_objext'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; }; then
5441 cat >conftest.
$ac_ext <<_ACEOF
5444 cat confdefs.h
>>conftest.
$ac_ext
5445 cat >>conftest.
$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 $ac_includes_default
5451 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5458 rm -f conftest.
$ac_objext
5459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5460 (eval $ac_compile) 2>conftest.er1
5462 grep -v '^ *+' conftest.er1
>conftest.err
5464 cat conftest.err
>&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); } &&
5467 { ac_try
='test -z "$ac_c_werror_flag"
5468 || test ! -s conftest.err'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; } &&
5474 { ac_try
='test -s conftest.$ac_objext'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; }; then
5480 ac_lo
=$ac_mid; break
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.
$ac_ext >&5
5485 ac_hi
=`expr '(' $ac_mid ')' - 1`
5486 if test $ac_mid -le $ac_hi; then
5490 ac_mid
=`expr 2 '*' $ac_mid`
5492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5495 echo "$as_me: failed program was:" >&5
5496 sed 's/^/| /' conftest.
$ac_ext >&5
5500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5502 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5503 # Binary search between lo and hi bounds.
5504 while test "x$ac_lo" != "x$ac_hi"; do
5505 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5506 cat >conftest.
$ac_ext <<_ACEOF
5509 cat confdefs.h
>>conftest.
$ac_ext
5510 cat >>conftest.
$ac_ext <<_ACEOF
5511 /* end confdefs.h. */
5512 $ac_includes_default
5516 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5523 rm -f conftest.
$ac_objext
5524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5525 (eval $ac_compile) 2>conftest.er1
5527 grep -v '^ *+' conftest.er1
>conftest.err
5529 cat conftest.err
>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); } &&
5532 { ac_try
='test -z "$ac_c_werror_flag"
5533 || test ! -s conftest.err'
5534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }; } &&
5539 { ac_try
='test -s conftest.$ac_objext'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; }; then
5547 echo "$as_me: failed program was:" >&5
5548 sed 's/^/| /' conftest.
$ac_ext >&5
5550 ac_lo
=`expr '(' $ac_mid ')' + 1`
5552 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5555 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5556 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5557 See \`config.log' for more details." >&5
5558 echo "$as_me: error: cannot compute sizeof (short), 77
5559 See \`config.log' for more details." >&2;}
5560 { (exit 1); exit 1; }; } ;;
5563 if test "$cross_compiling" = yes; then
5564 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5565 See \`config.log' for more details." >&5
5566 echo "$as_me: error: cannot run test program while cross compiling
5567 See \`config.log' for more details." >&2;}
5568 { (exit 1); exit 1; }; }
5570 cat >conftest.
$ac_ext <<_ACEOF
5573 cat confdefs.h
>>conftest.
$ac_ext
5574 cat >>conftest.
$ac_ext <<_ACEOF
5575 /* end confdefs.h. */
5576 $ac_includes_default
5577 long longval () { return (long) (sizeof (short)); }
5578 unsigned long ulongval () { return (long) (sizeof (short)); }
5585 FILE *f = fopen ("conftest.val", "w");
5588 if (((long) (sizeof (short))) < 0)
5590 long i = longval ();
5591 if (i != ((long) (sizeof (short))))
5593 fprintf (f, "%ld\n", i);
5597 unsigned long i = ulongval ();
5598 if (i != ((long) (sizeof (short))))
5600 fprintf (f, "%lu\n", i);
5602 exit (ferror (f) || fclose (f) != 0);
5608 rm -f conftest
$ac_exeext
5609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610 (eval $ac_link) 2>&5
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; }; then
5619 ac_cv_sizeof_short
=`cat conftest.val`
5621 echo "$as_me: program exited with status $ac_status" >&5
5622 echo "$as_me: failed program was:" >&5
5623 sed 's/^/| /' conftest.
$ac_ext >&5
5626 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5627 See \`config.log' for more details." >&5
5628 echo "$as_me: error: cannot compute sizeof (short), 77
5629 See \`config.log' for more details." >&2;}
5630 { (exit 1); exit 1; }; }
5632 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5637 ac_cv_sizeof_short
=0
5640 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5641 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5642 cat >>confdefs.h
<<_ACEOF
5643 #define SIZEOF_SHORT $ac_cv_sizeof_short
5647 echo "$as_me:$LINENO: checking for char" >&5
5648 echo $ECHO_N "checking for char... $ECHO_C" >&6
5649 if test "${ac_cv_type_char+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 cat >conftest.
$ac_ext <<_ACEOF
5655 cat confdefs.h
>>conftest.
$ac_ext
5656 cat >>conftest.
$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5658 $ac_includes_default
5670 rm -f conftest.
$ac_objext
5671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5672 (eval $ac_compile) 2>conftest.er1
5674 grep -v '^ *+' conftest.er1
>conftest.err
5676 cat conftest.err
>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); } &&
5679 { ac_try
='test -z "$ac_c_werror_flag"
5680 || test ! -s conftest.err'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; } &&
5686 { ac_try
='test -s conftest.$ac_objext'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.
$ac_ext >&5
5699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5702 echo "${ECHO_T}$ac_cv_type_char" >&6
5704 echo "$as_me:$LINENO: checking size of char" >&5
5705 echo $ECHO_N "checking size of char... $ECHO_C" >&6
5706 if test "${ac_cv_sizeof_char+set}" = set; then
5707 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 if test "$ac_cv_type_char" = yes; then
5710 # The cast to unsigned long works around a bug in the HP C Compiler
5711 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5712 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5713 # This bug is HP SR number 8606223364.
5714 if test "$cross_compiling" = yes; then
5715 # Depending upon the size, compute the lo and hi bounds.
5716 cat >conftest.
$ac_ext <<_ACEOF
5719 cat confdefs.h
>>conftest.
$ac_ext
5720 cat >>conftest.
$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 $ac_includes_default
5726 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
5733 rm -f conftest.
$ac_objext
5734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735 (eval $ac_compile) 2>conftest.er1
5737 grep -v '^ *+' conftest.er1
>conftest.err
5739 cat conftest.err
>&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } &&
5742 { ac_try
='test -z "$ac_c_werror_flag"
5743 || test ! -s conftest.err'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; } &&
5749 { ac_try
='test -s conftest.$ac_objext'
5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }; }; then
5757 cat >conftest.
$ac_ext <<_ACEOF
5760 cat confdefs.h
>>conftest.
$ac_ext
5761 cat >>conftest.
$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5763 $ac_includes_default
5767 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5774 rm -f conftest.
$ac_objext
5775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5776 (eval $ac_compile) 2>conftest.er1
5778 grep -v '^ *+' conftest.er1
>conftest.err
5780 cat conftest.err
>&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); } &&
5783 { ac_try
='test -z "$ac_c_werror_flag"
5784 || test ! -s conftest.err'
5785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); }; } &&
5790 { ac_try
='test -s conftest.$ac_objext'
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
5796 ac_hi
=$ac_mid; break
5798 echo "$as_me: failed program was:" >&5
5799 sed 's/^/| /' conftest.
$ac_ext >&5
5801 ac_lo
=`expr $ac_mid + 1`
5802 if test $ac_lo -le $ac_mid; then
5806 ac_mid
=`expr 2 '*' $ac_mid + 1`
5808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.
$ac_ext >&5
5814 cat >conftest.
$ac_ext <<_ACEOF
5817 cat confdefs.h
>>conftest.
$ac_ext
5818 cat >>conftest.
$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 $ac_includes_default
5824 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
5831 rm -f conftest.
$ac_objext
5832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5833 (eval $ac_compile) 2>conftest.er1
5835 grep -v '^ *+' conftest.er1
>conftest.err
5837 cat conftest.err
>&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } &&
5840 { ac_try
='test -z "$ac_c_werror_flag"
5841 || test ! -s conftest.err'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; } &&
5847 { ac_try
='test -s conftest.$ac_objext'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; }; then
5855 cat >conftest.
$ac_ext <<_ACEOF
5858 cat confdefs.h
>>conftest.
$ac_ext
5859 cat >>conftest.
$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5861 $ac_includes_default
5865 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5872 rm -f conftest.
$ac_objext
5873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5874 (eval $ac_compile) 2>conftest.er1
5876 grep -v '^ *+' conftest.er1
>conftest.err
5878 cat conftest.err
>&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } &&
5881 { ac_try
='test -z "$ac_c_werror_flag"
5882 || test ! -s conftest.err'
5883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); }; } &&
5888 { ac_try
='test -s conftest.$ac_objext'
5889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5893 (exit $ac_status); }; }; then
5894 ac_lo
=$ac_mid; break
5896 echo "$as_me: failed program was:" >&5
5897 sed 's/^/| /' conftest.
$ac_ext >&5
5899 ac_hi
=`expr '(' $ac_mid ')' - 1`
5900 if test $ac_mid -le $ac_hi; then
5904 ac_mid
=`expr 2 '*' $ac_mid`
5906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5909 echo "$as_me: failed program was:" >&5
5910 sed 's/^/| /' conftest.
$ac_ext >&5
5914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5917 # Binary search between lo and hi bounds.
5918 while test "x$ac_lo" != "x$ac_hi"; do
5919 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5920 cat >conftest.
$ac_ext <<_ACEOF
5923 cat confdefs.h
>>conftest.
$ac_ext
5924 cat >>conftest.
$ac_ext <<_ACEOF
5925 /* end confdefs.h. */
5926 $ac_includes_default
5930 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5937 rm -f conftest.
$ac_objext
5938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5939 (eval $ac_compile) 2>conftest.er1
5941 grep -v '^ *+' conftest.er1
>conftest.err
5943 cat conftest.err
>&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); } &&
5946 { ac_try
='test -z "$ac_c_werror_flag"
5947 || test ! -s conftest.err'
5948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); }; } &&
5953 { ac_try
='test -s conftest.$ac_objext'
5954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }; }; then
5961 echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.
$ac_ext >&5
5964 ac_lo
=`expr '(' $ac_mid ')' + 1`
5966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5969 ?
*) ac_cv_sizeof_char
=$ac_lo;;
5970 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
5971 See \`config.log' for more details." >&5
5972 echo "$as_me: error: cannot compute sizeof (char), 77
5973 See \`config.log' for more details." >&2;}
5974 { (exit 1); exit 1; }; } ;;
5977 if test "$cross_compiling" = yes; then
5978 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5979 See \`config.log' for more details." >&5
5980 echo "$as_me: error: cannot run test program while cross compiling
5981 See \`config.log' for more details." >&2;}
5982 { (exit 1); exit 1; }; }
5984 cat >conftest.
$ac_ext <<_ACEOF
5987 cat confdefs.h
>>conftest.
$ac_ext
5988 cat >>conftest.
$ac_ext <<_ACEOF
5989 /* end confdefs.h. */
5990 $ac_includes_default
5991 long longval () { return (long) (sizeof (char)); }
5992 unsigned long ulongval () { return (long) (sizeof (char)); }
5999 FILE *f = fopen ("conftest.val", "w");
6002 if (((long) (sizeof (char))) < 0)
6004 long i = longval ();
6005 if (i != ((long) (sizeof (char))))
6007 fprintf (f, "%ld\n", i);
6011 unsigned long i = ulongval ();
6012 if (i != ((long) (sizeof (char))))
6014 fprintf (f, "%lu\n", i);
6016 exit (ferror (f) || fclose (f) != 0);
6022 rm -f conftest
$ac_exeext
6023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6024 (eval $ac_link) 2>&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_cv_sizeof_char
=`cat conftest.val`
6035 echo "$as_me: program exited with status $ac_status" >&5
6036 echo "$as_me: failed program was:" >&5
6037 sed 's/^/| /' conftest.
$ac_ext >&5
6040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
6041 See \`config.log' for more details." >&5
6042 echo "$as_me: error: cannot compute sizeof (char), 77
6043 See \`config.log' for more details." >&2;}
6044 { (exit 1); exit 1; }; }
6046 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6054 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6055 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
6056 cat >>confdefs.h
<<_ACEOF
6057 #define SIZEOF_CHAR $ac_cv_sizeof_char
6062 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
6063 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
6064 case "$ac_cv_sizeof_char" in
6065 1) acx_cv_type_int8_t
=char
;;
6066 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
6067 echo "$as_me: error: no 8-bit type" >&2;}
6068 { (exit please report a bug
); exit please report a bug
; }; }
6070 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
6071 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
6073 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
6074 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
6075 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
6076 2:*) acx_cv_type_int16_t
=int
;;
6077 *:2) acx_cv_type_int16_t
=short
;;
6078 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
6079 echo "$as_me: error: no 16-bit type" >&2;}
6080 { (exit please report a bug
); exit please report a bug
; }; }
6082 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
6083 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
6085 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
6086 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
6087 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
6088 4:*) acx_cv_type_int32_t
=int
;;
6089 *:4) acx_cv_type_int32_t
=long
;;
6090 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
6091 echo "$as_me: error: no 32-bit type" >&2;}
6092 { (exit please report a bug
); exit please report a bug
; }; }
6094 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
6095 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
6098 # These tests are here to make the output prettier
6100 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
6101 case "$ac_cv_sizeof_long" in
6102 8) acx_cv_type_int64_t
=long
;;
6104 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
6105 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
6106 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
6107 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
6110 # Now we can use the above types
6112 if test "$ac_cv_type_uintptr_t" != yes; then
6113 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
6114 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
6115 case $ac_cv_sizeof_void_p in
6116 2) acx_cv_type_intptr_t
=int16_t
;;
6117 4) acx_cv_type_intptr_t
=int32_t
;;
6118 8) acx_cv_type_intptr_t
=int64_t
;;
6119 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
6120 echo "$as_me: error: no equivalent for intptr_t" >&2;}
6121 { (exit please report a bug
); exit please report a bug
; }; }
6123 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
6124 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
6127 # ----------------- done all checks, emit header -------------
6128 ac_config_commands
="$ac_config_commands gstdint.h"
6133 # Checks for typedefs, structures, and compiler characteristics.
6134 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6135 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6136 if test "${ac_cv_c_const+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6139 cat >conftest.
$ac_ext <<_ACEOF
6142 cat confdefs.h
>>conftest.
$ac_ext
6143 cat >>conftest.
$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6149 /* FIXME: Include the comments suggested by Paul. */
6151 /* Ultrix mips cc rejects this. */
6152 typedef int charset[2];
6154 /* SunOS 4.1.1 cc rejects this. */
6155 char const *const *ccp;
6157 /* NEC SVR4.0.2 mips cc rejects this. */
6158 struct point {int x, y;};
6159 static struct point const zero = {0,0};
6160 /* AIX XL C 1.02.0.0 rejects this.
6161 It does not let you subtract one const X* pointer from another in
6162 an arm of an if-expression whose if-part is not a constant
6164 const char *g = "string";
6165 ccp = &g + (g ? g-g : 0);
6166 /* HPUX 7.0 cc rejects these. */
6169 ccp = (char const *const *) p;
6170 { /* SCO 3.2v4 cc rejects this. */
6172 char const *s = 0 ? (char *) 0 : (char const *) 0;
6176 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6178 const int *foo = &x[0];
6181 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6182 typedef const int *iptr;
6186 { /* AIX XL C 1.02.0.0 rejects this saying
6187 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6188 struct s { int j; const int *ap[3]; };
6189 struct s *b; b->j = 5;
6191 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6200 rm -f conftest.
$ac_objext
6201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6202 (eval $ac_compile) 2>conftest.er1
6204 grep -v '^ *+' conftest.er1
>conftest.err
6206 cat conftest.err
>&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); } &&
6209 { ac_try
='test -z "$ac_c_werror_flag"
6210 || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try
='test -s conftest.$ac_objext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6231 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6232 echo "${ECHO_T}$ac_cv_c_const" >&6
6233 if test $ac_cv_c_const = no
; then
6235 cat >>confdefs.h
<<\_ACEOF
6241 echo "$as_me:$LINENO: checking for off_t" >&5
6242 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6243 if test "${ac_cv_type_off_t+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6246 cat >conftest.
$ac_ext <<_ACEOF
6249 cat confdefs.h
>>conftest.
$ac_ext
6250 cat >>conftest.
$ac_ext <<_ACEOF
6251 /* end confdefs.h. */
6252 $ac_includes_default
6264 rm -f conftest.
$ac_objext
6265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6266 (eval $ac_compile) 2>conftest.er1
6268 grep -v '^ *+' conftest.er1
>conftest.err
6270 cat conftest.err
>&5
6271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 (exit $ac_status); } &&
6273 { ac_try
='test -z "$ac_c_werror_flag"
6274 || test ! -s conftest.err'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try
='test -s conftest.$ac_objext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 ac_cv_type_off_t
=yes
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.
$ac_ext >&5
6293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6295 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6296 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6297 if test $ac_cv_type_off_t = yes; then
6301 cat >>confdefs.h
<<_ACEOF
6307 echo "$as_me:$LINENO: checking for int" >&5
6308 echo $ECHO_N "checking for int... $ECHO_C" >&6
6309 if test "${ac_cv_type_int+set}" = set; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 cat >conftest.
$ac_ext <<_ACEOF
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6318 $ac_includes_default
6330 rm -f conftest.
$ac_objext
6331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6332 (eval $ac_compile) 2>conftest.er1
6334 grep -v '^ *+' conftest.er1
>conftest.err
6336 cat conftest.err
>&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); } &&
6339 { ac_try
='test -z "$ac_c_werror_flag"
6340 || test ! -s conftest.err'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; } &&
6346 { ac_try
='test -s conftest.$ac_objext'
6347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); }; }; then
6354 echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.
$ac_ext >&5
6359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6361 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6362 echo "${ECHO_T}$ac_cv_type_int" >&6
6364 echo "$as_me:$LINENO: checking size of int" >&5
6365 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6366 if test "${ac_cv_sizeof_int+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 if test "$ac_cv_type_int" = yes; then
6370 # The cast to unsigned long works around a bug in the HP C Compiler
6371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6373 # This bug is HP SR number 8606223364.
6374 if test "$cross_compiling" = yes; then
6375 # Depending upon the size, compute the lo and hi bounds.
6376 cat >conftest.
$ac_ext <<_ACEOF
6379 cat confdefs.h
>>conftest.
$ac_ext
6380 cat >>conftest.
$ac_ext <<_ACEOF
6381 /* end confdefs.h. */
6382 $ac_includes_default
6386 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6393 rm -f conftest.
$ac_objext
6394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6395 (eval $ac_compile) 2>conftest.er1
6397 grep -v '^ *+' conftest.er1
>conftest.err
6399 cat conftest.err
>&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); } &&
6402 { ac_try
='test -z "$ac_c_werror_flag"
6403 || test ! -s conftest.err'
6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6408 (exit $ac_status); }; } &&
6409 { ac_try
='test -s conftest.$ac_objext'
6410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); }; }; then
6417 cat >conftest.
$ac_ext <<_ACEOF
6420 cat confdefs.h
>>conftest.
$ac_ext
6421 cat >>conftest.
$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 $ac_includes_default
6427 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6434 rm -f conftest.
$ac_objext
6435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6436 (eval $ac_compile) 2>conftest.er1
6438 grep -v '^ *+' conftest.er1
>conftest.err
6440 cat conftest.err
>&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); } &&
6443 { ac_try
='test -z "$ac_c_werror_flag"
6444 || test ! -s conftest.err'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; } &&
6450 { ac_try
='test -s conftest.$ac_objext'
6451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455 (exit $ac_status); }; }; then
6456 ac_hi
=$ac_mid; break
6458 echo "$as_me: failed program was:" >&5
6459 sed 's/^/| /' conftest.
$ac_ext >&5
6461 ac_lo
=`expr $ac_mid + 1`
6462 if test $ac_lo -le $ac_mid; then
6466 ac_mid
=`expr 2 '*' $ac_mid + 1`
6468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6471 echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.
$ac_ext >&5
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 $ac_includes_default
6484 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6491 rm -f conftest.
$ac_objext
6492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6493 (eval $ac_compile) 2>conftest.er1
6495 grep -v '^ *+' conftest.er1
>conftest.err
6497 cat conftest.err
>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); } &&
6500 { ac_try
='test -z "$ac_c_werror_flag"
6501 || test ! -s conftest.err'
6502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); }; } &&
6507 { ac_try
='test -s conftest.$ac_objext'
6508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); }; }; then
6515 cat >conftest.
$ac_ext <<_ACEOF
6518 cat confdefs.h
>>conftest.
$ac_ext
6519 cat >>conftest.
$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6521 $ac_includes_default
6525 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6532 rm -f conftest.
$ac_objext
6533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6534 (eval $ac_compile) 2>conftest.er1
6536 grep -v '^ *+' conftest.er1
>conftest.err
6538 cat conftest.err
>&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } &&
6541 { ac_try
='test -z "$ac_c_werror_flag"
6542 || test ! -s conftest.err'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; } &&
6548 { ac_try
='test -s conftest.$ac_objext'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }; then
6554 ac_lo
=$ac_mid; break
6556 echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.
$ac_ext >&5
6559 ac_hi
=`expr '(' $ac_mid ')' - 1`
6560 if test $ac_mid -le $ac_hi; then
6564 ac_mid
=`expr 2 '*' $ac_mid`
6566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6569 echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.
$ac_ext >&5
6574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6577 # Binary search between lo and hi bounds.
6578 while test "x$ac_lo" != "x$ac_hi"; do
6579 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6580 cat >conftest.
$ac_ext <<_ACEOF
6583 cat confdefs.h
>>conftest.
$ac_ext
6584 cat >>conftest.
$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6586 $ac_includes_default
6590 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6597 rm -f conftest.
$ac_objext
6598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6599 (eval $ac_compile) 2>conftest.er1
6601 grep -v '^ *+' conftest.er1
>conftest.err
6603 cat conftest.err
>&5
6604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } &&
6606 { ac_try
='test -z "$ac_c_werror_flag"
6607 || test ! -s conftest.err'
6608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); }; } &&
6613 { ac_try
='test -s conftest.$ac_objext'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6621 echo "$as_me: failed program was:" >&5
6622 sed 's/^/| /' conftest.
$ac_ext >&5
6624 ac_lo
=`expr '(' $ac_mid ')' + 1`
6626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6629 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6630 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6631 See \`config.log' for more details." >&5
6632 echo "$as_me: error: cannot compute sizeof (int), 77
6633 See \`config.log' for more details." >&2;}
6634 { (exit 1); exit 1; }; } ;;
6637 if test "$cross_compiling" = yes; then
6638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6639 See \`config.log' for more details." >&5
6640 echo "$as_me: error: cannot run test program while cross compiling
6641 See \`config.log' for more details." >&2;}
6642 { (exit 1); exit 1; }; }
6644 cat >conftest.
$ac_ext <<_ACEOF
6647 cat confdefs.h
>>conftest.
$ac_ext
6648 cat >>conftest.
$ac_ext <<_ACEOF
6649 /* end confdefs.h. */
6650 $ac_includes_default
6651 long longval () { return (long) (sizeof (int)); }
6652 unsigned long ulongval () { return (long) (sizeof (int)); }
6659 FILE *f = fopen ("conftest.val", "w");
6662 if (((long) (sizeof (int))) < 0)
6664 long i = longval ();
6665 if (i != ((long) (sizeof (int))))
6667 fprintf (f, "%ld\n", i);
6671 unsigned long i = ulongval ();
6672 if (i != ((long) (sizeof (int))))
6674 fprintf (f, "%lu\n", i);
6676 exit (ferror (f) || fclose (f) != 0);
6682 rm -f conftest
$ac_exeext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6684 (eval $ac_link) 2>&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; }; then
6693 ac_cv_sizeof_int
=`cat conftest.val`
6695 echo "$as_me: program exited with status $ac_status" >&5
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.
$ac_ext >&5
6700 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6701 See \`config.log' for more details." >&5
6702 echo "$as_me: error: cannot compute sizeof (int), 77
6703 See \`config.log' for more details." >&2;}
6704 { (exit 1); exit 1; }; }
6706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6714 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6715 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6716 cat >>confdefs.h
<<_ACEOF
6717 #define SIZEOF_INT $ac_cv_sizeof_int
6721 echo "$as_me:$LINENO: checking for long" >&5
6722 echo $ECHO_N "checking for long... $ECHO_C" >&6
6723 if test "${ac_cv_type_long+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6726 cat >conftest.
$ac_ext <<_ACEOF
6729 cat confdefs.h
>>conftest.
$ac_ext
6730 cat >>conftest.
$ac_ext <<_ACEOF
6731 /* end confdefs.h. */
6732 $ac_includes_default
6744 rm -f conftest.
$ac_objext
6745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6746 (eval $ac_compile) 2>conftest.er1
6748 grep -v '^ *+' conftest.er1
>conftest.err
6750 cat conftest.err
>&5
6751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6752 (exit $ac_status); } &&
6753 { ac_try
='test -z "$ac_c_werror_flag"
6754 || test ! -s conftest.err'
6755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); }; } &&
6760 { ac_try
='test -s conftest.$ac_objext'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; }; then
6768 echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.
$ac_ext >&5
6773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6775 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6776 echo "${ECHO_T}$ac_cv_type_long" >&6
6778 echo "$as_me:$LINENO: checking size of long" >&5
6779 echo $ECHO_N "checking size of long... $ECHO_C" >&6
6780 if test "${ac_cv_sizeof_long+set}" = set; then
6781 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 if test "$ac_cv_type_long" = yes; then
6784 # The cast to unsigned long works around a bug in the HP C Compiler
6785 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6786 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6787 # This bug is HP SR number 8606223364.
6788 if test "$cross_compiling" = yes; then
6789 # Depending upon the size, compute the lo and hi bounds.
6790 cat >conftest.
$ac_ext <<_ACEOF
6793 cat confdefs.h
>>conftest.
$ac_ext
6794 cat >>conftest.
$ac_ext <<_ACEOF
6795 /* end confdefs.h. */
6796 $ac_includes_default
6800 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6807 rm -f conftest.
$ac_objext
6808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6809 (eval $ac_compile) 2>conftest.er1
6811 grep -v '^ *+' conftest.er1
>conftest.err
6813 cat conftest.err
>&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); } &&
6816 { ac_try
='test -z "$ac_c_werror_flag"
6817 || test ! -s conftest.err'
6818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); }; } &&
6823 { ac_try
='test -s conftest.$ac_objext'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }; then
6831 cat >conftest.
$ac_ext <<_ACEOF
6834 cat confdefs.h
>>conftest.
$ac_ext
6835 cat >>conftest.
$ac_ext <<_ACEOF
6836 /* end confdefs.h. */
6837 $ac_includes_default
6841 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6848 rm -f conftest.
$ac_objext
6849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6850 (eval $ac_compile) 2>conftest.er1
6852 grep -v '^ *+' conftest.er1
>conftest.err
6854 cat conftest.err
>&5
6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856 (exit $ac_status); } &&
6857 { ac_try
='test -z "$ac_c_werror_flag"
6858 || test ! -s conftest.err'
6859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); }; } &&
6864 { ac_try
='test -s conftest.$ac_objext'
6865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869 (exit $ac_status); }; }; then
6870 ac_hi
=$ac_mid; break
6872 echo "$as_me: failed program was:" >&5
6873 sed 's/^/| /' conftest.
$ac_ext >&5
6875 ac_lo
=`expr $ac_mid + 1`
6876 if test $ac_lo -le $ac_mid; then
6880 ac_mid
=`expr 2 '*' $ac_mid + 1`
6882 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6885 echo "$as_me: failed program was:" >&5
6886 sed 's/^/| /' conftest.
$ac_ext >&5
6888 cat >conftest.
$ac_ext <<_ACEOF
6891 cat confdefs.h
>>conftest.
$ac_ext
6892 cat >>conftest.
$ac_ext <<_ACEOF
6893 /* end confdefs.h. */
6894 $ac_includes_default
6898 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6905 rm -f conftest.
$ac_objext
6906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6907 (eval $ac_compile) 2>conftest.er1
6909 grep -v '^ *+' conftest.er1
>conftest.err
6911 cat conftest.err
>&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } &&
6914 { ac_try
='test -z "$ac_c_werror_flag"
6915 || test ! -s conftest.err'
6916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; } &&
6921 { ac_try
='test -s conftest.$ac_objext'
6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); }; }; then
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6935 $ac_includes_default
6939 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6946 rm -f conftest.
$ac_objext
6947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6948 (eval $ac_compile) 2>conftest.er1
6950 grep -v '^ *+' conftest.er1
>conftest.err
6952 cat conftest.err
>&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); } &&
6955 { ac_try
='test -z "$ac_c_werror_flag"
6956 || test ! -s conftest.err'
6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); }; } &&
6962 { ac_try
='test -s conftest.$ac_objext'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; }; then
6968 ac_lo
=$ac_mid; break
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.
$ac_ext >&5
6973 ac_hi
=`expr '(' $ac_mid ')' - 1`
6974 if test $ac_mid -le $ac_hi; then
6978 ac_mid
=`expr 2 '*' $ac_mid`
6980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.
$ac_ext >&5
6988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6991 # Binary search between lo and hi bounds.
6992 while test "x$ac_lo" != "x$ac_hi"; do
6993 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7000 $ac_includes_default
7004 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
7011 rm -f conftest.
$ac_objext
7012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7013 (eval $ac_compile) 2>conftest.er1
7015 grep -v '^ *+' conftest.er1
>conftest.err
7017 cat conftest.err
>&5
7018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019 (exit $ac_status); } &&
7020 { ac_try
='test -z "$ac_c_werror_flag"
7021 || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; } &&
7027 { ac_try
='test -s conftest.$ac_objext'
7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); }; }; then
7035 echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.
$ac_ext >&5
7038 ac_lo
=`expr '(' $ac_mid ')' + 1`
7040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7043 ?
*) ac_cv_sizeof_long
=$ac_lo;;
7044 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7045 See \`config.log' for more details." >&5
7046 echo "$as_me: error: cannot compute sizeof (long), 77
7047 See \`config.log' for more details." >&2;}
7048 { (exit 1); exit 1; }; } ;;
7051 if test "$cross_compiling" = yes; then
7052 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7053 See \`config.log' for more details." >&5
7054 echo "$as_me: error: cannot run test program while cross compiling
7055 See \`config.log' for more details." >&2;}
7056 { (exit 1); exit 1; }; }
7058 cat >conftest.
$ac_ext <<_ACEOF
7061 cat confdefs.h
>>conftest.
$ac_ext
7062 cat >>conftest.
$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7064 $ac_includes_default
7065 long longval () { return (long) (sizeof (long)); }
7066 unsigned long ulongval () { return (long) (sizeof (long)); }
7073 FILE *f = fopen ("conftest.val", "w");
7076 if (((long) (sizeof (long))) < 0)
7078 long i = longval ();
7079 if (i != ((long) (sizeof (long))))
7081 fprintf (f, "%ld\n", i);
7085 unsigned long i = ulongval ();
7086 if (i != ((long) (sizeof (long))))
7088 fprintf (f, "%lu\n", i);
7090 exit (ferror (f) || fclose (f) != 0);
7096 rm -f conftest
$ac_exeext
7097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7098 (eval $ac_link) 2>&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7107 ac_cv_sizeof_long
=`cat conftest.val`
7109 echo "$as_me: program exited with status $ac_status" >&5
7110 echo "$as_me: failed program was:" >&5
7111 sed 's/^/| /' conftest.
$ac_ext >&5
7114 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
7115 See \`config.log' for more details." >&5
7116 echo "$as_me: error: cannot compute sizeof (long), 77
7117 See \`config.log' for more details." >&2;}
7118 { (exit 1); exit 1; }; }
7120 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7128 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
7129 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
7130 cat >>confdefs.h
<<_ACEOF
7131 #define SIZEOF_LONG $ac_cv_sizeof_long
7136 # Checks for library functions.
7137 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7138 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7139 if test "${ac_cv_header_stdc+set}" = set; then
7140 echo $ECHO_N "(cached) $ECHO_C" >&6
7142 cat >conftest.
$ac_ext <<_ACEOF
7145 cat confdefs.h
>>conftest.
$ac_ext
7146 cat >>conftest.
$ac_ext <<_ACEOF
7147 /* end confdefs.h. */
7161 rm -f conftest.
$ac_objext
7162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7163 (eval $ac_compile) 2>conftest.er1
7165 grep -v '^ *+' conftest.er1
>conftest.err
7167 cat conftest.err
>&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); } &&
7170 { ac_try
='test -z "$ac_c_werror_flag"
7171 || test ! -s conftest.err'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; } &&
7177 { ac_try
='test -s conftest.$ac_objext'
7178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182 (exit $ac_status); }; }; then
7183 ac_cv_header_stdc
=yes
7185 echo "$as_me: failed program was:" >&5
7186 sed 's/^/| /' conftest.
$ac_ext >&5
7188 ac_cv_header_stdc
=no
7190 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7192 if test $ac_cv_header_stdc = yes; then
7193 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7194 cat >conftest.
$ac_ext <<_ACEOF
7197 cat confdefs.h
>>conftest.
$ac_ext
7198 cat >>conftest.
$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7204 $EGREP "memchr" >/dev
/null
2>&1; then
7207 ac_cv_header_stdc
=no
7213 if test $ac_cv_header_stdc = yes; then
7214 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7215 cat >conftest.
$ac_ext <<_ACEOF
7218 cat confdefs.h
>>conftest.
$ac_ext
7219 cat >>conftest.
$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7225 $EGREP "free" >/dev
/null
2>&1; then
7228 ac_cv_header_stdc
=no
7234 if test $ac_cv_header_stdc = yes; then
7235 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7236 if test "$cross_compiling" = yes; then
7239 cat >conftest.
$ac_ext <<_ACEOF
7242 cat confdefs.h
>>conftest.
$ac_ext
7243 cat >>conftest.
$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7246 #if ((' ' & 0x0FF) == 0x020)
7247 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7248 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7250 # define ISLOWER(c) \
7251 (('a' <= (c) && (c) <= 'i') \
7252 || ('j' <= (c) && (c) <= 'r') \
7253 || ('s' <= (c) && (c) <= 'z'))
7254 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7257 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7262 for (i = 0; i < 256; i++)
7263 if (XOR (islower (i), ISLOWER (i))
7264 || toupper (i) != TOUPPER (i))
7269 rm -f conftest
$ac_exeext
7270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7271 (eval $ac_link) 2>&5
7273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; }; then
7282 echo "$as_me: program exited with status $ac_status" >&5
7283 echo "$as_me: failed program was:" >&5
7284 sed 's/^/| /' conftest.
$ac_ext >&5
7287 ac_cv_header_stdc
=no
7289 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7293 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7294 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7295 if test $ac_cv_header_stdc = yes; then
7297 cat >>confdefs.h
<<\_ACEOF
7298 #define STDC_HEADERS 1
7304 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
7305 if test "${enable_maintainer_mode+set}" = set; then
7306 enableval
="$enable_maintainer_mode"
7309 enable_maintainer_mode
=no
7312 if test "x$enable_maintainer_mode" = xno
; then
7321 ac_config_headers
="$ac_config_headers config.h:config.in"
7323 ac_config_files
="$ac_config_files Makefile"
7325 cat >confcache
<<\_ACEOF
7326 # This file is a shell script that caches the results of configure
7327 # tests run on this system so they can be shared between configure
7328 # scripts and configure runs, see configure's option --config-cache.
7329 # It is not useful on other systems. If it contains results you don't
7330 # want to keep, you may remove or edit it.
7332 # config.status only pays attention to the cache file if you give it
7333 # the --recheck option to rerun configure.
7335 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7336 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7341 # The following way of writing the cache mishandles newlines in values,
7342 # but we know of no workaround that is simple, portable, and efficient.
7343 # So, don't put newlines in cache variables' values.
7344 # Ultrix sh set writes to stderr and can't be redirected directly,
7345 # and sets the high bit in the cache file unless we assign to the vars.
7348 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7350 # `set' does not quote correctly, so add quotes (double-quote
7351 # substitution turns \\\\ into \\, and sed turns \\ into \).
7354 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7357 # `set' quotes correctly as required by POSIX, so do not add quotes.
7359 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7366 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7368 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7370 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7371 if test -w $cache_file; then
7372 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7373 cat confcache
>$cache_file
7375 echo "not updating unwritable cache $cache_file"
7380 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7381 # Let make expand exec_prefix.
7382 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7384 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7385 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7386 # trailing colons and then remove the whole line if VPATH becomes empty
7387 # (actually we leave an empty line to preserve line numbers).
7388 if test "x$srcdir" = x.
; then
7389 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7390 s/:*\$(srcdir):*/:/;
7391 s/:*\${srcdir}:*/:/;
7393 s/^\([^=]*=[ ]*\):*/\1/;
7399 DEFS
=-DHAVE_CONFIG_H
7403 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7404 # 1. Remove the extension, and $U if already installed.
7405 ac_i
=`echo "$ac_i" |
7406 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7408 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7409 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7413 LTLIBOBJS
=$ac_ltlibobjs
7417 : ${CONFIG_STATUS=./config.status}
7418 ac_clean_files_save
=$ac_clean_files
7419 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7420 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7421 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7422 cat >$CONFIG_STATUS <<_ACEOF
7424 # Generated by $as_me.
7425 # Run this file to recreate the current configuration.
7426 # Compiler output produced by configure, useful for debugging
7427 # configure, is in config.log if it exists.
7432 SHELL=\${CONFIG_SHELL-$SHELL}
7435 cat >>$CONFIG_STATUS <<\_ACEOF
7436 ## --------------------- ##
7437 ## M4sh Initialization. ##
7438 ## --------------------- ##
7440 # Be Bourne compatible
7441 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7444 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7445 # is contrary to our usage. Disable this feature.
7446 alias -g '${1+"$@"}'='"$@"'
7447 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7450 DUALCASE
=1; export DUALCASE
# for MKS sh
7452 # Support unset when possible.
7453 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7460 # Work around bugs in pre-3.0 UWIN ksh.
7461 $as_unset ENV MAIL MAILPATH
7468 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7469 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7470 LC_TELEPHONE LC_TIME
7472 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7473 eval $as_var=C
; export $as_var
7479 # Required to use basename.
7480 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7486 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7487 as_basename
=basename
7493 # Name of the executable.
7494 as_me
=`$as_basename "$0" ||
7495 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7496 X"$0" : 'X\(//\)$' \| \
7497 X"$0" : 'X\(/\)$' \| \
7498 . : '\(.\)' 2>/dev/null ||
7500 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7501 /^X\/\(\/\/\)$/{ s//\1/; q; }
7502 /^X\/\(\/\).*/{ s//\1/; q; }
7506 # PATH needs CR, and LINENO needs CR and PATH.
7507 # Avoid depending upon Character Ranges.
7508 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7509 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7510 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7511 as_cr_digits
='0123456789'
7512 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7514 # The user is always right.
7515 if test "${PATH_SEPARATOR+set}" != set; then
7516 echo "#! /bin/sh" >conf$$.sh
7517 echo "exit 0" >>conf$$.sh
7519 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7530 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7531 test "x$as_lineno_1" != "x$as_lineno_2" &&
7532 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7533 # Find who we are. Look in the path if we contain no path at all
7536 *[\\/]* ) as_myself
=$0 ;;
7537 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7541 test -z "$as_dir" && as_dir
=.
7542 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7547 # We did not find ourselves, most probably we were run as `sh COMMAND'
7548 # in which case we are not to be found in the path.
7549 if test "x$as_myself" = x
; then
7552 if test ! -f "$as_myself"; then
7553 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7554 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7555 { (exit 1); exit 1; }; }
7557 case $CONFIG_SHELL in
7559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7560 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7563 test -z "$as_dir" && as_dir
=.
7564 for as_base
in sh bash ksh sh5
; do
7567 if ("$as_dir/$as_base" -c '
7570 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7571 test "x$as_lineno_1" != "x$as_lineno_2" &&
7572 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7573 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7574 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7575 CONFIG_SHELL
=$as_dir/$as_base
7577 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7585 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7586 # uniformly replaced by the line number. The first 'sed' inserts a
7587 # line-number line before each line; the second 'sed' does the real
7588 # work. The second script uses 'N' to pair each line-number line
7589 # with the numbered line, and appends trailing '-' during
7590 # substitution so that $LINENO is not a special case at line end.
7591 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7592 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7593 sed '=' <$as_myself |
7598 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7601 s,^['$as_cr_digits']*\n,,
7603 chmod +x
$as_me.lineno ||
7604 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7605 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7606 { (exit 1); exit 1; }; }
7608 # Don't try to exec as it changes $[0], causing all sort of problems
7609 # (the dirname of $[0] is not the place where we might find the
7610 # original and so on. Autoconf is especially sensible to this).
7612 # Exit status is that of the last command.
7617 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7618 *c
*,-n*) ECHO_N
= ECHO_C
='
7620 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7621 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7624 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7630 rm -f conf$$ conf$$.exe conf$$.
file
7632 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7633 # We could just check for DJGPP; but this test a) works b) is more generic
7634 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7635 if test -f conf$$.exe
; then
7636 # Don't use ln at all; we don't have any links
7641 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7646 rm -f conf$$ conf$$.exe conf$$.
file
7648 if mkdir
-p .
2>/dev
/null
; then
7651 test -d .
/-p && rmdir .
/-p
7655 as_executable_p
="test -f"
7657 # Sed expression to map a string onto a valid CPP name.
7658 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7660 # Sed expression to map a string onto a valid variable name.
7661 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7665 # We need space, tab and new line, in precisely that order.
7675 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7676 # report actual input values of CONFIG_FILES etc. instead of their
7677 # values after options handling. Logging --version etc. is OK.
7681 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7682 ## Running $as_me. ##
7687 This file was extended by libdecnumber $as_me , which was
7688 generated by GNU Autoconf 2.59. Invocation command line was
7690 CONFIG_FILES = $CONFIG_FILES
7691 CONFIG_HEADERS = $CONFIG_HEADERS
7692 CONFIG_LINKS = $CONFIG_LINKS
7693 CONFIG_COMMANDS = $CONFIG_COMMANDS
7697 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7701 # Files that config.status was made for.
7702 if test -n "$ac_config_files"; then
7703 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7706 if test -n "$ac_config_headers"; then
7707 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7710 if test -n "$ac_config_links"; then
7711 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7714 if test -n "$ac_config_commands"; then
7715 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7718 cat >>$CONFIG_STATUS <<\_ACEOF
7721 \`$as_me' instantiates files from templates according to the
7722 current configuration.
7724 Usage: $0 [OPTIONS] [FILE]...
7726 -h, --help print this help, then exit
7727 -V, --version print version number, then exit
7728 -q, --quiet do not print progress messages
7729 -d, --debug don't remove temporary files
7730 --recheck update $as_me by reconfiguring in the same conditions
7731 --file=FILE[:TEMPLATE]
7732 instantiate the configuration file FILE
7733 --header=FILE[:TEMPLATE]
7734 instantiate the configuration header FILE
7736 Configuration files:
7739 Configuration headers:
7742 Configuration commands:
7745 Report bugs to <bug-autoconf@gnu.org>."
7748 cat >>$CONFIG_STATUS <<_ACEOF
7750 libdecnumber config.status
7751 configured by $0, generated by GNU Autoconf 2.59,
7752 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7754 Copyright (C) 2003 Free Software Foundation, Inc.
7755 This config.status script is free software; the Free Software Foundation
7756 gives unlimited permission to copy, distribute and modify it."
7760 cat >>$CONFIG_STATUS <<\_ACEOF
7761 # If no file are specified by the user, then we need to provide default
7762 # value. By we need to know if files were specified by the user.
7768 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7769 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7777 *) # This is not an option, so the user has probably given explicit
7780 ac_need_defaults
=false
;;
7784 # Handling of the options.
7786 cat >>$CONFIG_STATUS <<\_ACEOF
7787 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7789 --version |
--vers* |
-V )
7790 echo "$ac_cs_version"; exit 0 ;;
7792 # Conflict between --help and --header
7793 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7794 Try \`$0 --help' for more information." >&5
7795 echo "$as_me: error: ambiguous option: $1
7796 Try \`$0 --help' for more information." >&2;}
7797 { (exit 1); exit 1; }; };;
7798 --help |
--hel |
-h )
7799 echo "$ac_cs_usage"; exit 0 ;;
7800 --debug |
--d* |
-d )
7802 --file |
--fil |
--fi |
--f )
7804 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7805 ac_need_defaults
=false
;;
7806 --header |
--heade |
--head |
--hea )
7808 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7809 ac_need_defaults
=false
;;
7810 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7811 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7815 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7816 Try \`$0 --help' for more information." >&5
7817 echo "$as_me: error: unrecognized option: $1
7818 Try \`$0 --help' for more information." >&2;}
7819 { (exit 1); exit 1; }; } ;;
7821 *) ac_config_targets
="$ac_config_targets $1" ;;
7827 ac_configure_extra_args
=
7829 if $ac_cs_silent; then
7831 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7835 cat >>$CONFIG_STATUS <<_ACEOF
7836 if \$ac_cs_recheck; then
7837 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7838 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7843 cat >>$CONFIG_STATUS <<_ACEOF
7845 # INIT-COMMANDS section.
7851 acx_cv_header_stdint="$acx_cv_header_stdint"
7852 acx_cv_type_int8_t="$acx_cv_type_int8_t"
7853 acx_cv_type_int16_t="$acx_cv_type_int16_t"
7854 acx_cv_type_int32_t="$acx_cv_type_int32_t"
7855 acx_cv_type_int64_t="$acx_cv_type_int64_t"
7856 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
7857 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
7858 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
7859 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
7860 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
7861 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
7862 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
7863 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
7864 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
7871 cat >>$CONFIG_STATUS <<\_ACEOF
7872 for ac_config_target
in $ac_config_targets
7874 case "$ac_config_target" in
7875 # Handling of arguments.
7876 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7877 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
7878 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7879 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7880 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7881 { (exit 1); exit 1; }; };;
7885 # If the user did not use the arguments to specify the items to instantiate,
7886 # then the envvar interface is used. Set only those that are not.
7887 # We use the long form for the default assignment because of an extremely
7888 # bizarre bug on SunOS 4.1.3.
7889 if $ac_need_defaults; then
7890 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7891 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7892 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7895 # Have a temporary directory for convenience. Make it in the build tree
7896 # simply because there is no reason to put it here, and in addition,
7897 # creating and moving files from /tmp can sometimes cause problems.
7898 # Create a temporary directory, and hook for its removal unless debugging.
7901 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7902 trap '{ (exit 1); exit 1; }' 1 2 13 15
7905 # Create a (secure) tmp directory for tmp files.
7908 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7909 test -n "$tmp" && test -d "$tmp"
7912 tmp
=.
/confstat$$
-$RANDOM
7913 (umask 077 && mkdir
$tmp)
7916 echo "$me: cannot create a temporary directory in ." >&2
7917 { (exit 1); exit 1; }
7922 cat >>$CONFIG_STATUS <<_ACEOF
7925 # CONFIG_FILES section.
7928 # No need to generate the scripts if there are no CONFIG_FILES.
7929 # This happens for instance when ./config.status config.h
7930 if test -n "\$CONFIG_FILES"; then
7931 # Protect against being on the right side of a sed subst in config.status.
7932 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7933 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7934 s,@SHELL@,$SHELL,;t t
7935 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7936 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7937 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7938 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7939 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7940 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7941 s,@exec_prefix@,$exec_prefix,;t t
7942 s,@prefix@,$prefix,;t t
7943 s,@program_transform_name@,$program_transform_name,;t t
7944 s,@bindir@,$bindir,;t t
7945 s,@sbindir@,$sbindir,;t t
7946 s,@libexecdir@,$libexecdir,;t t
7947 s,@datadir@,$datadir,;t t
7948 s,@sysconfdir@,$sysconfdir,;t t
7949 s,@sharedstatedir@,$sharedstatedir,;t t
7950 s,@localstatedir@,$localstatedir,;t t
7951 s,@libdir@,$libdir,;t t
7952 s,@includedir@,$includedir,;t t
7953 s,@oldincludedir@,$oldincludedir,;t t
7954 s,@infodir@,$infodir,;t t
7955 s,@mandir@,$mandir,;t t
7956 s,@build_alias@,$build_alias,;t t
7957 s,@host_alias@,$host_alias,;t t
7958 s,@target_alias@,$target_alias,;t t
7960 s,@ECHO_C@,$ECHO_C,;t t
7961 s,@ECHO_N@,$ECHO_N,;t t
7962 s,@ECHO_T@,$ECHO_T,;t t
7964 s,@SET_MAKE@,$SET_MAKE,;t t
7966 s,@CFLAGS@,$CFLAGS,;t t
7967 s,@LDFLAGS@,$LDFLAGS,;t t
7968 s,@CPPFLAGS@,$CPPFLAGS,;t t
7969 s,@ac_ct_CC@,$ac_ct_CC,;t t
7970 s,@EXEEXT@,$EXEEXT,;t t
7971 s,@OBJEXT@,$OBJEXT,;t t
7972 s,@RANLIB@,$RANLIB,;t t
7973 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7974 s,@ACLOCAL@,$ACLOCAL,;t t
7975 s,@AUTOCONF@,$AUTOCONF,;t t
7976 s,@AUTOHEADER@,$AUTOHEADER,;t t
7977 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7978 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
7979 s,@WERROR@,$WERROR,;t t
7981 s,@EGREP@,$EGREP,;t t
7982 s,@MAINT@,$MAINT,;t t
7983 s,@LIBOBJS@,$LIBOBJS,;t t
7984 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7989 cat >>$CONFIG_STATUS <<\_ACEOF
7990 # Split the substitutions into bite-sized pieces for seds with
7991 # small command number limits, like on Digital OSF/1 and HP-UX.
7993 ac_sed_frag
=1 # Number of current file.
7994 ac_beg
=1 # First line for current file.
7995 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7998 while $ac_more_lines; do
7999 if test $ac_beg -gt 1; then
8000 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8002 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8004 if test ! -s $tmp/subs.frag
; then
8007 # The purpose of the label and of the branching condition is to
8008 # speed up the sed processing (if there are no `@' at all, there
8009 # is no need to browse any of the substitutions).
8010 # These are the two extra sed commands mentioned above.
8012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8013 if test -z "$ac_sed_cmds"; then
8014 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8016 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8018 ac_sed_frag
=`expr $ac_sed_frag + 1`
8020 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8023 if test -z "$ac_sed_cmds"; then
8026 fi # test -n "$CONFIG_FILES"
8029 cat >>$CONFIG_STATUS <<\_ACEOF
8030 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8031 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8033 - |
*:- |
*:-:* ) # input from stdin
8035 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8036 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8037 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8038 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8039 * ) ac_file_in
=$ac_file.
in ;;
8042 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8043 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8044 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8045 X"$ac_file" : 'X\(//\)[^/]' \| \
8046 X"$ac_file" : 'X\(//\)$' \| \
8047 X"$ac_file" : 'X\(/\)' \| \
8048 . : '\(.\)' 2>/dev/null ||
8050 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8051 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8052 /^X\(\/\/\)$/{ s//\1/; q; }
8053 /^X\(\/\).*/{ s//\1/; q; }
8055 { if $as_mkdir_p; then
8060 while test ! -d "$as_dir"; do
8061 as_dirs
="$as_dir $as_dirs"
8062 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8064 X"$as_dir" : 'X\(//\)[^/]' \| \
8065 X"$as_dir" : 'X\(//\)$' \| \
8066 X"$as_dir" : 'X\(/\)' \| \
8067 . : '\(.\)' 2>/dev/null ||
8069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8070 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8071 /^X\(\/\/\)$/{ s//\1/; q; }
8072 /^X\(\/\).*/{ s//\1/; q; }
8075 test ! -n "$as_dirs" || mkdir
$as_dirs
8076 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8077 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8078 { (exit 1); exit 1; }; }; }
8082 if test "$ac_dir" != .
; then
8083 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8084 # A "../" for each directory in $ac_dir_suffix.
8085 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8087 ac_dir_suffix
= ac_top_builddir
=
8091 .
) # No --srcdir option. We are building in place.
8093 if test -z "$ac_top_builddir"; then
8096 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8098 [\\/]* | ?
:[\\/]* ) # Absolute path.
8099 ac_srcdir
=$srcdir$ac_dir_suffix;
8100 ac_top_srcdir
=$srcdir ;;
8102 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8103 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8106 # Do not use `cd foo && pwd` to compute absolute paths, because
8107 # the directories may not exist.
8109 .
) ac_abs_builddir
="$ac_dir";;
8112 .
) ac_abs_builddir
=`pwd`;;
8113 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8114 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8117 case $ac_abs_builddir in
8118 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8120 case ${ac_top_builddir}.
in
8121 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8122 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8123 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8126 case $ac_abs_builddir in
8127 .
) ac_abs_srcdir
=$ac_srcdir;;
8130 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8131 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8132 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8135 case $ac_abs_builddir in
8136 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8138 case $ac_top_srcdir in
8139 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8140 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8141 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8147 if test x
"$ac_file" != x-
; then
8148 { echo "$as_me:$LINENO: creating $ac_file" >&5
8149 echo "$as_me: creating $ac_file" >&6;}
8152 # Let's still pretend it is `configure' which instantiates (i.e., don't
8153 # use $as_me), people would be surprised to read:
8154 # /* config.h. Generated by config.status. */
8155 if test x
"$ac_file" = x-
; then
8158 configure_input
="$ac_file. "
8160 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8161 sed 's,.*/,,'` by configure."
8163 # First look for the input files in the build tree, otherwise in the
8165 ac_file_inputs
=`IFS=:
8166 for f in $ac_file_in; do
8168 -) echo $tmp/stdin ;;
8170 # Absolute (can't be DOS-style, as IFS=:)
8171 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8172 echo "$as_me: error: cannot find input file: $f" >&2;}
8173 { (exit 1); exit 1; }; }
8176 if test -f "$f"; then
8179 elif test -f "$srcdir/$f"; then
8184 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8185 echo "$as_me: error: cannot find input file: $f" >&2;}
8186 { (exit 1); exit 1; }; }
8189 done` ||
{ (exit 1); exit 1; }
8191 cat >>$CONFIG_STATUS <<_ACEOF
8195 cat >>$CONFIG_STATUS <<\_ACEOF
8197 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8198 s
,@configure_input@
,$configure_input,;t t
8199 s
,@srcdir@
,$ac_srcdir,;t t
8200 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8201 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8202 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8203 s
,@builddir@
,$ac_builddir,;t t
8204 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8205 s
,@top_builddir@
,$ac_top_builddir,;t t
8206 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8207 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8209 if test x"$ac_file" != x-; then
8210 mv $tmp/out $ac_file
8218 cat >>$CONFIG_STATUS <<\_ACEOF
8221 # CONFIG_HEADER section.
8224 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8225 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8227 # ac_d sets the value in "#define NAME VALUE" lines.
8228 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8229 ac_dB
='[ ].*$,\1#\2'
8232 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8233 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8234 ac_uB
='$,\1#\2define\3'
8238 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8239 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8241 - |
*:- |
*:-:* ) # input from stdin
8243 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8244 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8245 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8246 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8247 * ) ac_file_in
=$ac_file.
in ;;
8250 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8251 echo "$as_me: creating $ac_file" >&6;}
8253 # First look for the input files in the build tree, otherwise in the
8255 ac_file_inputs
=`IFS=:
8256 for f in $ac_file_in; do
8258 -) echo $tmp/stdin ;;
8260 # Absolute (can't be DOS-style, as IFS=:)
8261 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8262 echo "$as_me: error: cannot find input file: $f" >&2;}
8263 { (exit 1); exit 1; }; }
8264 # Do quote $f, to prevent DOS paths from being IFS'd.
8267 if test -f "$f"; then
8270 elif test -f "$srcdir/$f"; then
8275 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8276 echo "$as_me: error: cannot find input file: $f" >&2;}
8277 { (exit 1); exit 1; }; }
8280 done` ||
{ (exit 1); exit 1; }
8281 # Remove the trailing spaces.
8282 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8286 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8287 # `conftest.undefs', that substitutes the proper values into
8288 # config.h.in to produce config.h. The first handles `#define'
8289 # templates, and the second `#undef' templates.
8290 # And first: Protect against being on the right side of a sed subst in
8291 # config.status. Protect against being in an unquoted here document
8293 rm -f conftest.defines conftest.undefs
8294 # Using a here document instead of a string reduces the quoting nightmare.
8295 # Putting comments in sed scripts is not portable.
8297 # `end' is used to avoid that the second main sed command (meant for
8298 # 0-ary CPP macros) applies to n-ary macro definitions.
8299 # See the Autoconf documentation for `clear'.
8300 cat >confdef2sed.
sed <<\_ACEOF
8305 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8307 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8310 # If some macros were called several times there might be several times
8311 # the same #defines, which is useless. Nevertheless, we may not want to
8312 # sort them, since we want the *last* AC-DEFINE to be honored.
8313 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8314 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8315 rm -f confdef2sed.sed
8317 # This sed command replaces #undef with comments. This is necessary, for
8318 # example, in the case of _POSIX_SOURCE, which is predefined and required
8319 # on some systems where configure will not decide to define it.
8320 cat >>conftest.undefs <<\_ACEOF
8321 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8324 # Break up conftest.defines because some shells have a limit on the size
8325 # of here documents, and old seds have small limits too (100 cmds).
8326 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8327 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8328 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8329 echo ' :' >>$CONFIG_STATUS
8331 while grep . conftest.defines >/dev/null
8333 # Write a limited-size here document to $tmp/defines.sed.
8334 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8335 # Speed up: don't consider the non `#define' lines.
8336 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8337 # Work around the forget-to-reset-the-flag bug.
8338 echo 't clr' >>$CONFIG_STATUS
8339 echo ': clr' >>$CONFIG_STATUS
8340 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8342 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8346 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8347 rm -f conftest.defines
8348 mv conftest.
tail conftest.defines
8350 rm -f conftest.defines
8351 echo ' fi # grep' >>$CONFIG_STATUS
8352 echo >>$CONFIG_STATUS
8354 # Break up conftest.undefs because some shells have a limit on the size
8355 # of here documents, and old seds have small limits too (100 cmds).
8356 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8358 while grep . conftest.undefs
>/dev
/null
8360 # Write a limited-size here document to $tmp/undefs.sed.
8361 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8362 # Speed up: don't consider the non
`#undef'
8363 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8364 # Work around the forget-to-reset-the-flag bug.
8365 echo 't clr' >>$CONFIG_STATUS
8366 echo ': clr' >>$CONFIG_STATUS
8367 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8369 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8373 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8374 rm -f conftest.undefs
8375 mv conftest.tail conftest.undefs
8377 rm -f conftest.undefs
8379 cat >>$CONFIG_STATUS <<\_ACEOF
8380 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8381 # use $as_me), people would be surprised to read:
8382 # /* config.h. Generated by config.status. */
8383 if test x
"$ac_file" = x-
; then
8384 echo "/* Generated by configure. */" >$tmp/config.h
8386 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8388 cat $tmp/in >>$tmp/config.h
8390 if test x
"$ac_file" != x-
; then
8391 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8392 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8393 echo "$as_me: $ac_file is unchanged" >&6;}
8395 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8397 X"$ac_file" : 'X\(//\)[^/]' \| \
8398 X"$ac_file" : 'X\(//\)$' \| \
8399 X"$ac_file" : 'X\(/\)' \| \
8400 . : '\(.\)' 2>/dev/null ||
8402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8404 /^X\(\/\/\)$/{ s//\1/; q; }
8405 /^X\(\/\).*/{ s//\1/; q; }
8407 { if $as_mkdir_p; then
8412 while test ! -d "$as_dir"; do
8413 as_dirs
="$as_dir $as_dirs"
8414 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8416 X"$as_dir" : 'X\(//\)[^/]' \| \
8417 X"$as_dir" : 'X\(//\)$' \| \
8418 X"$as_dir" : 'X\(/\)' \| \
8419 . : '\(.\)' 2>/dev/null ||
8421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8423 /^X\(\/\/\)$/{ s//\1/; q; }
8424 /^X\(\/\).*/{ s//\1/; q; }
8427 test ! -n "$as_dirs" || mkdir
$as_dirs
8428 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8429 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8430 { (exit 1); exit 1; }; }; }
8433 mv $tmp/config.h
$ac_file
8439 # Run the commands associated with the file.
8441 config.h
) echo timestamp
> stamp-h1
;;
8445 cat >>$CONFIG_STATUS <<\_ACEOF
8448 # CONFIG_COMMANDS section.
8450 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8451 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8452 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8453 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8454 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8455 X"$ac_dest" : 'X\(//\)[^/]' \| \
8456 X"$ac_dest" : 'X\(//\)$' \| \
8457 X"$ac_dest" : 'X\(/\)' \| \
8458 . : '\(.\)' 2>/dev/null ||
8460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8462 /^X\(\/\/\)$/{ s//\1/; q; }
8463 /^X\(\/\).*/{ s//\1/; q; }
8465 { if $as_mkdir_p; then
8470 while test ! -d "$as_dir"; do
8471 as_dirs
="$as_dir $as_dirs"
8472 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8474 X"$as_dir" : 'X\(//\)[^/]' \| \
8475 X"$as_dir" : 'X\(//\)$' \| \
8476 X"$as_dir" : 'X\(/\)' \| \
8477 . : '\(.\)' 2>/dev/null ||
8479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8481 /^X\(\/\/\)$/{ s//\1/; q; }
8482 /^X\(\/\).*/{ s//\1/; q; }
8485 test ! -n "$as_dirs" || mkdir
$as_dirs
8486 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8487 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8488 { (exit 1); exit 1; }; }; }
8492 if test "$ac_dir" != .
; then
8493 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8494 # A "../" for each directory in $ac_dir_suffix.
8495 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8497 ac_dir_suffix
= ac_top_builddir
=
8501 .
) # No --srcdir option. We are building in place.
8503 if test -z "$ac_top_builddir"; then
8506 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8508 [\\/]* | ?
:[\\/]* ) # Absolute path.
8509 ac_srcdir
=$srcdir$ac_dir_suffix;
8510 ac_top_srcdir
=$srcdir ;;
8512 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8513 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8516 # Do not use `cd foo && pwd` to compute absolute paths, because
8517 # the directories may not exist.
8519 .
) ac_abs_builddir
="$ac_dir";;
8522 .
) ac_abs_builddir
=`pwd`;;
8523 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8524 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8527 case $ac_abs_builddir in
8528 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8530 case ${ac_top_builddir}.
in
8531 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8532 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8533 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8536 case $ac_abs_builddir in
8537 .
) ac_abs_srcdir
=$ac_srcdir;;
8540 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8541 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8542 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8545 case $ac_abs_builddir in
8546 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8548 case $ac_top_srcdir in
8549 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8550 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8551 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8556 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8557 echo "$as_me: executing $ac_dest commands" >&6;}
8560 if test "$GCC" = yes; then
8561 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
8563 echo "/* generated for $CC */" > tmp-stdint.h
8566 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8568 #ifndef GCC_GENERATED_STDINT_H
8569 #define GCC_GENERATED_STDINT_H 1
8571 #include <sys/types.h>
8574 if test "$acx_cv_header_stdint" != stdint.h
; then
8575 echo "#include <stddef.h>" >> tmp-stdint.h
8577 if test "$acx_cv_header_stdint" != stddef.h
; then
8578 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
8581 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8582 /* glibc uses these symbols as guards to prevent redefinitions. */
8583 #ifdef __int8_t_defined
8588 #ifdef __uint32_t_defined
8594 # ----------------- done header, emit basic int types -------------
8595 if test "$acx_cv_header_stdint" = stddef.h
; then
8596 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8600 typedef unsigned $acx_cv_type_int8_t uint8_t;
8605 typedef unsigned $acx_cv_type_int16_t uint16_t;
8610 typedef unsigned $acx_cv_type_int32_t uint32_t;
8615 typedef $acx_cv_type_int8_t int8_t;
8620 typedef $acx_cv_type_int16_t int16_t;
8625 typedef $acx_cv_type_int32_t int32_t;
8628 elif test "$ac_cv_type_u_int32_t" = yes; then
8629 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8631 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
8644 typedef u_int8_t uint8_t;
8649 typedef u_int16_t uint16_t;
8654 typedef u_int32_t uint32_t;
8658 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8660 /* Some systems have guard macros to prevent redefinitions, define them. */
8682 # ------------- done basic int types, emit int64_t types ------------
8683 if test "$ac_cv_type_uint64_t" = yes; then
8684 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8686 /* system headers have good uint64_t and int64_t */
8694 elif test "$ac_cv_type_u_int64_t" = yes; then
8695 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8697 /* system headers have an u_int64_t (and int64_t) */
8703 typedef u_int64_t uint64_t;
8706 elif test -n "$acx_cv_type_int64_t"; then
8707 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8709 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
8712 typedef $acx_cv_type_int64_t int64_t;
8716 typedef unsigned $acx_cv_type_int64_t uint64_t;
8720 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8722 /* some common heuristics for int64_t, using compiler-specific tests */
8723 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
8726 typedef long long int64_t;
8730 typedef unsigned long long uint64_t;
8733 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
8734 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
8735 does not implement __extension__. But that compiler doesn't define
8737 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
8738 # define __extension__
8743 __extension__ typedef long long int64_t;
8747 __extension__ typedef unsigned long long uint64_t;
8750 #elif !defined __STRICT_ANSI__
8751 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
8755 typedef __int64 int64_t;
8759 typedef unsigned __int64 uint64_t;
8761 # endif /* compiler */
8763 #endif /* ANSI version */
8767 # ------------- done int64_t types, emit intptr types ------------
8768 if test "$ac_cv_type_uintptr_t" != yes; then
8769 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8771 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
8772 typedef u$acx_cv_type_intptr_t uintptr_t;
8773 typedef $acx_cv_type_intptr_t intptr_t;
8777 # ------------- done intptr types, emit int_least types ------------
8778 if test "$ac_cv_type_int_least32_t" != yes; then
8779 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8781 /* Define int_least types */
8782 typedef int8_t int_least8_t;
8783 typedef int16_t int_least16_t;
8784 typedef int32_t int_least32_t;
8786 typedef int64_t int_least64_t;
8789 typedef uint8_t uint_least8_t;
8790 typedef uint16_t uint_least16_t;
8791 typedef uint32_t uint_least32_t;
8793 typedef uint64_t uint_least64_t;
8798 # ------------- done intptr types, emit int_fast types ------------
8799 if test "$ac_cv_type_int_fast32_t" != yes; then
8800 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8802 /* Define int_fast types. short is often slow */
8803 typedef int8_t int_fast8_t;
8804 typedef int int_fast16_t;
8805 typedef int32_t int_fast32_t;
8807 typedef int64_t int_fast64_t;
8810 typedef uint8_t uint_fast8_t;
8811 typedef unsigned int uint_fast16_t;
8812 typedef uint32_t uint_fast32_t;
8814 typedef uint64_t uint_fast64_t;
8819 if test "$ac_cv_type_uintmax_t" != yes; then
8820 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8822 /* Define intmax based on what we found */
8824 typedef int64_t intmax_t;
8826 typedef long intmax_t;
8829 typedef uint64_t uintmax_t;
8831 typedef unsigned long uintmax_t;
8836 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8838 #endif /* GCC_GENERATED_STDINT_H */
8841 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
8844 mv -f tmp-stdint.h gstdint.h
8852 cat >>$CONFIG_STATUS <<\_ACEOF
8854 { (exit 0); exit 0; }
8856 chmod +x
$CONFIG_STATUS
8857 ac_clean_files
=$ac_clean_files_save
8860 # configure is writing to config.log, and then calls config.status.
8861 # config.status does its own redirection, appending to config.log.
8862 # Unfortunately, on DOS this fails, as config.log is still kept open
8863 # by configure, so config.status won't be able to write to it; its
8864 # output is simply discarded. So we exec the FD to /dev/null,
8865 # effectively closing config.log, so it can be properly (re)opened and
8866 # appended to by config.status. When coming back to configure, we
8867 # need to make the FD available again.
8868 if test "$no_create" != yes; then
8870 ac_config_status_args
=
8871 test "$silent" = yes &&
8872 ac_config_status_args
="$ac_config_status_args --quiet"
8874 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8876 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8877 # would make configure fail if this is the last instruction.
8878 $ac_cs_success ||
{ (exit 1); exit 1; }