2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libpcp Polyhedral Compilation Package Library .
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
='libpcp'
271 PACKAGE_TARNAME
='libpcp'
272 PACKAGE_VERSION
='Polyhedral Compilation Package Library '
273 PACKAGE_STRING
='libpcp Polyhedral Compilation Package Library '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="pcp.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 CXX CXXFLAGS ac_ct_CXX GMPLIBS GMPINC PPLLIBS PPLINC CLOOGLIBS CLOOGINC LIBOBJS LTLIBOBJS'
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set
=${build_alias+set}
745 ac_env_build_alias_value
=$build_alias
746 ac_cv_env_build_alias_set
=${build_alias+set}
747 ac_cv_env_build_alias_value
=$build_alias
748 ac_env_host_alias_set
=${host_alias+set}
749 ac_env_host_alias_value
=$host_alias
750 ac_cv_env_host_alias_set
=${host_alias+set}
751 ac_cv_env_host_alias_value
=$host_alias
752 ac_env_target_alias_set
=${target_alias+set}
753 ac_env_target_alias_value
=$target_alias
754 ac_cv_env_target_alias_set
=${target_alias+set}
755 ac_cv_env_target_alias_value
=$target_alias
756 ac_env_CC_set
=${CC+set}
758 ac_cv_env_CC_set
=${CC+set}
759 ac_cv_env_CC_value
=$CC
760 ac_env_CFLAGS_set
=${CFLAGS+set}
761 ac_env_CFLAGS_value
=$CFLAGS
762 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value
=$CFLAGS
764 ac_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_env_LDFLAGS_value
=$LDFLAGS
766 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value
=$LDFLAGS
768 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
772 ac_env_CPP_set
=${CPP+set}
773 ac_env_CPP_value
=$CPP
774 ac_cv_env_CPP_set
=${CPP+set}
775 ac_cv_env_CPP_value
=$CPP
776 ac_env_CXX_set
=${CXX+set}
777 ac_env_CXX_value
=$CXX
778 ac_cv_env_CXX_set
=${CXX+set}
779 ac_cv_env_CXX_value
=$CXX
780 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value
=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
784 ac_env_GMPLIBS_set
=${GMPLIBS+set}
785 ac_env_GMPLIBS_value
=$GMPLIBS
786 ac_cv_env_GMPLIBS_set
=${GMPLIBS+set}
787 ac_cv_env_GMPLIBS_value
=$GMPLIBS
788 ac_env_GMPINC_set
=${GMPINC+set}
789 ac_env_GMPINC_value
=$GMPINC
790 ac_cv_env_GMPINC_set
=${GMPINC+set}
791 ac_cv_env_GMPINC_value
=$GMPINC
792 ac_env_PPLLIBS_set
=${PPLLIBS+set}
793 ac_env_PPLLIBS_value
=$PPLLIBS
794 ac_cv_env_PPLLIBS_set
=${PPLLIBS+set}
795 ac_cv_env_PPLLIBS_value
=$PPLLIBS
796 ac_env_PPLINC_set
=${PPLINC+set}
797 ac_env_PPLINC_value
=$PPLINC
798 ac_cv_env_PPLINC_set
=${PPLINC+set}
799 ac_cv_env_PPLINC_value
=$PPLINC
800 ac_env_CLOOGLIBS_set
=${CLOOGLIBS+set}
801 ac_env_CLOOGLIBS_value
=$CLOOGLIBS
802 ac_cv_env_CLOOGLIBS_set
=${CLOOGLIBS+set}
803 ac_cv_env_CLOOGLIBS_value
=$CLOOGLIBS
804 ac_env_CLOOGINC_set
=${CLOOGINC+set}
805 ac_env_CLOOGINC_value
=$CLOOGINC
806 ac_cv_env_CLOOGINC_set
=${CLOOGINC+set}
807 ac_cv_env_CLOOGINC_value
=$CLOOGINC
810 # Report the --help message.
812 if test "$ac_init_help" = "long"; then
813 # Omit some internal or obsolete options to make the list less imposing.
814 # This message is too long to be a string in the A/UX 3.1 sh.
816 \`configure' configures libpcp Polyhedral Compilation Package Library to adapt to many kinds of systems.
818 Usage: $0 [OPTION]... [VAR=VALUE]...
820 To assign environment variables (e.g., CC, CFLAGS...), specify them as
821 VAR=VALUE. See below for descriptions of some of the useful variables.
823 Defaults for the options are specified in brackets.
826 -h, --help display this help and exit
827 --help=short display options specific to this package
828 --help=recursive display the short help of all the included packages
829 -V, --version display version information and exit
830 -q, --quiet, --silent do not print \`checking...' messages
831 --cache-file=FILE cache test results in FILE [disabled]
832 -C, --config-cache alias for \`--cache-file=config.cache'
833 -n, --no-create do not create output files
834 --srcdir=DIR find the sources in DIR [configure dir or \`..']
839 Installation directories:
840 --prefix=PREFIX install architecture-independent files in PREFIX
842 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
845 By default, \`make install' will install all the files in
846 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
847 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
848 for instance \`--prefix=\$HOME'.
850 For better control, use the options below.
852 Fine tuning of the installation directories:
853 --bindir=DIR user executables [EPREFIX/bin]
854 --sbindir=DIR system admin executables [EPREFIX/sbin]
855 --libexecdir=DIR program executables [EPREFIX/libexec]
856 --datadir=DIR read-only architecture-independent data [PREFIX/share]
857 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
858 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
859 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
860 --libdir=DIR object code libraries [EPREFIX/lib]
861 --includedir=DIR C header files [PREFIX/include]
862 --oldincludedir=DIR C header files for non-gcc [/usr/include]
863 --infodir=DIR info documentation [PREFIX/info]
864 --mandir=DIR man documentation [PREFIX/man]
871 if test -n "$ac_init_help"; then
872 case $ac_init_help in
873 short | recursive
) echo "Configuration of libpcp Polyhedral Compilation Package Library :";;
878 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
879 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
880 --enable-werror-always enable -Werror despite compiler version
881 --enable-maintainer-mode enable rules only needed by maintainers
883 Some influential environment variables
:
884 CC C compiler
command
885 CFLAGS C compiler flags
886 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
887 nonstandard directory
<lib dir
>
888 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
889 headers
in a nonstandard directory
<include dir
>
891 CXX C
++ compiler
command
892 CXXFLAGS C
++ compiler flags
893 GMPLIBS How to link GMP
894 GMPINC How to
find GMP include files
895 PPLLIBS How to link PPL
896 PPLINC How to
find PPL include files
897 CLOOGLIBS How to link CLOOG
898 CLOOGINC How to
find CLOOG include files
900 Use these variables to override the choices made by
`configure' or to help
901 it to find libraries and programs with nonstandard names/locations.
903 Report bugs to <gcc-bugs@gcc.gnu.org>.
907 if test "$ac_init_help" = "recursive"; then
908 # If there are subdirs, report their specific --help.
910 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
911 test -d $ac_dir || continue
914 if test "$ac_dir" != .; then
915 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
916 # A "../" for each directory in $ac_dir_suffix.
917 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
919 ac_dir_suffix= ac_top_builddir=
923 .) # No --srcdir option. We are building in place.
925 if test -z "$ac_top_builddir"; then
928 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
930 [\\/]* | ?:[\\/]* ) # Absolute path.
931 ac_srcdir=$srcdir$ac_dir_suffix;
932 ac_top_srcdir=$srcdir ;;
934 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
935 ac_top_srcdir=$ac_top_builddir$srcdir ;;
938 # Do not use `cd foo
&& pwd` to compute absolute paths, because
939 # the directories may not exist.
941 .) ac_abs_builddir="$ac_dir";;
944 .) ac_abs_builddir=`pwd`;;
945 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
946 *) ac_abs_builddir=`pwd`/"$ac_dir";;
949 case $ac_abs_builddir in
950 .) ac_abs_top_builddir=${ac_top_builddir}.;;
952 case ${ac_top_builddir}. in
953 .) ac_abs_top_builddir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
955 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
958 case $ac_abs_builddir in
959 .) ac_abs_srcdir=$ac_srcdir;;
962 .) ac_abs_srcdir=$ac_abs_builddir;;
963 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
964 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
967 case $ac_abs_builddir in
968 .) ac_abs_top_srcdir=$ac_top_srcdir;;
970 case $ac_top_srcdir in
971 .) ac_abs_top_srcdir=$ac_abs_builddir;;
972 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
973 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
978 # Check for guested configure; otherwise get Cygnus style configure.
979 if test -f $ac_srcdir/configure.gnu; then
981 $SHELL $ac_srcdir/configure.gnu --help=recursive
982 elif test -f $ac_srcdir/configure; then
984 $SHELL $ac_srcdir/configure --help=recursive
985 elif test -f $ac_srcdir/configure.ac ||
986 test -f $ac_srcdir/configure.in; then
990 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
996 test -n "$ac_init_help" && exit 0
997 if $ac_init_version; then
999 libpcp configure Polyhedral Compilation Package Library
1000 generated by GNU Autoconf 2.59
1002 Copyright (C) 2003 Free Software Foundation, Inc.
1003 This configure script is free software; the Free Software Foundation
1004 gives unlimited permission to copy, distribute and modify it.
1010 This file contains any messages produced by compilers while
1011 running configure, to aid debugging if configure makes a mistake.
1013 It was created by libpcp $as_me Polyhedral Compilation Package Library , which was
1014 generated by GNU Autoconf 2.59. Invocation command line was
1025 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1026 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1027 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1028 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1029 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1031 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1032 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1034 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1035 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1036 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1037 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1038 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1039 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1040 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1048 test -z "$as_dir" && as_dir=.
1049 echo "PATH: $as_dir"
1064 # Keep a trace of the command line.
1065 # Strip out --no-create and --no-recursion so they do not pile up.
1066 # Strip out --silent because we don't want to record it for future runs.
1067 # Also quote any args containing shell meta-characters.
1068 # Make two passes to allow for proper duplicate-argument suppression.
1073 ac_must_keep_next=false
1079 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1080 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081 | -silent | --silent | --silen | --sile | --sil)
1083 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1084 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1087 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1089 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1090 if test $ac_must_keep_next = true; then
1091 ac_must_keep_next=false # Got value, back to normal.
1094 *=* | --config-cache | -C | -disable-* | --disable-* \
1095 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1096 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1097 | -with-* | --with-* | -without-* | --without-* | --x)
1098 case "$ac_configure_args0 " in
1099 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1102 -* ) ac_must_keep_next=true ;;
1105 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1106 # Get rid of the leading space.
1112 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1113 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1115 # When interrupted or exit'd, cleanup temporary files, and complete
1116 # config.log. We remove comments because anyway the quotes in there
1117 # would cause problems or look ugly.
1118 # WARNING: Be sure not to use single quotes in there, as some shells,
1119 # such as our DU 5.0 friend, will then `close
' the trap.
1120 trap 'exit_status
=$?
1121 # Save into config.log some information that might help in debugging.
1126 ## ---------------- ##
1127 ## Cache variables. ##
1128 ## ---------------- ##
1131 # The following way of writing the cache mishandles newlines in values,
1134 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1137 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1138 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1142 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1149 ## ----------------- ##
1150 ## Output variables. ##
1151 ## ----------------- ##
1154 for ac_var
in $ac_subst_vars
1156 eval ac_val
=$
`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1161 if test -n "$ac_subst_files"; then
1168 for ac_var
in $ac_subst_files
1170 eval ac_val
=$
`echo $ac_var`
1171 echo "$ac_var='"'"'$ac_val'"'"'"
1176 if test -s confdefs.h
; then
1183 sed "/^$/d" confdefs.h |
sort
1186 test "$ac_signal" != 0 &&
1187 echo "$as_me: caught signal $ac_signal"
1188 echo "$as_me: exit $exit_status"
1190 rm -f core
*.core
&&
1191 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1194 for ac_signal in 1 2 13 15; do
1195 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1200 rm -rf conftest* confdefs.h
1201 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1204 # Predefined preprocessor variables.
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_NAME "$PACKAGE_NAME"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_STRING "$PACKAGE_STRING"
1226 cat >>confdefs.h <<_ACEOF
1227 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1231 # Let the site file select an alternate cache file if it wants to.
1232 # Prefer explicitly selected file to automatically selected ones.
1233 if test -z "$CONFIG_SITE"; then
1234 if test "x$prefix" != xNONE; then
1235 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1237 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1240 for ac_site_file in $CONFIG_SITE; do
1241 if test -r "$ac_site_file"; then
1242 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1243 echo "$as_me: loading site script $ac_site_file" >&6;}
1244 sed 's
/^
/|
/' "$ac_site_file" >&5
1249 if test -r "$cache_file"; then
1250 # Some versions of bash will fail to source /dev/null (special
1251 # files actually), so we avoid doing that.
1252 if test -f "$cache_file"; then
1253 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1254 echo "$as_me: loading cache $cache_file" >&6;}
1256 [\\/]* | ?:[\\/]* ) . $cache_file;;
1257 *) . ./$cache_file;;
1261 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1262 echo "$as_me: creating cache $cache_file" >&6;}
1266 # Check that the precious variables saved in the cache have kept the same
1268 ac_cache_corrupted=false
1269 for ac_var in `(set) 2>&1 |
1270 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1272 eval ac_new_set=\$ac_env_${ac_var}_set
1273 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1274 eval ac_new_val="\$ac_env_${ac_var}_value"
1275 case $ac_old_set,$ac_new_set in
1277 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1279 ac_cache_corrupted=: ;;
1281 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1282 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1283 ac_cache_corrupted=: ;;
1286 if test "x$ac_old_val" != "x$ac_new_val"; then
1287 # differences in whitespace do not lead to failure.
1288 ac_old_val_w=`echo x $ac_old_val`
1289 ac_new_val_w=`echo x $ac_new_val`
1290 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1291 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1292 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1293 ac_cache_corrupted=:
1295 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1296 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1297 eval $ac_var=\$ac_old_val
1299 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1300 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1301 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1302 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1305 # Pass precious variables to config.status.
1306 if test "$ac_new_set" = set; then
1308 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1309 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1310 *) ac_arg=$ac_var=$ac_new_val ;;
1312 case " $ac_configure_args " in
1313 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1314 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1318 if $ac_cache_corrupted; then
1319 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1320 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1321 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1322 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1323 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1324 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1325 { (exit 1); exit 1; }; }
1329 ac_cpp='$CPP $CPPFLAGS'
1330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1364 ac_config_headers="$ac_config_headers auto-host.h:config.in"
1367 # Checks for programs.
1368 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1369 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1370 set dummy ${MAKE-make}; ac_make=`echo "$2" |
sed 'y,:./+-,___p_,'`
1371 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1372 echo $ECHO_N "(cached) $ECHO_C" >&6
1374 cat >conftest.make <<\_ACEOF
1376 @echo 'ac_maketemp="$(MAKE)"'
1378 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1379 eval `${MAKE-make} -f conftest.
make 2>/dev
/null |
grep temp
=`
1380 if test -n "$ac_maketemp"; then
1381 eval ac_cv_prog_make_${ac_make}_set=yes
1383 eval ac_cv_prog_make_${ac_make}_set=no
1387 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set
`\" = yes"; then
1388 echo "$as_me:$LINENO: result: yes" >&5
1389 echo "${ECHO_T}yes" >&6
1392 echo "$as_me:$LINENO: result: no" >&5
1393 echo "${ECHO_T}no" >&6
1394 SET_MAKE="MAKE=${MAKE-make}"
1398 ac_cpp='$CPP $CPPFLAGS'
1399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1402 if test -n "$ac_tool_prefix"; then
1403 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1404 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1405 echo "$as_me:$LINENO: checking for $ac_word" >&5
1406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1407 if test "${ac_cv_prog_CC+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 if test -n "$CC"; then
1411 ac_cv_prog_CC="$CC" # Let the user override the test.
1413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 test -z "$as_dir" && as_dir=.
1418 for ac_exec_ext in '' $ac_executable_extensions; do
1419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1420 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1430 if test -n "$CC"; then
1431 echo "$as_me:$LINENO: result: $CC" >&5
1432 echo "${ECHO_T}$CC" >&6
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1439 if test -z "$ac_cv_prog_CC"; then
1441 # Extract the first word of "gcc", so it can be a program name with args.
1442 set dummy gcc; ac_word=$2
1443 echo "$as_me:$LINENO: checking for $ac_word" >&5
1444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1445 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1446 echo $ECHO_N "(cached) $ECHO_C" >&6
1448 if test -n "$ac_ct_CC"; then
1449 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1455 test -z "$as_dir" && as_dir=.
1456 for ac_exec_ext in '' $ac_executable_extensions; do
1457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1458 ac_cv_prog_ac_ct_CC="gcc"
1459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1468 if test -n "$ac_ct_CC"; then
1469 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1470 echo "${ECHO_T}$ac_ct_CC" >&6
1472 echo "$as_me:$LINENO: result: no" >&5
1473 echo "${ECHO_T}no" >&6
1481 if test -z "$CC"; then
1482 if test -n "$ac_tool_prefix"; then
1483 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1484 set dummy ${ac_tool_prefix}cc; ac_word=$2
1485 echo "$as_me:$LINENO: checking for $ac_word" >&5
1486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1487 if test "${ac_cv_prog_CC+set}" = set; then
1488 echo $ECHO_N "(cached) $ECHO_C" >&6
1490 if test -n "$CC"; then
1491 ac_cv_prog_CC="$CC" # Let the user override the test.
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir=.
1498 for ac_exec_ext in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500 ac_cv_prog_CC="${ac_tool_prefix}cc"
1501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1510 if test -n "$CC"; then
1511 echo "$as_me:$LINENO: result: $CC" >&5
1512 echo "${ECHO_T}$CC" >&6
1514 echo "$as_me:$LINENO: result: no" >&5
1515 echo "${ECHO_T}no" >&6
1519 if test -z "$ac_cv_prog_CC"; then
1521 # Extract the first word of "cc", so it can be a program name with args.
1522 set dummy cc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$ac_ct_CC"; then
1529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_ac_ct_CC="cc"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1548 if test -n "$ac_ct_CC"; then
1549 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1550 echo "${ECHO_T}$ac_ct_CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1562 if test -z "$CC"; then
1563 # Extract the first word of "cc", so it can be a program name with args.
1564 set dummy cc; ac_word=$2
1565 echo "$as_me:$LINENO: checking for $ac_word" >&5
1566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1567 if test "${ac_cv_prog_CC+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 if test -n "$CC"; then
1571 ac_cv_prog_CC="$CC" # Let the user override the test.
1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 test -z "$as_dir" && as_dir=.
1579 for ac_exec_ext in '' $ac_executable_extensions; do
1580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1582 ac_prog_rejected=yes
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1592 if test $ac_prog_rejected = yes; then
1593 # We found a bogon in the path, so make sure we never use it.
1594 set dummy $ac_cv_prog_CC
1596 if test $# != 0; then
1597 # We chose a different compiler from the bogus one.
1598 # However, it has the same basename, so the bogon will be chosen
1599 # first if we set CC to just the basename; use the full file name.
1601 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1607 if test -n "$CC"; then
1608 echo "$as_me:$LINENO: result: $CC" >&5
1609 echo "${ECHO_T}$CC" >&6
1611 echo "$as_me:$LINENO: result: no" >&5
1612 echo "${ECHO_T}no" >&6
1616 if test -z "$CC"; then
1617 if test -n "$ac_tool_prefix"; then
1620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_CC+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$CC"; then
1628 ac_cv_prog_CC="$CC" # Let the user override the test.
1630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir=.
1635 for ac_exec_ext in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1647 if test -n "$CC"; then
1648 echo "$as_me:$LINENO: result: $CC" >&5
1649 echo "${ECHO_T}$CC" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1655 test -n "$CC" && break
1658 if test -z "$CC"; then
1662 # Extract the first word of "$ac_prog", so it can be a program name with args.
1663 set dummy $ac_prog; ac_word=$2
1664 echo "$as_me:$LINENO: checking for $ac_word" >&5
1665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1666 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1667 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 if test -n "$ac_ct_CC"; then
1670 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1676 test -z "$as_dir" && as_dir=.
1677 for ac_exec_ext in '' $ac_executable_extensions; do
1678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1679 ac_cv_prog_ac_ct_CC="$ac_prog"
1680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1689 if test -n "$ac_ct_CC"; then
1690 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1691 echo "${ECHO_T}$ac_ct_CC" >&6
1693 echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1697 test -n "$ac_ct_CC" && break
1706 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1707 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1708 { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
1709 See \
`config.log' for more details." >&5
1710 echo "$as_me: error: no acceptable C compiler found in \$PATH
1711 See \`config.log
' for more details." >&2;}
1712 { (exit 1); exit 1; }; }; }
1714 # Provide some information about the compiler.
1715 echo "$as_me:$LINENO:" \
1716 "checking for C compiler version" >&5
1717 ac_compiler=`set X $ac_compile; echo $2`
1718 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1719 (eval $ac_compiler --version </dev/null >&5) 2>&5
1721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1722 (exit $ac_status); }
1723 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1724 (eval $ac_compiler -v </dev/null >&5) 2>&5
1726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1727 (exit $ac_status); }
1728 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1729 (eval $ac_compiler -V </dev/null >&5) 2>&5
1731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1732 (exit $ac_status); }
1734 cat >conftest.$ac_ext <<_ACEOF
1737 cat confdefs.h >>conftest.$ac_ext
1738 cat >>conftest.$ac_ext <<_ACEOF
1739 /* end confdefs.h. */
1749 ac_clean_files_save=$ac_clean_files
1750 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1751 # Try to create an executable without -o first, disregard a.out.
1752 # It will help us diagnose broken compilers, and finding out an intuition
1754 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1755 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1756 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1757 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1758 (eval $ac_link_default) 2>&5
1760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1761 (exit $ac_status); }; then
1762 # Find the output, starting from the most likely. This scheme is
1763 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1766 # Be careful to initialize this variable, since it used to be cached.
1767 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1769 # b.out is created by i960 compilers.
1770 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1772 test -f "$ac_file" ||
continue
1774 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1777 # This is the source file.
1780 # We found the default executable, but exeext='' is most
1784 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1785 # FIXME: I believe we export ac_cv_exeext for Libtool,
1786 # but it would be cool to find out if it's true. Does anybody
1787 # maintain Libtool? --akim.
1795 echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.
$ac_ext >&5
1798 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1799 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1800 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1801 See \`config.log' for more details." >&5
1802 echo "$as_me: error: C compiler cannot create executables
1803 See \`config.log' for more details." >&2;}
1804 { (exit 77); exit 77; }; }; }
1807 ac_exeext
=$ac_cv_exeext
1808 echo "$as_me:$LINENO: result: $ac_file" >&5
1809 echo "${ECHO_T}$ac_file" >&6
1811 # Check the compiler produces executables we can run. If not, either
1812 # the compiler is broken, or we cross compile.
1813 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1814 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1815 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1816 # If not cross compiling, check that we can run a simple program.
1817 if test "$cross_compiling" != yes; then
1818 if { ac_try
='./$ac_file'
1819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; }; then
1826 if test "$cross_compiling" = maybe
; then
1829 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1830 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1831 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1832 If you meant to cross compile, use \`--host'.
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: cannot run C compiled programs.
1835 If you meant to cross compile, use \`--host'.
1836 See \`config.log' for more details." >&2;}
1837 { (exit 1); exit 1; }; }; }
1841 echo "$as_me:$LINENO: result: yes" >&5
1842 echo "${ECHO_T}yes" >&6
1844 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1845 ac_clean_files
=$ac_clean_files_save
1846 # Check the compiler produces executables we can run. If not, either
1847 # the compiler is broken, or we cross compile.
1848 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1849 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1850 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1851 echo "${ECHO_T}$cross_compiling" >&6
1853 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1854 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1856 (eval $ac_link) 2>&5
1858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1859 (exit $ac_status); }; then
1860 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1861 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1862 # work properly (i.e., refer to `conftest.exe'), while it won't with
1864 for ac_file
in conftest.exe conftest conftest.
*; do
1865 test -f "$ac_file" ||
continue
1867 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1868 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1875 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1876 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1877 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1878 See \`config.log' for more details." >&5
1879 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1880 See \`config.log' for more details." >&2;}
1881 { (exit 1); exit 1; }; }; }
1884 rm -f conftest
$ac_cv_exeext
1885 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1886 echo "${ECHO_T}$ac_cv_exeext" >&6
1888 rm -f conftest.
$ac_ext
1889 EXEEXT
=$ac_cv_exeext
1891 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1892 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1893 if test "${ac_cv_objext+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 cat >conftest.
$ac_ext <<_ACEOF
1899 cat confdefs.h
>>conftest.
$ac_ext
1900 cat >>conftest.
$ac_ext <<_ACEOF
1901 /* end confdefs.h. */
1911 rm -f conftest.o conftest.obj
1912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1913 (eval $ac_compile) 2>&5
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); }; then
1917 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1919 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1920 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1925 echo "$as_me: failed program was:" >&5
1926 sed 's/^/| /' conftest.
$ac_ext >&5
1928 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1929 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1930 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1931 See \`config.log' for more details." >&5
1932 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1933 See \`config.log' for more details." >&2;}
1934 { (exit 1); exit 1; }; }; }
1937 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1939 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1940 echo "${ECHO_T}$ac_cv_objext" >&6
1941 OBJEXT
=$ac_cv_objext
1943 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1944 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1945 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 cat >conftest.
$ac_ext <<_ACEOF
1951 cat confdefs.h
>>conftest.
$ac_ext
1952 cat >>conftest.
$ac_ext <<_ACEOF
1953 /* end confdefs.h. */
1966 rm -f conftest.
$ac_objext
1967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1968 (eval $ac_compile) 2>conftest.er1
1970 grep -v '^ *+' conftest.er1
>conftest.err
1972 cat conftest.err
>&5
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); } &&
1975 { ac_try
='test -z "$ac_c_werror_flag"
1976 || test ! -s conftest.err'
1977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1981 (exit $ac_status); }; } &&
1982 { ac_try
='test -s conftest.$ac_objext'
1983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987 (exit $ac_status); }; }; then
1990 echo "$as_me: failed program was:" >&5
1991 sed 's/^/| /' conftest.
$ac_ext >&5
1995 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1996 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1999 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2000 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2001 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2002 ac_test_CFLAGS
=${CFLAGS+set}
2003 ac_save_CFLAGS
=$CFLAGS
2005 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2006 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2007 if test "${ac_cv_prog_cc_g+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 cat >conftest.
$ac_ext <<_ACEOF
2013 cat confdefs.h
>>conftest.
$ac_ext
2014 cat >>conftest.
$ac_ext <<_ACEOF
2015 /* end confdefs.h. */
2025 rm -f conftest.
$ac_objext
2026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2027 (eval $ac_compile) 2>conftest.er1
2029 grep -v '^ *+' conftest.er1
>conftest.err
2031 cat conftest.err
>&5
2032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033 (exit $ac_status); } &&
2034 { ac_try
='test -z "$ac_c_werror_flag"
2035 || test ! -s conftest.err'
2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); }; } &&
2041 { ac_try
='test -s conftest.$ac_objext'
2042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }; }; then
2049 echo "$as_me: failed program was:" >&5
2050 sed 's/^/| /' conftest.
$ac_ext >&5
2054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2056 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2057 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2058 if test "$ac_test_CFLAGS" = set; then
2059 CFLAGS
=$ac_save_CFLAGS
2060 elif test $ac_cv_prog_cc_g = yes; then
2061 if test "$GCC" = yes; then
2067 if test "$GCC" = yes; then
2073 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2074 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2075 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 ac_cv_prog_cc_stdc
=no
2080 cat >conftest.
$ac_ext <<_ACEOF
2083 cat confdefs.h
>>conftest.
$ac_ext
2084 cat >>conftest.
$ac_ext <<_ACEOF
2085 /* end confdefs.h. */
2088 #include <sys/types.h>
2089 #include <sys/stat.h>
2090 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2091 struct buf { int x; };
2092 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2093 static char *e (p, i)
2099 static char *f (char * (*g) (char **, int), char **p, ...)
2104 s = g (p, va_arg (v,int));
2109 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2110 function prototypes and stuff, but not '\xHH' hex character constants.
2111 These don't provoke an error unfortunately, instead are silently treated
2112 as 'x'. The following induces an error, until -std1 is added to get
2113 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2114 array size at least. It's necessary to write '\x00'==0 to get something
2115 that's true only with -std1. */
2116 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2118 int test (int i, double x);
2119 struct s1 {int (*f) (int a);};
2120 struct s2 {int (*f) (double a);};
2121 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2127 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2132 # Don't try gcc -ansi; that turns off useful extensions and
2133 # breaks some systems' header files.
2134 # AIX -qlanglvl=ansi
2135 # Ultrix and OSF/1 -std1
2136 # HP-UX 10.20 and later -Ae
2137 # HP-UX older versions -Aa -D_HPUX_SOURCE
2138 # SVR4 -Xc -D__EXTENSIONS__
2139 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2141 CC
="$ac_save_CC $ac_arg"
2142 rm -f conftest.
$ac_objext
2143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2144 (eval $ac_compile) 2>conftest.er1
2146 grep -v '^ *+' conftest.er1
>conftest.err
2148 cat conftest.err
>&5
2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150 (exit $ac_status); } &&
2151 { ac_try
='test -z "$ac_c_werror_flag"
2152 || test ! -s conftest.err'
2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; } &&
2158 { ac_try
='test -s conftest.$ac_objext'
2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2163 (exit $ac_status); }; }; then
2164 ac_cv_prog_cc_stdc
=$ac_arg
2167 echo "$as_me: failed program was:" >&5
2168 sed 's/^/| /' conftest.
$ac_ext >&5
2171 rm -f conftest.err conftest.
$ac_objext
2173 rm -f conftest.
$ac_ext conftest.
$ac_objext
2178 case "x$ac_cv_prog_cc_stdc" in
2180 echo "$as_me:$LINENO: result: none needed" >&5
2181 echo "${ECHO_T}none needed" >&6 ;;
2183 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2184 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2185 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2188 # Some people use a C++ compiler to compile C. Since we use `exit',
2189 # in C++ we need to declare it. In case someone uses the same compiler
2190 # for both compiling C and C++ we need to have the C++ compiler decide
2191 # the declaration of exit, since it's the most demanding environment.
2192 cat >conftest.
$ac_ext <<_ACEOF
2197 rm -f conftest.
$ac_objext
2198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2199 (eval $ac_compile) 2>conftest.er1
2201 grep -v '^ *+' conftest.er1
>conftest.err
2203 cat conftest.err
>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } &&
2206 { ac_try
='test -z "$ac_c_werror_flag"
2207 || test ! -s conftest.err'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; } &&
2213 { ac_try
='test -s conftest.$ac_objext'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; }; then
2219 for ac_declaration
in \
2221 'extern "C" void std::exit (int) throw (); using std::exit;' \
2222 'extern "C" void std::exit (int); using std::exit;' \
2223 'extern "C" void exit (int) throw ();' \
2224 'extern "C" void exit (int);' \
2227 cat >conftest.
$ac_ext <<_ACEOF
2230 cat confdefs.h
>>conftest.
$ac_ext
2231 cat >>conftest.
$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
2243 rm -f conftest.
$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1
>conftest.err
2249 cat conftest.err
>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try
='test -z "$ac_c_werror_flag"
2253 || test ! -s conftest.err'
2254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }; } &&
2259 { ac_try
='test -s conftest.$ac_objext'
2260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); }; }; then
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.
$ac_ext >&5
2272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2273 cat >conftest.
$ac_ext <<_ACEOF
2276 cat confdefs.h
>>conftest.
$ac_ext
2277 cat >>conftest.
$ac_ext <<_ACEOF
2278 /* end confdefs.h. */
2288 rm -f conftest.
$ac_objext
2289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290 (eval $ac_compile) 2>conftest.er1
2292 grep -v '^ *+' conftest.er1
>conftest.err
2294 cat conftest.err
>&5
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); } &&
2297 { ac_try
='test -z "$ac_c_werror_flag"
2298 || test ! -s conftest.err'
2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); }; } &&
2304 { ac_try
='test -s conftest.$ac_objext'
2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); }; }; then
2312 echo "$as_me: failed program was:" >&5
2313 sed 's/^/| /' conftest.
$ac_ext >&5
2316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2319 if test -n "$ac_declaration"; then
2320 echo '#ifdef __cplusplus' >>confdefs.h
2321 echo $ac_declaration >>confdefs.h
2322 echo '#endif' >>confdefs.h
2326 echo "$as_me: failed program was:" >&5
2327 sed 's/^/| /' conftest.
$ac_ext >&5
2330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2332 ac_cpp
='$CPP $CPPFLAGS'
2333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2337 if test -n "$ac_tool_prefix"; then
2338 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2339 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2340 echo "$as_me:$LINENO: checking for $ac_word" >&5
2341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2342 if test "${ac_cv_prog_RANLIB+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 if test -n "$RANLIB"; then
2346 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2352 test -z "$as_dir" && as_dir
=.
2353 for ac_exec_ext
in '' $ac_executable_extensions; do
2354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2355 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364 RANLIB
=$ac_cv_prog_RANLIB
2365 if test -n "$RANLIB"; then
2366 echo "$as_me:$LINENO: result: $RANLIB" >&5
2367 echo "${ECHO_T}$RANLIB" >&6
2369 echo "$as_me:$LINENO: result: no" >&5
2370 echo "${ECHO_T}no" >&6
2374 if test -z "$ac_cv_prog_RANLIB"; then
2375 ac_ct_RANLIB
=$RANLIB
2376 # Extract the first word of "ranlib", so it can be a program name with args.
2377 set dummy ranlib
; ac_word
=$2
2378 echo "$as_me:$LINENO: checking for $ac_word" >&5
2379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2380 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2381 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 if test -n "$ac_ct_RANLIB"; then
2384 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir
=.
2391 for ac_exec_ext
in '' $ac_executable_extensions; do
2392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2403 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2404 if test -n "$ac_ct_RANLIB"; then
2405 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2406 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2408 echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6
2412 RANLIB
=$ac_ct_RANLIB
2414 RANLIB
="$ac_cv_prog_RANLIB"
2418 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2419 for ac_prog
in aclocal
2421 # Extract the first word of "$ac_prog", so it can be a program name with args.
2422 set dummy
$ac_prog; ac_word
=$2
2423 echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2425 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 if test -n "$ACLOCAL"; then
2429 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir
=.
2436 for ac_exec_ext
in '' $ac_executable_extensions; do
2437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2438 ac_cv_prog_ACLOCAL
="$ac_prog"
2439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2447 ACLOCAL
=$ac_cv_prog_ACLOCAL
2448 if test -n "$ACLOCAL"; then
2449 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2450 echo "${ECHO_T}$ACLOCAL" >&6
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2456 test -n "$ACLOCAL" && break
2458 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2460 for ac_prog
in autoconf
2462 # Extract the first word of "$ac_prog", so it can be a program name with args.
2463 set dummy
$ac_prog; ac_word
=$2
2464 echo "$as_me:$LINENO: checking for $ac_word" >&5
2465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2466 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 if test -n "$AUTOCONF"; then
2470 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2476 test -z "$as_dir" && as_dir
=.
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2479 ac_cv_prog_AUTOCONF
="$ac_prog"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 AUTOCONF
=$ac_cv_prog_AUTOCONF
2489 if test -n "$AUTOCONF"; then
2490 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2491 echo "${ECHO_T}$AUTOCONF" >&6
2493 echo "$as_me:$LINENO: result: no" >&5
2494 echo "${ECHO_T}no" >&6
2497 test -n "$AUTOCONF" && break
2499 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2501 for ac_prog
in autoheader
2503 # Extract the first word of "$ac_prog", so it can be a program name with args.
2504 set dummy
$ac_prog; ac_word
=$2
2505 echo "$as_me:$LINENO: checking for $ac_word" >&5
2506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2507 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2510 if test -n "$AUTOHEADER"; then
2511 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2517 test -z "$as_dir" && as_dir
=.
2518 for ac_exec_ext
in '' $ac_executable_extensions; do
2519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2520 ac_cv_prog_AUTOHEADER
="$ac_prog"
2521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2530 if test -n "$AUTOHEADER"; then
2531 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2532 echo "${ECHO_T}$AUTOHEADER" >&6
2534 echo "$as_me:$LINENO: result: no" >&5
2535 echo "${ECHO_T}no" >&6
2538 test -n "$AUTOHEADER" && break
2540 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2543 # Figure out what compiler warnings we can enable.
2544 # See config/warnings.m4 for details.
2548 save_CFLAGS
="$CFLAGS"
2549 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2550 -Wmissing-prototypes -Wold-style-definition \
2551 -Wmissing-format-attribute -Wcast-qual; do
2552 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2554 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2555 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2556 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 cat >conftest.
$ac_ext <<_ACEOF
2563 cat confdefs.h
>>conftest.
$ac_ext
2564 cat >>conftest.
$ac_ext <<_ACEOF
2565 /* end confdefs.h. */
2575 rm -f conftest.
$ac_objext
2576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577 (eval $ac_compile) 2>conftest.er1
2579 grep -v '^ *+' conftest.er1
>conftest.err
2581 cat conftest.err
>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try
='test -z "$ac_c_werror_flag"
2585 || test ! -s conftest.err'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; } &&
2591 { ac_try
='test -s conftest.$ac_objext'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2597 eval "$as_acx_Woption=yes"
2599 echo "$as_me: failed program was:" >&5
2600 sed 's/^/| /' conftest.
$ac_ext >&5
2602 eval "$as_acx_Woption=no"
2604 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2607 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2608 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2609 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2610 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2614 CFLAGS
="$save_CFLAGS"
2617 if test "$GCC" = yes; then
2618 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2619 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2620 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 save_CFLAGS
="$CFLAGS"
2624 CFLAGS
="-pedantic -Wno-long-long"
2625 cat >conftest.
$ac_ext <<_ACEOF
2628 cat confdefs.h
>>conftest.
$ac_ext
2629 cat >>conftest.
$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2640 rm -f conftest.
$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>conftest.er1
2644 grep -v '^ *+' conftest.er1
>conftest.err
2646 cat conftest.err
>&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try
='test -z "$ac_c_werror_flag"
2650 || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try
='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.
$ac_ext >&5
2667 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2670 CFLAGS
="$save_CFLAGS"
2672 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2673 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2674 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2675 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
2683 # Only enable with --enable-werror-always until existing warnings are
2686 # Check whether --enable-werror-always or --disable-werror-always was given.
2687 if test "${enable_werror_always+set}" = set; then
2688 enableval
="$enable_werror_always"
2691 enable_werror_always
=no
2693 if test $enable_werror_always = yes; then
2694 WERROR
="$WERROR${WERROR:+ }-Werror"
2700 # Checks for header files.
2702 ac_cpp
='$CPP $CPPFLAGS'
2703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2706 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2707 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2708 # On Suns, sometimes $CPP names a directory.
2709 if test -n "$CPP" && test -d "$CPP"; then
2712 if test -z "$CPP"; then
2713 if test "${ac_cv_prog_CPP+set}" = set; then
2714 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 # Double quotes because CPP needs to be expanded
2717 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2720 for ac_c_preproc_warn_flag
in '' yes
2722 # Use a header file that comes with gcc, so configuring glibc
2723 # with a fresh cross-compiler works.
2724 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2725 # <limits.h> exists even on freestanding compilers.
2726 # On the NeXT, cc -E runs the code through the compiler's parser,
2727 # not just through cpp. "Syntax error" is here to catch this case.
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2735 # include <limits.h>
2737 # include <assert.h>
2741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } >/dev
/null
; then
2749 if test -s conftest.err
; then
2750 ac_cpp_err
=$ac_c_preproc_warn_flag
2751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2758 if test -z "$ac_cpp_err"; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.
$ac_ext >&5
2764 # Broken: fails on valid input.
2767 rm -f conftest.err conftest.
$ac_ext
2769 # OK, works on sane cases. Now check whether non-existent headers
2770 # can be detected and how.
2771 cat >conftest.
$ac_ext <<_ACEOF
2774 cat confdefs.h
>>conftest.
$ac_ext
2775 cat >>conftest.
$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2777 #include <ac_nonexistent.h>
2779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } >/dev
/null
; then
2787 if test -s conftest.err
; then
2788 ac_cpp_err
=$ac_c_preproc_warn_flag
2789 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2796 if test -z "$ac_cpp_err"; then
2797 # Broken: success on invalid input.
2800 echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.
$ac_ext >&5
2803 # Passes both tests.
2807 rm -f conftest.err conftest.
$ac_ext
2810 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2811 rm -f conftest.err conftest.
$ac_ext
2812 if $ac_preproc_ok; then
2824 echo "$as_me:$LINENO: result: $CPP" >&5
2825 echo "${ECHO_T}$CPP" >&6
2827 for ac_c_preproc_warn_flag
in '' yes
2829 # Use a header file that comes with gcc, so configuring glibc
2830 # with a fresh cross-compiler works.
2831 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2832 # <limits.h> exists even on freestanding compilers.
2833 # On the NeXT, cc -E runs the code through the compiler's parser,
2834 # not just through cpp. "Syntax error" is here to catch this case.
2835 cat >conftest.
$ac_ext <<_ACEOF
2838 cat confdefs.h
>>conftest.
$ac_ext
2839 cat >>conftest.
$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2842 # include <limits.h>
2844 # include <assert.h>
2848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2849 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2851 grep -v '^ *+' conftest.er1
>conftest.err
2853 cat conftest.err
>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); } >/dev
/null
; then
2856 if test -s conftest.err
; then
2857 ac_cpp_err
=$ac_c_preproc_warn_flag
2858 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2865 if test -z "$ac_cpp_err"; then
2868 echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.
$ac_ext >&5
2871 # Broken: fails on valid input.
2874 rm -f conftest.err conftest.
$ac_ext
2876 # OK, works on sane cases. Now check whether non-existent headers
2877 # can be detected and how.
2878 cat >conftest.
$ac_ext <<_ACEOF
2881 cat confdefs.h
>>conftest.
$ac_ext
2882 cat >>conftest.
$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2884 #include <ac_nonexistent.h>
2886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2889 grep -v '^ *+' conftest.er1
>conftest.err
2891 cat conftest.err
>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } >/dev
/null
; then
2894 if test -s conftest.err
; then
2895 ac_cpp_err
=$ac_c_preproc_warn_flag
2896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2903 if test -z "$ac_cpp_err"; then
2904 # Broken: success on invalid input.
2907 echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.
$ac_ext >&5
2910 # Passes both tests.
2914 rm -f conftest.err conftest.
$ac_ext
2917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2918 rm -f conftest.err conftest.
$ac_ext
2919 if $ac_preproc_ok; then
2922 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2923 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2925 See \`config.log' for more details." >&5
2926 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2927 See \`config.log' for more details." >&2;}
2928 { (exit 1); exit 1; }; }; }
2932 ac_cpp
='$CPP $CPPFLAGS'
2933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2938 echo "$as_me:$LINENO: checking for egrep" >&5
2939 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2940 if test "${ac_cv_prog_egrep+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2944 then ac_cv_prog_egrep
='grep -E'
2945 else ac_cv_prog_egrep
='egrep'
2948 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2949 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2950 EGREP
=$ac_cv_prog_egrep
2953 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2954 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2955 if test "${ac_cv_header_stdc+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 cat >conftest.
$ac_ext <<_ACEOF
2961 cat confdefs.h
>>conftest.
$ac_ext
2962 cat >>conftest.
$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2977 rm -f conftest.
$ac_objext
2978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2979 (eval $ac_compile) 2>conftest.er1
2981 grep -v '^ *+' conftest.er1
>conftest.err
2983 cat conftest.err
>&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } &&
2986 { ac_try
='test -z "$ac_c_werror_flag"
2987 || test ! -s conftest.err'
2988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); }; } &&
2993 { ac_try
='test -s conftest.$ac_objext'
2994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); }; }; then
2999 ac_cv_header_stdc
=yes
3001 echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.
$ac_ext >&5
3004 ac_cv_header_stdc
=no
3006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3008 if test $ac_cv_header_stdc = yes; then
3009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3010 cat >conftest.
$ac_ext <<_ACEOF
3013 cat confdefs.h
>>conftest.
$ac_ext
3014 cat >>conftest.
$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3020 $EGREP "memchr" >/dev
/null
2>&1; then
3023 ac_cv_header_stdc
=no
3029 if test $ac_cv_header_stdc = yes; then
3030 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3031 cat >conftest.
$ac_ext <<_ACEOF
3034 cat confdefs.h
>>conftest.
$ac_ext
3035 cat >>conftest.
$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3041 $EGREP "free" >/dev
/null
2>&1; then
3044 ac_cv_header_stdc
=no
3050 if test $ac_cv_header_stdc = yes; then
3051 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3052 if test "$cross_compiling" = yes; then
3055 cat >conftest.
$ac_ext <<_ACEOF
3058 cat confdefs.h
>>conftest.
$ac_ext
3059 cat >>conftest.
$ac_ext <<_ACEOF
3060 /* end confdefs.h. */
3062 #if ((' ' & 0x0FF) == 0x020)
3063 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3064 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3066 # define ISLOWER(c) \
3067 (('a' <= (c) && (c) <= 'i') \
3068 || ('j' <= (c) && (c) <= 'r') \
3069 || ('s' <= (c) && (c) <= 'z'))
3070 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3073 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3078 for (i = 0; i < 256; i++)
3079 if (XOR (islower (i), ISLOWER (i))
3080 || toupper (i) != TOUPPER (i))
3085 rm -f conftest
$ac_exeext
3086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3087 (eval $ac_link) 2>&5
3089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }; }; then
3098 echo "$as_me: program exited with status $ac_status" >&5
3099 echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.
$ac_ext >&5
3103 ac_cv_header_stdc
=no
3105 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3109 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3110 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3111 if test $ac_cv_header_stdc = yes; then
3113 cat >>confdefs.h
<<\_ACEOF
3114 #define STDC_HEADERS 1
3119 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3129 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3130 inttypes.h stdint.h unistd.h
3132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3133 echo "$as_me:$LINENO: checking for $ac_header" >&5
3134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 cat >conftest.
$ac_ext <<_ACEOF
3141 cat confdefs.h
>>conftest.
$ac_ext
3142 cat >>conftest.
$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3144 $ac_includes_default
3146 #include <$ac_header>
3148 rm -f conftest.
$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 (eval $ac_compile) 2>conftest.er1
3152 grep -v '^ *+' conftest.er1
>conftest.err
3154 cat conftest.err
>&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } &&
3157 { ac_try
='test -z "$ac_c_werror_flag"
3158 || test ! -s conftest.err'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; } &&
3164 { ac_try
='test -s conftest.$ac_objext'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3170 eval "$as_ac_Header=yes"
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.
$ac_ext >&5
3175 eval "$as_ac_Header=no"
3177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3182 cat >>confdefs.h
<<_ACEOF
3183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3194 for ac_header
in stddef.h string.h stdio.h
3196 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3198 echo "$as_me:$LINENO: checking for $ac_header" >&5
3199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3206 # Is the header compilable?
3207 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3209 cat >conftest.
$ac_ext <<_ACEOF
3212 cat confdefs.h
>>conftest.
$ac_ext
3213 cat >>conftest.
$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3215 $ac_includes_default
3216 #include <$ac_header>
3218 rm -f conftest.
$ac_objext
3219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3220 (eval $ac_compile) 2>conftest.er1
3222 grep -v '^ *+' conftest.er1
>conftest.err
3224 cat conftest.err
>&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 (exit $ac_status); } &&
3227 { ac_try
='test -z "$ac_c_werror_flag"
3228 || test ! -s conftest.err'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; } &&
3234 { ac_try
='test -s conftest.$ac_objext'
3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); }; }; then
3240 ac_header_compiler
=yes
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.
$ac_ext >&5
3245 ac_header_compiler
=no
3247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3249 echo "${ECHO_T}$ac_header_compiler" >&6
3251 # Is the header present?
3252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3254 cat >conftest.
$ac_ext <<_ACEOF
3257 cat confdefs.h
>>conftest.
$ac_ext
3258 cat >>conftest.
$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 #include <$ac_header>
3262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1
>conftest.err
3267 cat conftest.err
>&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev
/null
; then
3270 if test -s conftest.err
; then
3271 ac_cpp_err
=$ac_c_preproc_warn_flag
3272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3279 if test -z "$ac_cpp_err"; then
3280 ac_header_preproc
=yes
3282 echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.
$ac_ext >&5
3285 ac_header_preproc
=no
3287 rm -f conftest.err conftest.
$ac_ext
3288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3289 echo "${ECHO_T}$ac_header_preproc" >&6
3291 # So? What about this header?
3292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3298 ac_header_preproc
=yes
3301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3315 ## ----------------------------------- ##
3316 ## Report this to gcc-bugs@gcc.gnu.org ##
3317 ## ----------------------------------- ##
3320 sed "s/^/$as_me: WARNING: /" >&2
3323 echo "$as_me:$LINENO: checking for $ac_header" >&5
3324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 eval "$as_ac_Header=\$ac_header_preproc"
3330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3335 cat >>confdefs.h
<<_ACEOF
3336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3345 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
3347 acx_cv_header_stdint
=stddef.h
3348 acx_cv_header_stdint_kind
="(already complete)"
3349 for i
in stdint.h
$inttype_headers; do
3350 unset ac_cv_type_uintptr_t
3351 unset ac_cv_type_uintmax_t
3352 unset ac_cv_type_int_least32_t
3353 unset ac_cv_type_int_fast32_t
3354 unset ac_cv_type_uint64_t
3355 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
3356 echo "$as_me:$LINENO: checking for uintmax_t" >&5
3357 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
3358 if test "${ac_cv_type_uintmax_t+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 cat >conftest.
$ac_ext <<_ACEOF
3364 cat confdefs.h
>>conftest.
$ac_ext
3365 cat >>conftest.
$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3367 #include <sys/types.h>
3373 if ((uintmax_t *) 0)
3375 if (sizeof (uintmax_t))
3381 rm -f conftest.
$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try
='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try
='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3403 ac_cv_type_uintmax_t
=yes
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.
$ac_ext >&5
3408 ac_cv_type_uintmax_t
=no
3410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3412 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
3413 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
3414 if test $ac_cv_type_uintmax_t = yes; then
3415 acx_cv_header_stdint
=$i
3420 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3421 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3422 if test "${ac_cv_type_uintptr_t+set}" = set; then
3423 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 cat >conftest.
$ac_ext <<_ACEOF
3428 cat confdefs.h
>>conftest.
$ac_ext
3429 cat >>conftest.
$ac_ext <<_ACEOF
3430 /* end confdefs.h. */
3431 #include <sys/types.h>
3437 if ((uintptr_t *) 0)
3439 if (sizeof (uintptr_t))
3445 rm -f conftest.
$ac_objext
3446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3447 (eval $ac_compile) 2>conftest.er1
3449 grep -v '^ *+' conftest.er1
>conftest.err
3451 cat conftest.err
>&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); } &&
3454 { ac_try
='test -z "$ac_c_werror_flag"
3455 || test ! -s conftest.err'
3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }; } &&
3461 { ac_try
='test -s conftest.$ac_objext'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; }; then
3467 ac_cv_type_uintptr_t
=yes
3469 echo "$as_me: failed program was:" >&5
3470 sed 's/^/| /' conftest.
$ac_ext >&5
3472 ac_cv_type_uintptr_t
=no
3474 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3476 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3477 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3478 if test $ac_cv_type_uintptr_t = yes; then
3481 acx_cv_header_stdint_kind
="(mostly complete)"
3484 echo "$as_me:$LINENO: checking for int_least32_t" >&5
3485 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
3486 if test "${ac_cv_type_int_least32_t+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 cat >conftest.
$ac_ext <<_ACEOF
3492 cat confdefs.h
>>conftest.
$ac_ext
3493 cat >>conftest.
$ac_ext <<_ACEOF
3494 /* end confdefs.h. */
3495 #include <sys/types.h>
3501 if ((int_least32_t *) 0)
3503 if (sizeof (int_least32_t))
3509 rm -f conftest.
$ac_objext
3510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3511 (eval $ac_compile) 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try
='test -z "$ac_c_werror_flag"
3519 || test ! -s conftest.err'
3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; } &&
3525 { ac_try
='test -s conftest.$ac_objext'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; }; then
3531 ac_cv_type_int_least32_t
=yes
3533 echo "$as_me: failed program was:" >&5
3534 sed 's/^/| /' conftest.
$ac_ext >&5
3536 ac_cv_type_int_least32_t
=no
3538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
3541 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
3542 if test $ac_cv_type_int_least32_t = yes; then
3545 acx_cv_header_stdint_kind
="(mostly complete)"
3548 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
3549 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
3550 if test "${ac_cv_type_int_fast32_t+set}" = set; then
3551 echo $ECHO_N "(cached) $ECHO_C" >&6
3553 cat >conftest.
$ac_ext <<_ACEOF
3556 cat confdefs.h
>>conftest.
$ac_ext
3557 cat >>conftest.
$ac_ext <<_ACEOF
3558 /* end confdefs.h. */
3559 #include <sys/types.h>
3565 if ((int_fast32_t *) 0)
3567 if (sizeof (int_fast32_t))
3573 rm -f conftest.
$ac_objext
3574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3575 (eval $ac_compile) 2>conftest.er1
3577 grep -v '^ *+' conftest.er1
>conftest.err
3579 cat conftest.err
>&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); } &&
3582 { ac_try
='test -z "$ac_c_werror_flag"
3583 || test ! -s conftest.err'
3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }; } &&
3589 { ac_try
='test -s conftest.$ac_objext'
3590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }; }; then
3595 ac_cv_type_int_fast32_t
=yes
3597 echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.
$ac_ext >&5
3600 ac_cv_type_int_fast32_t
=no
3602 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3604 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
3605 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
3606 if test $ac_cv_type_int_fast32_t = yes; then
3609 acx_cv_header_stdint_kind
="(mostly complete)"
3612 echo "$as_me:$LINENO: checking for uint64_t" >&5
3613 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3614 if test "${ac_cv_type_uint64_t+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 cat >conftest.
$ac_ext <<_ACEOF
3620 cat confdefs.h
>>conftest.
$ac_ext
3621 cat >>conftest.
$ac_ext <<_ACEOF
3622 /* end confdefs.h. */
3623 #include <sys/types.h>
3631 if (sizeof (uint64_t))
3637 rm -f conftest.
$ac_objext
3638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3639 (eval $ac_compile) 2>conftest.er1
3641 grep -v '^ *+' conftest.er1
>conftest.err
3643 cat conftest.err
>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } &&
3646 { ac_try
='test -z "$ac_c_werror_flag"
3647 || test ! -s conftest.err'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; } &&
3653 { ac_try
='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then
3659 ac_cv_type_uint64_t
=yes
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.
$ac_ext >&5
3664 ac_cv_type_uint64_t
=no
3666 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3668 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3669 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3670 if test $ac_cv_type_uint64_t = yes; then
3673 acx_cv_header_stdint_kind
="(lacks uint64_t)"
3678 if test "$acx_cv_header_stdint" = stddef.h
; then
3679 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
3680 for i
in stdint.h
$inttype_headers; do
3681 unset ac_cv_type_uintptr_t
3682 unset ac_cv_type_uint32_t
3683 unset ac_cv_type_uint64_t
3684 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
3685 echo "$as_me:$LINENO: checking for uint32_t" >&5
3686 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
3687 if test "${ac_cv_type_uint32_t+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 cat >conftest.
$ac_ext <<_ACEOF
3693 cat confdefs.h
>>conftest.
$ac_ext
3694 cat >>conftest.
$ac_ext <<_ACEOF
3695 /* end confdefs.h. */
3696 #include <sys/types.h>
3704 if (sizeof (uint32_t))
3710 rm -f conftest.
$ac_objext
3711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3712 (eval $ac_compile) 2>conftest.er1
3714 grep -v '^ *+' conftest.er1
>conftest.err
3716 cat conftest.err
>&5
3717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718 (exit $ac_status); } &&
3719 { ac_try
='test -z "$ac_c_werror_flag"
3720 || test ! -s conftest.err'
3721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); }; } &&
3726 { ac_try
='test -s conftest.$ac_objext'
3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); }; }; then
3732 ac_cv_type_uint32_t
=yes
3734 echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.
$ac_ext >&5
3737 ac_cv_type_uint32_t
=no
3739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3741 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
3742 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
3743 if test $ac_cv_type_uint32_t = yes; then
3744 acx_cv_header_stdint
=$i
3749 echo "$as_me:$LINENO: checking for uint64_t" >&5
3750 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
3751 if test "${ac_cv_type_uint64_t+set}" = set; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 cat >conftest.
$ac_ext <<_ACEOF
3757 cat confdefs.h
>>conftest.
$ac_ext
3758 cat >>conftest.
$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3760 #include <sys/types.h>
3768 if (sizeof (uint64_t))
3774 rm -f conftest.
$ac_objext
3775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3776 (eval $ac_compile) 2>conftest.er1
3778 grep -v '^ *+' conftest.er1
>conftest.err
3780 cat conftest.err
>&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); } &&
3783 { ac_try
='test -z "$ac_c_werror_flag"
3784 || test ! -s conftest.err'
3785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); }; } &&
3790 { ac_try
='test -s conftest.$ac_objext'
3791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); }; }; then
3796 ac_cv_type_uint64_t
=yes
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.
$ac_ext >&5
3801 ac_cv_type_uint64_t
=no
3803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3805 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
3806 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
3808 echo "$as_me:$LINENO: checking for uintptr_t" >&5
3809 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
3810 if test "${ac_cv_type_uintptr_t+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 cat >conftest.
$ac_ext <<_ACEOF
3816 cat confdefs.h
>>conftest.
$ac_ext
3817 cat >>conftest.
$ac_ext <<_ACEOF
3818 /* end confdefs.h. */
3819 #include <sys/types.h>
3825 if ((uintptr_t *) 0)
3827 if (sizeof (uintptr_t))
3833 rm -f conftest.
$ac_objext
3834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3835 (eval $ac_compile) 2>conftest.er1
3837 grep -v '^ *+' conftest.er1
>conftest.err
3839 cat conftest.err
>&5
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841 (exit $ac_status); } &&
3842 { ac_try
='test -z "$ac_c_werror_flag"
3843 || test ! -s conftest.err'
3844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3848 (exit $ac_status); }; } &&
3849 { ac_try
='test -s conftest.$ac_objext'
3850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); }; }; then
3855 ac_cv_type_uintptr_t
=yes
3857 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.
$ac_ext >&5
3860 ac_cv_type_uintptr_t
=no
3862 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3864 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
3865 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
3870 if test "$acx_cv_header_stdint" = stddef.h
; then
3871 acx_cv_header_stdint_kind
="(u_intXX_t style)"
3872 for i
in sys
/types.h
$inttype_headers; do
3873 unset ac_cv_type_u_int32_t
3874 unset ac_cv_type_u_int64_t
3875 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
3876 echo "$as_me:$LINENO: checking for u_int32_t" >&5
3877 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
3878 if test "${ac_cv_type_u_int32_t+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 cat >conftest.
$ac_ext <<_ACEOF
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3887 #include <sys/types.h>
3893 if ((u_int32_t *) 0)
3895 if (sizeof (u_int32_t))
3901 rm -f conftest.
$ac_objext
3902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3903 (eval $ac_compile) 2>conftest.er1
3905 grep -v '^ *+' conftest.er1
>conftest.err
3907 cat conftest.err
>&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } &&
3910 { ac_try
='test -z "$ac_c_werror_flag"
3911 || test ! -s conftest.err'
3912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); }; } &&
3917 { ac_try
='test -s conftest.$ac_objext'
3918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); }; }; then
3923 ac_cv_type_u_int32_t
=yes
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.
$ac_ext >&5
3928 ac_cv_type_u_int32_t
=no
3930 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3932 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
3933 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
3934 if test $ac_cv_type_u_int32_t = yes; then
3935 acx_cv_header_stdint
=$i
3940 echo "$as_me:$LINENO: checking for u_int64_t" >&5
3941 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
3942 if test "${ac_cv_type_u_int64_t+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 cat >conftest.
$ac_ext <<_ACEOF
3948 cat confdefs.h
>>conftest.
$ac_ext
3949 cat >>conftest.
$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 #include <sys/types.h>
3957 if ((u_int64_t *) 0)
3959 if (sizeof (u_int64_t))
3965 rm -f conftest.
$ac_objext
3966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3967 (eval $ac_compile) 2>conftest.er1
3969 grep -v '^ *+' conftest.er1
>conftest.err
3971 cat conftest.err
>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } &&
3974 { ac_try
='test -z "$ac_c_werror_flag"
3975 || test ! -s conftest.err'
3976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); }; } &&
3981 { ac_try
='test -s conftest.$ac_objext'
3982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); }; }; then
3987 ac_cv_type_u_int64_t
=yes
3989 echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.
$ac_ext >&5
3992 ac_cv_type_u_int64_t
=no
3994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3996 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
3997 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
4002 if test "$acx_cv_header_stdint" = stddef.h
; then
4003 acx_cv_header_stdint_kind
="(using manual detection)"
4006 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
4007 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
4008 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
4009 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
4010 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
4012 # ----------------- Summarize what we found so far
4014 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
4015 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
4017 case `$as_basename gstdint.h ||
4018 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
4019 Xgstdint.h : 'X\(//\)$' \| \
4020 Xgstdint.h : 'X\(/\)$' \| \
4021 . : '\(.\)' 2>/dev/null ||
4023 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4024 /^X\/\(\/\/\)$/{ s//\1/; q; }
4025 /^X\/\(\/\).*/{ s//\1/; q; }
4027 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
4028 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4029 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
4030 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
4034 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
4035 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
4037 # ----------------- done included file, check C basic types --------
4039 # Lacking an uintptr_t? Test size of void *
4040 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
4041 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
4042 echo $ECHO_N "checking for void *... $ECHO_C" >&6
4043 if test "${ac_cv_type_void_p+set}" = set; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4052 $ac_includes_default
4058 if (sizeof (void *))
4064 rm -f conftest.
$ac_objext
4065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4066 (eval $ac_compile) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1
>conftest.err
4070 cat conftest.err
>&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try
='test -z "$ac_c_werror_flag"
4074 || test ! -s conftest.err'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; } &&
4080 { ac_try
='test -s conftest.$ac_objext'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; }; then
4086 ac_cv_type_void_p
=yes
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.
$ac_ext >&5
4091 ac_cv_type_void_p
=no
4093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4095 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
4096 echo "${ECHO_T}$ac_cv_type_void_p" >&6
4098 echo "$as_me:$LINENO: checking size of void *" >&5
4099 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
4100 if test "${ac_cv_sizeof_void_p+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 if test "$ac_cv_type_void_p" = yes; then
4104 # The cast to unsigned long works around a bug in the HP C Compiler
4105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4107 # This bug is HP SR number 8606223364.
4108 if test "$cross_compiling" = yes; then
4109 # Depending upon the size, compute the lo and hi bounds.
4110 cat >conftest.
$ac_ext <<_ACEOF
4113 cat confdefs.h
>>conftest.
$ac_ext
4114 cat >>conftest.
$ac_ext <<_ACEOF
4115 /* end confdefs.h. */
4116 $ac_includes_default
4120 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
4127 rm -f conftest.
$ac_objext
4128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4129 (eval $ac_compile) 2>conftest.er1
4131 grep -v '^ *+' conftest.er1
>conftest.err
4133 cat conftest.err
>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } &&
4136 { ac_try
='test -z "$ac_c_werror_flag"
4137 || test ! -s conftest.err'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; } &&
4143 { ac_try
='test -s conftest.$ac_objext'
4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); }; }; then
4151 cat >conftest.
$ac_ext <<_ACEOF
4154 cat confdefs.h
>>conftest.
$ac_ext
4155 cat >>conftest.
$ac_ext <<_ACEOF
4156 /* end confdefs.h. */
4157 $ac_includes_default
4161 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4168 rm -f conftest.
$ac_objext
4169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4170 (eval $ac_compile) 2>conftest.er1
4172 grep -v '^ *+' conftest.er1
>conftest.err
4174 cat conftest.err
>&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } &&
4177 { ac_try
='test -z "$ac_c_werror_flag"
4178 || test ! -s conftest.err'
4179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); }; } &&
4184 { ac_try
='test -s conftest.$ac_objext'
4185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4189 (exit $ac_status); }; }; then
4190 ac_hi
=$ac_mid; break
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.
$ac_ext >&5
4195 ac_lo
=`expr $ac_mid + 1`
4196 if test $ac_lo -le $ac_mid; then
4200 ac_mid
=`expr 2 '*' $ac_mid + 1`
4202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.
$ac_ext >&5
4208 cat >conftest.
$ac_ext <<_ACEOF
4211 cat confdefs.h
>>conftest.
$ac_ext
4212 cat >>conftest.
$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 $ac_includes_default
4218 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
4225 rm -f conftest.
$ac_objext
4226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4227 (eval $ac_compile) 2>conftest.er1
4229 grep -v '^ *+' conftest.er1
>conftest.err
4231 cat conftest.err
>&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } &&
4234 { ac_try
='test -z "$ac_c_werror_flag"
4235 || test ! -s conftest.err'
4236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); }; } &&
4241 { ac_try
='test -s conftest.$ac_objext'
4242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); }; }; then
4249 cat >conftest.
$ac_ext <<_ACEOF
4252 cat confdefs.h
>>conftest.
$ac_ext
4253 cat >>conftest.
$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4255 $ac_includes_default
4259 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
4266 rm -f conftest.
$ac_objext
4267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4268 (eval $ac_compile) 2>conftest.er1
4270 grep -v '^ *+' conftest.er1
>conftest.err
4272 cat conftest.err
>&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); } &&
4275 { ac_try
='test -z "$ac_c_werror_flag"
4276 || test ! -s conftest.err'
4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); }; } &&
4282 { ac_try
='test -s conftest.$ac_objext'
4283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287 (exit $ac_status); }; }; then
4288 ac_lo
=$ac_mid; break
4290 echo "$as_me: failed program was:" >&5
4291 sed 's/^/| /' conftest.
$ac_ext >&5
4293 ac_hi
=`expr '(' $ac_mid ')' - 1`
4294 if test $ac_mid -le $ac_hi; then
4298 ac_mid
=`expr 2 '*' $ac_mid`
4300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4303 echo "$as_me: failed program was:" >&5
4304 sed 's/^/| /' conftest.
$ac_ext >&5
4308 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4310 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4311 # Binary search between lo and hi bounds.
4312 while test "x$ac_lo" != "x$ac_hi"; do
4313 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4314 cat >conftest.
$ac_ext <<_ACEOF
4317 cat confdefs.h
>>conftest.
$ac_ext
4318 cat >>conftest.
$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 $ac_includes_default
4324 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
4331 rm -f conftest.
$ac_objext
4332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4333 (eval $ac_compile) 2>conftest.er1
4335 grep -v '^ *+' conftest.er1
>conftest.err
4337 cat conftest.err
>&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); } &&
4340 { ac_try
='test -z "$ac_c_werror_flag"
4341 || test ! -s conftest.err'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; } &&
4347 { ac_try
='test -s conftest.$ac_objext'
4348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); }; }; then
4355 echo "$as_me: failed program was:" >&5
4356 sed 's/^/| /' conftest.
$ac_ext >&5
4358 ac_lo
=`expr '(' $ac_mid ')' + 1`
4360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4363 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
4364 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4365 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4367 See \`config.log' for more details." >&5
4368 echo "$as_me: error: cannot compute sizeof (void *), 77
4369 See \`config.log' for more details." >&2;}
4370 { (exit 1); exit 1; }; }; } ;;
4373 if test "$cross_compiling" = yes; then
4374 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4375 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4376 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4377 See \`config.log' for more details." >&5
4378 echo "$as_me: error: cannot run test program while cross compiling
4379 See \`config.log' for more details." >&2;}
4380 { (exit 1); exit 1; }; }; }
4382 cat >conftest.
$ac_ext <<_ACEOF
4385 cat confdefs.h
>>conftest.
$ac_ext
4386 cat >>conftest.
$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4388 $ac_includes_default
4389 long longval () { return (long) (sizeof (void *)); }
4390 unsigned long ulongval () { return (long) (sizeof (void *)); }
4397 FILE *f = fopen ("conftest.val", "w");
4400 if (((long) (sizeof (void *))) < 0)
4402 long i = longval ();
4403 if (i != ((long) (sizeof (void *))))
4405 fprintf (f, "%ld\n", i);
4409 unsigned long i = ulongval ();
4410 if (i != ((long) (sizeof (void *))))
4412 fprintf (f, "%lu\n", i);
4414 exit (ferror (f) || fclose (f) != 0);
4420 rm -f conftest
$ac_exeext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4422 (eval $ac_link) 2>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4431 ac_cv_sizeof_void_p
=`cat conftest.val`
4433 echo "$as_me: program exited with status $ac_status" >&5
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.
$ac_ext >&5
4438 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4439 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
4441 See \`config.log' for more details." >&5
4442 echo "$as_me: error: cannot compute sizeof (void *), 77
4443 See \`config.log' for more details." >&2;}
4444 { (exit 1); exit 1; }; }; }
4446 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4451 ac_cv_sizeof_void_p
=0
4454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
4455 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
4456 cat >>confdefs.h
<<_ACEOF
4457 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4463 # Lacking an uint64_t? Test size of long
4464 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
4465 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
4466 echo $ECHO_N "checking for long... $ECHO_C" >&6
4467 if test "${ac_cv_type_long+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
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
4488 rm -f conftest.
$ac_objext
4489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4490 (eval $ac_compile) 2>conftest.er1
4492 grep -v '^ *+' conftest.er1
>conftest.err
4494 cat conftest.err
>&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); } &&
4497 { ac_try
='test -z "$ac_c_werror_flag"
4498 || test ! -s conftest.err'
4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; } &&
4504 { ac_try
='test -s conftest.$ac_objext'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; }; then
4512 echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.
$ac_ext >&5
4517 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4519 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4520 echo "${ECHO_T}$ac_cv_type_long" >&6
4522 echo "$as_me:$LINENO: checking size of long" >&5
4523 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4524 if test "${ac_cv_sizeof_long+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 if test "$ac_cv_type_long" = yes; then
4528 # The cast to unsigned long works around a bug in the HP C Compiler
4529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4531 # This bug is HP SR number 8606223364.
4532 if test "$cross_compiling" = yes; then
4533 # Depending upon the size, compute the lo and hi bounds.
4534 cat >conftest.
$ac_ext <<_ACEOF
4537 cat confdefs.h
>>conftest.
$ac_ext
4538 cat >>conftest.
$ac_ext <<_ACEOF
4539 /* end confdefs.h. */
4540 $ac_includes_default
4544 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4551 rm -f conftest.
$ac_objext
4552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4553 (eval $ac_compile) 2>conftest.er1
4555 grep -v '^ *+' conftest.er1
>conftest.err
4557 cat conftest.err
>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); } &&
4560 { ac_try
='test -z "$ac_c_werror_flag"
4561 || test ! -s conftest.err'
4562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); }; } &&
4567 { ac_try
='test -s conftest.$ac_objext'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; }; then
4575 cat >conftest.
$ac_ext <<_ACEOF
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4581 $ac_includes_default
4585 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4592 rm -f conftest.
$ac_objext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4594 (eval $ac_compile) 2>conftest.er1
4596 grep -v '^ *+' conftest.er1
>conftest.err
4598 cat conftest.err
>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } &&
4601 { ac_try
='test -z "$ac_c_werror_flag"
4602 || test ! -s conftest.err'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; } &&
4608 { ac_try
='test -s conftest.$ac_objext'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 ac_hi
=$ac_mid; break
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4619 ac_lo
=`expr $ac_mid + 1`
4620 if test $ac_lo -le $ac_mid; then
4624 ac_mid
=`expr 2 '*' $ac_mid + 1`
4626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.
$ac_ext >&5
4632 cat >conftest.
$ac_ext <<_ACEOF
4635 cat confdefs.h
>>conftest.
$ac_ext
4636 cat >>conftest.
$ac_ext <<_ACEOF
4637 /* end confdefs.h. */
4638 $ac_includes_default
4642 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4649 rm -f conftest.
$ac_objext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4651 (eval $ac_compile) 2>conftest.er1
4653 grep -v '^ *+' conftest.er1
>conftest.err
4655 cat conftest.err
>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try
='test -z "$ac_c_werror_flag"
4659 || test ! -s conftest.err'
4660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); }; } &&
4665 { ac_try
='test -s conftest.$ac_objext'
4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); }; }; then
4673 cat >conftest.
$ac_ext <<_ACEOF
4676 cat confdefs.h
>>conftest.
$ac_ext
4677 cat >>conftest.
$ac_ext <<_ACEOF
4678 /* end confdefs.h. */
4679 $ac_includes_default
4683 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4690 rm -f conftest.
$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692 (eval $ac_compile) 2>conftest.er1
4694 grep -v '^ *+' conftest.er1
>conftest.err
4696 cat conftest.err
>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } &&
4699 { ac_try
='test -z "$ac_c_werror_flag"
4700 || test ! -s conftest.err'
4701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; } &&
4706 { ac_try
='test -s conftest.$ac_objext'
4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711 (exit $ac_status); }; }; then
4712 ac_lo
=$ac_mid; break
4714 echo "$as_me: failed program was:" >&5
4715 sed 's/^/| /' conftest.
$ac_ext >&5
4717 ac_hi
=`expr '(' $ac_mid ')' - 1`
4718 if test $ac_mid -le $ac_hi; then
4722 ac_mid
=`expr 2 '*' $ac_mid`
4724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.
$ac_ext >&5
4732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4734 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4735 # Binary search between lo and hi bounds.
4736 while test "x$ac_lo" != "x$ac_hi"; do
4737 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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
4748 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4755 rm -f conftest.
$ac_objext
4756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4757 (eval $ac_compile) 2>conftest.er1
4759 grep -v '^ *+' conftest.er1
>conftest.err
4761 cat conftest.err
>&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); } &&
4764 { ac_try
='test -z "$ac_c_werror_flag"
4765 || test ! -s conftest.err'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try
='test -s conftest.$ac_objext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.
$ac_ext >&5
4782 ac_lo
=`expr '(' $ac_mid ')' + 1`
4784 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4788 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4789 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4791 See \`config.log' for more details." >&5
4792 echo "$as_me: error: cannot compute sizeof (long), 77
4793 See \`config.log' for more details." >&2;}
4794 { (exit 1); exit 1; }; }; } ;;
4797 if test "$cross_compiling" = yes; then
4798 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4799 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4800 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4801 See \`config.log' for more details." >&5
4802 echo "$as_me: error: cannot run test program while cross compiling
4803 See \`config.log' for more details." >&2;}
4804 { (exit 1); exit 1; }; }; }
4806 cat >conftest.
$ac_ext <<_ACEOF
4809 cat confdefs.h
>>conftest.
$ac_ext
4810 cat >>conftest.
$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4812 $ac_includes_default
4813 long longval () { return (long) (sizeof (long)); }
4814 unsigned long ulongval () { return (long) (sizeof (long)); }
4821 FILE *f = fopen ("conftest.val", "w");
4824 if (((long) (sizeof (long))) < 0)
4826 long i = longval ();
4827 if (i != ((long) (sizeof (long))))
4829 fprintf (f, "%ld\n", i);
4833 unsigned long i = ulongval ();
4834 if (i != ((long) (sizeof (long))))
4836 fprintf (f, "%lu\n", i);
4838 exit (ferror (f) || fclose (f) != 0);
4844 rm -f conftest
$ac_exeext
4845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4846 (eval $ac_link) 2>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_sizeof_long
=`cat conftest.val`
4857 echo "$as_me: program exited with status $ac_status" >&5
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.
$ac_ext >&5
4862 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4863 echo "$as_me: error: in \`$ac_pwd':" >&2;}
4864 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4865 See \`config.log' for more details." >&5
4866 echo "$as_me: error: cannot compute sizeof (long), 77
4867 See \`config.log' for more details." >&2;}
4868 { (exit 1); exit 1; }; }; }
4870 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4878 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4879 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4880 cat >>confdefs.h
<<_ACEOF
4881 #define SIZEOF_LONG $ac_cv_sizeof_long
4887 if test $acx_cv_header_stdint = stddef.h
; then
4888 # Lacking a good header? Test size of everything and deduce all types.
4889 echo "$as_me:$LINENO: checking for int" >&5
4890 echo $ECHO_N "checking for int... $ECHO_C" >&6
4891 if test "${ac_cv_type_int+set}" = set; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4894 cat >conftest.
$ac_ext <<_ACEOF
4897 cat confdefs.h
>>conftest.
$ac_ext
4898 cat >>conftest.
$ac_ext <<_ACEOF
4899 /* end confdefs.h. */
4900 $ac_includes_default
4912 rm -f conftest.
$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914 (eval $ac_compile) 2>conftest.er1
4916 grep -v '^ *+' conftest.er1
>conftest.err
4918 cat conftest.err
>&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try
='test -z "$ac_c_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try
='test -s conftest.$ac_objext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4936 echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.
$ac_ext >&5
4941 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4943 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4944 echo "${ECHO_T}$ac_cv_type_int" >&6
4946 echo "$as_me:$LINENO: checking size of int" >&5
4947 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4948 if test "${ac_cv_sizeof_int+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 if test "$ac_cv_type_int" = yes; then
4952 # The cast to unsigned long works around a bug in the HP C Compiler
4953 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4954 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4955 # This bug is HP SR number 8606223364.
4956 if test "$cross_compiling" = yes; then
4957 # Depending upon the size, compute the lo and hi bounds.
4958 cat >conftest.
$ac_ext <<_ACEOF
4961 cat confdefs.h
>>conftest.
$ac_ext
4962 cat >>conftest.
$ac_ext <<_ACEOF
4963 /* end confdefs.h. */
4964 $ac_includes_default
4968 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4975 rm -f conftest.
$ac_objext
4976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4977 (eval $ac_compile) 2>conftest.er1
4979 grep -v '^ *+' conftest.er1
>conftest.err
4981 cat conftest.err
>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } &&
4984 { ac_try
='test -z "$ac_c_werror_flag"
4985 || test ! -s conftest.err'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; } &&
4991 { ac_try
='test -s conftest.$ac_objext'
4992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; }; then
4999 cat >conftest.
$ac_ext <<_ACEOF
5002 cat confdefs.h
>>conftest.
$ac_ext
5003 cat >>conftest.
$ac_ext <<_ACEOF
5004 /* end confdefs.h. */
5005 $ac_includes_default
5009 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5016 rm -f conftest.
$ac_objext
5017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5018 (eval $ac_compile) 2>conftest.er1
5020 grep -v '^ *+' conftest.er1
>conftest.err
5022 cat conftest.err
>&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); } &&
5025 { ac_try
='test -z "$ac_c_werror_flag"
5026 || test ! -s conftest.err'
5027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); }; } &&
5032 { ac_try
='test -s conftest.$ac_objext'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 ac_hi
=$ac_mid; break
5040 echo "$as_me: failed program was:" >&5
5041 sed 's/^/| /' conftest.
$ac_ext >&5
5043 ac_lo
=`expr $ac_mid + 1`
5044 if test $ac_lo -le $ac_mid; then
5048 ac_mid
=`expr 2 '*' $ac_mid + 1`
5050 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5053 echo "$as_me: failed program was:" >&5
5054 sed 's/^/| /' conftest.
$ac_ext >&5
5056 cat >conftest.
$ac_ext <<_ACEOF
5059 cat confdefs.h
>>conftest.
$ac_ext
5060 cat >>conftest.
$ac_ext <<_ACEOF
5061 /* end confdefs.h. */
5062 $ac_includes_default
5066 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
5073 rm -f conftest.
$ac_objext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075 (eval $ac_compile) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1
>conftest.err
5079 cat conftest.err
>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try
='test -z "$ac_c_werror_flag"
5083 || test ! -s conftest.err'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; } &&
5089 { ac_try
='test -s conftest.$ac_objext'
5090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; }; then
5097 cat >conftest.
$ac_ext <<_ACEOF
5100 cat confdefs.h
>>conftest.
$ac_ext
5101 cat >>conftest.
$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5103 $ac_includes_default
5107 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
5114 rm -f conftest.
$ac_objext
5115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5116 (eval $ac_compile) 2>conftest.er1
5118 grep -v '^ *+' conftest.er1
>conftest.err
5120 cat conftest.err
>&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } &&
5123 { ac_try
='test -z "$ac_c_werror_flag"
5124 || test ! -s conftest.err'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; } &&
5130 { ac_try
='test -s conftest.$ac_objext'
5131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); }; }; then
5136 ac_lo
=$ac_mid; break
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.
$ac_ext >&5
5141 ac_hi
=`expr '(' $ac_mid ')' - 1`
5142 if test $ac_mid -le $ac_hi; then
5146 ac_mid
=`expr 2 '*' $ac_mid`
5148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5151 echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.
$ac_ext >&5
5156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5159 # Binary search between lo and hi bounds.
5160 while test "x$ac_lo" != "x$ac_hi"; do
5161 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5162 cat >conftest.
$ac_ext <<_ACEOF
5165 cat confdefs.h
>>conftest.
$ac_ext
5166 cat >>conftest.
$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 $ac_includes_default
5172 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
5179 rm -f conftest.
$ac_objext
5180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5181 (eval $ac_compile) 2>conftest.er1
5183 grep -v '^ *+' conftest.er1
>conftest.err
5185 cat conftest.err
>&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); } &&
5188 { ac_try
='test -z "$ac_c_werror_flag"
5189 || test ! -s conftest.err'
5190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); }; } &&
5195 { ac_try
='test -s conftest.$ac_objext'
5196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); }; }; then
5203 echo "$as_me: failed program was:" >&5
5204 sed 's/^/| /' conftest.
$ac_ext >&5
5206 ac_lo
=`expr '(' $ac_mid ')' + 1`
5208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5211 ?
*) ac_cv_sizeof_int
=$ac_lo;;
5212 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5213 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5214 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5215 See \`config.log' for more details." >&5
5216 echo "$as_me: error: cannot compute sizeof (int), 77
5217 See \`config.log' for more details." >&2;}
5218 { (exit 1); exit 1; }; }; } ;;
5221 if test "$cross_compiling" = yes; then
5222 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5223 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5224 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5225 See \`config.log' for more details." >&5
5226 echo "$as_me: error: cannot run test program while cross compiling
5227 See \`config.log' for more details." >&2;}
5228 { (exit 1); exit 1; }; }; }
5230 cat >conftest.
$ac_ext <<_ACEOF
5233 cat confdefs.h
>>conftest.
$ac_ext
5234 cat >>conftest.
$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5236 $ac_includes_default
5237 long longval () { return (long) (sizeof (int)); }
5238 unsigned long ulongval () { return (long) (sizeof (int)); }
5245 FILE *f = fopen ("conftest.val", "w");
5248 if (((long) (sizeof (int))) < 0)
5250 long i = longval ();
5251 if (i != ((long) (sizeof (int))))
5253 fprintf (f, "%ld\n", i);
5257 unsigned long i = ulongval ();
5258 if (i != ((long) (sizeof (int))))
5260 fprintf (f, "%lu\n", i);
5262 exit (ferror (f) || fclose (f) != 0);
5268 rm -f conftest
$ac_exeext
5269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5270 (eval $ac_link) 2>&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }; }; then
5279 ac_cv_sizeof_int
=`cat conftest.val`
5281 echo "$as_me: program exited with status $ac_status" >&5
5282 echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.
$ac_ext >&5
5286 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5287 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
5289 See \`config.log' for more details." >&5
5290 echo "$as_me: error: cannot compute sizeof (int), 77
5291 See \`config.log' for more details." >&2;}
5292 { (exit 1); exit 1; }; }; }
5294 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5302 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5303 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
5304 cat >>confdefs.h
<<_ACEOF
5305 #define SIZEOF_INT $ac_cv_sizeof_int
5309 echo "$as_me:$LINENO: checking for short" >&5
5310 echo $ECHO_N "checking for short... $ECHO_C" >&6
5311 if test "${ac_cv_type_short+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 cat >conftest.
$ac_ext <<_ACEOF
5317 cat confdefs.h
>>conftest.
$ac_ext
5318 cat >>conftest.
$ac_ext <<_ACEOF
5319 /* end confdefs.h. */
5320 $ac_includes_default
5332 rm -f conftest.
$ac_objext
5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334 (eval $ac_compile) 2>conftest.er1
5336 grep -v '^ *+' conftest.er1
>conftest.err
5338 cat conftest.err
>&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } &&
5341 { ac_try
='test -z "$ac_c_werror_flag"
5342 || test ! -s conftest.err'
5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }; } &&
5348 { ac_try
='test -s conftest.$ac_objext'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; }; then
5354 ac_cv_type_short
=yes
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.
$ac_ext >&5
5361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5363 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5364 echo "${ECHO_T}$ac_cv_type_short" >&6
5366 echo "$as_me:$LINENO: checking size of short" >&5
5367 echo $ECHO_N "checking size of short... $ECHO_C" >&6
5368 if test "${ac_cv_sizeof_short+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 if test "$ac_cv_type_short" = yes; then
5372 # The cast to unsigned long works around a bug in the HP C Compiler
5373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5375 # This bug is HP SR number 8606223364.
5376 if test "$cross_compiling" = yes; then
5377 # Depending upon the size, compute the lo and hi bounds.
5378 cat >conftest.
$ac_ext <<_ACEOF
5381 cat confdefs.h
>>conftest.
$ac_ext
5382 cat >>conftest.
$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5384 $ac_includes_default
5388 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
5395 rm -f conftest.
$ac_objext
5396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5397 (eval $ac_compile) 2>conftest.er1
5399 grep -v '^ *+' conftest.er1
>conftest.err
5401 cat conftest.err
>&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); } &&
5404 { ac_try
='test -z "$ac_c_werror_flag"
5405 || test ! -s conftest.err'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; } &&
5411 { ac_try
='test -s conftest.$ac_objext'
5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; }; then
5419 cat >conftest.
$ac_ext <<_ACEOF
5422 cat confdefs.h
>>conftest.
$ac_ext
5423 cat >>conftest.
$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 $ac_includes_default
5429 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5436 rm -f conftest.
$ac_objext
5437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5438 (eval $ac_compile) 2>conftest.er1
5440 grep -v '^ *+' conftest.er1
>conftest.err
5442 cat conftest.err
>&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); } &&
5445 { ac_try
='test -z "$ac_c_werror_flag"
5446 || test ! -s conftest.err'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; } &&
5452 { ac_try
='test -s conftest.$ac_objext'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; }; then
5458 ac_hi
=$ac_mid; break
5460 echo "$as_me: failed program was:" >&5
5461 sed 's/^/| /' conftest.
$ac_ext >&5
5463 ac_lo
=`expr $ac_mid + 1`
5464 if test $ac_lo -le $ac_mid; then
5468 ac_mid
=`expr 2 '*' $ac_mid + 1`
5470 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5473 echo "$as_me: failed program was:" >&5
5474 sed 's/^/| /' conftest.
$ac_ext >&5
5476 cat >conftest.
$ac_ext <<_ACEOF
5479 cat confdefs.h
>>conftest.
$ac_ext
5480 cat >>conftest.
$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5482 $ac_includes_default
5486 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
5493 rm -f conftest.
$ac_objext
5494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5495 (eval $ac_compile) 2>conftest.er1
5497 grep -v '^ *+' conftest.er1
>conftest.err
5499 cat conftest.err
>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } &&
5502 { ac_try
='test -z "$ac_c_werror_flag"
5503 || test ! -s conftest.err'
5504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; } &&
5509 { ac_try
='test -s conftest.$ac_objext'
5510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); }; }; then
5517 cat >conftest.
$ac_ext <<_ACEOF
5520 cat confdefs.h
>>conftest.
$ac_ext
5521 cat >>conftest.
$ac_ext <<_ACEOF
5522 /* end confdefs.h. */
5523 $ac_includes_default
5527 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
5534 rm -f conftest.
$ac_objext
5535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5536 (eval $ac_compile) 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try
='test -z "$ac_c_werror_flag"
5544 || test ! -s conftest.err'
5545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); }; } &&
5550 { ac_try
='test -s conftest.$ac_objext'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; }; then
5556 ac_lo
=$ac_mid; break
5558 echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.
$ac_ext >&5
5561 ac_hi
=`expr '(' $ac_mid ')' - 1`
5562 if test $ac_mid -le $ac_hi; then
5566 ac_mid
=`expr 2 '*' $ac_mid`
5568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.
$ac_ext >&5
5576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5579 # Binary search between lo and hi bounds.
5580 while test "x$ac_lo" != "x$ac_hi"; do
5581 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5582 cat >conftest.
$ac_ext <<_ACEOF
5585 cat confdefs.h
>>conftest.
$ac_ext
5586 cat >>conftest.
$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5588 $ac_includes_default
5592 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
5599 rm -f conftest.
$ac_objext
5600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5601 (eval $ac_compile) 2>conftest.er1
5603 grep -v '^ *+' conftest.er1
>conftest.err
5605 cat conftest.err
>&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } &&
5608 { ac_try
='test -z "$ac_c_werror_flag"
5609 || test ! -s conftest.err'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; } &&
5615 { ac_try
='test -s conftest.$ac_objext'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; }; then
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.
$ac_ext >&5
5626 ac_lo
=`expr '(' $ac_mid ')' + 1`
5628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5631 ?
*) ac_cv_sizeof_short
=$ac_lo;;
5632 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5633 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5634 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5635 See \`config.log' for more details." >&5
5636 echo "$as_me: error: cannot compute sizeof (short), 77
5637 See \`config.log' for more details." >&2;}
5638 { (exit 1); exit 1; }; }; } ;;
5641 if test "$cross_compiling" = yes; then
5642 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5643 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5644 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5645 See \`config.log' for more details." >&5
5646 echo "$as_me: error: cannot run test program while cross compiling
5647 See \`config.log' for more details." >&2;}
5648 { (exit 1); exit 1; }; }; }
5650 cat >conftest.
$ac_ext <<_ACEOF
5653 cat confdefs.h
>>conftest.
$ac_ext
5654 cat >>conftest.
$ac_ext <<_ACEOF
5655 /* end confdefs.h. */
5656 $ac_includes_default
5657 long longval () { return (long) (sizeof (short)); }
5658 unsigned long ulongval () { return (long) (sizeof (short)); }
5665 FILE *f = fopen ("conftest.val", "w");
5668 if (((long) (sizeof (short))) < 0)
5670 long i = longval ();
5671 if (i != ((long) (sizeof (short))))
5673 fprintf (f, "%ld\n", i);
5677 unsigned long i = ulongval ();
5678 if (i != ((long) (sizeof (short))))
5680 fprintf (f, "%lu\n", i);
5682 exit (ferror (f) || fclose (f) != 0);
5688 rm -f conftest
$ac_exeext
5689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5690 (eval $ac_link) 2>&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; }; then
5699 ac_cv_sizeof_short
=`cat conftest.val`
5701 echo "$as_me: program exited with status $ac_status" >&5
5702 echo "$as_me: failed program was:" >&5
5703 sed 's/^/| /' conftest.
$ac_ext >&5
5706 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5707 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5708 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
5709 See \`config.log' for more details." >&5
5710 echo "$as_me: error: cannot compute sizeof (short), 77
5711 See \`config.log' for more details." >&2;}
5712 { (exit 1); exit 1; }; }; }
5714 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5719 ac_cv_sizeof_short
=0
5722 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5723 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
5724 cat >>confdefs.h
<<_ACEOF
5725 #define SIZEOF_SHORT $ac_cv_sizeof_short
5729 echo "$as_me:$LINENO: checking for char" >&5
5730 echo $ECHO_N "checking for char... $ECHO_C" >&6
5731 if test "${ac_cv_type_char+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 cat >conftest.
$ac_ext <<_ACEOF
5737 cat confdefs.h
>>conftest.
$ac_ext
5738 cat >>conftest.
$ac_ext <<_ACEOF
5739 /* end confdefs.h. */
5740 $ac_includes_default
5752 rm -f conftest.
$ac_objext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5754 (eval $ac_compile) 2>conftest.er1
5756 grep -v '^ *+' conftest.er1
>conftest.err
5758 cat conftest.err
>&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); } &&
5761 { ac_try
='test -z "$ac_c_werror_flag"
5762 || test ! -s conftest.err'
5763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); }; } &&
5768 { ac_try
='test -s conftest.$ac_objext'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; }; then
5776 echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.
$ac_ext >&5
5781 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5783 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5784 echo "${ECHO_T}$ac_cv_type_char" >&6
5786 echo "$as_me:$LINENO: checking size of char" >&5
5787 echo $ECHO_N "checking size of char... $ECHO_C" >&6
5788 if test "${ac_cv_sizeof_char+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if test "$ac_cv_type_char" = yes; then
5792 # The cast to unsigned long works around a bug in the HP C Compiler
5793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5795 # This bug is HP SR number 8606223364.
5796 if test "$cross_compiling" = yes; then
5797 # Depending upon the size, compute the lo and hi bounds.
5798 cat >conftest.
$ac_ext <<_ACEOF
5801 cat confdefs.h
>>conftest.
$ac_ext
5802 cat >>conftest.
$ac_ext <<_ACEOF
5803 /* end confdefs.h. */
5804 $ac_includes_default
5808 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
5815 rm -f conftest.
$ac_objext
5816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5817 (eval $ac_compile) 2>conftest.er1
5819 grep -v '^ *+' conftest.er1
>conftest.err
5821 cat conftest.err
>&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); } &&
5824 { ac_try
='test -z "$ac_c_werror_flag"
5825 || test ! -s conftest.err'
5826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830 (exit $ac_status); }; } &&
5831 { ac_try
='test -s conftest.$ac_objext'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; }; then
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 $ac_includes_default
5849 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
5856 rm -f conftest.
$ac_objext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5858 (eval $ac_compile) 2>conftest.er1
5860 grep -v '^ *+' conftest.er1
>conftest.err
5862 cat conftest.err
>&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try
='test -z "$ac_c_werror_flag"
5866 || test ! -s conftest.err'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; } &&
5872 { ac_try
='test -s conftest.$ac_objext'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 ac_hi
=$ac_mid; break
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.
$ac_ext >&5
5883 ac_lo
=`expr $ac_mid + 1`
5884 if test $ac_lo -le $ac_mid; then
5888 ac_mid
=`expr 2 '*' $ac_mid + 1`
5890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.
$ac_ext >&5
5896 cat >conftest.
$ac_ext <<_ACEOF
5899 cat confdefs.h
>>conftest.
$ac_ext
5900 cat >>conftest.
$ac_ext <<_ACEOF
5901 /* end confdefs.h. */
5902 $ac_includes_default
5906 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
5913 rm -f conftest.
$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915 (eval $ac_compile) 2>conftest.er1
5917 grep -v '^ *+' conftest.er1
>conftest.err
5919 cat conftest.err
>&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try
='test -z "$ac_c_werror_flag"
5923 || test ! -s conftest.err'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; } &&
5929 { ac_try
='test -s conftest.$ac_objext'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; }; then
5937 cat >conftest.
$ac_ext <<_ACEOF
5940 cat confdefs.h
>>conftest.
$ac_ext
5941 cat >>conftest.
$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 $ac_includes_default
5947 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
5954 rm -f conftest.
$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956 (eval $ac_compile) 2>conftest.er1
5958 grep -v '^ *+' conftest.er1
>conftest.err
5960 cat conftest.err
>&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } &&
5963 { ac_try
='test -z "$ac_c_werror_flag"
5964 || test ! -s conftest.err'
5965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); }; } &&
5970 { ac_try
='test -s conftest.$ac_objext'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; }; then
5976 ac_lo
=$ac_mid; break
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.
$ac_ext >&5
5981 ac_hi
=`expr '(' $ac_mid ')' - 1`
5982 if test $ac_mid -le $ac_hi; then
5986 ac_mid
=`expr 2 '*' $ac_mid`
5988 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.
$ac_ext >&5
5996 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5999 # Binary search between lo and hi bounds.
6000 while test "x$ac_lo" != "x$ac_hi"; do
6001 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6002 cat >conftest.
$ac_ext <<_ACEOF
6005 cat confdefs.h
>>conftest.
$ac_ext
6006 cat >>conftest.
$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6008 $ac_includes_default
6012 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
6019 rm -f conftest.
$ac_objext
6020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6021 (eval $ac_compile) 2>conftest.er1
6023 grep -v '^ *+' conftest.er1
>conftest.err
6025 cat conftest.err
>&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } &&
6028 { ac_try
='test -z "$ac_c_werror_flag"
6029 || test ! -s conftest.err'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; } &&
6035 { ac_try
='test -s conftest.$ac_objext'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; }; then
6043 echo "$as_me: failed program was:" >&5
6044 sed 's/^/| /' conftest.
$ac_ext >&5
6046 ac_lo
=`expr '(' $ac_mid ')' + 1`
6048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6051 ?
*) ac_cv_sizeof_char
=$ac_lo;;
6052 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6053 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6054 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
6055 See \`config.log' for more details." >&5
6056 echo "$as_me: error: cannot compute sizeof (char), 77
6057 See \`config.log' for more details." >&2;}
6058 { (exit 1); exit 1; }; }; } ;;
6061 if test "$cross_compiling" = yes; then
6062 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6063 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6064 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6065 See \`config.log' for more details." >&5
6066 echo "$as_me: error: cannot run test program while cross compiling
6067 See \`config.log' for more details." >&2;}
6068 { (exit 1); exit 1; }; }; }
6070 cat >conftest.
$ac_ext <<_ACEOF
6073 cat confdefs.h
>>conftest.
$ac_ext
6074 cat >>conftest.
$ac_ext <<_ACEOF
6075 /* end confdefs.h. */
6076 $ac_includes_default
6077 long longval () { return (long) (sizeof (char)); }
6078 unsigned long ulongval () { return (long) (sizeof (char)); }
6085 FILE *f = fopen ("conftest.val", "w");
6088 if (((long) (sizeof (char))) < 0)
6090 long i = longval ();
6091 if (i != ((long) (sizeof (char))))
6093 fprintf (f, "%ld\n", i);
6097 unsigned long i = ulongval ();
6098 if (i != ((long) (sizeof (char))))
6100 fprintf (f, "%lu\n", i);
6102 exit (ferror (f) || fclose (f) != 0);
6108 rm -f conftest
$ac_exeext
6109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6110 (eval $ac_link) 2>&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); }; }; then
6119 ac_cv_sizeof_char
=`cat conftest.val`
6121 echo "$as_me: program exited with status $ac_status" >&5
6122 echo "$as_me: failed program was:" >&5
6123 sed 's/^/| /' conftest.
$ac_ext >&5
6126 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6127 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
6129 See \`config.log' for more details." >&5
6130 echo "$as_me: error: cannot compute sizeof (char), 77
6131 See \`config.log' for more details." >&2;}
6132 { (exit 1); exit 1; }; }; }
6134 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6142 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6143 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
6144 cat >>confdefs.h
<<_ACEOF
6145 #define SIZEOF_CHAR $ac_cv_sizeof_char
6150 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
6151 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
6152 case "$ac_cv_sizeof_char" in
6153 1) acx_cv_type_int8_t
=char
;;
6154 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
6155 echo "$as_me: error: no 8-bit type" >&2;}
6156 { (exit please report a bug
); exit please report a bug
; }; }
6158 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
6159 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
6161 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
6162 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
6163 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
6164 2:*) acx_cv_type_int16_t
=int
;;
6165 *:2) acx_cv_type_int16_t
=short
;;
6166 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
6167 echo "$as_me: error: no 16-bit type" >&2;}
6168 { (exit please report a bug
); exit please report a bug
; }; }
6170 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
6171 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
6173 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
6174 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
6175 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
6176 4:*) acx_cv_type_int32_t
=int
;;
6177 *:4) acx_cv_type_int32_t
=long
;;
6178 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
6179 echo "$as_me: error: no 32-bit type" >&2;}
6180 { (exit please report a bug
); exit please report a bug
; }; }
6182 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
6183 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
6186 # These tests are here to make the output prettier
6188 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
6189 case "$ac_cv_sizeof_long" in
6190 8) acx_cv_type_int64_t
=long
;;
6192 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
6193 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
6194 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
6195 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
6198 # Now we can use the above types
6200 if test "$ac_cv_type_uintptr_t" != yes; then
6201 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
6202 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
6203 case $ac_cv_sizeof_void_p in
6204 2) acx_cv_type_intptr_t
=int16_t
;;
6205 4) acx_cv_type_intptr_t
=int32_t
;;
6206 8) acx_cv_type_intptr_t
=int64_t
;;
6207 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
6208 echo "$as_me: error: no equivalent for intptr_t" >&2;}
6209 { (exit please report a bug
); exit please report a bug
; }; }
6211 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
6212 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
6215 # ----------------- done all checks, emit header -------------
6216 ac_config_commands
="$ac_config_commands gstdint.h"
6221 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6222 if test "${enable_maintainer_mode+set}" = set; then
6223 enableval
="$enable_maintainer_mode"
6226 enable_maintainer_mode
=no
6229 if test "x$enable_maintainer_mode" = xno
; then
6237 # Checks for typedefs, structures, and compiler characteristics.
6238 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6239 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6240 if test "${ac_cv_c_const+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 cat >conftest.
$ac_ext <<_ACEOF
6246 cat confdefs.h
>>conftest.
$ac_ext
6247 cat >>conftest.
$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6253 /* FIXME: Include the comments suggested by Paul. */
6255 /* Ultrix mips cc rejects this. */
6256 typedef int charset[2];
6258 /* SunOS 4.1.1 cc rejects this. */
6259 char const *const *ccp;
6261 /* NEC SVR4.0.2 mips cc rejects this. */
6262 struct point {int x, y;};
6263 static struct point const zero = {0,0};
6264 /* AIX XL C 1.02.0.0 rejects this.
6265 It does not let you subtract one const X* pointer from another in
6266 an arm of an if-expression whose if-part is not a constant
6268 const char *g = "string";
6269 ccp = &g + (g ? g-g : 0);
6270 /* HPUX 7.0 cc rejects these. */
6273 ccp = (char const *const *) p;
6274 { /* SCO 3.2v4 cc rejects this. */
6276 char const *s = 0 ? (char *) 0 : (char const *) 0;
6280 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6282 const int *foo = &x[0];
6285 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6286 typedef const int *iptr;
6290 { /* AIX XL C 1.02.0.0 rejects this saying
6291 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6292 struct s { int j; const int *ap[3]; };
6293 struct s *b; b->j = 5;
6295 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6304 rm -f conftest.
$ac_objext
6305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6306 (eval $ac_compile) 2>conftest.er1
6308 grep -v '^ *+' conftest.er1
>conftest.err
6310 cat conftest.err
>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } &&
6313 { ac_try
='test -z "$ac_c_werror_flag"
6314 || test ! -s conftest.err'
6315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }; } &&
6320 { ac_try
='test -s conftest.$ac_objext'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; }; then
6328 echo "$as_me: failed program was:" >&5
6329 sed 's/^/| /' conftest.
$ac_ext >&5
6333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6335 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6336 echo "${ECHO_T}$ac_cv_c_const" >&6
6337 if test $ac_cv_c_const = no
; then
6339 cat >>confdefs.h
<<\_ACEOF
6345 echo "$as_me:$LINENO: checking for inline" >&5
6346 echo $ECHO_N "checking for inline... $ECHO_C" >&6
6347 if test "${ac_cv_c_inline+set}" = set; then
6348 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 for ac_kw
in inline __inline__ __inline
; do
6352 cat >conftest.
$ac_ext <<_ACEOF
6355 cat confdefs.h
>>conftest.
$ac_ext
6356 cat >>conftest.
$ac_ext <<_ACEOF
6357 /* end confdefs.h. */
6360 static $ac_kw foo_t static_foo () {return 0; }
6361 $ac_kw foo_t foo () {return 0; }
6365 rm -f conftest.
$ac_objext
6366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6367 (eval $ac_compile) 2>conftest.er1
6369 grep -v '^ *+' conftest.er1
>conftest.err
6371 cat conftest.err
>&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); } &&
6374 { ac_try
='test -z "$ac_c_werror_flag"
6375 || test ! -s conftest.err'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; } &&
6381 { ac_try
='test -s conftest.$ac_objext'
6382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); }; }; then
6387 ac_cv_c_inline
=$ac_kw; break
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.
$ac_ext >&5
6393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6397 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6398 echo "${ECHO_T}$ac_cv_c_inline" >&6
6401 case $ac_cv_c_inline in
6404 case $ac_cv_c_inline in
6406 *) ac_val
=$ac_cv_c_inline;;
6408 cat >>confdefs.h
<<_ACEOF
6410 #define inline $ac_val
6417 ac_cpp
='$CXXCPP $CPPFLAGS'
6418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6421 if test -n "$ac_tool_prefix"; then
6422 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6425 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6426 echo "$as_me:$LINENO: checking for $ac_word" >&5
6427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6428 if test "${ac_cv_prog_CXX+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 if test -n "$CXX"; then
6432 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir
=.
6439 for ac_exec_ext
in '' $ac_executable_extensions; do
6440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
6442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 if test -n "$CXX"; then
6452 echo "$as_me:$LINENO: result: $CXX" >&5
6453 echo "${ECHO_T}$CXX" >&6
6455 echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6
6459 test -n "$CXX" && break
6462 if test -z "$CXX"; then
6464 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
6466 # Extract the first word of "$ac_prog", so it can be a program name with args.
6467 set dummy
$ac_prog; ac_word
=$2
6468 echo "$as_me:$LINENO: checking for $ac_word" >&5
6469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6470 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 if test -n "$ac_ct_CXX"; then
6474 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
6476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir
=.
6481 for ac_exec_ext
in '' $ac_executable_extensions; do
6482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_ac_ct_CXX
="$ac_prog"
6484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6492 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
6493 if test -n "$ac_ct_CXX"; then
6494 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6495 echo "${ECHO_T}$ac_ct_CXX" >&6
6497 echo "$as_me:$LINENO: result: no" >&5
6498 echo "${ECHO_T}no" >&6
6501 test -n "$ac_ct_CXX" && break
6503 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
6509 # Provide some information about the compiler.
6510 echo "$as_me:$LINENO:" \
6511 "checking for C++ compiler version" >&5
6512 ac_compiler
=`set X $ac_compile; echo $2`
6513 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6514 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); }
6518 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6519 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); }
6523 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6524 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); }
6529 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6530 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6531 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6552 rm -f conftest.
$ac_objext
6553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6554 (eval $ac_compile) 2>conftest.er1
6556 grep -v '^ *+' conftest.er1
>conftest.err
6558 cat conftest.err
>&5
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } &&
6561 { ac_try
='test -z "$ac_cxx_werror_flag"
6562 || test ! -s conftest.err'
6563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); }; } &&
6568 { ac_try
='test -s conftest.$ac_objext'
6569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); }; }; then
6576 echo "$as_me: failed program was:" >&5
6577 sed 's/^/| /' conftest.
$ac_ext >&5
6581 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6582 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
6585 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6586 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6587 GXX
=`test $ac_compiler_gnu = yes && echo yes`
6588 ac_test_CXXFLAGS
=${CXXFLAGS+set}
6589 ac_save_CXXFLAGS
=$CXXFLAGS
6591 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6592 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6593 if test "${ac_cv_prog_cxx_g+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6596 cat >conftest.
$ac_ext <<_ACEOF
6599 cat confdefs.h
>>conftest.
$ac_ext
6600 cat >>conftest.
$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6611 rm -f conftest.
$ac_objext
6612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613 (eval $ac_compile) 2>conftest.er1
6615 grep -v '^ *+' conftest.er1
>conftest.err
6617 cat conftest.err
>&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); } &&
6620 { ac_try
='test -z "$ac_cxx_werror_flag"
6621 || test ! -s conftest.err'
6622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); }; } &&
6627 { ac_try
='test -s conftest.$ac_objext'
6628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); }; }; then
6633 ac_cv_prog_cxx_g
=yes
6635 echo "$as_me: failed program was:" >&5
6636 sed 's/^/| /' conftest.
$ac_ext >&5
6640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6642 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6643 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6644 if test "$ac_test_CXXFLAGS" = set; then
6645 CXXFLAGS
=$ac_save_CXXFLAGS
6646 elif test $ac_cv_prog_cxx_g = yes; then
6647 if test "$GXX" = yes; then
6653 if test "$GXX" = yes; then
6659 for ac_declaration
in \
6661 'extern "C" void std::exit (int) throw (); using std::exit;' \
6662 'extern "C" void std::exit (int); using std::exit;' \
6663 'extern "C" void exit (int) throw ();' \
6664 'extern "C" void exit (int);' \
6667 cat >conftest.
$ac_ext <<_ACEOF
6670 cat confdefs.h
>>conftest.
$ac_ext
6671 cat >>conftest.
$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6683 rm -f conftest.
$ac_objext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6685 (eval $ac_compile) 2>conftest.er1
6687 grep -v '^ *+' conftest.er1
>conftest.err
6689 cat conftest.err
>&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); } &&
6692 { ac_try
='test -z "$ac_cxx_werror_flag"
6693 || test ! -s conftest.err'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; } &&
6699 { ac_try
='test -s conftest.$ac_objext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.
$ac_ext >&5
6712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6713 cat >conftest.
$ac_ext <<_ACEOF
6716 cat confdefs.h
>>conftest.
$ac_ext
6717 cat >>conftest.
$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6728 rm -f conftest.
$ac_objext
6729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6730 (eval $ac_compile) 2>conftest.er1
6732 grep -v '^ *+' conftest.er1
>conftest.err
6734 cat conftest.err
>&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } &&
6737 { ac_try
='test -z "$ac_cxx_werror_flag"
6738 || test ! -s conftest.err'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; } &&
6744 { ac_try
='test -s conftest.$ac_objext'
6745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749 (exit $ac_status); }; }; then
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.
$ac_ext >&5
6756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6759 if test -n "$ac_declaration"; then
6760 echo '#ifdef __cplusplus' >>confdefs.h
6761 echo $ac_declaration >>confdefs.h
6762 echo '#endif' >>confdefs.h
6766 ac_cpp
='$CPP $CPPFLAGS'
6767 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6768 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6769 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6771 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
6772 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
6773 if test "${ac_cv_header_stdbool_h+set}" = set; then
6774 echo $ECHO_N "(cached) $ECHO_C" >&6
6776 cat >conftest.
$ac_ext <<_ACEOF
6779 cat confdefs.h
>>conftest.
$ac_ext
6780 cat >>conftest.
$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6783 #include <stdbool.h>
6785 # error bool is not defined
6788 # error false is not defined
6791 # error false is not 0
6794 # error true is not defined
6797 # error true is not 1
6799 #ifndef __bool_true_false_are_defined
6800 # error __bool_true_false_are_defined is not defined
6803 struct s { _Bool s: 1; _Bool t; } s;
6805 char a[true == 1 ? 1 : -1];
6806 char b[false == 0 ? 1 : -1];
6807 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
6808 char d[(bool) -0.5 == true ? 1 : -1];
6810 char f[(_Bool) -0.0 == false ? 1 : -1];
6812 char h[sizeof (_Bool)];
6818 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
6823 rm -f conftest.
$ac_objext
6824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6825 (eval $ac_compile) 2>conftest.er1
6827 grep -v '^ *+' conftest.er1
>conftest.err
6829 cat conftest.err
>&5
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); } &&
6832 { ac_try
='test -z "$ac_c_werror_flag"
6833 || test ! -s conftest.err'
6834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); }; } &&
6839 { ac_try
='test -s conftest.$ac_objext'
6840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); }; }; then
6845 ac_cv_header_stdbool_h
=yes
6847 echo "$as_me: failed program was:" >&5
6848 sed 's/^/| /' conftest.
$ac_ext >&5
6850 ac_cv_header_stdbool_h
=no
6852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6854 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
6855 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
6856 echo "$as_me:$LINENO: checking for _Bool" >&5
6857 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
6858 if test "${ac_cv_type__Bool+set}" = set; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6861 cat >conftest.
$ac_ext <<_ACEOF
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 $ac_includes_default
6879 rm -f conftest.
$ac_objext
6880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6881 (eval $ac_compile) 2>conftest.er1
6883 grep -v '^ *+' conftest.er1
>conftest.err
6885 cat conftest.err
>&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); } &&
6888 { ac_try
='test -z "$ac_c_werror_flag"
6889 || test ! -s conftest.err'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; } &&
6895 { ac_try
='test -s conftest.$ac_objext'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; }; then
6901 ac_cv_type__Bool
=yes
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.
$ac_ext >&5
6908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6910 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
6911 echo "${ECHO_T}$ac_cv_type__Bool" >&6
6912 if test $ac_cv_type__Bool = yes; then
6914 cat >>confdefs.h
<<_ACEOF
6915 #define HAVE__BOOL 1
6921 if test $ac_cv_header_stdbool_h = yes; then
6923 cat >>confdefs.h
<<\_ACEOF
6924 #define HAVE_STDBOOL_H 1
6930 for ac_func
in floor
6932 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6933 echo "$as_me:$LINENO: checking for $ac_func" >&5
6934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6935 if eval "test \"\${$as_ac_var+set}\" = set"; then
6936 echo $ECHO_N "(cached) $ECHO_C" >&6
6938 cat >conftest.
$ac_ext <<_ACEOF
6941 cat confdefs.h
>>conftest.
$ac_ext
6942 cat >>conftest.
$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6946 #define $ac_func innocuous_$ac_func
6948 /* System header to define __stub macros and hopefully few prototypes,
6949 which can conflict with char $ac_func (); below.
6950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6951 <limits.h> exists even on freestanding compilers. */
6954 # include <limits.h>
6956 # include <assert.h>
6961 /* Override any gcc2 internal prototype to avoid an error. */
6966 /* We use char because int might match the return type of a gcc2
6967 builtin and then its argument prototype would still apply. */
6969 /* The GNU C library defines this for functions which it implements
6970 to always fail with ENOSYS. Some functions are actually named
6971 something starting with __ and the normal name is an alias. */
6972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6975 char (*f) () = $ac_func;
6984 return f != $ac_func;
6989 rm -f conftest.
$ac_objext conftest
$ac_exeext
6990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6991 (eval $ac_link) 2>conftest.er1
6993 grep -v '^ *+' conftest.er1
>conftest.err
6995 cat conftest.err
>&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); } &&
6998 { ac_try
='test -z "$ac_c_werror_flag"
6999 || test ! -s conftest.err'
7000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7004 (exit $ac_status); }; } &&
7005 { ac_try
='test -s conftest$ac_exeext'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; }; then
7011 eval "$as_ac_var=yes"
7013 echo "$as_me: failed program was:" >&5
7014 sed 's/^/| /' conftest.
$ac_ext >&5
7016 eval "$as_ac_var=no"
7018 rm -f conftest.err conftest.
$ac_objext \
7019 conftest
$ac_exeext conftest.
$ac_ext
7021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7023 if test `eval echo '${'$as_ac_var'}'` = yes; then
7024 cat >>confdefs.h
<<_ACEOF
7025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7041 if test x
${CLOOGLIBS} = x
; then
7042 { { echo "$as_me:$LINENO: error: cannot build libPCP without CLooG" >&5
7043 echo "$as_me: error: cannot build libPCP without CLooG" >&2;}
7044 { (exit 1); exit 1; }; }
7049 ac_config_headers
="$ac_config_headers config.h:config.in"
7051 ac_config_files
="$ac_config_files Makefile"
7053 cat >confcache
<<\_ACEOF
7054 # This file is a shell script that caches the results of configure
7055 # tests run on this system so they can be shared between configure
7056 # scripts and configure runs, see configure's option --config-cache.
7057 # It is not useful on other systems. If it contains results you don't
7058 # want to keep, you may remove or edit it.
7060 # config.status only pays attention to the cache file if you give it
7061 # the --recheck option to rerun configure.
7063 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7064 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7069 # The following way of writing the cache mishandles newlines in values,
7070 # but we know of no workaround that is simple, portable, and efficient.
7071 # So, don't put newlines in cache variables' values.
7072 # Ultrix sh set writes to stderr and can't be redirected directly,
7073 # and sets the high bit in the cache file unless we assign to the vars.
7076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7078 # `set' does not quote correctly, so add quotes (double-quote
7079 # substitution turns \\\\ into \\, and sed turns \\ into \).
7082 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7085 # `set' quotes correctly as required by POSIX, so do not add quotes.
7087 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7094 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7096 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7098 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7099 if test -w $cache_file; then
7100 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7101 cat confcache
>$cache_file
7103 echo "not updating unwritable cache $cache_file"
7108 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7109 # Let make expand exec_prefix.
7110 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7112 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7113 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7114 # trailing colons and then remove the whole line if VPATH becomes empty
7115 # (actually we leave an empty line to preserve line numbers).
7116 if test "x$srcdir" = x.
; then
7117 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7118 s/:*\$(srcdir):*/:/;
7119 s/:*\${srcdir}:*/:/;
7121 s/^\([^=]*=[ ]*\):*/\1/;
7127 DEFS
=-DHAVE_CONFIG_H
7131 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7132 # 1. Remove the extension, and $U if already installed.
7133 ac_i
=`echo "$ac_i" |
7134 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7136 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7137 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7141 LTLIBOBJS
=$ac_ltlibobjs
7145 : ${CONFIG_STATUS=./config.status}
7146 ac_clean_files_save
=$ac_clean_files
7147 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7148 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7149 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7150 cat >$CONFIG_STATUS <<_ACEOF
7152 # Generated by $as_me.
7153 # Run this file to recreate the current configuration.
7154 # Compiler output produced by configure, useful for debugging
7155 # configure, is in config.log if it exists.
7160 SHELL=\${CONFIG_SHELL-$SHELL}
7163 cat >>$CONFIG_STATUS <<\_ACEOF
7164 ## --------------------- ##
7165 ## M4sh Initialization. ##
7166 ## --------------------- ##
7168 # Be Bourne compatible
7169 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7172 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7173 # is contrary to our usage. Disable this feature.
7174 alias -g '${1+"$@"}'='"$@"'
7175 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7178 DUALCASE
=1; export DUALCASE
# for MKS sh
7180 # Support unset when possible.
7181 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7188 # Work around bugs in pre-3.0 UWIN ksh.
7189 $as_unset ENV MAIL MAILPATH
7196 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7197 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7198 LC_TELEPHONE LC_TIME
7200 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7201 eval $as_var=C
; export $as_var
7207 # Required to use basename.
7208 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7214 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7215 as_basename
=basename
7221 # Name of the executable.
7222 as_me
=`$as_basename "$0" ||
7223 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7224 X"$0" : 'X\(//\)$' \| \
7225 X"$0" : 'X\(/\)$' \| \
7226 . : '\(.\)' 2>/dev/null ||
7228 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7229 /^X\/\(\/\/\)$/{ s//\1/; q; }
7230 /^X\/\(\/\).*/{ s//\1/; q; }
7234 # PATH needs CR, and LINENO needs CR and PATH.
7235 # Avoid depending upon Character Ranges.
7236 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7237 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7238 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7239 as_cr_digits
='0123456789'
7240 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7242 # The user is always right.
7243 if test "${PATH_SEPARATOR+set}" != set; then
7244 echo "#! /bin/sh" >conf$$.sh
7245 echo "exit 0" >>conf$$.sh
7247 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7258 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7259 test "x$as_lineno_1" != "x$as_lineno_2" &&
7260 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7261 # Find who we are. Look in the path if we contain no path at all
7264 *[\\/]* ) as_myself
=$0 ;;
7265 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7269 test -z "$as_dir" && as_dir
=.
7270 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7275 # We did not find ourselves, most probably we were run as `sh COMMAND'
7276 # in which case we are not to be found in the path.
7277 if test "x$as_myself" = x
; then
7280 if test ! -f "$as_myself"; then
7281 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7282 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7283 { (exit 1); exit 1; }; }
7285 case $CONFIG_SHELL in
7287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7288 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7291 test -z "$as_dir" && as_dir
=.
7292 for as_base
in sh bash ksh sh5
; do
7295 if ("$as_dir/$as_base" -c '
7298 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7299 test "x$as_lineno_1" != "x$as_lineno_2" &&
7300 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7301 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7302 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7303 CONFIG_SHELL
=$as_dir/$as_base
7305 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7313 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7314 # uniformly replaced by the line number. The first 'sed' inserts a
7315 # line-number line before each line; the second 'sed' does the real
7316 # work. The second script uses 'N' to pair each line-number line
7317 # with the numbered line, and appends trailing '-' during
7318 # substitution so that $LINENO is not a special case at line end.
7319 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7320 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7321 sed '=' <$as_myself |
7326 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7329 s,^['$as_cr_digits']*\n,,
7331 chmod +x
$as_me.lineno ||
7332 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7333 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7334 { (exit 1); exit 1; }; }
7336 # Don't try to exec as it changes $[0], causing all sort of problems
7337 # (the dirname of $[0] is not the place where we might find the
7338 # original and so on. Autoconf is especially sensible to this).
7340 # Exit status is that of the last command.
7345 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7346 *c
*,-n*) ECHO_N
= ECHO_C
='
7348 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7349 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7352 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7358 rm -f conf$$ conf$$.exe conf$$.
file
7360 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7361 # We could just check for DJGPP; but this test a) works b) is more generic
7362 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7363 if test -f conf$$.exe
; then
7364 # Don't use ln at all; we don't have any links
7369 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7374 rm -f conf$$ conf$$.exe conf$$.
file
7376 if mkdir
-p .
2>/dev
/null
; then
7379 test -d .
/-p && rmdir .
/-p
7383 as_executable_p
="test -f"
7385 # Sed expression to map a string onto a valid CPP name.
7386 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7388 # Sed expression to map a string onto a valid variable name.
7389 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7393 # We need space, tab and new line, in precisely that order.
7403 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7404 # report actual input values of CONFIG_FILES etc. instead of their
7405 # values after options handling. Logging --version etc. is OK.
7409 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7410 ## Running $as_me. ##
7415 This file was extended by libpcp $as_me Polyhedral Compilation Package Library , which was
7416 generated by GNU Autoconf 2.59. Invocation command line was
7418 CONFIG_FILES = $CONFIG_FILES
7419 CONFIG_HEADERS = $CONFIG_HEADERS
7420 CONFIG_LINKS = $CONFIG_LINKS
7421 CONFIG_COMMANDS = $CONFIG_COMMANDS
7425 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7429 # Files that config.status was made for.
7430 if test -n "$ac_config_files"; then
7431 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7434 if test -n "$ac_config_headers"; then
7435 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7438 if test -n "$ac_config_links"; then
7439 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7442 if test -n "$ac_config_commands"; then
7443 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7446 cat >>$CONFIG_STATUS <<\_ACEOF
7449 \`$as_me' instantiates files from templates according to the
7450 current configuration.
7452 Usage: $0 [OPTIONS] [FILE]...
7454 -h, --help print this help, then exit
7455 -V, --version print version number, then exit
7456 -q, --quiet do not print progress messages
7457 -d, --debug don't remove temporary files
7458 --recheck update $as_me by reconfiguring in the same conditions
7459 --file=FILE[:TEMPLATE]
7460 instantiate the configuration file FILE
7461 --header=FILE[:TEMPLATE]
7462 instantiate the configuration header FILE
7464 Configuration files:
7467 Configuration headers:
7470 Configuration commands:
7473 Report bugs to <bug-autoconf@gnu.org>."
7476 cat >>$CONFIG_STATUS <<_ACEOF
7478 libpcp config.status Polyhedral Compilation Package Library
7479 configured by $0, generated by GNU Autoconf 2.59,
7480 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7482 Copyright (C) 2003 Free Software Foundation, Inc.
7483 This config.status script is free software; the Free Software Foundation
7484 gives unlimited permission to copy, distribute and modify it."
7488 cat >>$CONFIG_STATUS <<\_ACEOF
7489 # If no file are specified by the user, then we need to provide default
7490 # value. By we need to know if files were specified by the user.
7496 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7497 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7505 *) # This is not an option, so the user has probably given explicit
7508 ac_need_defaults
=false
;;
7512 # Handling of the options.
7514 cat >>$CONFIG_STATUS <<\_ACEOF
7515 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7517 --version |
--vers* |
-V )
7518 echo "$ac_cs_version"; exit 0 ;;
7520 # Conflict between --help and --header
7521 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7522 Try \`$0 --help' for more information." >&5
7523 echo "$as_me: error: ambiguous option: $1
7524 Try \`$0 --help' for more information." >&2;}
7525 { (exit 1); exit 1; }; };;
7526 --help |
--hel |
-h )
7527 echo "$ac_cs_usage"; exit 0 ;;
7528 --debug |
--d* |
-d )
7530 --file |
--fil |
--fi |
--f )
7532 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7533 ac_need_defaults
=false
;;
7534 --header |
--heade |
--head |
--hea )
7536 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7537 ac_need_defaults
=false
;;
7538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7539 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7543 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7544 Try \`$0 --help' for more information." >&5
7545 echo "$as_me: error: unrecognized option: $1
7546 Try \`$0 --help' for more information." >&2;}
7547 { (exit 1); exit 1; }; } ;;
7549 *) ac_config_targets
="$ac_config_targets $1" ;;
7555 ac_configure_extra_args
=
7557 if $ac_cs_silent; then
7559 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7563 cat >>$CONFIG_STATUS <<_ACEOF
7564 if \$ac_cs_recheck; then
7565 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7566 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7571 cat >>$CONFIG_STATUS <<_ACEOF
7573 # INIT-COMMANDS section.
7579 acx_cv_header_stdint="$acx_cv_header_stdint"
7580 acx_cv_type_int8_t="$acx_cv_type_int8_t"
7581 acx_cv_type_int16_t="$acx_cv_type_int16_t"
7582 acx_cv_type_int32_t="$acx_cv_type_int32_t"
7583 acx_cv_type_int64_t="$acx_cv_type_int64_t"
7584 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
7585 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
7586 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
7587 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
7588 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
7589 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
7590 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
7591 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
7592 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
7599 cat >>$CONFIG_STATUS <<\_ACEOF
7600 for ac_config_target
in $ac_config_targets
7602 case "$ac_config_target" in
7603 # Handling of arguments.
7604 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7605 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
7606 "auto-host.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS auto-host.h:config.in" ;;
7607 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7608 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7609 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7610 { (exit 1); exit 1; }; };;
7614 # If the user did not use the arguments to specify the items to instantiate,
7615 # then the envvar interface is used. Set only those that are not.
7616 # We use the long form for the default assignment because of an extremely
7617 # bizarre bug on SunOS 4.1.3.
7618 if $ac_need_defaults; then
7619 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7620 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7621 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7624 # Have a temporary directory for convenience. Make it in the build tree
7625 # simply because there is no reason to put it here, and in addition,
7626 # creating and moving files from /tmp can sometimes cause problems.
7627 # Create a temporary directory, and hook for its removal unless debugging.
7630 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7631 trap '{ (exit 1); exit 1; }' 1 2 13 15
7634 # Create a (secure) tmp directory for tmp files.
7637 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7638 test -n "$tmp" && test -d "$tmp"
7641 tmp
=.
/confstat$$
-$RANDOM
7642 (umask 077 && mkdir
$tmp)
7645 echo "$me: cannot create a temporary directory in ." >&2
7646 { (exit 1); exit 1; }
7651 cat >>$CONFIG_STATUS <<_ACEOF
7654 # CONFIG_FILES section.
7657 # No need to generate the scripts if there are no CONFIG_FILES.
7658 # This happens for instance when ./config.status config.h
7659 if test -n "\$CONFIG_FILES"; then
7660 # Protect against being on the right side of a sed subst in config.status.
7661 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7662 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7663 s,@SHELL@,$SHELL,;t t
7664 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7665 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7666 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7667 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7668 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7669 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7670 s,@exec_prefix@,$exec_prefix,;t t
7671 s,@prefix@,$prefix,;t t
7672 s,@program_transform_name@,$program_transform_name,;t t
7673 s,@bindir@,$bindir,;t t
7674 s,@sbindir@,$sbindir,;t t
7675 s,@libexecdir@,$libexecdir,;t t
7676 s,@datadir@,$datadir,;t t
7677 s,@sysconfdir@,$sysconfdir,;t t
7678 s,@sharedstatedir@,$sharedstatedir,;t t
7679 s,@localstatedir@,$localstatedir,;t t
7680 s,@libdir@,$libdir,;t t
7681 s,@includedir@,$includedir,;t t
7682 s,@oldincludedir@,$oldincludedir,;t t
7683 s,@infodir@,$infodir,;t t
7684 s,@mandir@,$mandir,;t t
7685 s,@build_alias@,$build_alias,;t t
7686 s,@host_alias@,$host_alias,;t t
7687 s,@target_alias@,$target_alias,;t t
7689 s,@ECHO_C@,$ECHO_C,;t t
7690 s,@ECHO_N@,$ECHO_N,;t t
7691 s,@ECHO_T@,$ECHO_T,;t t
7693 s,@SET_MAKE@,$SET_MAKE,;t t
7695 s,@CFLAGS@,$CFLAGS,;t t
7696 s,@LDFLAGS@,$LDFLAGS,;t t
7697 s,@CPPFLAGS@,$CPPFLAGS,;t t
7698 s,@ac_ct_CC@,$ac_ct_CC,;t t
7699 s,@EXEEXT@,$EXEEXT,;t t
7700 s,@OBJEXT@,$OBJEXT,;t t
7701 s,@RANLIB@,$RANLIB,;t t
7702 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7703 s,@ACLOCAL@,$ACLOCAL,;t t
7704 s,@AUTOCONF@,$AUTOCONF,;t t
7705 s,@AUTOHEADER@,$AUTOHEADER,;t t
7706 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
7707 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
7708 s,@WERROR@,$WERROR,;t t
7710 s,@EGREP@,$EGREP,;t t
7711 s,@MAINT@,$MAINT,;t t
7713 s,@CXXFLAGS@,$CXXFLAGS,;t t
7714 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7715 s,@GMPLIBS@,$GMPLIBS,;t t
7716 s,@GMPINC@,$GMPINC,;t t
7717 s,@PPLLIBS@,$PPLLIBS,;t t
7718 s,@PPLINC@,$PPLINC,;t t
7719 s,@CLOOGLIBS@,$CLOOGLIBS,;t t
7720 s,@CLOOGINC@,$CLOOGINC,;t t
7721 s,@LIBOBJS@,$LIBOBJS,;t t
7722 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7727 cat >>$CONFIG_STATUS <<\_ACEOF
7728 # Split the substitutions into bite-sized pieces for seds with
7729 # small command number limits, like on Digital OSF/1 and HP-UX.
7731 ac_sed_frag
=1 # Number of current file.
7732 ac_beg
=1 # First line for current file.
7733 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7736 while $ac_more_lines; do
7737 if test $ac_beg -gt 1; then
7738 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7740 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7742 if test ! -s $tmp/subs.frag
; then
7745 # The purpose of the label and of the branching condition is to
7746 # speed up the sed processing (if there are no `@' at all, there
7747 # is no need to browse any of the substitutions).
7748 # These are the two extra sed commands mentioned above.
7750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7751 if test -z "$ac_sed_cmds"; then
7752 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7754 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7756 ac_sed_frag
=`expr $ac_sed_frag + 1`
7758 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7761 if test -z "$ac_sed_cmds"; then
7764 fi # test -n "$CONFIG_FILES"
7767 cat >>$CONFIG_STATUS <<\_ACEOF
7768 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7769 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7771 - |
*:- |
*:-:* ) # input from stdin
7773 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7774 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7775 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7776 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7777 * ) ac_file_in
=$ac_file.
in ;;
7780 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7781 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7783 X"$ac_file" : 'X\(//\)[^/]' \| \
7784 X"$ac_file" : 'X\(//\)$' \| \
7785 X"$ac_file" : 'X\(/\)' \| \
7786 . : '\(.\)' 2>/dev/null ||
7788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7790 /^X\(\/\/\)$/{ s//\1/; q; }
7791 /^X\(\/\).*/{ s//\1/; q; }
7793 { if $as_mkdir_p; then
7798 while test ! -d "$as_dir"; do
7799 as_dirs
="$as_dir $as_dirs"
7800 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7802 X"$as_dir" : 'X\(//\)[^/]' \| \
7803 X"$as_dir" : 'X\(//\)$' \| \
7804 X"$as_dir" : 'X\(/\)' \| \
7805 . : '\(.\)' 2>/dev/null ||
7807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7809 /^X\(\/\/\)$/{ s//\1/; q; }
7810 /^X\(\/\).*/{ s//\1/; q; }
7813 test ! -n "$as_dirs" || mkdir
$as_dirs
7814 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7815 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7816 { (exit 1); exit 1; }; }; }
7820 if test "$ac_dir" != .
; then
7821 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7822 # A "../" for each directory in $ac_dir_suffix.
7823 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7825 ac_dir_suffix
= ac_top_builddir
=
7829 .
) # No --srcdir option. We are building in place.
7831 if test -z "$ac_top_builddir"; then
7834 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7836 [\\/]* | ?
:[\\/]* ) # Absolute path.
7837 ac_srcdir
=$srcdir$ac_dir_suffix;
7838 ac_top_srcdir
=$srcdir ;;
7840 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7841 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7844 # Do not use `cd foo && pwd` to compute absolute paths, because
7845 # the directories may not exist.
7847 .
) ac_abs_builddir
="$ac_dir";;
7850 .
) ac_abs_builddir
=`pwd`;;
7851 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7852 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7855 case $ac_abs_builddir in
7856 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7858 case ${ac_top_builddir}.
in
7859 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7860 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7861 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7864 case $ac_abs_builddir in
7865 .
) ac_abs_srcdir
=$ac_srcdir;;
7868 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7869 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7870 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7873 case $ac_abs_builddir in
7874 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7876 case $ac_top_srcdir in
7877 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7878 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7879 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7885 if test x
"$ac_file" != x-
; then
7886 { echo "$as_me:$LINENO: creating $ac_file" >&5
7887 echo "$as_me: creating $ac_file" >&6;}
7890 # Let's still pretend it is `configure' which instantiates (i.e., don't
7891 # use $as_me), people would be surprised to read:
7892 # /* config.h. Generated by config.status. */
7893 if test x
"$ac_file" = x-
; then
7896 configure_input
="$ac_file. "
7898 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7899 sed 's,.*/,,'` by configure."
7901 # First look for the input files in the build tree, otherwise in the
7903 ac_file_inputs
=`IFS=:
7904 for f in $ac_file_in; do
7906 -) echo $tmp/stdin ;;
7908 # Absolute (can't be DOS-style, as IFS=:)
7909 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7910 echo "$as_me: error: cannot find input file: $f" >&2;}
7911 { (exit 1); exit 1; }; }
7914 if test -f "$f"; then
7917 elif test -f "$srcdir/$f"; then
7922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7923 echo "$as_me: error: cannot find input file: $f" >&2;}
7924 { (exit 1); exit 1; }; }
7927 done` ||
{ (exit 1); exit 1; }
7929 cat >>$CONFIG_STATUS <<_ACEOF
7933 cat >>$CONFIG_STATUS <<\_ACEOF
7935 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7936 s
,@configure_input@
,$configure_input,;t t
7937 s
,@srcdir@
,$ac_srcdir,;t t
7938 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7939 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7940 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7941 s
,@builddir@
,$ac_builddir,;t t
7942 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7943 s
,@top_builddir@
,$ac_top_builddir,;t t
7944 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7945 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7947 if test x"$ac_file" != x-; then
7948 mv $tmp/out $ac_file
7956 cat >>$CONFIG_STATUS <<\_ACEOF
7959 # CONFIG_HEADER section.
7962 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7963 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7965 # ac_d sets the value in "#define NAME VALUE" lines.
7966 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7967 ac_dB
='[ ].*$,\1#\2'
7970 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7971 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7972 ac_uB
='$,\1#\2define\3'
7976 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7977 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7979 - |
*:- |
*:-:* ) # input from stdin
7981 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7982 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7983 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7984 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7985 * ) ac_file_in
=$ac_file.
in ;;
7988 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7989 echo "$as_me: creating $ac_file" >&6;}
7991 # First look for the input files in the build tree, otherwise in the
7993 ac_file_inputs
=`IFS=:
7994 for f in $ac_file_in; do
7996 -) echo $tmp/stdin ;;
7998 # Absolute (can't be DOS-style, as IFS=:)
7999 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8000 echo "$as_me: error: cannot find input file: $f" >&2;}
8001 { (exit 1); exit 1; }; }
8002 # Do quote $f, to prevent DOS paths from being IFS'd.
8005 if test -f "$f"; then
8008 elif test -f "$srcdir/$f"; then
8013 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8014 echo "$as_me: error: cannot find input file: $f" >&2;}
8015 { (exit 1); exit 1; }; }
8018 done` ||
{ (exit 1); exit 1; }
8019 # Remove the trailing spaces.
8020 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8024 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8025 # `conftest.undefs', that substitutes the proper values into
8026 # config.h.in to produce config.h. The first handles `#define'
8027 # templates, and the second `#undef' templates.
8028 # And first: Protect against being on the right side of a sed subst in
8029 # config.status. Protect against being in an unquoted here document
8031 rm -f conftest.defines conftest.undefs
8032 # Using a here document instead of a string reduces the quoting nightmare.
8033 # Putting comments in sed scripts is not portable.
8035 # `end' is used to avoid that the second main sed command (meant for
8036 # 0-ary CPP macros) applies to n-ary macro definitions.
8037 # See the Autoconf documentation for `clear'.
8038 cat >confdef2sed.
sed <<\_ACEOF
8043 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8045 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8048 # If some macros were called several times there might be several times
8049 # the same #defines, which is useless. Nevertheless, we may not want to
8050 # sort them, since we want the *last* AC-DEFINE to be honored.
8051 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8052 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8053 rm -f confdef2sed.sed
8055 # This sed command replaces #undef with comments. This is necessary, for
8056 # example, in the case of _POSIX_SOURCE, which is predefined and required
8057 # on some systems where configure will not decide to define it.
8058 cat >>conftest.undefs <<\_ACEOF
8059 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8062 # Break up conftest.defines because some shells have a limit on the size
8063 # of here documents, and old seds have small limits too (100 cmds).
8064 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8065 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8066 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8067 echo ' :' >>$CONFIG_STATUS
8069 while grep . conftest.defines >/dev/null
8071 # Write a limited-size here document to $tmp/defines.sed.
8072 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8073 # Speed up: don't consider the non `#define' lines.
8074 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8075 # Work around the forget-to-reset-the-flag bug.
8076 echo 't clr' >>$CONFIG_STATUS
8077 echo ': clr' >>$CONFIG_STATUS
8078 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8080 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8084 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8085 rm -f conftest.defines
8086 mv conftest.
tail conftest.defines
8088 rm -f conftest.defines
8089 echo ' fi # grep' >>$CONFIG_STATUS
8090 echo >>$CONFIG_STATUS
8092 # Break up conftest.undefs because some shells have a limit on the size
8093 # of here documents, and old seds have small limits too (100 cmds).
8094 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8096 while grep . conftest.undefs
>/dev
/null
8098 # Write a limited-size here document to $tmp/undefs.sed.
8099 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8100 # Speed up: don't consider the non
`#undef'
8101 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8102 # Work around the forget-to-reset-the-flag bug.
8103 echo 't clr' >>$CONFIG_STATUS
8104 echo ': clr' >>$CONFIG_STATUS
8105 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8107 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8111 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8112 rm -f conftest.undefs
8113 mv conftest.tail conftest.undefs
8115 rm -f conftest.undefs
8117 cat >>$CONFIG_STATUS <<\_ACEOF
8118 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8119 # use $as_me), people would be surprised to read:
8120 # /* config.h. Generated by config.status. */
8121 if test x
"$ac_file" = x-
; then
8122 echo "/* Generated by configure. */" >$tmp/config.h
8124 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8126 cat $tmp/in >>$tmp/config.h
8128 if test x
"$ac_file" != x-
; then
8129 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8130 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8131 echo "$as_me: $ac_file is unchanged" >&6;}
8133 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8134 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8135 X"$ac_file" : 'X\(//\)[^/]' \| \
8136 X"$ac_file" : 'X\(//\)$' \| \
8137 X"$ac_file" : 'X\(/\)' \| \
8138 . : '\(.\)' 2>/dev/null ||
8140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8142 /^X\(\/\/\)$/{ s//\1/; q; }
8143 /^X\(\/\).*/{ s//\1/; q; }
8145 { if $as_mkdir_p; then
8150 while test ! -d "$as_dir"; do
8151 as_dirs
="$as_dir $as_dirs"
8152 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8154 X"$as_dir" : 'X\(//\)[^/]' \| \
8155 X"$as_dir" : 'X\(//\)$' \| \
8156 X"$as_dir" : 'X\(/\)' \| \
8157 . : '\(.\)' 2>/dev/null ||
8159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8161 /^X\(\/\/\)$/{ s//\1/; q; }
8162 /^X\(\/\).*/{ s//\1/; q; }
8165 test ! -n "$as_dirs" || mkdir
$as_dirs
8166 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8168 { (exit 1); exit 1; }; }; }
8171 mv $tmp/config.h
$ac_file
8177 # Run the commands associated with the file.
8179 config.h
) echo timestamp
> stamp-h1
;;
8183 cat >>$CONFIG_STATUS <<\_ACEOF
8186 # CONFIG_COMMANDS section.
8188 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8189 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8190 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8191 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8192 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8193 X"$ac_dest" : 'X\(//\)[^/]' \| \
8194 X"$ac_dest" : 'X\(//\)$' \| \
8195 X"$ac_dest" : 'X\(/\)' \| \
8196 . : '\(.\)' 2>/dev/null ||
8198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8200 /^X\(\/\/\)$/{ s//\1/; q; }
8201 /^X\(\/\).*/{ s//\1/; q; }
8203 { if $as_mkdir_p; then
8208 while test ! -d "$as_dir"; do
8209 as_dirs
="$as_dir $as_dirs"
8210 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8212 X"$as_dir" : 'X\(//\)[^/]' \| \
8213 X"$as_dir" : 'X\(//\)$' \| \
8214 X"$as_dir" : 'X\(/\)' \| \
8215 . : '\(.\)' 2>/dev/null ||
8217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8219 /^X\(\/\/\)$/{ s//\1/; q; }
8220 /^X\(\/\).*/{ s//\1/; q; }
8223 test ! -n "$as_dirs" || mkdir
$as_dirs
8224 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8225 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8226 { (exit 1); exit 1; }; }; }
8230 if test "$ac_dir" != .
; then
8231 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8232 # A "../" for each directory in $ac_dir_suffix.
8233 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8235 ac_dir_suffix
= ac_top_builddir
=
8239 .
) # No --srcdir option. We are building in place.
8241 if test -z "$ac_top_builddir"; then
8244 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8246 [\\/]* | ?
:[\\/]* ) # Absolute path.
8247 ac_srcdir
=$srcdir$ac_dir_suffix;
8248 ac_top_srcdir
=$srcdir ;;
8250 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8251 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8254 # Do not use `cd foo && pwd` to compute absolute paths, because
8255 # the directories may not exist.
8257 .
) ac_abs_builddir
="$ac_dir";;
8260 .
) ac_abs_builddir
=`pwd`;;
8261 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8262 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8265 case $ac_abs_builddir in
8266 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8268 case ${ac_top_builddir}.
in
8269 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8270 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8271 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8274 case $ac_abs_builddir in
8275 .
) ac_abs_srcdir
=$ac_srcdir;;
8278 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8279 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8280 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8283 case $ac_abs_builddir in
8284 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8286 case $ac_top_srcdir in
8287 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8288 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8289 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8294 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8295 echo "$as_me: executing $ac_dest commands" >&6;}
8298 if test "$GCC" = yes; then
8299 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
8301 echo "/* generated for $CC */" > tmp-stdint.h
8304 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8306 #ifndef GCC_GENERATED_STDINT_H
8307 #define GCC_GENERATED_STDINT_H 1
8309 #include <sys/types.h>
8312 if test "$acx_cv_header_stdint" != stdint.h
; then
8313 echo "#include <stddef.h>" >> tmp-stdint.h
8315 if test "$acx_cv_header_stdint" != stddef.h
; then
8316 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
8319 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8320 /* glibc uses these symbols as guards to prevent redefinitions. */
8321 #ifdef __int8_t_defined
8326 #ifdef __uint32_t_defined
8332 # ----------------- done header, emit basic int types -------------
8333 if test "$acx_cv_header_stdint" = stddef.h
; then
8334 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8338 #ifndef __uint8_t_defined
8339 #define __uint8_t_defined
8340 typedef unsigned $acx_cv_type_int8_t uint8_t;
8346 #ifndef __uint16_t_defined
8347 #define __uint16_t_defined
8348 typedef unsigned $acx_cv_type_int16_t uint16_t;
8354 #ifndef __uint32_t_defined
8355 #define __uint32_t_defined
8356 typedef unsigned $acx_cv_type_int32_t uint32_t;
8362 #ifndef __int8_t_defined
8363 #define __int8_t_defined
8364 typedef $acx_cv_type_int8_t int8_t;
8370 #ifndef __int16_t_defined
8371 #define __int16_t_defined
8372 typedef $acx_cv_type_int16_t int16_t;
8378 #ifndef __int32_t_defined
8379 #define __int32_t_defined
8380 typedef $acx_cv_type_int32_t int32_t;
8384 elif test "$ac_cv_type_u_int32_t" = yes; then
8385 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8387 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
8400 #ifndef __uint8_t_defined
8401 #define __uint8_t_defined
8402 typedef u_int8_t uint8_t;
8408 #ifndef __uint16_t_defined
8409 #define __uint16_t_defined
8410 typedef u_int16_t uint16_t;
8416 #ifndef __uint32_t_defined
8417 #define __uint32_t_defined
8418 typedef u_int32_t uint32_t;
8423 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8425 /* Some systems have guard macros to prevent redefinitions, define them. */
8447 # ------------- done basic int types, emit int64_t types ------------
8448 if test "$ac_cv_type_uint64_t" = yes; then
8449 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8451 /* system headers have good uint64_t and int64_t */
8459 elif test "$ac_cv_type_u_int64_t" = yes; then
8460 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8462 /* system headers have an u_int64_t (and int64_t) */
8468 #ifndef __uint64_t_defined
8469 #define __uint64_t_defined
8470 typedef u_int64_t uint64_t;
8474 elif test -n "$acx_cv_type_int64_t"; then
8475 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8477 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
8480 typedef $acx_cv_type_int64_t int64_t;
8484 #ifndef __uint64_t_defined
8485 #define __uint64_t_defined
8486 typedef unsigned $acx_cv_type_int64_t uint64_t;
8491 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8493 /* some common heuristics for int64_t, using compiler-specific tests */
8494 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
8497 #ifndef __int64_t_defined
8498 typedef long long int64_t;
8503 typedef unsigned long long uint64_t;
8506 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
8507 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
8508 does not implement __extension__. But that compiler doesn't define
8510 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
8511 # define __extension__
8516 __extension__ typedef long long int64_t;
8520 __extension__ typedef unsigned long long uint64_t;
8523 #elif !defined __STRICT_ANSI__
8524 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
8528 typedef __int64 int64_t;
8532 typedef unsigned __int64 uint64_t;
8534 # endif /* compiler */
8536 #endif /* ANSI version */
8540 # ------------- done int64_t types, emit intptr types ------------
8541 if test "$ac_cv_type_uintptr_t" != yes; then
8542 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8544 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
8545 #ifndef __uintptr_t_defined
8546 typedef u$acx_cv_type_intptr_t uintptr_t;
8548 #ifndef __intptr_t_defined
8549 typedef $acx_cv_type_intptr_t intptr_t;
8554 # ------------- done intptr types, emit int_least types ------------
8555 if test "$ac_cv_type_int_least32_t" != yes; then
8556 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8558 /* Define int_least types */
8559 typedef int8_t int_least8_t;
8560 typedef int16_t int_least16_t;
8561 typedef int32_t int_least32_t;
8563 typedef int64_t int_least64_t;
8566 typedef uint8_t uint_least8_t;
8567 typedef uint16_t uint_least16_t;
8568 typedef uint32_t uint_least32_t;
8570 typedef uint64_t uint_least64_t;
8575 # ------------- done intptr types, emit int_fast types ------------
8576 if test "$ac_cv_type_int_fast32_t" != yes; then
8577 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8579 /* Define int_fast types. short is often slow */
8580 typedef int8_t int_fast8_t;
8581 typedef int int_fast16_t;
8582 typedef int32_t int_fast32_t;
8584 typedef int64_t int_fast64_t;
8587 typedef uint8_t uint_fast8_t;
8588 typedef unsigned int uint_fast16_t;
8589 typedef uint32_t uint_fast32_t;
8591 typedef uint64_t uint_fast64_t;
8596 if test "$ac_cv_type_uintmax_t" != yes; then
8597 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8599 /* Define intmax based on what we found */
8601 typedef int64_t intmax_t;
8603 typedef long intmax_t;
8606 typedef uint64_t uintmax_t;
8608 typedef unsigned long uintmax_t;
8613 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8615 #endif /* GCC_GENERATED_STDINT_H */
8618 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
8621 mv -f tmp-stdint.h gstdint.h
8629 cat >>$CONFIG_STATUS <<\_ACEOF
8631 { (exit 0); exit 0; }
8633 chmod +x
$CONFIG_STATUS
8634 ac_clean_files
=$ac_clean_files_save
8637 # configure is writing to config.log, and then calls config.status.
8638 # config.status does its own redirection, appending to config.log.
8639 # Unfortunately, on DOS this fails, as config.log is still kept open
8640 # by configure, so config.status won't be able to write to it; its
8641 # output is simply discarded. So we exec the FD to /dev/null,
8642 # effectively closing config.log, so it can be properly (re)opened and
8643 # appended to by config.status. When coming back to configure, we
8644 # need to make the FD available again.
8645 if test "$no_create" != yes; then
8647 ac_config_status_args
=
8648 test "$silent" = yes &&
8649 ac_config_status_args
="$ac_config_status_args --quiet"
8651 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8653 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8654 # would make configure fail if this is the last instruction.
8655 $ac_cs_success ||
{ (exit 1); exit 1; }