2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libgcc-math 1.0.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME
='libgcc-math'
269 PACKAGE_TARNAME
='libgcc-math'
270 PACKAGE_VERSION
='1.0'
271 PACKAGE_STRING
='libgcc-math 1.0'
274 ac_unique_file
="configure.ac"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CFLAGS CPP CPPFLAGS CCAS CCASFLAGS LIBGCCM_USE_SYMVER_TRUE LIBGCCM_USE_SYMVER_FALSE TARGET_ILP32_TRUE TARGET_ILP32_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL enable_shared enable_static toolexecdir toolexeclibdir EGREP arch_subdirs arch_libraries arch_maps BUILD_LIBGCC_MATH_TRUE BUILD_LIBGCC_MATH_FALSE LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CPP_set
=${CPP+set}
754 ac_env_CPP_value
=$CPP
755 ac_cv_env_CPP_set
=${CPP+set}
756 ac_cv_env_CPP_value
=$CPP
757 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value
=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
761 ac_env_CCAS_set
=${CCAS+set}
762 ac_env_CCAS_value
=$CCAS
763 ac_cv_env_CCAS_set
=${CCAS+set}
764 ac_cv_env_CCAS_value
=$CCAS
765 ac_env_CCASFLAGS_set
=${CCASFLAGS+set}
766 ac_env_CCASFLAGS_value
=$CCASFLAGS
767 ac_cv_env_CCASFLAGS_set
=${CCASFLAGS+set}
768 ac_cv_env_CCASFLAGS_value
=$CCASFLAGS
771 # Report the --help message.
773 if test "$ac_init_help" = "long"; then
774 # Omit some internal or obsolete options to make the list less imposing.
775 # This message is too long to be a string in the A/UX 3.1 sh.
777 \`configure' configures libgcc-math 1.0 to adapt to many kinds of systems.
779 Usage: $0 [OPTION]... [VAR=VALUE]...
781 To assign environment variables (e.g., CC, CFLAGS...), specify them as
782 VAR=VALUE. See below for descriptions of some of the useful variables.
784 Defaults for the options are specified in brackets.
787 -h, --help display this help and exit
788 --help=short display options specific to this package
789 --help=recursive display the short help of all the included packages
790 -V, --version display version information and exit
791 -q, --quiet, --silent do not print \`checking...' messages
792 --cache-file=FILE cache test results in FILE [disabled]
793 -C, --config-cache alias for \`--cache-file=config.cache'
794 -n, --no-create do not create output files
795 --srcdir=DIR find the sources in DIR [configure dir or \`..']
800 Installation directories:
801 --prefix=PREFIX install architecture-independent files in PREFIX
803 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
806 By default, \`make install' will install all the files in
807 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
808 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
809 for instance \`--prefix=\$HOME'.
811 For better control, use the options below.
813 Fine tuning of the installation directories:
814 --bindir=DIR user executables [EPREFIX/bin]
815 --sbindir=DIR system admin executables [EPREFIX/sbin]
816 --libexecdir=DIR program executables [EPREFIX/libexec]
817 --datadir=DIR read-only architecture-independent data [PREFIX/share]
818 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
819 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
820 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
821 --libdir=DIR object code libraries [EPREFIX/lib]
822 --includedir=DIR C header files [PREFIX/include]
823 --oldincludedir=DIR C header files for non-gcc [/usr/include]
824 --infodir=DIR info documentation [PREFIX/info]
825 --mandir=DIR man documentation [PREFIX/man]
831 --program-prefix=PREFIX prepend PREFIX to installed program names
832 --program-suffix=SUFFIX append SUFFIX to installed program names
833 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
836 --build=BUILD configure
for building on BUILD
[guessed
]
837 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
838 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
842 if test -n "$ac_init_help"; then
843 case $ac_init_help in
844 short | recursive
) echo "Configuration of libgcc-math 1.0:";;
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
852 --enable-maintainer-mode enable make rules and dependencies not useful
853 (and sometimes confusing
) to the casual installer
854 --enable-multilib build many library versions
(default
)
855 --disable-dependency-tracking speeds up one-time build
856 --enable-dependency-tracking do not reject slow dependency extractors
857 --enable-shared=PKGS build shared libraries default
=yes
858 --enable-static=PKGS build static libraries default
=yes
859 --enable-fast-install=PKGS optimize
for fast installation default
=yes
860 --disable-libtool-lock avoid locking
(might
break parallel builds
)
863 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
864 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
865 --with-gnu-ld assume the C compiler uses GNU ld default
=no
866 --with-pic try to use only PIC
/non-PIC objects default
=use both
868 Some influential environment variables
:
869 CC C compiler
command
870 CFLAGS C compiler flags
871 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
872 nonstandard directory
<lib dir
>
873 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
874 headers
in a nonstandard directory
<include dir
>
876 CCAS assembler compiler
command (defaults to CC
)
877 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
879 Use these variables to override the choices made by
`configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo
&& pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
977 libgcc-math configure 1.0
978 generated by GNU Autoconf 2.59
980 Copyright (C) 2003 Free Software Foundation, Inc.
981 This configure script is free software; the Free Software Foundation
982 gives unlimited permission to copy, distribute and modify it.
988 This file contains any messages produced by compilers while
989 running configure, to aid debugging if configure makes a mistake.
991 It was created by libgcc-math $as_me 1.0, which was
992 generated by GNU Autoconf 2.59. Invocation command line was
1003 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1004 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1005 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1006 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1007 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1009 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1010 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1012 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1013 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1014 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1015 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1016 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1018 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1026 test -z "$as_dir" && as_dir=.
1027 echo "PATH: $as_dir"
1042 # Keep a trace of the command line.
1043 # Strip out --no-create and --no-recursion so they do not pile up.
1044 # Strip out --silent because we don't want to record it for future runs.
1045 # Also quote any args containing shell meta-characters.
1046 # Make two passes to allow for proper duplicate-argument suppression.
1051 ac_must_keep_next=false
1057 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1061 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1062 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1065 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1067 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1068 if test $ac_must_keep_next = true; then
1069 ac_must_keep_next=false # Got value, back to normal.
1072 *=* | --config-cache | -C | -disable-* | --disable-* \
1073 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1074 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1075 | -with-* | --with-* | -without-* | --without-* | --x)
1076 case "$ac_configure_args0 " in
1077 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1080 -* ) ac_must_keep_next=true ;;
1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1084 # Get rid of the leading space.
1090 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1091 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1093 # When interrupted or exit'd, cleanup temporary files, and complete
1094 # config.log. We remove comments because anyway the quotes in there
1095 # would cause problems or look ugly.
1096 # WARNING: Be sure not to use single quotes in there, as some shells,
1097 # such as our DU 5.0 friend, will then `close
' the trap.
1098 trap 'exit_status
=$?
1099 # Save into config.log some information that might help in debugging.
1104 ## ---------------- ##
1105 ## Cache variables. ##
1106 ## ---------------- ##
1109 # The following way of writing the cache mishandles newlines in values,
1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1127 ## ----------------- ##
1128 ## Output variables. ##
1129 ## ----------------- ##
1132 for ac_var
in $ac_subst_vars
1134 eval ac_val
=$
`echo $ac_var`
1135 echo "$ac_var='"'"'$ac_val'"'"'"
1139 if test -n "$ac_subst_files"; then
1146 for ac_var
in $ac_subst_files
1148 eval ac_val
=$
`echo $ac_var`
1149 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -s confdefs.h
; then
1161 sed "/^$/d" confdefs.h |
sort
1164 test "$ac_signal" != 0 &&
1165 echo "$as_me: caught signal $ac_signal"
1166 echo "$as_me: exit $exit_status"
1168 rm -f core
*.core
&&
1169 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1172 for ac_signal in 1 2 13 15; do
1173 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1178 rm -rf conftest* confdefs.h
1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1182 # Predefined preprocessor variables.
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_NAME "$PACKAGE_NAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_STRING "$PACKAGE_STRING"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1209 # Let the site file select an alternate cache file if it wants to.
1210 # Prefer explicitly selected file to automatically selected ones.
1211 if test -z "$CONFIG_SITE"; then
1212 if test "x$prefix" != xNONE; then
1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1218 for ac_site_file in $CONFIG_SITE; do
1219 if test -r "$ac_site_file"; then
1220 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1221 echo "$as_me: loading site script $ac_site_file" >&6;}
1222 sed 's
/^
/|
/' "$ac_site_file" >&5
1227 if test -r "$cache_file"; then
1228 # Some versions of bash will fail to source /dev/null (special
1229 # files actually), so we avoid doing that.
1230 if test -f "$cache_file"; then
1231 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1232 echo "$as_me: loading cache $cache_file" >&6;}
1234 [\\/]* | ?:[\\/]* ) . $cache_file;;
1235 *) . ./$cache_file;;
1239 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1240 echo "$as_me: creating cache $cache_file" >&6;}
1244 # Check that the precious variables saved in the cache have kept the same
1246 ac_cache_corrupted=false
1247 for ac_var in `(set) 2>&1 |
1248 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1249 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1250 eval ac_new_set=\$ac_env_${ac_var}_set
1251 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1252 eval ac_new_val="\$ac_env_${ac_var}_value"
1253 case $ac_old_set,$ac_new_set in
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1257 ac_cache_corrupted=: ;;
1259 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1260 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1261 ac_cache_corrupted=: ;;
1264 if test "x$ac_old_val" != "x$ac_new_val"; then
1265 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1266 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1267 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1268 echo "$as_me: former value: $ac_old_val" >&2;}
1269 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1270 echo "$as_me: current value: $ac_new_val" >&2;}
1271 ac_cache_corrupted=:
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1289 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1290 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1291 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1292 { (exit 1); exit 1; }; }
1296 ac_cpp='$CPP $CPPFLAGS'
1297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1298 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1329 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1330 if test -f $ac_dir/install-sh; then
1332 ac_install_sh="$ac_aux_dir/install-sh -c"
1334 elif test -f $ac_dir/install.sh; then
1336 ac_install_sh="$ac_aux_dir/install.sh -c"
1338 elif test -f $ac_dir/shtool; then
1340 ac_install_sh="$ac_aux_dir/shtool install -c"
1344 if test -z "$ac_aux_dir"; then
1345 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1346 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1347 { (exit 1); exit 1; }; }
1349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1351 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1353 # Make sure we can run config.sub.
1354 $ac_config_sub sun4 >/dev/null 2>&1 ||
1355 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1356 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1357 { (exit 1); exit 1; }; }
1359 echo "$as_me:$LINENO: checking build system type" >&5
1360 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1361 if test "${ac_cv_build+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 ac_cv_build_alias=$build_alias
1365 test -z "$ac_cv_build_alias" &&
1366 ac_cv_build_alias=`$ac_config_guess`
1367 test -z "$ac_cv_build_alias" &&
1368 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1369 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1370 { (exit 1); exit 1; }; }
1371 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1372 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1373 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1374 { (exit 1); exit 1; }; }
1377 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1378 echo "${ECHO_T}$ac_cv_build" >&6
1380 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1381 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1382 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1385 echo "$as_me:$LINENO: checking host system type" >&5
1386 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1387 if test "${ac_cv_host+set}" = set; then
1388 echo $ECHO_N "(cached) $ECHO_C" >&6
1390 ac_cv_host_alias=$host_alias
1391 test -z "$ac_cv_host_alias" &&
1392 ac_cv_host_alias=$ac_cv_build_alias
1393 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1394 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1395 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1396 { (exit 1); exit 1; }; }
1399 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1400 echo "${ECHO_T}$ac_cv_host" >&6
1402 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1403 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1404 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1407 echo "$as_me:$LINENO: checking target system type" >&5
1408 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1409 if test "${ac_cv_target+set}" = set; then
1410 echo $ECHO_N "(cached) $ECHO_C" >&6
1412 ac_cv_target_alias=$target_alias
1413 test "x$ac_cv_target_alias" = "x" &&
1414 ac_cv_target_alias=$ac_cv_host_alias
1415 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1416 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1417 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1418 { (exit 1); exit 1; }; }
1421 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1422 echo "${ECHO_T}$ac_cv_target" >&6
1423 target=$ac_cv_target
1424 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1425 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1426 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1429 # The aliases save the names the user supplied, while $host etc.
1430 # will get canonicalized.
1431 test -n "$target_alias" &&
1432 test "$program_prefix$program_suffix$program_transform_name" = \
1434 program_prefix=${target_alias}-
1436 am__api_version="1.9"
1437 # Find a good install program. We prefer a C program (faster),
1438 # so one script is as good as another. But avoid the broken or
1439 # incompatible versions:
1440 # SysV /etc/install, /usr/sbin/install
1441 # SunOS /usr/etc/install
1442 # IRIX /sbin/install
1444 # AmigaOS /C/install, which installs bootblocks on floppy discs
1445 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1446 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1447 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1448 # OS/2's system install, which has a completely different semantic
1449 # ./install, which can be erroneously created by make from ./install.sh.
1450 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1451 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1452 if test -z "$INSTALL"; then
1453 if test "${ac_cv_path_install+set}" = set; then
1454 echo $ECHO_N "(cached) $ECHO_C" >&6
1456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1460 test -z "$as_dir" && as_dir
=.
1461 # Account for people who put trailing slashes in PATH elements.
1463 .
/ | .
// |
/cC
/* | \
1464 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1465 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1468 # OSF1 and SCO ODT 3.0 have their own names for install.
1469 # Don't use installbsd from OSF since it installs stuff as root
1471 for ac_prog
in ginstall scoinst
install; do
1472 for ac_exec_ext
in '' $ac_executable_extensions; do
1473 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1474 if test $ac_prog = install &&
1475 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1476 # AIX install. It has an incompatible calling convention.
1478 elif test $ac_prog = install &&
1479 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1480 # program-specific install script used by HP pwplus--don't use.
1483 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1495 if test "${ac_cv_path_install+set}" = set; then
1496 INSTALL
=$ac_cv_path_install
1498 # As a last resort, use the slow shell script. We don't cache a
1499 # path for INSTALL within a source directory, because that will
1500 # break other packages using the cache if that directory is
1501 # removed, or if the path is relative.
1502 INSTALL
=$ac_install_sh
1505 echo "$as_me:$LINENO: result: $INSTALL" >&5
1506 echo "${ECHO_T}$INSTALL" >&6
1508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1509 # It thinks the first close brace ends the variable substitution.
1510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1514 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1516 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1517 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1520 echo timestamp
> conftest.
file
1521 # Do `set' in a subshell so we don't clobber the current shell's
1522 # arguments. Must try -L first in case configure is actually a
1523 # symlink; some systems play weird games with the mod time of symlinks
1524 # (eg FreeBSD returns the mod time of the symlink's containing
1527 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1528 if test "$*" = "X"; then
1530 set X
`ls -t $srcdir/configure conftest.file`
1533 if test "$*" != "X $srcdir/configure conftest.file" \
1534 && test "$*" != "X conftest.file $srcdir/configure"; then
1536 # If neither matched, then we have a broken ls. This can happen
1537 # if, for instance, CONFIG_SHELL is bash and it inherits a
1538 # broken ls alias from the environment. This has actually
1539 # happened. Such a system could not be considered "sane".
1540 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1541 alias in your environment" >&5
1542 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1543 alias in your environment" >&2;}
1544 { (exit 1); exit 1; }; }
1547 test "$2" = conftest.
file
1553 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1554 Check your system clock" >&5
1555 echo "$as_me: error: newly created file is older than distributed files!
1556 Check your system clock" >&2;}
1557 { (exit 1); exit 1; }; }
1559 echo "$as_me:$LINENO: result: yes" >&5
1560 echo "${ECHO_T}yes" >&6
1561 test "$program_prefix" != NONE
&&
1562 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1563 # Use a double $ so make ignores it.
1564 test "$program_suffix" != NONE
&&
1565 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1566 # Double any \ or $. echo might interpret backslashes.
1567 # By default was `s,x,x', remove it if useless.
1568 cat <<\_ACEOF
>conftest.
sed
1569 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1571 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1574 # expand $ac_aux_dir to an absolute path
1575 am_aux_dir
=`cd $ac_aux_dir && pwd`
1577 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1578 # Use eval to expand $SHELL
1579 if eval "$MISSING --run true"; then
1580 am_missing_run
="$MISSING --run "
1583 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1584 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1587 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1588 # We used to keeping the `.' as first argument, in order to
1589 # allow $(mkdir_p) to be used without argument. As in
1590 # $(mkdir_p) $(somedir)
1591 # where $(somedir) is conditionally defined. However this is wrong
1593 # 1. if the package is installed by a user who cannot write `.'
1594 # make install will fail,
1595 # 2. the above comment should most certainly read
1596 # $(mkdir_p) $(DESTDIR)$(somedir)
1597 # so it does not work when $(somedir) is undefined and
1598 # $(DESTDIR) is not.
1599 # To support the latter case, we have to write
1600 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1601 # so the `.' trick is pointless.
1602 mkdir_p
='mkdir -p --'
1604 # On NextStep and OpenStep, the `mkdir' command does not
1605 # recognize any option. It will interpret all options as
1606 # directories to create, and then abort because `.' already
1608 for d
in .
/-p .
/--version;
1610 test -d $d && rmdir $d
1612 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1613 if test -f "$ac_aux_dir/mkinstalldirs"; then
1614 mkdir_p
='$(mkinstalldirs)'
1616 mkdir_p
='$(install_sh) -d'
1620 for ac_prog
in gawk mawk nawk
awk
1622 # Extract the first word of "$ac_prog", so it can be a program name with args.
1623 set dummy
$ac_prog; ac_word
=$2
1624 echo "$as_me:$LINENO: checking for $ac_word" >&5
1625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1626 if test "${ac_cv_prog_AWK+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 if test -n "$AWK"; then
1630 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1636 test -z "$as_dir" && as_dir
=.
1637 for ac_exec_ext
in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639 ac_cv_prog_AWK
="$ac_prog"
1640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1649 if test -n "$AWK"; then
1650 echo "$as_me:$LINENO: result: $AWK" >&5
1651 echo "${ECHO_T}$AWK" >&6
1653 echo "$as_me:$LINENO: result: no" >&5
1654 echo "${ECHO_T}no" >&6
1657 test -n "$AWK" && break
1660 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1661 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1662 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1663 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 cat >conftest.
make <<\_ACEOF
1668 @
echo 'ac_maketemp="$(MAKE)"'
1670 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1671 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1672 if test -n "$ac_maketemp"; then
1673 eval ac_cv_prog_make_
${ac_make}_set
=yes
1675 eval ac_cv_prog_make_
${ac_make}_set
=no
1679 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1680 echo "$as_me:$LINENO: result: yes" >&5
1681 echo "${ECHO_T}yes" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1686 SET_MAKE
="MAKE=${MAKE-make}"
1689 rm -rf .tst
2>/dev
/null
1690 mkdir .tst
2>/dev
/null
1691 if test -d .tst
; then
1696 rmdir .tst
2>/dev
/null
1698 # test to see if srcdir already configured
1699 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1700 test -f $srcdir/config.status
; then
1701 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1702 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1703 { (exit 1); exit 1; }; }
1706 # test whether we have cygpath
1707 if test -z "$CYGPATH_W"; then
1708 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1709 CYGPATH_W
='cygpath -w'
1716 # Define the identity of the package.
1717 PACKAGE
='libgcc-math'
1721 cat >>confdefs.h
<<_ACEOF
1722 #define PACKAGE "$PACKAGE"
1726 cat >>confdefs.h
<<_ACEOF
1727 #define VERSION "$VERSION"
1730 # Some tools Automake needs.
1732 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1735 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1738 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1741 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1744 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1746 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1748 # Installed binaries are usually stripped using `strip' when the user
1749 # run `make install-strip'. However `strip' might not be the right
1750 # tool to use in cross-compilation environments, therefore Automake
1751 # will honor the `STRIP' environment variable to overrule this program.
1752 if test "$cross_compiling" != no
; then
1753 if test -n "$ac_tool_prefix"; then
1754 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1755 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1756 echo "$as_me:$LINENO: checking for $ac_word" >&5
1757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1758 if test "${ac_cv_prog_STRIP+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 if test -n "$STRIP"; then
1762 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1768 test -z "$as_dir" && as_dir
=.
1769 for ac_exec_ext
in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1771 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780 STRIP
=$ac_cv_prog_STRIP
1781 if test -n "$STRIP"; then
1782 echo "$as_me:$LINENO: result: $STRIP" >&5
1783 echo "${ECHO_T}$STRIP" >&6
1785 echo "$as_me:$LINENO: result: no" >&5
1786 echo "${ECHO_T}no" >&6
1790 if test -z "$ac_cv_prog_STRIP"; then
1792 # Extract the first word of "strip", so it can be a program name with args.
1793 set dummy strip
; ac_word
=$2
1794 echo "$as_me:$LINENO: checking for $ac_word" >&5
1795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1796 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1797 echo $ECHO_N "(cached) $ECHO_C" >&6
1799 if test -n "$ac_ct_STRIP"; then
1800 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1802 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1806 test -z "$as_dir" && as_dir
=.
1807 for ac_exec_ext
in '' $ac_executable_extensions; do
1808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1809 ac_cv_prog_ac_ct_STRIP
="strip"
1810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1816 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1819 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1820 if test -n "$ac_ct_STRIP"; then
1821 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1822 echo "${ECHO_T}$ac_ct_STRIP" >&6
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1830 STRIP
="$ac_cv_prog_STRIP"
1834 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1836 # We need awk for the "check" target. The system "awk" is bad on
1838 # Always define AMTAR for backward compatibility.
1840 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1842 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1849 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1850 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1851 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1852 if test "${enable_version_specific_runtime_libs+set}" = set; then
1853 enableval
="$enable_version_specific_runtime_libs"
1854 case "$enableval" in
1855 yes) version_specific_libs
=yes ;;
1856 no
) version_specific_libs
=no
;;
1857 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1858 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1859 { (exit 1); exit 1; }; };;
1862 version_specific_libs
=no
1864 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1865 echo "${ECHO_T}$version_specific_libs" >&6
1867 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1868 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1869 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1870 if test "${enable_maintainer_mode+set}" = set; then
1871 enableval
="$enable_maintainer_mode"
1872 USE_MAINTAINER_MODE
=$enableval
1874 USE_MAINTAINER_MODE
=no
1876 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1877 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1880 if test $USE_MAINTAINER_MODE = yes; then
1881 MAINTAINER_MODE_TRUE
=
1882 MAINTAINER_MODE_FALSE
='#'
1884 MAINTAINER_MODE_TRUE
='#'
1885 MAINTAINER_MODE_FALSE
=
1888 MAINT
=$MAINTAINER_MODE_TRUE
1893 # Default to --enable-multilib
1894 # Check whether --enable-multilib or --disable-multilib was given.
1895 if test "${enable_multilib+set}" = set; then
1896 enableval
="$enable_multilib"
1897 case "$enableval" in
1898 yes) multilib
=yes ;;
1900 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1901 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1902 { (exit 1); exit 1; }; } ;;
1908 # We may get other options which we leave undocumented:
1909 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1910 # See config-ml.in if you want the gory details.
1912 if test "$srcdir" = "."; then
1913 if test "$with_target_subdir" != "."; then
1914 multi_basedir
="$srcdir/$with_multisrctop../.."
1916 multi_basedir
="$srcdir/$with_multisrctop.."
1919 multi_basedir
="$srcdir/.."
1923 ac_config_commands
="$ac_config_commands default-1"
1926 target_alias
=${target_alias-$host_alias}
1930 ac_cpp
='$CPP $CPPFLAGS'
1931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1935 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
1936 # We must force CC to /not/ be precious variables; otherwise
1937 # the wrong, non-multilib-adjusted value will be used in multilibs.
1938 # As a side effect, we have to subst CFLAGS ourselves.
1943 ac_cpp
='$CPP $CPPFLAGS'
1944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1947 if test -n "$ac_tool_prefix"; then
1948 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1949 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1950 echo "$as_me:$LINENO: checking for $ac_word" >&5
1951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1952 if test "${ac_cv_prog_CC+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 if test -n "$CC"; then
1956 ac_cv_prog_CC
="$CC" # Let the user override the test.
1958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1962 test -z "$as_dir" && as_dir
=.
1963 for ac_exec_ext
in '' $ac_executable_extensions; do
1964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1965 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 if test -n "$CC"; then
1976 echo "$as_me:$LINENO: result: $CC" >&5
1977 echo "${ECHO_T}$CC" >&6
1979 echo "$as_me:$LINENO: result: no" >&5
1980 echo "${ECHO_T}no" >&6
1984 if test -z "$ac_cv_prog_CC"; then
1986 # Extract the first word of "gcc", so it can be a program name with args.
1987 set dummy gcc
; ac_word
=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 if test -n "$ac_ct_CC"; then
1994 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir
=.
2001 for ac_exec_ext
in '' $ac_executable_extensions; do
2002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_ac_ct_CC
="gcc"
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2013 if test -n "$ac_ct_CC"; then
2014 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2015 echo "${ECHO_T}$ac_ct_CC" >&6
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2026 if test -z "$CC"; then
2027 if test -n "$ac_tool_prefix"; then
2028 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2029 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2030 echo "$as_me:$LINENO: checking for $ac_word" >&5
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2032 if test "${ac_cv_prog_CC+set}" = set; then
2033 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 if test -n "$CC"; then
2036 ac_cv_prog_CC
="$CC" # Let the user override the test.
2038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2042 test -z "$as_dir" && as_dir
=.
2043 for ac_exec_ext
in '' $ac_executable_extensions; do
2044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2045 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055 if test -n "$CC"; then
2056 echo "$as_me:$LINENO: result: $CC" >&5
2057 echo "${ECHO_T}$CC" >&6
2059 echo "$as_me:$LINENO: result: no" >&5
2060 echo "${ECHO_T}no" >&6
2064 if test -z "$ac_cv_prog_CC"; then
2066 # Extract the first word of "cc", so it can be a program name with args.
2067 set dummy cc
; ac_word
=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$ac_ct_CC"; then
2074 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CC
="cc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2095 echo "${ECHO_T}$ac_ct_CC" >&6
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2107 if test -z "$CC"; then
2108 # Extract the first word of "cc", so it can be a program name with args.
2109 set dummy cc
; ac_word
=$2
2110 echo "$as_me:$LINENO: checking for $ac_word" >&5
2111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2112 if test "${ac_cv_prog_CC+set}" = set; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 if test -n "$CC"; then
2116 ac_cv_prog_CC
="$CC" # Let the user override the test.
2119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir
=.
2124 for ac_exec_ext
in '' $ac_executable_extensions; do
2125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2126 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2127 ac_prog_rejected
=yes
2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 if test $ac_prog_rejected = yes; then
2138 # We found a bogon in the path, so make sure we never use it.
2139 set dummy
$ac_cv_prog_CC
2141 if test $# != 0; then
2142 # We chose a different compiler from the bogus one.
2143 # However, it has the same basename, so the bogon will be chosen
2144 # first if we set CC to just the basename; use the full file name.
2146 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2152 if test -n "$CC"; then
2153 echo "$as_me:$LINENO: result: $CC" >&5
2154 echo "${ECHO_T}$CC" >&6
2156 echo "$as_me:$LINENO: result: no" >&5
2157 echo "${ECHO_T}no" >&6
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2166 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2167 echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2169 if test "${ac_cv_prog_CC+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC
="$CC" # Let the user override the test.
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 for ac_exec_ext
in '' $ac_executable_extensions; do
2181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test -n "$CC"; then
2193 echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6
2196 echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6
2200 test -n "$CC" && break
2203 if test -z "$CC"; then
2207 # Extract the first word of "$ac_prog", so it can be a program name with args.
2208 set dummy
$ac_prog; ac_word
=$2
2209 echo "$as_me:$LINENO: checking for $ac_word" >&5
2210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2211 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 if test -n "$ac_ct_CC"; then
2215 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir
=.
2222 for ac_exec_ext
in '' $ac_executable_extensions; do
2223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2224 ac_cv_prog_ac_ct_CC
="$ac_prog"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2234 if test -n "$ac_ct_CC"; then
2235 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2236 echo "${ECHO_T}$ac_ct_CC" >&6
2238 echo "$as_me:$LINENO: result: no" >&5
2239 echo "${ECHO_T}no" >&6
2242 test -n "$ac_ct_CC" && break
2251 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2252 See \`config.log' for more details." >&5
2253 echo "$as_me: error: no acceptable C compiler found in \$PATH
2254 See \`config.log' for more details." >&2;}
2255 { (exit 1); exit 1; }; }
2257 # Provide some information about the compiler.
2258 echo "$as_me:$LINENO:" \
2259 "checking for C compiler version" >&5
2260 ac_compiler
=`set X $ac_compile; echo $2`
2261 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2262 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }
2266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2267 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2270 (exit $ac_status); }
2271 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2272 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }
2277 cat >conftest.
$ac_ext <<_ACEOF
2280 cat confdefs.h
>>conftest.
$ac_ext
2281 cat >>conftest.
$ac_ext <<_ACEOF
2282 /* end confdefs.h. */
2292 ac_clean_files_save
=$ac_clean_files
2293 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2294 # Try to create an executable without -o first, disregard a.out.
2295 # It will help us diagnose broken compilers, and finding out an intuition
2297 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2298 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2299 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2300 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2301 (eval $ac_link_default) 2>&5
2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2304 (exit $ac_status); }; then
2305 # Find the output, starting from the most likely. This scheme is
2306 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2309 # Be careful to initialize this variable, since it used to be cached.
2310 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2312 # b.out is created by i960 compilers.
2313 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2315 test -f "$ac_file" ||
continue
2317 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2320 # This is the source file.
2323 # We found the default executable, but exeext='' is most
2327 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2328 # FIXME: I believe we export ac_cv_exeext for Libtool,
2329 # but it would be cool to find out if it's true. Does anybody
2330 # maintain Libtool? --akim.
2338 echo "$as_me: failed program was:" >&5
2339 sed 's/^/| /' conftest.
$ac_ext >&5
2341 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: C compiler cannot create executables
2344 See \`config.log' for more details." >&2;}
2345 { (exit 77); exit 77; }; }
2348 ac_exeext
=$ac_cv_exeext
2349 echo "$as_me:$LINENO: result: $ac_file" >&5
2350 echo "${ECHO_T}$ac_file" >&6
2352 # Check the compiler produces executables we can run. If not, either
2353 # the compiler is broken, or we cross compile.
2354 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2355 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2356 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2357 # If not cross compiling, check that we can run a simple program.
2358 if test "$cross_compiling" != yes; then
2359 if { ac_try
='./$ac_file'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; }; then
2367 if test "$cross_compiling" = maybe
; then
2370 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2371 If you meant to cross compile, use \`--host'.
2372 See \`config.log' for more details." >&5
2373 echo "$as_me: error: cannot run C compiled programs.
2374 If you meant to cross compile, use \`--host'.
2375 See \`config.log' for more details." >&2;}
2376 { (exit 1); exit 1; }; }
2380 echo "$as_me:$LINENO: result: yes" >&5
2381 echo "${ECHO_T}yes" >&6
2383 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2384 ac_clean_files
=$ac_clean_files_save
2385 # Check the compiler produces executables we can run. If not, either
2386 # the compiler is broken, or we cross compile.
2387 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2388 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2389 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2390 echo "${ECHO_T}$cross_compiling" >&6
2392 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2393 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2395 (eval $ac_link) 2>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); }; then
2399 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2400 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2401 # work properly (i.e., refer to `conftest.exe'), while it won't with
2403 for ac_file
in conftest.exe conftest conftest.
*; do
2404 test -f "$ac_file" ||
continue
2406 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2407 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2414 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2415 See \`config.log' for more details." >&5
2416 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2417 See \`config.log' for more details." >&2;}
2418 { (exit 1); exit 1; }; }
2421 rm -f conftest
$ac_cv_exeext
2422 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2423 echo "${ECHO_T}$ac_cv_exeext" >&6
2425 rm -f conftest.
$ac_ext
2426 EXEEXT
=$ac_cv_exeext
2428 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2429 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2430 if test "${ac_cv_objext+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 cat >conftest.
$ac_ext <<_ACEOF
2436 cat confdefs.h
>>conftest.
$ac_ext
2437 cat >>conftest.
$ac_ext <<_ACEOF
2438 /* end confdefs.h. */
2448 rm -f conftest.o conftest.obj
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; then
2454 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2456 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2457 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2462 echo "$as_me: failed program was:" >&5
2463 sed 's/^/| /' conftest.
$ac_ext >&5
2465 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2466 See \`config.log' for more details." >&5
2467 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2468 See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2472 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2474 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2475 echo "${ECHO_T}$ac_cv_objext" >&6
2476 OBJEXT
=$ac_cv_objext
2478 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2479 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2480 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2481 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 cat >conftest.
$ac_ext <<_ACEOF
2486 cat confdefs.h
>>conftest.
$ac_ext
2487 cat >>conftest.
$ac_ext <<_ACEOF
2488 /* end confdefs.h. */
2501 rm -f conftest.
$ac_objext
2502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2503 (eval $ac_compile) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1
>conftest.err
2507 cat conftest.err
>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } &&
2510 { ac_try
='test -z "$ac_c_werror_flag"
2511 || test ! -s conftest.err'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; } &&
2517 { ac_try
='test -s conftest.$ac_objext'
2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; }; then
2525 echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.
$ac_ext >&5
2530 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2531 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2534 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2535 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2536 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2537 ac_test_CFLAGS
=${CFLAGS+set}
2538 ac_save_CFLAGS
=$CFLAGS
2540 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2541 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2542 if test "${ac_cv_prog_cc_g+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 cat >conftest.
$ac_ext <<_ACEOF
2548 cat confdefs.h
>>conftest.
$ac_ext
2549 cat >>conftest.
$ac_ext <<_ACEOF
2550 /* end confdefs.h. */
2560 rm -f conftest.
$ac_objext
2561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2562 (eval $ac_compile) 2>conftest.er1
2564 grep -v '^ *+' conftest.er1
>conftest.err
2566 cat conftest.err
>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); } &&
2569 { ac_try
='test -z "$ac_c_werror_flag"
2570 || test ! -s conftest.err'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; } &&
2576 { ac_try
='test -s conftest.$ac_objext'
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; }; then
2584 echo "$as_me: failed program was:" >&5
2585 sed 's/^/| /' conftest.
$ac_ext >&5
2589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2591 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2592 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2593 if test "$ac_test_CFLAGS" = set; then
2594 CFLAGS
=$ac_save_CFLAGS
2595 elif test $ac_cv_prog_cc_g = yes; then
2596 if test "$GCC" = yes; then
2602 if test "$GCC" = yes; then
2608 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2609 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 ac_cv_prog_cc_stdc
=no
2615 cat >conftest.
$ac_ext <<_ACEOF
2618 cat confdefs.h
>>conftest.
$ac_ext
2619 cat >>conftest.
$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2623 #include <sys/types.h>
2624 #include <sys/stat.h>
2625 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2626 struct buf { int x; };
2627 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2628 static char *e (p, i)
2634 static char *f (char * (*g) (char **, int), char **p, ...)
2639 s = g (p, va_arg (v,int));
2644 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2645 function prototypes and stuff, but not '\xHH' hex character constants.
2646 These don't provoke an error unfortunately, instead are silently treated
2647 as 'x'. The following induces an error, until -std1 is added to get
2648 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2649 array size at least. It's necessary to write '\x00'==0 to get something
2650 that's true only with -std1. */
2651 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2653 int test (int i, double x);
2654 struct s1 {int (*f) (int a);};
2655 struct s2 {int (*f) (double a);};
2656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2667 # Don't try gcc -ansi; that turns off useful extensions and
2668 # breaks some systems' header files.
2669 # AIX -qlanglvl=ansi
2670 # Ultrix and OSF/1 -std1
2671 # HP-UX 10.20 and later -Ae
2672 # HP-UX older versions -Aa -D_HPUX_SOURCE
2673 # SVR4 -Xc -D__EXTENSIONS__
2674 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2676 CC
="$ac_save_CC $ac_arg"
2677 rm -f conftest.
$ac_objext
2678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2679 (eval $ac_compile) 2>conftest.er1
2681 grep -v '^ *+' conftest.er1
>conftest.err
2683 cat conftest.err
>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } &&
2686 { ac_try
='test -z "$ac_c_werror_flag"
2687 || test ! -s conftest.err'
2688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); }; } &&
2693 { ac_try
='test -s conftest.$ac_objext'
2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; }; then
2699 ac_cv_prog_cc_stdc
=$ac_arg
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.
$ac_ext >&5
2706 rm -f conftest.err conftest.
$ac_objext
2708 rm -f conftest.
$ac_ext conftest.
$ac_objext
2713 case "x$ac_cv_prog_cc_stdc" in
2715 echo "$as_me:$LINENO: result: none needed" >&5
2716 echo "${ECHO_T}none needed" >&6 ;;
2718 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2719 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2720 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2723 # Some people use a C++ compiler to compile C. Since we use `exit',
2724 # in C++ we need to declare it. In case someone uses the same compiler
2725 # for both compiling C and C++ we need to have the C++ compiler decide
2726 # the declaration of exit, since it's the most demanding environment.
2727 cat >conftest.
$ac_ext <<_ACEOF
2732 rm -f conftest.
$ac_objext
2733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2734 (eval $ac_compile) 2>conftest.er1
2736 grep -v '^ *+' conftest.er1
>conftest.err
2738 cat conftest.err
>&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); } &&
2741 { ac_try
='test -z "$ac_c_werror_flag"
2742 || test ! -s conftest.err'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; } &&
2748 { ac_try
='test -s conftest.$ac_objext'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; }; then
2754 for ac_declaration
in \
2756 'extern "C" void std::exit (int) throw (); using std::exit;' \
2757 'extern "C" void std::exit (int); using std::exit;' \
2758 'extern "C" void exit (int) throw ();' \
2759 'extern "C" void exit (int);' \
2762 cat >conftest.
$ac_ext <<_ACEOF
2765 cat confdefs.h
>>conftest.
$ac_ext
2766 cat >>conftest.
$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2778 rm -f conftest.
$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 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); } &&
2787 { ac_try
='test -z "$ac_c_werror_flag"
2788 || test ! -s conftest.err'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try
='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.
$ac_ext >&5
2807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2808 cat >conftest.
$ac_ext <<_ACEOF
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2823 rm -f conftest.
$ac_objext
2824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2825 (eval $ac_compile) 2>conftest.er1
2827 grep -v '^ *+' conftest.er1
>conftest.err
2829 cat conftest.err
>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try
='test -z "$ac_c_werror_flag"
2833 || test ! -s conftest.err'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; } &&
2839 { ac_try
='test -s conftest.$ac_objext'
2840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2854 if test -n "$ac_declaration"; then
2855 echo '#ifdef __cplusplus' >>confdefs.h
2856 echo $ac_declaration >>confdefs.h
2857 echo '#endif' >>confdefs.h
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2867 ac_cpp
='$CPP $CPPFLAGS'
2868 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2869 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2870 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2871 DEPDIR
="${am__leading_dot}deps"
2873 ac_config_commands
="$ac_config_commands depfiles"
2876 am_make
=${MAKE-make}
2877 cat > confinc
<< 'END'
2882 # If we don't find an include directive, just comment out the code.
2883 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2884 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2888 # First try GNU make style include.
2889 echo "include confinc" > confmf
2890 # We grep out `Entering directory' and `Leaving directory'
2891 # messages which can occur if `w' ends up in MAKEFLAGS.
2892 # In particular we don't look at `^make:' because GNU make might
2893 # be invoked under some other name (usually "gmake"), in which
2894 # case it prints its new name instead of `make'.
2895 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2900 # Now try BSD make style include.
2901 if test "$am__include" = "#"; then
2902 echo '.include "confinc"' > confmf
2903 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2904 am__include
=.include
2911 echo "$as_me:$LINENO: result: $_am_result" >&5
2912 echo "${ECHO_T}$_am_result" >&6
2913 rm -f confinc confmf
2915 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2916 if test "${enable_dependency_tracking+set}" = set; then
2917 enableval
="$enable_dependency_tracking"
2920 if test "x$enable_dependency_tracking" != xno
; then
2921 am_depcomp
="$ac_aux_dir/depcomp"
2926 if test "x$enable_dependency_tracking" != xno; then
2937 depcc
="$CC" am_compiler_list
=
2939 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2940 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2941 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2942 echo $ECHO_N "(cached) $ECHO_C" >&6
2944 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2945 # We make a subdir and do the tests there. Otherwise we can end up
2946 # making bogus files that we don't know about and never remove. For
2947 # instance it was reported that on HP-UX the gcc test will end up
2948 # making a dummy file named `D' -- because `-MD' means `put the output
2951 # Copy depcomp to subdir because otherwise we won't find it if we're
2952 # using a relative directory.
2953 cp "$am_depcomp" conftest.dir
2955 # We will build objects and dependencies in a subdirectory because
2956 # it helps to detect inapplicable dependency modes. For instance
2957 # both Tru64's cc and ICC support -MD to output dependencies as a
2958 # side effect of compilation, but ICC will put the dependencies in
2959 # the current directory while Tru64 will put them in the object
2963 am_cv_CC_dependencies_compiler_type
=none
2964 if test "$am_compiler_list" = ""; then
2965 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2967 for depmode
in $am_compiler_list; do
2968 # Setup a source with many dependencies, because some compilers
2969 # like to wrap large dependency lists on column 80 (with \), and
2970 # we should not choose a depcomp mode which is confused by this.
2972 # We need to recreate these files for each test, as the compiler may
2973 # overwrite some of them when testing with obscure command lines.
2974 # This happens at least with the AIX C compiler.
2976 for i
in 1 2 3 4 5 6; do
2977 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2978 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2979 # Solaris 8's {/usr,}/bin/sh.
2980 touch sub
/conftst
$i.h
2982 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2986 # after this tag, mechanisms are not by side-effect, so they'll
2987 # only be used when explicitly requested
2988 if test "x$enable_dependency_tracking" = xyes
; then
2996 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2997 # mode. It turns out that the SunPro C++ compiler does not properly
2998 # handle `-M -o', and we need to detect this.
2999 if depmode
=$depmode \
3000 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3001 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3002 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3003 >/dev
/null
2>conftest.err
&&
3004 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3005 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3006 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3007 # icc doesn't choke on unknown options, it will just issue warnings
3008 # or remarks (even with -Werror). So we grep stderr for any message
3009 # that says an option was ignored or not supported.
3010 # When given -MP, icc 7.0 and 7.1 complain thusly:
3011 # icc: Command line warning: ignoring option '-M'; no argument required
3012 # The diagnosis changed in icc 8.0:
3013 # icc: Command line remark: option '-MP' not supported
3014 if (grep 'ignoring option' conftest.err ||
3015 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3016 am_cv_CC_dependencies_compiler_type
=$depmode
3025 am_cv_CC_dependencies_compiler_type
=none
3029 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3030 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3031 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3036 test "x$enable_dependency_tracking" != xno \
3037 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3039 am__fastdepCC_FALSE
='#'
3041 am__fastdepCC_TRUE
='#'
3042 am__fastdepCC_FALSE
=
3050 if test "x$GCC" != "xyes"; then
3051 { { echo "$as_me:$LINENO: error: libgcc-math must be built with GCC" >&5
3052 echo "$as_me: error: libgcc-math must be built with GCC" >&2;}
3053 { (exit 1); exit 1; }; }
3056 ac_cpp
='$CPP $CPPFLAGS'
3057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3060 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3061 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3062 # On Suns, sometimes $CPP names a directory.
3063 if test -n "$CPP" && test -d "$CPP"; then
3066 if test -z "$CPP"; then
3067 if test "${ac_cv_prog_CPP+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 # Double quotes because CPP needs to be expanded
3071 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3074 for ac_c_preproc_warn_flag
in '' yes
3076 # Use a header file that comes with gcc, so configuring glibc
3077 # with a fresh cross-compiler works.
3078 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3079 # <limits.h> exists even on freestanding compilers.
3080 # On the NeXT, cc -E runs the code through the compiler's parser,
3081 # not just through cpp. "Syntax error" is here to catch this case.
3082 cat >conftest.
$ac_ext <<_ACEOF
3085 cat confdefs.h
>>conftest.
$ac_ext
3086 cat >>conftest.
$ac_ext <<_ACEOF
3087 /* end confdefs.h. */
3089 # include <limits.h>
3091 # include <assert.h>
3095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3096 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3098 grep -v '^ *+' conftest.er1
>conftest.err
3100 cat conftest.err
>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } >/dev
/null
; then
3103 if test -s conftest.err
; then
3104 ac_cpp_err
=$ac_c_preproc_warn_flag
3105 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3112 if test -z "$ac_cpp_err"; then
3115 echo "$as_me: failed program was:" >&5
3116 sed 's/^/| /' conftest.
$ac_ext >&5
3118 # Broken: fails on valid input.
3121 rm -f conftest.err conftest.
$ac_ext
3123 # OK, works on sane cases. Now check whether non-existent headers
3124 # can be detected and how.
3125 cat >conftest.
$ac_ext <<_ACEOF
3128 cat confdefs.h
>>conftest.
$ac_ext
3129 cat >>conftest.
$ac_ext <<_ACEOF
3130 /* end confdefs.h. */
3131 #include <ac_nonexistent.h>
3133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3136 grep -v '^ *+' conftest.er1
>conftest.err
3138 cat conftest.err
>&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } >/dev
/null
; then
3141 if test -s conftest.err
; then
3142 ac_cpp_err
=$ac_c_preproc_warn_flag
3143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3150 if test -z "$ac_cpp_err"; then
3151 # Broken: success on invalid input.
3154 echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.
$ac_ext >&5
3157 # Passes both tests.
3161 rm -f conftest.err conftest.
$ac_ext
3164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3165 rm -f conftest.err conftest.
$ac_ext
3166 if $ac_preproc_ok; then
3178 echo "$as_me:$LINENO: result: $CPP" >&5
3179 echo "${ECHO_T}$CPP" >&6
3181 for ac_c_preproc_warn_flag
in '' yes
3183 # Use a header file that comes with gcc, so configuring glibc
3184 # with a fresh cross-compiler works.
3185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3186 # <limits.h> exists even on freestanding compilers.
3187 # On the NeXT, cc -E runs the code through the compiler's parser,
3188 # not just through cpp. "Syntax error" is here to catch this case.
3189 cat >conftest.
$ac_ext <<_ACEOF
3192 cat confdefs.h
>>conftest.
$ac_ext
3193 cat >>conftest.
$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3196 # include <limits.h>
3198 # include <assert.h>
3202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3203 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3205 grep -v '^ *+' conftest.er1
>conftest.err
3207 cat conftest.err
>&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } >/dev
/null
; then
3210 if test -s conftest.err
; then
3211 ac_cpp_err
=$ac_c_preproc_warn_flag
3212 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3219 if test -z "$ac_cpp_err"; then
3222 echo "$as_me: failed program was:" >&5
3223 sed 's/^/| /' conftest.
$ac_ext >&5
3225 # Broken: fails on valid input.
3228 rm -f conftest.err conftest.
$ac_ext
3230 # OK, works on sane cases. Now check whether non-existent headers
3231 # can be detected and how.
3232 cat >conftest.
$ac_ext <<_ACEOF
3235 cat confdefs.h
>>conftest.
$ac_ext
3236 cat >>conftest.
$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3238 #include <ac_nonexistent.h>
3240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3243 grep -v '^ *+' conftest.er1
>conftest.err
3245 cat conftest.err
>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); } >/dev
/null
; then
3248 if test -s conftest.err
; then
3249 ac_cpp_err
=$ac_c_preproc_warn_flag
3250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3257 if test -z "$ac_cpp_err"; then
3258 # Broken: success on invalid input.
3261 echo "$as_me: failed program was:" >&5
3262 sed 's/^/| /' conftest.
$ac_ext >&5
3264 # Passes both tests.
3268 rm -f conftest.err conftest.
$ac_ext
3271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3272 rm -f conftest.err conftest.
$ac_ext
3273 if $ac_preproc_ok; then
3276 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3277 See \`config.log' for more details." >&5
3278 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3279 See \`config.log' for more details." >&2;}
3280 { (exit 1); exit 1; }; }
3284 ac_cpp
='$CPP $CPPFLAGS'
3285 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3286 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3287 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3289 # By default we simply use the C compiler to build assembly code.
3291 test "${CCAS+set}" = set || CCAS
=$CC
3292 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
3297 echo "$as_me:$LINENO: checking whether hidden visibility is supported" >&5
3298 echo $ECHO_N "checking whether hidden visibility is supported... $ECHO_C" >&6
3300 cat >conftest.
$ac_ext <<_ACEOF
3303 cat confdefs.h
>>conftest.
$ac_ext
3304 cat >>conftest.
$ac_ext <<_ACEOF
3305 /* end confdefs.h. */
3307 void __attribute__((visibility ("hidden"))) bar (void) {}
3316 rm -f conftest.
$ac_objext
3317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3318 (eval $ac_compile) 2>conftest.er1
3320 grep -v '^ *+' conftest.er1
>conftest.err
3322 cat conftest.err
>&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } &&
3325 { ac_try
='test -z "$ac_c_werror_flag"
3326 || test ! -s conftest.err'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } &&
3332 { ac_try
='test -s conftest.$ac_objext'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3340 echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.
$ac_ext >&5
3345 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3346 echo "$as_me:$LINENO: result: $gccm_hidden" >&5
3347 echo "${ECHO_T}$gccm_hidden" >&6
3348 if test x
$gccm_hidden = xyes
; then
3350 cat >>confdefs.h
<<\_ACEOF
3351 #define HAVE_HIDDEN_VISIBILITY 1
3356 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3357 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3358 cat > conftest.map
<<EOF
3360 global: *foo*; bar; local: *;
3363 save_LDFLAGS
="$LDFLAGS"
3364 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3365 cat >conftest.
$ac_ext <<_ACEOF
3368 cat confdefs.h
>>conftest.
$ac_ext
3369 cat >>conftest.
$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3380 rm -f conftest.
$ac_objext conftest
$ac_exeext
3381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3382 (eval $ac_link) 2>conftest.er1
3384 grep -v '^ *+' conftest.er1
>conftest.err
3386 cat conftest.err
>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } &&
3389 { ac_try
='test -z "$ac_c_werror_flag"
3390 || test ! -s conftest.err'
3391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }; } &&
3396 { ac_try
='test -s conftest$ac_exeext'
3397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); }; }; then
3404 echo "$as_me: failed program was:" >&5
3405 sed 's/^/| /' conftest.
$ac_ext >&5
3409 rm -f conftest.err conftest.
$ac_objext \
3410 conftest
$ac_exeext conftest.
$ac_ext
3411 LDFLAGS
="$save_LDFLAGS"
3412 echo "$as_me:$LINENO: result: $gccm_use_symver" >&5
3413 echo "${ECHO_T}$gccm_use_symver" >&6
3416 if test "x$gccm_use_symver" = xyes
; then
3417 LIBGCCM_USE_SYMVER_TRUE
=
3418 LIBGCCM_USE_SYMVER_FALSE
='#'
3420 LIBGCCM_USE_SYMVER_TRUE
='#'
3421 LIBGCCM_USE_SYMVER_FALSE
=
3425 echo "$as_me:$LINENO: checking whether we are a 32bit target" >&5
3426 echo $ECHO_N "checking whether we are a 32bit target... $ECHO_C" >&6
3427 save_CFLAGS
="$CFLAGS"
3429 cat >conftest.
$ac_ext <<_ACEOF
3432 cat confdefs.h
>>conftest.
$ac_ext
3433 cat >>conftest.
$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3440 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
3443 undefined_function ();
3449 rm -f conftest.
$ac_objext conftest
$ac_exeext
3450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3451 (eval $ac_link) 2>conftest.er1
3453 grep -v '^ *+' conftest.er1
>conftest.err
3455 cat conftest.err
>&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); } &&
3458 { ac_try
='test -z "$ac_c_werror_flag"
3459 || test ! -s conftest.err'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; } &&
3465 { ac_try
='test -s conftest$ac_exeext'
3466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); }; }; then
3473 echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.
$ac_ext >&5
3478 rm -f conftest.err conftest.
$ac_objext \
3479 conftest
$ac_exeext conftest.
$ac_ext
3480 CFLAGS
="$save_CFLAGS"
3483 if test "x$target_ilp32" = xyes
; then
3485 TARGET_ILP32_FALSE
='#'
3487 TARGET_ILP32_TRUE
='#'
3493 # Check whether --enable-shared or --disable-shared was given.
3494 if test "${enable_shared+set}" = set; then
3495 enableval
="$enable_shared"
3496 p
=${PACKAGE-default}
3498 yes) enable_shared
=yes ;;
3499 no
) enable_shared
=no
;;
3502 # Look at the argument we got. We use all the common list separators.
3503 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3504 for pkg
in $enableval; do
3505 if test "X$pkg" = "X$p"; then
3515 # Check whether --enable-static or --disable-static was given.
3516 if test "${enable_static+set}" = set; then
3517 enableval
="$enable_static"
3518 p
=${PACKAGE-default}
3520 yes) enable_static
=yes ;;
3521 no
) enable_static
=no
;;
3524 # Look at the argument we got. We use all the common list separators.
3525 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3526 for pkg
in $enableval; do
3527 if test "X$pkg" = "X$p"; then
3537 # Check whether --enable-fast-install or --disable-fast-install was given.
3538 if test "${enable_fast_install+set}" = set; then
3539 enableval
="$enable_fast_install"
3540 p
=${PACKAGE-default}
3542 yes) enable_fast_install
=yes ;;
3543 no
) enable_fast_install
=no
;;
3545 enable_fast_install
=no
3546 # Look at the argument we got. We use all the common list separators.
3547 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3548 for pkg
in $enableval; do
3549 if test "X$pkg" = "X$p"; then
3550 enable_fast_install
=yes
3557 enable_fast_install
=yes
3560 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3561 if test "${with_gnu_ld+set}" = set; then
3562 withval
="$with_gnu_ld"
3563 test "$withval" = no || with_gnu_ld
=yes
3568 if test "$GCC" = yes; then
3569 # Check if gcc -print-prog-name=ld gives a path.
3570 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3571 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3574 # gcc leaves a trailing carriage return which upsets mingw
3575 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3577 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3580 # Accept absolute paths.
3581 [\\/]* |
[A-Za-z
]:[\\/]*)
3582 re_direlt
='/[^/][^/]*/\.\./'
3583 # Canonicalize the path of ld
3584 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3585 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3586 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3588 test -z "$LD" && LD
="$ac_prog"
3591 # If it fails, then pretend we aren't using GCC.
3595 # If it is relative, then search for the first ld in PATH.
3599 elif test "$with_gnu_ld" = yes; then
3600 echo "$as_me:$LINENO: checking for GNU ld" >&5
3601 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3603 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3604 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3606 if test "${lt_cv_path_LD+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 if test -z "$LD"; then
3610 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3611 for ac_dir
in $PATH; do
3612 test -z "$ac_dir" && ac_dir
=.
3613 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3614 lt_cv_path_LD
="$ac_dir/$ac_prog"
3615 # Check to see if the program is GNU ld. I'd rather use --version,
3616 # but apparently some GNU ld's only accept -v.
3617 # Break only if it was the GNU/non-GNU ld that we prefer.
3618 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3619 test "$with_gnu_ld" != no
&& break
3621 test "$with_gnu_ld" != yes && break
3627 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3632 if test -n "$LD"; then
3633 echo "$as_me:$LINENO: result: $LD" >&5
3634 echo "${ECHO_T}$LD" >&6
3636 echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6
3639 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3640 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3641 { (exit 1); exit 1; }; }
3642 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3643 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3644 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3645 echo $ECHO_N "(cached) $ECHO_C" >&6
3647 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3648 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3649 lt_cv_prog_gnu_ld
=yes
3651 lt_cv_prog_gnu_ld
=no
3654 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3655 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3656 with_gnu_ld
=$lt_cv_prog_gnu_ld
3659 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3660 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3661 if test "${lt_cv_ld_reload_flag+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 lt_cv_ld_reload_flag
='-r'
3666 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3667 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3668 reload_flag
=$lt_cv_ld_reload_flag
3669 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3671 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3672 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3673 if test "${lt_cv_path_NM+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 if test -n "$NM"; then
3677 # Let the user override the test.
3680 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3681 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3682 test -z "$ac_dir" && ac_dir
=.
3683 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3684 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3685 # Check to see if the nm accepts a BSD-compat flag.
3686 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3687 # nm: unknown option "B" ignored
3688 # Tru64's nm complains that /dev/null is an invalid object file
3689 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3690 lt_cv_path_NM
="$tmp_nm -B"
3692 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3693 lt_cv_path_NM
="$tmp_nm -p"
3696 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3697 continue # so that we can try to find one that supports BSD flags
3702 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3707 echo "$as_me:$LINENO: result: $NM" >&5
3708 echo "${ECHO_T}$NM" >&6
3710 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3711 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3713 if test "$LN_S" = "ln -s"; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3717 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3718 echo "${ECHO_T}no, using $LN_S" >&6
3721 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3722 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3723 if test "${lt_cv_deplibs_check_method+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3727 lt_cv_file_magic_test_file
=
3728 lt_cv_deplibs_check_method
='unknown'
3729 # Need to set the preceding variable on all platforms that support
3730 # interlibrary dependencies.
3731 # 'none' -- dependencies not supported.
3732 # `unknown' -- same as none, but documents that we really don't know.
3733 # 'pass_all' -- all dependencies passed with no checks.
3734 # 'test_compile' -- check by making test program.
3735 # 'file_magic [regex]' -- check by looking for files in library path
3736 # which responds to the $file_magic_cmd with a given egrep regex.
3737 # If you have `file' or equivalent on your system and you're not sure
3738 # whether `pass_all' will *always* work, you probably want this one.
3742 lt_cv_deplibs_check_method
=pass_all
3746 lt_cv_deplibs_check_method
=pass_all
3750 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3751 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3752 lt_cv_file_magic_test_file
=/shlib
/libc.so
3755 cygwin
* | mingw
* |pw32
*)
3756 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3757 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3760 darwin
* | rhapsody
*)
3761 # this will be overwritten by pass_all, but leave it in just in case
3762 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3763 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3765 rhapsody
* | darwin1.012
)
3766 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3769 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3772 lt_cv_deplibs_check_method
=pass_all
3775 freebsd
* | kfreebsd
*-gnu)
3776 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3779 # Not sure whether the presence of OpenBSD here was a mistake.
3780 # Let's accept both of them until this is cleared up.
3781 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3782 lt_cv_file_magic_cmd
=/usr
/bin
/file
3783 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3787 lt_cv_deplibs_check_method
=pass_all
3792 lt_cv_deplibs_check_method
=pass_all
3798 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3799 lt_cv_file_magic_cmd
=/usr
/bin
/file
3800 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3803 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3804 lt_cv_file_magic_cmd
=/usr
/bin
/file
3805 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3813 # this will be overridden with pass_all, but let us keep it just in case
3814 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3818 *-32|
*"-32 ") libmagic
=32-bit;;
3819 *-n32|
*"-n32 ") libmagic
=N32
;;
3820 *-64|
*"-64 ") libmagic
=64-bit;;
3821 *) libmagic
=never-match
;;
3823 # this will be overridden with pass_all, but let us keep it just in case
3824 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3827 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3828 lt_cv_deplibs_check_method
=pass_all
3831 # This must be Linux ELF.
3833 lt_cv_deplibs_check_method
=pass_all
3836 netbsd
* | knetbsd
*-gnu)
3837 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3838 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3840 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3845 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3846 lt_cv_file_magic_cmd
=/usr
/bin
/file
3847 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3850 osf3
* | osf4
* | osf5
*)
3851 # this will be overridden with pass_all, but let us keep it just in case
3852 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3853 lt_cv_file_magic_test_file
=/shlib
/libc.so
3854 lt_cv_deplibs_check_method
=pass_all
3858 lt_cv_deplibs_check_method
=pass_all
3862 lt_cv_deplibs_check_method
=pass_all
3863 lt_cv_file_magic_test_file
=/lib
/libc.so
3866 sysv5uw
[78]* | sysv4
*uw2
*)
3867 lt_cv_deplibs_check_method
=pass_all
3870 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3871 case $host_vendor in
3873 lt_cv_deplibs_check_method
=pass_all
3876 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3877 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3884 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3885 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3886 file_magic_cmd
=$lt_cv_file_magic_cmd
3887 deplibs_check_method
=$lt_cv_deplibs_check_method
3891 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3893 # find the maximum length of command line arguments
3894 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3895 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
3896 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 # On DJGPP, this test can blow up pretty badly due to problems in libc
3905 # (any single argument exceeding 2000 bytes causes a buffer overrun
3906 # during glob expansion). Even if it were fixed, the result of this
3907 # check would be larger than it should be.
3908 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
3912 # On Win9x/ME, this test blows up -- it succeeds, but takes
3913 # about 5 minutes as the teststring grows exponentially.
3914 # Worse, since 9x/ME are not pre-emptively multitasking,
3915 # you end up with a "frozen" computer, even though with patience
3916 # the test eventually succeeds (with a max line length of 256k).
3917 # Instead, let's just punt: use the minimum linelength reported by
3918 # all of the supported platforms: 8192 (on NT/2K/XP).
3919 lt_cv_sys_max_cmd_len
=8192;
3923 # On AmigaOS with pdksh, this test takes hours, literally.
3924 # So we just punt and use a minimum line length of 8192.
3925 lt_cv_sys_max_cmd_len
=8192;
3928 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
3929 # This has been around since 386BSD, at least. Likely further.
3930 if test -x /sbin
/sysctl
; then
3931 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
3932 elif test -x /usr
/sbin
/sysctl
; then
3933 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
3935 lt_cv_sys_max_cmd_len
=65536 # usable default for *BSD
3937 # And add a safety zone
3938 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
3939 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
3945 if test -n "$lt_cv_sys_max_cmd_len" ; then
3946 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3947 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
3949 echo "$as_me:$LINENO: result: none" >&5
3950 echo "${ECHO_T}none" >&6
3954 # Only perform the check for file, if the check method requires it
3955 case $deplibs_check_method in
3957 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3958 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3959 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3960 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3968 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3971 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3972 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3973 ac_dummy
="/usr/bin:$PATH"
3974 for ac_dir
in $ac_dummy; do
3975 test -z "$ac_dir" && ac_dir
=.
3976 if test -f $ac_dir/${ac_tool_prefix}file; then
3977 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3978 if test -n "$file_magic_test_file"; then
3979 case $deplibs_check_method in
3981 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3982 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3983 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3984 egrep "$file_magic_regex" > /dev
/null
; then
3989 *** Warning: the command libtool uses to detect shared libraries,
3990 *** $file_magic_cmd, produces output that libtool cannot recognize.
3991 *** The result is that libtool may fail to recognize shared libraries
3992 *** as such. This will affect the creation of libtool libraries that
3993 *** depend on shared libraries, but programs linked with such libtool
3994 *** libraries will work regardless of this problem. Nevertheless, you
3995 *** may want to report the problem to your system manager and/or to
3996 *** bug-libtool@gnu.org
4006 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4011 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4012 if test -n "$MAGIC_CMD"; then
4013 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4014 echo "${ECHO_T}$MAGIC_CMD" >&6
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4020 if test -z "$lt_cv_path_MAGIC_CMD"; then
4021 if test -n "$ac_tool_prefix"; then
4022 echo "$as_me:$LINENO: checking for file" >&5
4023 echo $ECHO_N "checking for file... $ECHO_C" >&6
4024 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4025 echo $ECHO_N "(cached) $ECHO_C" >&6
4029 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4032 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4035 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4036 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4037 ac_dummy
="/usr/bin:$PATH"
4038 for ac_dir
in $ac_dummy; do
4039 test -z "$ac_dir" && ac_dir
=.
4040 if test -f $ac_dir/file; then
4041 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4042 if test -n "$file_magic_test_file"; then
4043 case $deplibs_check_method in
4045 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4046 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4047 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4048 egrep "$file_magic_regex" > /dev
/null
; then
4053 *** Warning: the command libtool uses to detect shared libraries,
4054 *** $file_magic_cmd, produces output that libtool cannot recognize.
4055 *** The result is that libtool may fail to recognize shared libraries
4056 *** as such. This will affect the creation of libtool libraries that
4057 *** depend on shared libraries, but programs linked with such libtool
4058 *** libraries will work regardless of this problem. Nevertheless, you
4059 *** may want to report the problem to your system manager and/or to
4060 *** bug-libtool@gnu.org
4070 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4075 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4076 if test -n "$MAGIC_CMD"; then
4077 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4078 echo "${ECHO_T}$MAGIC_CMD" >&6
4080 echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6
4093 if test -n "$ac_tool_prefix"; then
4094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4095 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4096 echo "$as_me:$LINENO: checking for $ac_word" >&5
4097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4098 if test "${ac_cv_prog_RANLIB+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 if test -n "$RANLIB"; then
4102 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir
=.
4109 for ac_exec_ext
in '' $ac_executable_extensions; do
4110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4111 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 RANLIB
=$ac_cv_prog_RANLIB
4121 if test -n "$RANLIB"; then
4122 echo "$as_me:$LINENO: result: $RANLIB" >&5
4123 echo "${ECHO_T}$RANLIB" >&6
4125 echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6
4130 if test -z "$ac_cv_prog_RANLIB"; then
4131 ac_ct_RANLIB
=$RANLIB
4132 # Extract the first word of "ranlib", so it can be a program name with args.
4133 set dummy ranlib
; ac_word
=$2
4134 echo "$as_me:$LINENO: checking for $ac_word" >&5
4135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4136 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 if test -n "$ac_ct_RANLIB"; then
4140 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4149 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4156 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4159 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4160 if test -n "$ac_ct_RANLIB"; then
4161 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4162 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4164 echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6
4168 RANLIB
=$ac_ct_RANLIB
4170 RANLIB
="$ac_cv_prog_RANLIB"
4173 if test -n "$ac_tool_prefix"; then
4174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4175 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4176 echo "$as_me:$LINENO: checking for $ac_word" >&5
4177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4178 if test "${ac_cv_prog_STRIP+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 if test -n "$STRIP"; then
4182 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir
=.
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4191 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 STRIP
=$ac_cv_prog_STRIP
4201 if test -n "$STRIP"; then
4202 echo "$as_me:$LINENO: result: $STRIP" >&5
4203 echo "${ECHO_T}$STRIP" >&6
4205 echo "$as_me:$LINENO: result: no" >&5
4206 echo "${ECHO_T}no" >&6
4210 if test -z "$ac_cv_prog_STRIP"; then
4212 # Extract the first word of "strip", so it can be a program name with args.
4213 set dummy strip
; ac_word
=$2
4214 echo "$as_me:$LINENO: checking for $ac_word" >&5
4215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4216 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4217 echo $ECHO_N "(cached) $ECHO_C" >&6
4219 if test -n "$ac_ct_STRIP"; then
4220 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 test -z "$as_dir" && as_dir
=.
4227 for ac_exec_ext
in '' $ac_executable_extensions; do
4228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4229 ac_cv_prog_ac_ct_STRIP
="strip"
4230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4239 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4240 if test -n "$ac_ct_STRIP"; then
4241 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4242 echo "${ECHO_T}$ac_ct_STRIP" >&6
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4250 STRIP
="$ac_cv_prog_STRIP"
4254 # Check for any special flags to pass to ltconfig.
4255 libtool_flags
="--cache-file=$cache_file"
4256 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4257 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4258 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4259 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4260 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4263 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4264 if test "${enable_libtool_lock+set}" = set; then
4265 enableval
="$enable_libtool_lock"
4268 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4269 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4272 # Check whether --with-pic or --without-pic was given.
4273 if test "${with_pic+set}" = set; then
4279 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4280 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4282 # Some flags need to be propagated to the compiler or linker for good
4286 # Find out which ABI we are using.
4287 echo '#line 4287 "configure"' > conftest.
$ac_ext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4289 (eval $ac_compile) 2>&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); }; then
4293 if test "$lt_cv_prog_gnu_ld" = yes; then
4294 case `/usr/bin/file conftest.$ac_objext` in
4296 LD
="${LD-ld} -melf32bsmip"
4299 LD
="${LD-ld} -melf32bmipn32"
4302 LD
="${LD-ld} -melf64bmip"
4306 case `/usr/bin/file conftest.$ac_objext` in
4323 # Find out which ABI we are using.
4324 echo 'int i;' > conftest.
$ac_ext
4325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4326 (eval $ac_compile) 2>&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); }; then
4330 case "`/usr/bin/file conftest.o`" in
4342 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4343 # Find out which ABI we are using.
4344 echo 'int i;' > conftest.
$ac_ext
4345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4346 (eval $ac_compile) 2>&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); }; then
4350 case "`/usr/bin/file conftest.o`" in
4354 LD
="${LD-ld} -m elf_i386"
4356 ppc64-
*linux
*|powerpc64-
*linux
*)
4357 LD
="${LD-ld} -m elf32ppclinux"
4360 LD
="${LD-ld} -m elf_s390"
4363 LD
="${LD-ld} -m elf32_sparc"
4370 LD
="${LD-ld} -m elf_x86_64"
4372 ppc
*-*linux
*|powerpc
*-*linux
*)
4373 LD
="${LD-ld} -m elf64ppc"
4376 LD
="${LD-ld} -m elf64_s390"
4379 LD
="${LD-ld} -m elf64_sparc"
4389 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4390 SAVE_CFLAGS
="$CFLAGS"
4391 CFLAGS
="$CFLAGS -belf"
4392 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4393 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4394 if test "${lt_cv_cc_needs_belf+set}" = set; then
4395 echo $ECHO_N "(cached) $ECHO_C" >&6
4400 ac_cpp
='$CPP $CPPFLAGS'
4401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4405 cat >conftest.
$ac_ext <<_ACEOF
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4420 rm -f conftest.
$ac_objext conftest
$ac_exeext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4422 (eval $ac_link) 2>conftest.er1
4424 grep -v '^ *+' conftest.er1
>conftest.err
4426 cat conftest.err
>&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } &&
4429 { ac_try
='test -z "$ac_c_werror_flag"
4430 || test ! -s conftest.err'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; } &&
4436 { ac_try
='test -s conftest$ac_exeext'
4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; }; then
4442 lt_cv_cc_needs_belf
=yes
4444 echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.
$ac_ext >&5
4447 lt_cv_cc_needs_belf
=no
4449 rm -f conftest.err conftest.
$ac_objext \
4450 conftest
$ac_exeext conftest.
$ac_ext
4452 ac_cpp
='$CPP $CPPFLAGS'
4453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4458 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4459 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4460 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4461 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4462 CFLAGS
="$SAVE_CFLAGS"
4470 # Save cache, so that ltconfig can load it
4471 cat >confcache
<<\_ACEOF
4472 # This file is a shell script that caches the results of configure
4473 # tests run on this system so they can be shared between configure
4474 # scripts and configure runs, see configure's option --config-cache.
4475 # It is not useful on other systems. If it contains results you don't
4476 # want to keep, you may remove or edit it.
4478 # config.status only pays attention to the cache file if you give it
4479 # the --recheck option to rerun configure.
4481 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4482 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4487 # The following way of writing the cache mishandles newlines in values,
4488 # but we know of no workaround that is simple, portable, and efficient.
4489 # So, don't put newlines in cache variables' values.
4490 # Ultrix sh set writes to stderr and can't be redirected directly,
4491 # and sets the high bit in the cache file unless we assign to the vars.
4494 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4496 # `set' does not quote correctly, so add quotes (double-quote
4497 # substitution turns \\\\ into \\, and sed turns \\ into \).
4500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4503 # `set' quotes correctly as required by POSIX, so do not add quotes.
4505 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4512 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4514 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4516 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4517 if test -w $cache_file; then
4518 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4519 cat confcache
>$cache_file
4521 echo "not updating unwritable cache $cache_file"
4526 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4527 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4528 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4529 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4530 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4531 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4532 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4533 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4534 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4535 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4536 echo "$as_me: error: libtool configure failed" >&2;}
4537 { (exit 1); exit 1; }; }
4539 # Reload cache, that may have been modified by ltconfig
4540 if test -r "$cache_file"; then
4541 # Some versions of bash will fail to source /dev/null (special
4542 # files actually), so we avoid doing that.
4543 if test -f "$cache_file"; then
4544 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4545 echo "$as_me: loading cache $cache_file" >&6;}
4547 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4548 *) . .
/$cache_file;;
4552 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4553 echo "$as_me: creating cache $cache_file" >&6;}
4558 # This can be used to rebuild libtool when needed
4559 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4561 # Always use our own libtool.
4562 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4564 # Redirect the config.log output again, so that the ltconfig log is not
4565 # clobbered by the next message.
4566 exec 5>>.
/config.log
4576 # Calculate toolexeclibdir
4577 # Also toolexecdir, though it's only used in toolexeclibdir
4578 case ${version_specific_libs} in
4580 # Need the gcc compiler version to know where to install libraries
4581 # and header files if --enable-version-specific-runtime-libs option
4583 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4584 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4587 if test -n "$with_cross_host" &&
4588 test x
"$with_cross_host" != x
"no"; then
4589 # Install a library built with a cross compiler in tooldir, not libdir.
4590 toolexecdir
='$(exec_prefix)/$(target_alias)'
4591 toolexeclibdir
='$(toolexecdir)/lib'
4593 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4594 toolexeclibdir
='$(libdir)'
4596 multi_os_directory
=`$CC -print-multi-os-directory`
4597 case $multi_os_directory in
4598 .
) ;; # Avoid trailing /.
4599 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4606 if test ${multilib} = yes; then
4607 multilib_arg
="--enable-multilib"
4613 echo "$as_me:$LINENO: checking for egrep" >&5
4614 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4615 if test "${ac_cv_prog_egrep+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4619 then ac_cv_prog_egrep
='grep -E'
4620 else ac_cv_prog_egrep
='egrep'
4623 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4624 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4625 EGREP
=$ac_cv_prog_egrep
4628 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4629 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4630 if test "${ac_cv_header_stdc+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 cat >conftest.
$ac_ext <<_ACEOF
4636 cat confdefs.h
>>conftest.
$ac_ext
4637 cat >>conftest.
$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4652 rm -f conftest.
$ac_objext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4654 (eval $ac_compile) 2>conftest.er1
4656 grep -v '^ *+' conftest.er1
>conftest.err
4658 cat conftest.err
>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } &&
4661 { ac_try
='test -z "$ac_c_werror_flag"
4662 || test ! -s conftest.err'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; } &&
4668 { ac_try
='test -s conftest.$ac_objext'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; }; then
4674 ac_cv_header_stdc
=yes
4676 echo "$as_me: failed program was:" >&5
4677 sed 's/^/| /' conftest.
$ac_ext >&5
4679 ac_cv_header_stdc
=no
4681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4683 if test $ac_cv_header_stdc = yes; then
4684 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4685 cat >conftest.
$ac_ext <<_ACEOF
4688 cat confdefs.h
>>conftest.
$ac_ext
4689 cat >>conftest.
$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4695 $EGREP "memchr" >/dev
/null
2>&1; then
4698 ac_cv_header_stdc
=no
4704 if test $ac_cv_header_stdc = yes; then
4705 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4706 cat >conftest.
$ac_ext <<_ACEOF
4709 cat confdefs.h
>>conftest.
$ac_ext
4710 cat >>conftest.
$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4716 $EGREP "free" >/dev
/null
2>&1; then
4719 ac_cv_header_stdc
=no
4725 if test $ac_cv_header_stdc = yes; then
4726 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4727 if test "$cross_compiling" = yes; then
4730 cat >conftest.
$ac_ext <<_ACEOF
4733 cat confdefs.h
>>conftest.
$ac_ext
4734 cat >>conftest.
$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4737 #if ((' ' & 0x0FF) == 0x020)
4738 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4739 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4741 # define ISLOWER(c) \
4742 (('a' <= (c) && (c) <= 'i') \
4743 || ('j' <= (c) && (c) <= 'r') \
4744 || ('s' <= (c) && (c) <= 'z'))
4745 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4748 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4753 for (i = 0; i < 256; i++)
4754 if (XOR (islower (i), ISLOWER (i))
4755 || toupper (i) != TOUPPER (i))
4760 rm -f conftest
$ac_exeext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4762 (eval $ac_link) 2>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; }; then
4773 echo "$as_me: program exited with status $ac_status" >&5
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.
$ac_ext >&5
4778 ac_cv_header_stdc
=no
4780 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4784 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4785 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4786 if test $ac_cv_header_stdc = yes; then
4788 cat >>confdefs.h
<<\_ACEOF
4789 #define STDC_HEADERS 1
4794 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4804 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4805 inttypes.h stdint.h unistd.h
4807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4808 echo "$as_me:$LINENO: checking for $ac_header" >&5
4809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4811 echo $ECHO_N "(cached) $ECHO_C" >&6
4813 cat >conftest.
$ac_ext <<_ACEOF
4816 cat confdefs.h
>>conftest.
$ac_ext
4817 cat >>conftest.
$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 $ac_includes_default
4821 #include <$ac_header>
4823 rm -f conftest.
$ac_objext
4824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4825 (eval $ac_compile) 2>conftest.er1
4827 grep -v '^ *+' conftest.er1
>conftest.err
4829 cat conftest.err
>&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } &&
4832 { ac_try
='test -z "$ac_c_werror_flag"
4833 || test ! -s conftest.err'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; } &&
4839 { ac_try
='test -s conftest.$ac_objext'
4840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); }; }; then
4845 eval "$as_ac_Header=yes"
4847 echo "$as_me: failed program was:" >&5
4848 sed 's/^/| /' conftest.
$ac_ext >&5
4850 eval "$as_ac_Header=no"
4852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4857 cat >>confdefs.h
<<_ACEOF
4858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4868 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
4870 acx_cv_header_stdint
=stddef.h
4871 acx_cv_header_stdint_kind
="(already complete)"
4872 for i
in stdint.h
$inttype_headers; do
4873 unset ac_cv_type_uintptr_t
4874 unset ac_cv_type_uintmax_t
4875 unset ac_cv_type_int_least32_t
4876 unset ac_cv_type_int_fast32_t
4877 unset ac_cv_type_uint64_t
4878 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
4879 echo "$as_me:$LINENO: checking for uintmax_t" >&5
4880 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
4881 if test "${ac_cv_type_uintmax_t+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 cat >conftest.
$ac_ext <<_ACEOF
4887 cat confdefs.h
>>conftest.
$ac_ext
4888 cat >>conftest.
$ac_ext <<_ACEOF
4889 /* end confdefs.h. */
4890 #include <sys/types.h>
4896 if ((uintmax_t *) 0)
4898 if (sizeof (uintmax_t))
4904 rm -f conftest.
$ac_objext
4905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4906 (eval $ac_compile) 2>conftest.er1
4908 grep -v '^ *+' conftest.er1
>conftest.err
4910 cat conftest.err
>&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } &&
4913 { ac_try
='test -z "$ac_c_werror_flag"
4914 || test ! -s conftest.err'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; } &&
4920 { ac_try
='test -s conftest.$ac_objext'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4926 ac_cv_type_uintmax_t
=yes
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.
$ac_ext >&5
4931 ac_cv_type_uintmax_t
=no
4933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4935 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
4936 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
4937 if test $ac_cv_type_uintmax_t = yes; then
4938 acx_cv_header_stdint
=$i
4943 echo "$as_me:$LINENO: checking for uintptr_t" >&5
4944 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
4945 if test "${ac_cv_type_uintptr_t+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 cat >conftest.
$ac_ext <<_ACEOF
4951 cat confdefs.h
>>conftest.
$ac_ext
4952 cat >>conftest.
$ac_ext <<_ACEOF
4953 /* end confdefs.h. */
4954 #include <sys/types.h>
4960 if ((uintptr_t *) 0)
4962 if (sizeof (uintptr_t))
4968 rm -f conftest.
$ac_objext
4969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4970 (eval $ac_compile) 2>conftest.er1
4972 grep -v '^ *+' conftest.er1
>conftest.err
4974 cat conftest.err
>&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } &&
4977 { ac_try
='test -z "$ac_c_werror_flag"
4978 || test ! -s conftest.err'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; } &&
4984 { ac_try
='test -s conftest.$ac_objext'
4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; }; then
4990 ac_cv_type_uintptr_t
=yes
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.
$ac_ext >&5
4995 ac_cv_type_uintptr_t
=no
4997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4999 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
5000 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
5001 if test $ac_cv_type_uintptr_t = yes; then
5004 acx_cv_header_stdint_kind
="(mostly complete)"
5007 echo "$as_me:$LINENO: checking for int_least32_t" >&5
5008 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
5009 if test "${ac_cv_type_int_least32_t+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 cat >conftest.
$ac_ext <<_ACEOF
5015 cat confdefs.h
>>conftest.
$ac_ext
5016 cat >>conftest.
$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 #include <sys/types.h>
5024 if ((int_least32_t *) 0)
5026 if (sizeof (int_least32_t))
5032 rm -f conftest.
$ac_objext
5033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5034 (eval $ac_compile) 2>conftest.er1
5036 grep -v '^ *+' conftest.er1
>conftest.err
5038 cat conftest.err
>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } &&
5041 { ac_try
='test -z "$ac_c_werror_flag"
5042 || test ! -s conftest.err'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; } &&
5048 { ac_try
='test -s conftest.$ac_objext'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; }; then
5054 ac_cv_type_int_least32_t
=yes
5056 echo "$as_me: failed program was:" >&5
5057 sed 's/^/| /' conftest.
$ac_ext >&5
5059 ac_cv_type_int_least32_t
=no
5061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5063 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
5064 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
5065 if test $ac_cv_type_int_least32_t = yes; then
5068 acx_cv_header_stdint_kind
="(mostly complete)"
5071 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
5072 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
5073 if test "${ac_cv_type_int_fast32_t+set}" = set; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 cat >conftest.
$ac_ext <<_ACEOF
5079 cat confdefs.h
>>conftest.
$ac_ext
5080 cat >>conftest.
$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5082 #include <sys/types.h>
5088 if ((int_fast32_t *) 0)
5090 if (sizeof (int_fast32_t))
5096 rm -f conftest.
$ac_objext
5097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5098 (eval $ac_compile) 2>conftest.er1
5100 grep -v '^ *+' conftest.er1
>conftest.err
5102 cat conftest.err
>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } &&
5105 { ac_try
='test -z "$ac_c_werror_flag"
5106 || test ! -s conftest.err'
5107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5111 (exit $ac_status); }; } &&
5112 { ac_try
='test -s conftest.$ac_objext'
5113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); }; }; then
5118 ac_cv_type_int_fast32_t
=yes
5120 echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.
$ac_ext >&5
5123 ac_cv_type_int_fast32_t
=no
5125 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5127 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
5128 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
5129 if test $ac_cv_type_int_fast32_t = yes; then
5132 acx_cv_header_stdint_kind
="(mostly complete)"
5135 echo "$as_me:$LINENO: checking for uint64_t" >&5
5136 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5137 if test "${ac_cv_type_uint64_t+set}" = set; then
5138 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 cat >conftest.
$ac_ext <<_ACEOF
5143 cat confdefs.h
>>conftest.
$ac_ext
5144 cat >>conftest.
$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 #include <sys/types.h>
5154 if (sizeof (uint64_t))
5160 rm -f conftest.
$ac_objext
5161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162 (eval $ac_compile) 2>conftest.er1
5164 grep -v '^ *+' conftest.er1
>conftest.err
5166 cat conftest.err
>&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } &&
5169 { ac_try
='test -z "$ac_c_werror_flag"
5170 || test ! -s conftest.err'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; } &&
5176 { ac_try
='test -s conftest.$ac_objext'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; }; then
5182 ac_cv_type_uint64_t
=yes
5184 echo "$as_me: failed program was:" >&5
5185 sed 's/^/| /' conftest.
$ac_ext >&5
5187 ac_cv_type_uint64_t
=no
5189 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5191 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5192 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5193 if test $ac_cv_type_uint64_t = yes; then
5196 acx_cv_header_stdint_kind
="(lacks uint64_t)"
5201 if test "$acx_cv_header_stdint" = stddef.h
; then
5202 acx_cv_header_stdint_kind
="(lacks uintptr_t)"
5203 for i
in stdint.h
$inttype_headers; do
5204 unset ac_cv_type_uint32_t
5205 unset ac_cv_type_uint64_t
5206 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
5207 echo "$as_me:$LINENO: checking for uint32_t" >&5
5208 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
5209 if test "${ac_cv_type_uint32_t+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 cat >conftest.
$ac_ext <<_ACEOF
5215 cat confdefs.h
>>conftest.
$ac_ext
5216 cat >>conftest.
$ac_ext <<_ACEOF
5217 /* end confdefs.h. */
5218 #include <sys/types.h>
5226 if (sizeof (uint32_t))
5232 rm -f conftest.
$ac_objext
5233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5234 (eval $ac_compile) 2>conftest.er1
5236 grep -v '^ *+' conftest.er1
>conftest.err
5238 cat conftest.err
>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } &&
5241 { ac_try
='test -z "$ac_c_werror_flag"
5242 || test ! -s conftest.err'
5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; } &&
5248 { ac_try
='test -s conftest.$ac_objext'
5249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 (exit $ac_status); }; }; then
5254 ac_cv_type_uint32_t
=yes
5256 echo "$as_me: failed program was:" >&5
5257 sed 's/^/| /' conftest.
$ac_ext >&5
5259 ac_cv_type_uint32_t
=no
5261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5263 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5264 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
5265 if test $ac_cv_type_uint32_t = yes; then
5266 acx_cv_header_stdint
=$i
5271 echo "$as_me:$LINENO: checking for uint64_t" >&5
5272 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5273 if test "${ac_cv_type_uint64_t+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 cat >conftest.
$ac_ext <<_ACEOF
5279 cat confdefs.h
>>conftest.
$ac_ext
5280 cat >>conftest.
$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5282 #include <sys/types.h>
5290 if (sizeof (uint64_t))
5296 rm -f conftest.
$ac_objext
5297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5298 (eval $ac_compile) 2>conftest.er1
5300 grep -v '^ *+' conftest.er1
>conftest.err
5302 cat conftest.err
>&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); } &&
5305 { ac_try
='test -z "$ac_c_werror_flag"
5306 || test ! -s conftest.err'
5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); }; } &&
5312 { ac_try
='test -s conftest.$ac_objext'
5313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); }; }; then
5318 ac_cv_type_uint64_t
=yes
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.
$ac_ext >&5
5323 ac_cv_type_uint64_t
=no
5325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5327 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5328 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5329 if test $ac_cv_type_uint64_t = yes; then
5332 acx_cv_header_stdint_kind
="(lacks uintptr_t and uint64_t)"
5338 if test "$acx_cv_header_stdint" = stddef.h
; then
5339 acx_cv_header_stdint_kind
="(u_intXX_t style)"
5340 for i
in sys
/types.h
$inttype_headers; do
5341 unset ac_cv_type_u_int32_t
5342 unset ac_cv_type_u_int64_t
5343 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
5344 echo "$as_me:$LINENO: checking for u_int32_t" >&5
5345 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
5346 if test "${ac_cv_type_u_int32_t+set}" = set; then
5347 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 cat >conftest.
$ac_ext <<_ACEOF
5352 cat confdefs.h
>>conftest.
$ac_ext
5353 cat >>conftest.
$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5355 #include <sys/types.h>
5361 if ((u_int32_t *) 0)
5363 if (sizeof (u_int32_t))
5369 rm -f conftest.
$ac_objext
5370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5371 (eval $ac_compile) 2>conftest.er1
5373 grep -v '^ *+' conftest.er1
>conftest.err
5375 cat conftest.err
>&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); } &&
5378 { ac_try
='test -z "$ac_c_werror_flag"
5379 || test ! -s conftest.err'
5380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; } &&
5385 { ac_try
='test -s conftest.$ac_objext'
5386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; }; then
5391 ac_cv_type_u_int32_t
=yes
5393 echo "$as_me: failed program was:" >&5
5394 sed 's/^/| /' conftest.
$ac_ext >&5
5396 ac_cv_type_u_int32_t
=no
5398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5400 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5401 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
5402 if test $ac_cv_type_u_int32_t = yes; then
5403 acx_cv_header_stdint
=$i
5408 echo "$as_me:$LINENO: checking for u_int64_t" >&5
5409 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
5410 if test "${ac_cv_type_u_int64_t+set}" = set; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 cat >conftest.
$ac_ext <<_ACEOF
5416 cat confdefs.h
>>conftest.
$ac_ext
5417 cat >>conftest.
$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 #include <sys/types.h>
5425 if ((u_int64_t *) 0)
5427 if (sizeof (u_int64_t))
5433 rm -f conftest.
$ac_objext
5434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5435 (eval $ac_compile) 2>conftest.er1
5437 grep -v '^ *+' conftest.er1
>conftest.err
5439 cat conftest.err
>&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); } &&
5442 { ac_try
='test -z "$ac_c_werror_flag"
5443 || test ! -s conftest.err'
5444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }; } &&
5449 { ac_try
='test -s conftest.$ac_objext'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; }; then
5455 ac_cv_type_u_int64_t
=yes
5457 echo "$as_me: failed program was:" >&5
5458 sed 's/^/| /' conftest.
$ac_ext >&5
5460 ac_cv_type_u_int64_t
=no
5462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5464 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
5465 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
5466 if test $ac_cv_type_u_int64_t = yes; then
5469 acx_cv_header_stdint_kind
="(u_intXX_t style, lacks u_int64_t)"
5475 if test "$acx_cv_header_stdint" = stddef.h
; then
5476 acx_cv_header_stdint_kind
="(using manual detection)"
5479 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
5480 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
5481 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
5482 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
5483 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
5485 # ----------------- Summarize what we found so far
5487 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
5488 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
5490 case `$as_basename gstdint.h ||
5491 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
5492 Xgstdint.h : 'X\(//\)$' \| \
5493 Xgstdint.h : 'X\(/\)$' \| \
5494 . : '\(.\)' 2>/dev/null ||
5496 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5497 /^X\/\(\/\/\)$/{ s//\1/; q; }
5498 /^X\/\(\/\).*/{ s//\1/; q; }
5500 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
5501 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
5502 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
5503 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
5507 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
5508 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
5510 # ----------------- done included file, check C basic types --------
5512 # Lacking an uintptr_t? Test size of void *
5513 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
5514 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
5515 echo $ECHO_N "checking for void *... $ECHO_C" >&6
5516 if test "${ac_cv_type_void_p+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5519 cat >conftest.
$ac_ext <<_ACEOF
5522 cat confdefs.h
>>conftest.
$ac_ext
5523 cat >>conftest.
$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5525 $ac_includes_default
5531 if (sizeof (void *))
5537 rm -f conftest.
$ac_objext
5538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5539 (eval $ac_compile) 2>conftest.er1
5541 grep -v '^ *+' conftest.er1
>conftest.err
5543 cat conftest.err
>&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } &&
5546 { ac_try
='test -z "$ac_c_werror_flag"
5547 || test ! -s conftest.err'
5548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try
='test -s conftest.$ac_objext'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; }; then
5559 ac_cv_type_void_p
=yes
5561 echo "$as_me: failed program was:" >&5
5562 sed 's/^/| /' conftest.
$ac_ext >&5
5564 ac_cv_type_void_p
=no
5566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
5569 echo "${ECHO_T}$ac_cv_type_void_p" >&6
5571 echo "$as_me:$LINENO: checking size of void *" >&5
5572 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
5573 if test "${ac_cv_sizeof_void_p+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 if test "$ac_cv_type_void_p" = yes; then
5577 # The cast to unsigned long works around a bug in the HP C Compiler
5578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5580 # This bug is HP SR number 8606223364.
5581 if test "$cross_compiling" = yes; then
5582 # Depending upon the size, compute the lo and hi bounds.
5583 cat >conftest.
$ac_ext <<_ACEOF
5586 cat confdefs.h
>>conftest.
$ac_ext
5587 cat >>conftest.
$ac_ext <<_ACEOF
5588 /* end confdefs.h. */
5589 $ac_includes_default
5593 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
5600 rm -f conftest.
$ac_objext
5601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5602 (eval $ac_compile) 2>conftest.er1
5604 grep -v '^ *+' conftest.er1
>conftest.err
5606 cat conftest.err
>&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); } &&
5609 { ac_try
='test -z "$ac_c_werror_flag"
5610 || test ! -s conftest.err'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; } &&
5616 { ac_try
='test -s conftest.$ac_objext'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; }; then
5624 cat >conftest.
$ac_ext <<_ACEOF
5627 cat confdefs.h
>>conftest.
$ac_ext
5628 cat >>conftest.
$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5630 $ac_includes_default
5634 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
5641 rm -f conftest.
$ac_objext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 (eval $ac_compile) 2>conftest.er1
5645 grep -v '^ *+' conftest.er1
>conftest.err
5647 cat conftest.err
>&5
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 (exit $ac_status); } &&
5650 { ac_try
='test -z "$ac_c_werror_flag"
5651 || test ! -s conftest.err'
5652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); }; } &&
5657 { ac_try
='test -s conftest.$ac_objext'
5658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5662 (exit $ac_status); }; }; then
5663 ac_hi
=$ac_mid; break
5665 echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.
$ac_ext >&5
5668 ac_lo
=`expr $ac_mid + 1`
5669 if test $ac_lo -le $ac_mid; then
5673 ac_mid
=`expr 2 '*' $ac_mid + 1`
5675 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.
$ac_ext >&5
5681 cat >conftest.
$ac_ext <<_ACEOF
5684 cat confdefs.h
>>conftest.
$ac_ext
5685 cat >>conftest.
$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5687 $ac_includes_default
5691 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
5698 rm -f conftest.
$ac_objext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700 (eval $ac_compile) 2>conftest.er1
5702 grep -v '^ *+' conftest.er1
>conftest.err
5704 cat conftest.err
>&5
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); } &&
5707 { ac_try
='test -z "$ac_c_werror_flag"
5708 || test ! -s conftest.err'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; } &&
5714 { ac_try
='test -s conftest.$ac_objext'
5715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; }; then
5722 cat >conftest.
$ac_ext <<_ACEOF
5725 cat confdefs.h
>>conftest.
$ac_ext
5726 cat >>conftest.
$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5728 $ac_includes_default
5732 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
5739 rm -f conftest.
$ac_objext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>conftest.er1
5743 grep -v '^ *+' conftest.er1
>conftest.err
5745 cat conftest.err
>&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try
='test -z "$ac_c_werror_flag"
5749 || test ! -s conftest.err'
5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754 (exit $ac_status); }; } &&
5755 { ac_try
='test -s conftest.$ac_objext'
5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }; }; then
5761 ac_lo
=$ac_mid; break
5763 echo "$as_me: failed program was:" >&5
5764 sed 's/^/| /' conftest.
$ac_ext >&5
5766 ac_hi
=`expr '(' $ac_mid ')' - 1`
5767 if test $ac_mid -le $ac_hi; then
5771 ac_mid
=`expr 2 '*' $ac_mid`
5773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
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 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5784 # Binary search between lo and hi bounds.
5785 while test "x$ac_lo" != "x$ac_hi"; do
5786 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5787 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5793 $ac_includes_default
5797 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
5804 rm -f conftest.
$ac_objext
5805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5806 (eval $ac_compile) 2>conftest.er1
5808 grep -v '^ *+' conftest.er1
>conftest.err
5810 cat conftest.err
>&5
5811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } &&
5813 { ac_try
='test -z "$ac_c_werror_flag"
5814 || test ! -s conftest.err'
5815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }; } &&
5820 { ac_try
='test -s conftest.$ac_objext'
5821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); }; }; then
5828 echo "$as_me: failed program was:" >&5
5829 sed 's/^/| /' conftest.
$ac_ext >&5
5831 ac_lo
=`expr '(' $ac_mid ')' + 1`
5833 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5836 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
5837 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
5838 See \`config.log' for more details." >&5
5839 echo "$as_me: error: cannot compute sizeof (void *), 77
5840 See \`config.log' for more details." >&2;}
5841 { (exit 1); exit 1; }; } ;;
5844 if test "$cross_compiling" = yes; then
5845 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5846 See \`config.log' for more details." >&5
5847 echo "$as_me: error: cannot run test program while cross compiling
5848 See \`config.log' for more details." >&2;}
5849 { (exit 1); exit 1; }; }
5851 cat >conftest.
$ac_ext <<_ACEOF
5854 cat confdefs.h
>>conftest.
$ac_ext
5855 cat >>conftest.
$ac_ext <<_ACEOF
5856 /* end confdefs.h. */
5857 $ac_includes_default
5858 long longval () { return (long) (sizeof (void *)); }
5859 unsigned long ulongval () { return (long) (sizeof (void *)); }
5866 FILE *f = fopen ("conftest.val", "w");
5869 if (((long) (sizeof (void *))) < 0)
5871 long i = longval ();
5872 if (i != ((long) (sizeof (void *))))
5874 fprintf (f, "%ld\n", i);
5878 unsigned long i = ulongval ();
5879 if (i != ((long) (sizeof (void *))))
5881 fprintf (f, "%lu\n", i);
5883 exit (ferror (f) || fclose (f) != 0);
5889 rm -f conftest
$ac_exeext
5890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5891 (eval $ac_link) 2>&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; }; then
5900 ac_cv_sizeof_void_p
=`cat conftest.val`
5902 echo "$as_me: program exited with status $ac_status" >&5
5903 echo "$as_me: failed program was:" >&5
5904 sed 's/^/| /' conftest.
$ac_ext >&5
5907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
5908 See \`config.log' for more details." >&5
5909 echo "$as_me: error: cannot compute sizeof (void *), 77
5910 See \`config.log' for more details." >&2;}
5911 { (exit 1); exit 1; }; }
5913 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5918 ac_cv_sizeof_void_p
=0
5921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
5922 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
5923 cat >>confdefs.h
<<_ACEOF
5924 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
5930 # Lacking an uint64_t? Test size of long
5931 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
5932 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
5933 echo $ECHO_N "checking for long... $ECHO_C" >&6
5934 if test "${ac_cv_type_long+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
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
5955 rm -f conftest.
$ac_objext
5956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5957 (eval $ac_compile) 2>conftest.er1
5959 grep -v '^ *+' conftest.er1
>conftest.err
5961 cat conftest.err
>&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); } &&
5964 { ac_try
='test -z "$ac_c_werror_flag"
5965 || test ! -s conftest.err'
5966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); }; } &&
5971 { ac_try
='test -s conftest.$ac_objext'
5972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 (exit $ac_status); }; }; then
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.
$ac_ext >&5
5984 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5986 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
5987 echo "${ECHO_T}$ac_cv_type_long" >&6
5989 echo "$as_me:$LINENO: checking size of long" >&5
5990 echo $ECHO_N "checking size of long... $ECHO_C" >&6
5991 if test "${ac_cv_sizeof_long+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 if test "$ac_cv_type_long" = yes; then
5995 # The cast to unsigned long works around a bug in the HP C Compiler
5996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5998 # This bug is HP SR number 8606223364.
5999 if test "$cross_compiling" = yes; then
6000 # Depending upon the size, compute the lo and hi bounds.
6001 cat >conftest.
$ac_ext <<_ACEOF
6004 cat confdefs.h
>>conftest.
$ac_ext
6005 cat >>conftest.
$ac_ext <<_ACEOF
6006 /* end confdefs.h. */
6007 $ac_includes_default
6011 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
6018 rm -f conftest.
$ac_objext
6019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6020 (eval $ac_compile) 2>conftest.er1
6022 grep -v '^ *+' conftest.er1
>conftest.err
6024 cat conftest.err
>&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } &&
6027 { ac_try
='test -z "$ac_c_werror_flag"
6028 || test ! -s conftest.err'
6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); }; } &&
6034 { ac_try
='test -s conftest.$ac_objext'
6035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }; }; then
6042 cat >conftest.
$ac_ext <<_ACEOF
6045 cat confdefs.h
>>conftest.
$ac_ext
6046 cat >>conftest.
$ac_ext <<_ACEOF
6047 /* end confdefs.h. */
6048 $ac_includes_default
6052 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6059 rm -f conftest.
$ac_objext
6060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6061 (eval $ac_compile) 2>conftest.er1
6063 grep -v '^ *+' conftest.er1
>conftest.err
6065 cat conftest.err
>&5
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } &&
6068 { ac_try
='test -z "$ac_c_werror_flag"
6069 || test ! -s conftest.err'
6070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); }; } &&
6075 { ac_try
='test -s conftest.$ac_objext'
6076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6080 (exit $ac_status); }; }; then
6081 ac_hi
=$ac_mid; break
6083 echo "$as_me: failed program was:" >&5
6084 sed 's/^/| /' conftest.
$ac_ext >&5
6086 ac_lo
=`expr $ac_mid + 1`
6087 if test $ac_lo -le $ac_mid; then
6091 ac_mid
=`expr 2 '*' $ac_mid + 1`
6093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.
$ac_ext >&5
6099 cat >conftest.
$ac_ext <<_ACEOF
6102 cat confdefs.h
>>conftest.
$ac_ext
6103 cat >>conftest.
$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6105 $ac_includes_default
6109 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
6116 rm -f conftest.
$ac_objext
6117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6118 (eval $ac_compile) 2>conftest.er1
6120 grep -v '^ *+' conftest.er1
>conftest.err
6122 cat conftest.err
>&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); } &&
6125 { ac_try
='test -z "$ac_c_werror_flag"
6126 || test ! -s conftest.err'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; } &&
6132 { ac_try
='test -s conftest.$ac_objext'
6133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); }; }; then
6140 cat >conftest.
$ac_ext <<_ACEOF
6143 cat confdefs.h
>>conftest.
$ac_ext
6144 cat >>conftest.
$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6146 $ac_includes_default
6150 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
6157 rm -f conftest.
$ac_objext
6158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6159 (eval $ac_compile) 2>conftest.er1
6161 grep -v '^ *+' conftest.er1
>conftest.err
6163 cat conftest.err
>&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); } &&
6166 { ac_try
='test -z "$ac_c_werror_flag"
6167 || test ! -s conftest.err'
6168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); }; } &&
6173 { ac_try
='test -s conftest.$ac_objext'
6174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); }; }; then
6179 ac_lo
=$ac_mid; break
6181 echo "$as_me: failed program was:" >&5
6182 sed 's/^/| /' conftest.
$ac_ext >&5
6184 ac_hi
=`expr '(' $ac_mid ')' - 1`
6185 if test $ac_mid -le $ac_hi; then
6189 ac_mid
=`expr 2 '*' $ac_mid`
6191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6194 echo "$as_me: failed program was:" >&5
6195 sed 's/^/| /' conftest.
$ac_ext >&5
6199 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6201 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6202 # Binary search between lo and hi bounds.
6203 while test "x$ac_lo" != "x$ac_hi"; do
6204 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6205 cat >conftest.
$ac_ext <<_ACEOF
6208 cat confdefs.h
>>conftest.
$ac_ext
6209 cat >>conftest.
$ac_ext <<_ACEOF
6210 /* end confdefs.h. */
6211 $ac_includes_default
6215 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
6222 rm -f conftest.
$ac_objext
6223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6224 (eval $ac_compile) 2>conftest.er1
6226 grep -v '^ *+' conftest.er1
>conftest.err
6228 cat conftest.err
>&5
6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6230 (exit $ac_status); } &&
6231 { ac_try
='test -z "$ac_c_werror_flag"
6232 || test ! -s conftest.err'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; } &&
6238 { ac_try
='test -s conftest.$ac_objext'
6239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; }; then
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.
$ac_ext >&5
6249 ac_lo
=`expr '(' $ac_mid ')' + 1`
6251 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6254 ?
*) ac_cv_sizeof_long
=$ac_lo;;
6255 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6256 See \`config.log' for more details." >&5
6257 echo "$as_me: error: cannot compute sizeof (long), 77
6258 See \`config.log' for more details." >&2;}
6259 { (exit 1); exit 1; }; } ;;
6262 if test "$cross_compiling" = yes; then
6263 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6264 See \`config.log' for more details." >&5
6265 echo "$as_me: error: cannot run test program while cross compiling
6266 See \`config.log' for more details." >&2;}
6267 { (exit 1); exit 1; }; }
6269 cat >conftest.
$ac_ext <<_ACEOF
6272 cat confdefs.h
>>conftest.
$ac_ext
6273 cat >>conftest.
$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6275 $ac_includes_default
6276 long longval () { return (long) (sizeof (long)); }
6277 unsigned long ulongval () { return (long) (sizeof (long)); }
6284 FILE *f = fopen ("conftest.val", "w");
6287 if (((long) (sizeof (long))) < 0)
6289 long i = longval ();
6290 if (i != ((long) (sizeof (long))))
6292 fprintf (f, "%ld\n", i);
6296 unsigned long i = ulongval ();
6297 if (i != ((long) (sizeof (long))))
6299 fprintf (f, "%lu\n", i);
6301 exit (ferror (f) || fclose (f) != 0);
6307 rm -f conftest
$ac_exeext
6308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6309 (eval $ac_link) 2>&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317 (exit $ac_status); }; }; then
6318 ac_cv_sizeof_long
=`cat conftest.val`
6320 echo "$as_me: program exited with status $ac_status" >&5
6321 echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.
$ac_ext >&5
6325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
6326 See \`config.log' for more details." >&5
6327 echo "$as_me: error: cannot compute sizeof (long), 77
6328 See \`config.log' for more details." >&2;}
6329 { (exit 1); exit 1; }; }
6331 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6340 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
6341 cat >>confdefs.h
<<_ACEOF
6342 #define SIZEOF_LONG $ac_cv_sizeof_long
6348 if test $acx_cv_header_stdint = stddef.h
; then
6349 # Lacking a good header? Test size of everything and deduce all types.
6350 echo "$as_me:$LINENO: checking for int" >&5
6351 echo $ECHO_N "checking for int... $ECHO_C" >&6
6352 if test "${ac_cv_type_int+set}" = set; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 cat >conftest.
$ac_ext <<_ACEOF
6358 cat confdefs.h
>>conftest.
$ac_ext
6359 cat >>conftest.
$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6361 $ac_includes_default
6373 rm -f conftest.
$ac_objext
6374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6375 (eval $ac_compile) 2>conftest.er1
6377 grep -v '^ *+' conftest.er1
>conftest.err
6379 cat conftest.err
>&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } &&
6382 { ac_try
='test -z "$ac_c_werror_flag"
6383 || test ! -s conftest.err'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; } &&
6389 { ac_try
='test -s conftest.$ac_objext'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; }; then
6397 echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.
$ac_ext >&5
6402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6404 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
6405 echo "${ECHO_T}$ac_cv_type_int" >&6
6407 echo "$as_me:$LINENO: checking size of int" >&5
6408 echo $ECHO_N "checking size of int... $ECHO_C" >&6
6409 if test "${ac_cv_sizeof_int+set}" = set; then
6410 echo $ECHO_N "(cached) $ECHO_C" >&6
6412 if test "$ac_cv_type_int" = yes; then
6413 # The cast to unsigned long works around a bug in the HP C Compiler
6414 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6415 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6416 # This bug is HP SR number 8606223364.
6417 if test "$cross_compiling" = yes; then
6418 # Depending upon the size, compute the lo and hi bounds.
6419 cat >conftest.
$ac_ext <<_ACEOF
6422 cat confdefs.h
>>conftest.
$ac_ext
6423 cat >>conftest.
$ac_ext <<_ACEOF
6424 /* end confdefs.h. */
6425 $ac_includes_default
6429 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
6436 rm -f conftest.
$ac_objext
6437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6438 (eval $ac_compile) 2>conftest.er1
6440 grep -v '^ *+' conftest.er1
>conftest.err
6442 cat conftest.err
>&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } &&
6445 { ac_try
='test -z "$ac_c_werror_flag"
6446 || test ! -s conftest.err'
6447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }; } &&
6452 { ac_try
='test -s conftest.$ac_objext'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; }; then
6460 cat >conftest.
$ac_ext <<_ACEOF
6463 cat confdefs.h
>>conftest.
$ac_ext
6464 cat >>conftest.
$ac_ext <<_ACEOF
6465 /* end confdefs.h. */
6466 $ac_includes_default
6470 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6477 rm -f conftest.
$ac_objext
6478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6479 (eval $ac_compile) 2>conftest.er1
6481 grep -v '^ *+' conftest.er1
>conftest.err
6483 cat conftest.err
>&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } &&
6486 { ac_try
='test -z "$ac_c_werror_flag"
6487 || test ! -s conftest.err'
6488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492 (exit $ac_status); }; } &&
6493 { ac_try
='test -s conftest.$ac_objext'
6494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); }; }; then
6499 ac_hi
=$ac_mid; break
6501 echo "$as_me: failed program was:" >&5
6502 sed 's/^/| /' conftest.
$ac_ext >&5
6504 ac_lo
=`expr $ac_mid + 1`
6505 if test $ac_lo -le $ac_mid; then
6509 ac_mid
=`expr 2 '*' $ac_mid + 1`
6511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.
$ac_ext >&5
6517 cat >conftest.
$ac_ext <<_ACEOF
6520 cat confdefs.h
>>conftest.
$ac_ext
6521 cat >>conftest.
$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6523 $ac_includes_default
6527 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
6534 rm -f conftest.
$ac_objext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536 (eval $ac_compile) 2>conftest.er1
6538 grep -v '^ *+' conftest.er1
>conftest.err
6540 cat conftest.err
>&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } &&
6543 { ac_try
='test -z "$ac_c_werror_flag"
6544 || test ! -s conftest.err'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; } &&
6550 { ac_try
='test -s conftest.$ac_objext'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; }; then
6558 cat >conftest.
$ac_ext <<_ACEOF
6561 cat confdefs.h
>>conftest.
$ac_ext
6562 cat >>conftest.
$ac_ext <<_ACEOF
6563 /* end confdefs.h. */
6564 $ac_includes_default
6568 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
6575 rm -f conftest.
$ac_objext
6576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6577 (eval $ac_compile) 2>conftest.er1
6579 grep -v '^ *+' conftest.er1
>conftest.err
6581 cat conftest.err
>&5
6582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583 (exit $ac_status); } &&
6584 { ac_try
='test -z "$ac_c_werror_flag"
6585 || test ! -s conftest.err'
6586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); }; } &&
6591 { ac_try
='test -s conftest.$ac_objext'
6592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); }; }; then
6597 ac_lo
=$ac_mid; break
6599 echo "$as_me: failed program was:" >&5
6600 sed 's/^/| /' conftest.
$ac_ext >&5
6602 ac_hi
=`expr '(' $ac_mid ')' - 1`
6603 if test $ac_mid -le $ac_hi; then
6607 ac_mid
=`expr 2 '*' $ac_mid`
6609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 echo "$as_me: failed program was:" >&5
6613 sed 's/^/| /' conftest.
$ac_ext >&5
6617 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 # Binary search between lo and hi bounds.
6621 while test "x$ac_lo" != "x$ac_hi"; do
6622 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6623 cat >conftest.
$ac_ext <<_ACEOF
6626 cat confdefs.h
>>conftest.
$ac_ext
6627 cat >>conftest.
$ac_ext <<_ACEOF
6628 /* end confdefs.h. */
6629 $ac_includes_default
6633 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
6640 rm -f conftest.
$ac_objext
6641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6642 (eval $ac_compile) 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } &&
6649 { ac_try
='test -z "$ac_c_werror_flag"
6650 || test ! -s conftest.err'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; } &&
6656 { ac_try
='test -s conftest.$ac_objext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.
$ac_ext >&5
6667 ac_lo
=`expr '(' $ac_mid ')' + 1`
6669 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6672 ?
*) ac_cv_sizeof_int
=$ac_lo;;
6673 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6674 See \`config.log' for more details." >&5
6675 echo "$as_me: error: cannot compute sizeof (int), 77
6676 See \`config.log' for more details." >&2;}
6677 { (exit 1); exit 1; }; } ;;
6680 if test "$cross_compiling" = yes; then
6681 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6682 See \`config.log' for more details." >&5
6683 echo "$as_me: error: cannot run test program while cross compiling
6684 See \`config.log' for more details." >&2;}
6685 { (exit 1); exit 1; }; }
6687 cat >conftest.
$ac_ext <<_ACEOF
6690 cat confdefs.h
>>conftest.
$ac_ext
6691 cat >>conftest.
$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6693 $ac_includes_default
6694 long longval () { return (long) (sizeof (int)); }
6695 unsigned long ulongval () { return (long) (sizeof (int)); }
6702 FILE *f = fopen ("conftest.val", "w");
6705 if (((long) (sizeof (int))) < 0)
6707 long i = longval ();
6708 if (i != ((long) (sizeof (int))))
6710 fprintf (f, "%ld\n", i);
6714 unsigned long i = ulongval ();
6715 if (i != ((long) (sizeof (int))))
6717 fprintf (f, "%lu\n", i);
6719 exit (ferror (f) || fclose (f) != 0);
6725 rm -f conftest
$ac_exeext
6726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6727 (eval $ac_link) 2>&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); }; }; then
6736 ac_cv_sizeof_int
=`cat conftest.val`
6738 echo "$as_me: program exited with status $ac_status" >&5
6739 echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.
$ac_ext >&5
6743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
6744 See \`config.log' for more details." >&5
6745 echo "$as_me: error: cannot compute sizeof (int), 77
6746 See \`config.log' for more details." >&2;}
6747 { (exit 1); exit 1; }; }
6749 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6757 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
6758 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
6759 cat >>confdefs.h
<<_ACEOF
6760 #define SIZEOF_INT $ac_cv_sizeof_int
6764 echo "$as_me:$LINENO: checking for short" >&5
6765 echo $ECHO_N "checking for short... $ECHO_C" >&6
6766 if test "${ac_cv_type_short+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 cat >conftest.
$ac_ext <<_ACEOF
6772 cat confdefs.h
>>conftest.
$ac_ext
6773 cat >>conftest.
$ac_ext <<_ACEOF
6774 /* end confdefs.h. */
6775 $ac_includes_default
6787 rm -f conftest.
$ac_objext
6788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6789 (eval $ac_compile) 2>conftest.er1
6791 grep -v '^ *+' conftest.er1
>conftest.err
6793 cat conftest.err
>&5
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); } &&
6796 { ac_try
='test -z "$ac_c_werror_flag"
6797 || test ! -s conftest.err'
6798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); }; } &&
6803 { ac_try
='test -s conftest.$ac_objext'
6804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; }; then
6809 ac_cv_type_short
=yes
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.
$ac_ext >&5
6816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6818 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
6819 echo "${ECHO_T}$ac_cv_type_short" >&6
6821 echo "$as_me:$LINENO: checking size of short" >&5
6822 echo $ECHO_N "checking size of short... $ECHO_C" >&6
6823 if test "${ac_cv_sizeof_short+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 if test "$ac_cv_type_short" = yes; then
6827 # The cast to unsigned long works around a bug in the HP C Compiler
6828 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6829 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6830 # This bug is HP SR number 8606223364.
6831 if test "$cross_compiling" = yes; then
6832 # Depending upon the size, compute the lo and hi bounds.
6833 cat >conftest.
$ac_ext <<_ACEOF
6836 cat confdefs.h
>>conftest.
$ac_ext
6837 cat >>conftest.
$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6839 $ac_includes_default
6843 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
6850 rm -f conftest.
$ac_objext
6851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6852 (eval $ac_compile) 2>conftest.er1
6854 grep -v '^ *+' conftest.er1
>conftest.err
6856 cat conftest.err
>&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } &&
6859 { ac_try
='test -z "$ac_c_werror_flag"
6860 || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; } &&
6866 { ac_try
='test -s conftest.$ac_objext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6874 cat >conftest.
$ac_ext <<_ACEOF
6877 cat confdefs.h
>>conftest.
$ac_ext
6878 cat >>conftest.
$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6880 $ac_includes_default
6884 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
6891 rm -f conftest.
$ac_objext
6892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6893 (eval $ac_compile) 2>conftest.er1
6895 grep -v '^ *+' conftest.er1
>conftest.err
6897 cat conftest.err
>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } &&
6900 { ac_try
='test -z "$ac_c_werror_flag"
6901 || test ! -s conftest.err'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; } &&
6907 { ac_try
='test -s conftest.$ac_objext'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; }; then
6913 ac_hi
=$ac_mid; break
6915 echo "$as_me: failed program was:" >&5
6916 sed 's/^/| /' conftest.
$ac_ext >&5
6918 ac_lo
=`expr $ac_mid + 1`
6919 if test $ac_lo -le $ac_mid; then
6923 ac_mid
=`expr 2 '*' $ac_mid + 1`
6925 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6928 echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.
$ac_ext >&5
6931 cat >conftest.
$ac_ext <<_ACEOF
6934 cat confdefs.h
>>conftest.
$ac_ext
6935 cat >>conftest.
$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6937 $ac_includes_default
6941 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
6948 rm -f conftest.
$ac_objext
6949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6950 (eval $ac_compile) 2>conftest.er1
6952 grep -v '^ *+' conftest.er1
>conftest.err
6954 cat conftest.err
>&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); } &&
6957 { ac_try
='test -z "$ac_c_werror_flag"
6958 || test ! -s conftest.err'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; } &&
6964 { ac_try
='test -s conftest.$ac_objext'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; }; then
6972 cat >conftest.
$ac_ext <<_ACEOF
6975 cat confdefs.h
>>conftest.
$ac_ext
6976 cat >>conftest.
$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6978 $ac_includes_default
6982 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
6989 rm -f conftest.
$ac_objext
6990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6991 (eval $ac_compile) 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_objext'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; }; then
7011 ac_lo
=$ac_mid; break
7013 echo "$as_me: failed program was:" >&5
7014 sed 's/^/| /' conftest.
$ac_ext >&5
7016 ac_hi
=`expr '(' $ac_mid ')' - 1`
7017 if test $ac_mid -le $ac_hi; then
7021 ac_mid
=`expr 2 '*' $ac_mid`
7023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.
$ac_ext >&5
7031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7034 # Binary search between lo and hi bounds.
7035 while test "x$ac_lo" != "x$ac_hi"; do
7036 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7037 cat >conftest.
$ac_ext <<_ACEOF
7040 cat confdefs.h
>>conftest.
$ac_ext
7041 cat >>conftest.
$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7043 $ac_includes_default
7047 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
7054 rm -f conftest.
$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7058 grep -v '^ *+' conftest.er1
>conftest.err
7060 cat conftest.err
>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try
='test -z "$ac_c_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try
='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.
$ac_ext >&5
7081 ac_lo
=`expr '(' $ac_mid ')' + 1`
7083 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7086 ?
*) ac_cv_sizeof_short
=$ac_lo;;
7087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
7088 See \`config.log' for more details." >&5
7089 echo "$as_me: error: cannot compute sizeof (short), 77
7090 See \`config.log' for more details." >&2;}
7091 { (exit 1); exit 1; }; } ;;
7094 if test "$cross_compiling" = yes; then
7095 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7096 See \`config.log' for more details." >&5
7097 echo "$as_me: error: cannot run test program while cross compiling
7098 See \`config.log' for more details." >&2;}
7099 { (exit 1); exit 1; }; }
7101 cat >conftest.
$ac_ext <<_ACEOF
7104 cat confdefs.h
>>conftest.
$ac_ext
7105 cat >>conftest.
$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7107 $ac_includes_default
7108 long longval () { return (long) (sizeof (short)); }
7109 unsigned long ulongval () { return (long) (sizeof (short)); }
7116 FILE *f = fopen ("conftest.val", "w");
7119 if (((long) (sizeof (short))) < 0)
7121 long i = longval ();
7122 if (i != ((long) (sizeof (short))))
7124 fprintf (f, "%ld\n", i);
7128 unsigned long i = ulongval ();
7129 if (i != ((long) (sizeof (short))))
7131 fprintf (f, "%lu\n", i);
7133 exit (ferror (f) || fclose (f) != 0);
7139 rm -f conftest
$ac_exeext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7141 (eval $ac_link) 2>&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); }; }; then
7150 ac_cv_sizeof_short
=`cat conftest.val`
7152 echo "$as_me: program exited with status $ac_status" >&5
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.
$ac_ext >&5
7157 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
7158 See \`config.log' for more details." >&5
7159 echo "$as_me: error: cannot compute sizeof (short), 77
7160 See \`config.log' for more details." >&2;}
7161 { (exit 1); exit 1; }; }
7163 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7168 ac_cv_sizeof_short
=0
7171 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
7172 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
7173 cat >>confdefs.h
<<_ACEOF
7174 #define SIZEOF_SHORT $ac_cv_sizeof_short
7178 echo "$as_me:$LINENO: checking for char" >&5
7179 echo $ECHO_N "checking for char... $ECHO_C" >&6
7180 if test "${ac_cv_type_char+set}" = set; then
7181 echo $ECHO_N "(cached) $ECHO_C" >&6
7183 cat >conftest.
$ac_ext <<_ACEOF
7186 cat confdefs.h
>>conftest.
$ac_ext
7187 cat >>conftest.
$ac_ext <<_ACEOF
7188 /* end confdefs.h. */
7189 $ac_includes_default
7201 rm -f conftest.
$ac_objext
7202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7203 (eval $ac_compile) 2>conftest.er1
7205 grep -v '^ *+' conftest.er1
>conftest.err
7207 cat conftest.err
>&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } &&
7210 { ac_try
='test -z "$ac_c_werror_flag"
7211 || test ! -s conftest.err'
7212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); }; } &&
7217 { ac_try
='test -s conftest.$ac_objext'
7218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); }; }; then
7225 echo "$as_me: failed program was:" >&5
7226 sed 's/^/| /' conftest.
$ac_ext >&5
7230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7232 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
7233 echo "${ECHO_T}$ac_cv_type_char" >&6
7235 echo "$as_me:$LINENO: checking size of char" >&5
7236 echo $ECHO_N "checking size of char... $ECHO_C" >&6
7237 if test "${ac_cv_sizeof_char+set}" = set; then
7238 echo $ECHO_N "(cached) $ECHO_C" >&6
7240 if test "$ac_cv_type_char" = yes; then
7241 # The cast to unsigned long works around a bug in the HP C Compiler
7242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7244 # This bug is HP SR number 8606223364.
7245 if test "$cross_compiling" = yes; then
7246 # Depending upon the size, compute the lo and hi bounds.
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 $ac_includes_default
7257 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
7264 rm -f conftest.
$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7268 grep -v '^ *+' conftest.er1
>conftest.err
7270 cat conftest.err
>&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try
='test -z "$ac_c_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try
='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7288 cat >conftest.
$ac_ext <<_ACEOF
7291 cat confdefs.h
>>conftest.
$ac_ext
7292 cat >>conftest.
$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7294 $ac_includes_default
7298 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
7305 rm -f conftest.
$ac_objext
7306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7307 (eval $ac_compile) 2>conftest.er1
7309 grep -v '^ *+' conftest.er1
>conftest.err
7311 cat conftest.err
>&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } &&
7314 { ac_try
='test -z "$ac_c_werror_flag"
7315 || test ! -s conftest.err'
7316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); }; } &&
7321 { ac_try
='test -s conftest.$ac_objext'
7322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326 (exit $ac_status); }; }; then
7327 ac_hi
=$ac_mid; break
7329 echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.
$ac_ext >&5
7332 ac_lo
=`expr $ac_mid + 1`
7333 if test $ac_lo -le $ac_mid; then
7337 ac_mid
=`expr 2 '*' $ac_mid + 1`
7339 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7342 echo "$as_me: failed program was:" >&5
7343 sed 's/^/| /' conftest.
$ac_ext >&5
7345 cat >conftest.
$ac_ext <<_ACEOF
7348 cat confdefs.h
>>conftest.
$ac_ext
7349 cat >>conftest.
$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 $ac_includes_default
7355 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
7362 rm -f conftest.
$ac_objext
7363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7364 (eval $ac_compile) 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } &&
7371 { ac_try
='test -z "$ac_c_werror_flag"
7372 || test ! -s conftest.err'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; } &&
7378 { ac_try
='test -s conftest.$ac_objext'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then
7386 cat >conftest.
$ac_ext <<_ACEOF
7389 cat confdefs.h
>>conftest.
$ac_ext
7390 cat >>conftest.
$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7392 $ac_includes_default
7396 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
7403 rm -f conftest.
$ac_objext
7404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7405 (eval $ac_compile) 2>conftest.er1
7407 grep -v '^ *+' conftest.er1
>conftest.err
7409 cat conftest.err
>&5
7410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7411 (exit $ac_status); } &&
7412 { ac_try
='test -z "$ac_c_werror_flag"
7413 || test ! -s conftest.err'
7414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); }; } &&
7419 { ac_try
='test -s conftest.$ac_objext'
7420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); }; }; then
7425 ac_lo
=$ac_mid; break
7427 echo "$as_me: failed program was:" >&5
7428 sed 's/^/| /' conftest.
$ac_ext >&5
7430 ac_hi
=`expr '(' $ac_mid ')' - 1`
7431 if test $ac_mid -le $ac_hi; then
7435 ac_mid
=`expr 2 '*' $ac_mid`
7437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7440 echo "$as_me: failed program was:" >&5
7441 sed 's/^/| /' conftest.
$ac_ext >&5
7445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7447 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7448 # Binary search between lo and hi bounds.
7449 while test "x$ac_lo" != "x$ac_hi"; do
7450 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7451 cat >conftest.
$ac_ext <<_ACEOF
7454 cat confdefs.h
>>conftest.
$ac_ext
7455 cat >>conftest.
$ac_ext <<_ACEOF
7456 /* end confdefs.h. */
7457 $ac_includes_default
7461 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
7468 rm -f conftest.
$ac_objext
7469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7470 (eval $ac_compile) 2>conftest.er1
7472 grep -v '^ *+' conftest.er1
>conftest.err
7474 cat conftest.err
>&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } &&
7477 { ac_try
='test -z "$ac_c_werror_flag"
7478 || test ! -s conftest.err'
7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483 (exit $ac_status); }; } &&
7484 { ac_try
='test -s conftest.$ac_objext'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; }; then
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.
$ac_ext >&5
7495 ac_lo
=`expr '(' $ac_mid ')' + 1`
7497 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7500 ?
*) ac_cv_sizeof_char
=$ac_lo;;
7501 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
7502 See \`config.log' for more details." >&5
7503 echo "$as_me: error: cannot compute sizeof (char), 77
7504 See \`config.log' for more details." >&2;}
7505 { (exit 1); exit 1; }; } ;;
7508 if test "$cross_compiling" = yes; then
7509 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7510 See \`config.log' for more details." >&5
7511 echo "$as_me: error: cannot run test program while cross compiling
7512 See \`config.log' for more details." >&2;}
7513 { (exit 1); exit 1; }; }
7515 cat >conftest.
$ac_ext <<_ACEOF
7518 cat confdefs.h
>>conftest.
$ac_ext
7519 cat >>conftest.
$ac_ext <<_ACEOF
7520 /* end confdefs.h. */
7521 $ac_includes_default
7522 long longval () { return (long) (sizeof (char)); }
7523 unsigned long ulongval () { return (long) (sizeof (char)); }
7530 FILE *f = fopen ("conftest.val", "w");
7533 if (((long) (sizeof (char))) < 0)
7535 long i = longval ();
7536 if (i != ((long) (sizeof (char))))
7538 fprintf (f, "%ld\n", i);
7542 unsigned long i = ulongval ();
7543 if (i != ((long) (sizeof (char))))
7545 fprintf (f, "%lu\n", i);
7547 exit (ferror (f) || fclose (f) != 0);
7553 rm -f conftest
$ac_exeext
7554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7555 (eval $ac_link) 2>&5
7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7558 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); }; }; then
7564 ac_cv_sizeof_char
=`cat conftest.val`
7566 echo "$as_me: program exited with status $ac_status" >&5
7567 echo "$as_me: failed program was:" >&5
7568 sed 's/^/| /' conftest.
$ac_ext >&5
7571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
7572 See \`config.log' for more details." >&5
7573 echo "$as_me: error: cannot compute sizeof (char), 77
7574 See \`config.log' for more details." >&2;}
7575 { (exit 1); exit 1; }; }
7577 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7585 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
7586 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
7587 cat >>confdefs.h
<<_ACEOF
7588 #define SIZEOF_CHAR $ac_cv_sizeof_char
7593 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
7594 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
7595 case "$ac_cv_sizeof_char" in
7596 1) acx_cv_type_int8_t
=char
;;
7597 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
7598 echo "$as_me: error: no 8-bit type" >&2;}
7599 { (exit please report a bug
); exit please report a bug
; }; }
7601 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
7602 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
7604 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
7605 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
7606 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
7607 2:*) acx_cv_type_int16_t
=int
;;
7608 *:2) acx_cv_type_int16_t
=short
;;
7609 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
7610 echo "$as_me: error: no 16-bit type" >&2;}
7611 { (exit please report a bug
); exit please report a bug
; }; }
7613 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
7614 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
7616 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
7617 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
7618 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
7619 4:*) acx_cv_type_int32_t
=int
;;
7620 *:4) acx_cv_type_int32_t
=long
;;
7621 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
7622 echo "$as_me: error: no 32-bit type" >&2;}
7623 { (exit please report a bug
); exit please report a bug
; }; }
7625 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
7626 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
7629 # These tests are here to make the output prettier
7631 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
7632 case "$ac_cv_sizeof_long" in
7633 8) acx_cv_type_int64_t
=long
;;
7635 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
7636 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
7637 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
7638 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
7641 # Now we can use the above types
7643 if test "$ac_cv_type_uintptr_t" != yes; then
7644 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
7645 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
7646 case $ac_cv_sizeof_void_p in
7647 2) acx_cv_type_intptr_t
=int16_t
;;
7648 4) acx_cv_type_intptr_t
=int32_t
;;
7649 8) acx_cv_type_intptr_t
=int64_t
;;
7650 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
7651 echo "$as_me: error: no equivalent for intptr_t" >&2;}
7652 { (exit please report a bug
); exit please report a bug
; }; }
7654 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
7655 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
7658 # ----------------- done all checks, emit header -------------
7659 ac_config_commands
="$ac_config_commands gstdint.h"
7664 # Now check which parts we include in the library.
7669 # Handle multilib cases
7670 if test "x$target_ilp32" = xyes
; then
7672 arch_libraries
="i386/libsse2.la"
7673 arch_maps
="i386/sse2.map"
7683 if test "x$arch_subdirs" != x
; then
7684 BUILD_LIBGCC_MATH_TRUE
=
7685 BUILD_LIBGCC_MATH_FALSE
='#'
7687 BUILD_LIBGCC_MATH_TRUE
='#'
7688 BUILD_LIBGCC_MATH_FALSE
=
7693 ac_config_files
="$ac_config_files Makefile i386/Makefile"
7695 cat >confcache
<<\_ACEOF
7696 # This file is a shell script that caches the results of configure
7697 # tests run on this system so they can be shared between configure
7698 # scripts and configure runs, see configure's option --config-cache.
7699 # It is not useful on other systems. If it contains results you don't
7700 # want to keep, you may remove or edit it.
7702 # config.status only pays attention to the cache file if you give it
7703 # the --recheck option to rerun configure.
7705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7711 # The following way of writing the cache mishandles newlines in values,
7712 # but we know of no workaround that is simple, portable, and efficient.
7713 # So, don't put newlines in cache variables' values.
7714 # Ultrix sh set writes to stderr and can't be redirected directly,
7715 # and sets the high bit in the cache file unless we assign to the vars.
7718 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7720 # `set' does not quote correctly, so add quotes (double-quote
7721 # substitution turns \\\\ into \\, and sed turns \\ into \).
7724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7727 # `set' quotes correctly as required by POSIX, so do not add quotes.
7729 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7738 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7740 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7741 if test -w $cache_file; then
7742 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7743 cat confcache
>$cache_file
7745 echo "not updating unwritable cache $cache_file"
7750 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7751 # Let make expand exec_prefix.
7752 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7754 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7755 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7756 # trailing colons and then remove the whole line if VPATH becomes empty
7757 # (actually we leave an empty line to preserve line numbers).
7758 if test "x$srcdir" = x.
; then
7759 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7760 s/:*\$(srcdir):*/:/;
7761 s/:*\${srcdir}:*/:/;
7763 s/^\([^=]*=[ ]*\):*/\1/;
7769 # Transform confdefs.h into DEFS.
7770 # Protect against shell expansion while executing Makefile rules.
7771 # Protect against Makefile macro expansion.
7773 # If the first sed substitution is executed (which looks for macros that
7774 # take arguments), then we branch to the quote section. Otherwise,
7775 # look for a macro that doesn't take arguments.
7776 cat >confdef2opt.
sed <<\_ACEOF
7779 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
7781 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
7785 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
7791 # We use echo to avoid assuming a particular line-breaking character.
7792 # The extra dot is to prevent the shell from consuming trailing
7793 # line-breaks from the sub-command output. A line-break within
7794 # single-quotes doesn't work because, if this script is created in a
7795 # platform that uses two characters for line-breaks (e.g., DOS), tr
7797 ac_LF_and_DOT=`echo; echo .
`
7798 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
7799 rm -f confdef2opt.sed
7804 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7805 # 1. Remove the extension, and $U if already installed.
7806 ac_i=`echo "$ac_i" |
7807 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7809 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7810 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7814 LTLIBOBJS=$ac_ltlibobjs
7817 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7818 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7819 Usually this means the macro was only invoked conditionally." >&5
7820 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7821 Usually this means the macro was only invoked conditionally." >&2;}
7822 { (exit 1); exit 1; }; }
7824 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7825 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7826 Usually this means the macro was only invoked conditionally." >&5
7827 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7828 Usually this means the macro was only invoked conditionally." >&2;}
7829 { (exit 1); exit 1; }; }
7831 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7832 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7833 Usually this means the macro was only invoked conditionally." >&5
7834 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7835 Usually this means the macro was only invoked conditionally." >&2;}
7836 { (exit 1); exit 1; }; }
7838 if test -z "${LIBGCCM_USE_SYMVER_TRUE}" && test -z "${LIBGCCM_USE_SYMVER_FALSE}"; then
7839 { { echo "$as_me:$LINENO: error: conditional \"LIBGCCM_USE_SYMVER\" was never defined.
7840 Usually this means the macro was only invoked conditionally." >&5
7841 echo "$as_me: error: conditional \"LIBGCCM_USE_SYMVER\" was never defined.
7842 Usually this means the macro was only invoked conditionally." >&2;}
7843 { (exit 1); exit 1; }; }
7845 if test -z "${TARGET_ILP32_TRUE}" && test -z "${TARGET_ILP32_FALSE}"; then
7846 { { echo "$as_me:$LINENO: error: conditional \"TARGET_ILP32\" was never defined.
7847 Usually this means the macro was only invoked conditionally." >&5
7848 echo "$as_me: error: conditional \"TARGET_ILP32\" was never defined.
7849 Usually this means the macro was only invoked conditionally." >&2;}
7850 { (exit 1); exit 1; }; }
7852 if test -z "${BUILD_LIBGCC_MATH_TRUE}" && test -z "${BUILD_LIBGCC_MATH_FALSE}"; then
7853 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGCC_MATH\" was never defined.
7854 Usually this means the macro was only invoked conditionally." >&5
7855 echo "$as_me: error: conditional \"BUILD_LIBGCC_MATH\" was never defined.
7856 Usually this means the macro was only invoked conditionally." >&2;}
7857 { (exit 1); exit 1; }; }
7860 : ${CONFIG_STATUS=./config.status}
7861 ac_clean_files_save=$ac_clean_files
7862 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7863 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7864 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7865 cat >$CONFIG_STATUS <<_ACEOF
7867 # Generated by $as_me.
7868 # Run this file to recreate the current configuration.
7869 # Compiler output produced by configure, useful for debugging
7870 # configure, is in config.log if it exists.
7875 SHELL=\${CONFIG_SHELL-$SHELL}
7878 cat >>$CONFIG_STATUS <<\_ACEOF
7879 ## --------------------- ##
7880 ## M4sh Initialization. ##
7881 ## --------------------- ##
7883 # Be Bourne compatible
7884 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7887 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7888 # is contrary to our usage. Disable this feature.
7889 alias -g '${1+"$@"}'='"$@"'
7890 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7893 DUALCASE=1; export DUALCASE # for MKS sh
7895 # Support unset when possible.
7896 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7903 # Work around bugs in pre-3.0 UWIN ksh.
7904 $as_unset ENV MAIL MAILPATH
7911 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7912 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7913 LC_TELEPHONE LC_TIME
7915 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
7916 eval $as_var=C; export $as_var
7922 # Required to use basename.
7923 if expr a : '\(a\)' >/dev/null 2>&1; then
7929 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7930 as_basename=basename
7936 # Name of the executable.
7937 as_me=`$as_basename "$0" ||
7938 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7939 X
"$0" : 'X\(//\)$' \| \
7940 X
"$0" : 'X\(/\)$' \| \
7941 .
: '\(.\)' 2>/dev
/null ||
7943 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7944 /^X\/\(\/\/\)$/{ s//\1/; q; }
7945 /^X\/\(\/\).*/{ s//\1/; q; }
7949 # PATH needs CR, and LINENO needs CR and PATH.
7950 # Avoid depending upon Character Ranges.
7951 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7952 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7953 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7954 as_cr_digits='0123456789'
7955 as_cr_alnum=$as_cr_Letters$as_cr_digits
7957 # The user is always right.
7958 if test "${PATH_SEPARATOR+set}" != set; then
7959 echo "#! /bin/sh" >conf$$.sh
7960 echo "exit 0" >>conf$$.sh
7962 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7973 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
7974 test "x$as_lineno_1" != "x$as_lineno_2" &&
7975 test "x$as_lineno_3" = "x$as_lineno_2" || {
7976 # Find who we are. Look in the path if we contain no path at all
7979 *[\\/]* ) as_myself=$0 ;;
7980 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 test -z "$as_dir" && as_dir=.
7985 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7990 # We did not find ourselves, most probably we were run as `sh COMMAND
'
7991 # in which case we are not to be found in the path.
7992 if test "x$as_myself" = x; then
7995 if test ! -f "$as_myself"; then
7996 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7997 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7998 { (exit 1); exit 1; }; }
8000 case $CONFIG_SHELL in
8002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8006 test -z "$as_dir" && as_dir=.
8007 for as_base in sh bash ksh sh5; do
8010 if ("$as_dir/$as_base" -c '
8013 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8014 test "x$as_lineno_1" != "x$as_lineno_2" &&
8015 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
8016 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8017 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8018 CONFIG_SHELL=$as_dir/$as_base
8020 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8028 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8029 # uniformly replaced by the line number. The first 'sed' inserts a
8030 # line-number line before each line; the second 'sed' does the real
8031 # work. The second script uses 'N
' to pair each line-number line
8032 # with the numbered line, and appends trailing '-' during
8033 # substitution so that $LINENO is not a special case at line end.
8034 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8035 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
8036 sed '=' <$as_myself |
8041 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8044 s,^['$as_cr_digits']*\n,,
8046 chmod +x
$as_me.lineno ||
8047 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8048 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8049 { (exit 1); exit 1; }; }
8051 # Don't try to exec as it changes $[0], causing all sort of problems
8052 # (the dirname of $[0] is not the place where we might find the
8053 # original and so on. Autoconf is especially sensible to this).
8055 # Exit status is that of the last command.
8060 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8061 *c
*,-n*) ECHO_N
= ECHO_C
='
8063 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8064 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8067 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8073 rm -f conf$$ conf$$.exe conf$$.
file
8075 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8076 # We could just check for DJGPP; but this test a) works b) is more generic
8077 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8078 if test -f conf$$.exe
; then
8079 # Don't use ln at all; we don't have any links
8084 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8089 rm -f conf$$ conf$$.exe conf$$.
file
8091 if mkdir
-p .
2>/dev
/null
; then
8094 test -d .
/-p && rmdir .
/-p
8098 as_executable_p
="test -f"
8100 # Sed expression to map a string onto a valid CPP name.
8101 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8103 # Sed expression to map a string onto a valid variable name.
8104 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8108 # We need space, tab and new line, in precisely that order.
8118 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8119 # report actual input values of CONFIG_FILES etc. instead of their
8120 # values after options handling. Logging --version etc. is OK.
8124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8125 ## Running $as_me. ##
8130 This file was extended by libgcc-math $as_me 1.0, which was
8131 generated by GNU Autoconf 2.59. Invocation command line was
8133 CONFIG_FILES = $CONFIG_FILES
8134 CONFIG_HEADERS = $CONFIG_HEADERS
8135 CONFIG_LINKS = $CONFIG_LINKS
8136 CONFIG_COMMANDS = $CONFIG_COMMANDS
8140 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8144 # Files that config.status was made for.
8145 if test -n "$ac_config_files"; then
8146 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8149 if test -n "$ac_config_headers"; then
8150 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8153 if test -n "$ac_config_links"; then
8154 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8157 if test -n "$ac_config_commands"; then
8158 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8161 cat >>$CONFIG_STATUS <<\_ACEOF
8164 \`$as_me' instantiates files from templates according to the
8165 current configuration.
8167 Usage: $0 [OPTIONS] [FILE]...
8169 -h, --help print this help, then exit
8170 -V, --version print version number, then exit
8171 -q, --quiet do not print progress messages
8172 -d, --debug don't remove temporary files
8173 --recheck update $as_me by reconfiguring in the same conditions
8174 --file=FILE[:TEMPLATE]
8175 instantiate the configuration file FILE
8177 Configuration files:
8180 Configuration commands:
8183 Report bugs to <bug-autoconf@gnu.org>."
8186 cat >>$CONFIG_STATUS <<_ACEOF
8188 libgcc-math config.status 1.0
8189 configured by $0, generated by GNU Autoconf 2.59,
8190 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8192 Copyright (C) 2003 Free Software Foundation, Inc.
8193 This config.status script is free software; the Free Software Foundation
8194 gives unlimited permission to copy, distribute and modify it."
8199 cat >>$CONFIG_STATUS <<\_ACEOF
8200 # If no file are specified by the user, then we need to provide default
8201 # value. By we need to know if files were specified by the user.
8207 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8208 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8216 *) # This is not an option, so the user has probably given explicit
8219 ac_need_defaults
=false
;;
8223 # Handling of the options.
8225 cat >>$CONFIG_STATUS <<\_ACEOF
8226 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8228 --version |
--vers* |
-V )
8229 echo "$ac_cs_version"; exit 0 ;;
8231 # Conflict between --help and --header
8232 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8233 Try \`$0 --help' for more information." >&5
8234 echo "$as_me: error: ambiguous option: $1
8235 Try \`$0 --help' for more information." >&2;}
8236 { (exit 1); exit 1; }; };;
8237 --help |
--hel |
-h )
8238 echo "$ac_cs_usage"; exit 0 ;;
8239 --debug |
--d* |
-d )
8241 --file |
--fil |
--fi |
--f )
8243 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8244 ac_need_defaults
=false
;;
8245 --header |
--heade |
--head |
--hea )
8247 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8248 ac_need_defaults
=false
;;
8249 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8250 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8254 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8255 Try \`$0 --help' for more information." >&5
8256 echo "$as_me: error: unrecognized option: $1
8257 Try \`$0 --help' for more information." >&2;}
8258 { (exit 1); exit 1; }; } ;;
8260 *) ac_config_targets
="$ac_config_targets $1" ;;
8266 ac_configure_extra_args
=
8268 if $ac_cs_silent; then
8270 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8274 cat >>$CONFIG_STATUS <<_ACEOF
8275 if \$ac_cs_recheck; then
8276 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8277 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8282 cat >>$CONFIG_STATUS <<_ACEOF
8284 # INIT-COMMANDS section.
8291 with_multisubdir="$with_multisubdir"
8292 with_multisrctop="$with_multisrctop"
8293 with_target_subdir="$with_target_subdir"
8294 ac_configure_args="${multilib_arg} ${ac_configure_args}"
8295 multi_basedir="$multi_basedir"
8296 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
8298 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8302 acx_cv_header_stdint="$acx_cv_header_stdint"
8303 acx_cv_type_int8_t="$acx_cv_type_int8_t"
8304 acx_cv_type_int16_t="$acx_cv_type_int16_t"
8305 acx_cv_type_int32_t="$acx_cv_type_int32_t"
8306 acx_cv_type_int64_t="$acx_cv_type_int64_t"
8307 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
8308 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
8309 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
8310 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
8311 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
8312 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
8313 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
8314 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
8315 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
8322 cat >>$CONFIG_STATUS <<\_ACEOF
8323 for ac_config_target
in $ac_config_targets
8325 case "$ac_config_target" in
8326 # Handling of arguments.
8327 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8328 "i386/Makefile" ) CONFIG_FILES
="$CONFIG_FILES i386/Makefile" ;;
8329 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8330 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8331 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
8332 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8333 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8334 { (exit 1); exit 1; }; };;
8338 # If the user did not use the arguments to specify the items to instantiate,
8339 # then the envvar interface is used. Set only those that are not.
8340 # We use the long form for the default assignment because of an extremely
8341 # bizarre bug on SunOS 4.1.3.
8342 if $ac_need_defaults; then
8343 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8347 # Have a temporary directory for convenience. Make it in the build tree
8348 # simply because there is no reason to put it here, and in addition,
8349 # creating and moving files from /tmp can sometimes cause problems.
8350 # Create a temporary directory, and hook for its removal unless debugging.
8353 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8354 trap '{ (exit 1); exit 1; }' 1 2 13 15
8357 # Create a (secure) tmp directory for tmp files.
8360 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8361 test -n "$tmp" && test -d "$tmp"
8364 tmp
=.
/confstat$$
-$RANDOM
8365 (umask 077 && mkdir
$tmp)
8368 echo "$me: cannot create a temporary directory in ." >&2
8369 { (exit 1); exit 1; }
8374 cat >>$CONFIG_STATUS <<_ACEOF
8377 # CONFIG_FILES section.
8380 # No need to generate the scripts if there are no CONFIG_FILES.
8381 # This happens for instance when ./config.status config.h
8382 if test -n "\$CONFIG_FILES"; then
8383 # Protect against being on the right side of a sed subst in config.status.
8384 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8385 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8386 s,@SHELL@,$SHELL,;t t
8387 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8388 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8389 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8390 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8391 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8392 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8393 s,@exec_prefix@,$exec_prefix,;t t
8394 s,@prefix@,$prefix,;t t
8395 s,@program_transform_name@,$program_transform_name,;t t
8396 s,@bindir@,$bindir,;t t
8397 s,@sbindir@,$sbindir,;t t
8398 s,@libexecdir@,$libexecdir,;t t
8399 s,@datadir@,$datadir,;t t
8400 s,@sysconfdir@,$sysconfdir,;t t
8401 s,@sharedstatedir@,$sharedstatedir,;t t
8402 s,@localstatedir@,$localstatedir,;t t
8403 s,@libdir@,$libdir,;t t
8404 s,@includedir@,$includedir,;t t
8405 s,@oldincludedir@,$oldincludedir,;t t
8406 s,@infodir@,$infodir,;t t
8407 s,@mandir@,$mandir,;t t
8408 s,@build_alias@,$build_alias,;t t
8409 s,@host_alias@,$host_alias,;t t
8410 s,@target_alias@,$target_alias,;t t
8412 s,@ECHO_C@,$ECHO_C,;t t
8413 s,@ECHO_N@,$ECHO_N,;t t
8414 s,@ECHO_T@,$ECHO_T,;t t
8416 s,@build@,$build,;t t
8417 s,@build_cpu@,$build_cpu,;t t
8418 s,@build_vendor@,$build_vendor,;t t
8419 s,@build_os@,$build_os,;t t
8421 s,@host_cpu@,$host_cpu,;t t
8422 s,@host_vendor@,$host_vendor,;t t
8423 s,@host_os@,$host_os,;t t
8424 s,@target@,$target,;t t
8425 s,@target_cpu@,$target_cpu,;t t
8426 s,@target_vendor@,$target_vendor,;t t
8427 s,@target_os@,$target_os,;t t
8428 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8429 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8430 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8431 s,@CYGPATH_W@,$CYGPATH_W,;t t
8432 s,@PACKAGE@,$PACKAGE,;t t
8433 s,@VERSION@,$VERSION,;t t
8434 s,@ACLOCAL@,$ACLOCAL,;t t
8435 s,@AUTOCONF@,$AUTOCONF,;t t
8436 s,@AUTOMAKE@,$AUTOMAKE,;t t
8437 s,@AUTOHEADER@,$AUTOHEADER,;t t
8438 s,@MAKEINFO@,$MAKEINFO,;t t
8439 s,@install_sh@,$install_sh,;t t
8440 s,@STRIP@,$STRIP,;t t
8441 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8442 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8443 s,@mkdir_p@,$mkdir_p,;t t
8445 s,@SET_MAKE@,$SET_MAKE,;t t
8446 s,@am__leading_dot@,$am__leading_dot,;t t
8447 s,@AMTAR@,$AMTAR,;t t
8448 s,@am__tar@,$am__tar,;t t
8449 s,@am__untar@,$am__untar,;t t
8450 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8451 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8452 s,@MAINT@,$MAINT,;t t
8453 s,@multi_basedir@,$multi_basedir,;t t
8455 s,@ac_ct_CC@,$ac_ct_CC,;t t
8456 s,@EXEEXT@,$EXEEXT,;t t
8457 s,@OBJEXT@,$OBJEXT,;t t
8458 s,@DEPDIR@,$DEPDIR,;t t
8459 s,@am__include@,$am__include,;t t
8460 s,@am__quote@,$am__quote,;t t
8461 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8462 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8463 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8464 s,@CCDEPMODE@,$CCDEPMODE,;t t
8465 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8466 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8467 s,@CFLAGS@,$CFLAGS,;t t
8469 s,@CPPFLAGS@,$CPPFLAGS,;t t
8471 s,@CCASFLAGS@,$CCASFLAGS,;t t
8472 s,@LIBGCCM_USE_SYMVER_TRUE@,$LIBGCCM_USE_SYMVER_TRUE,;t t
8473 s,@LIBGCCM_USE_SYMVER_FALSE@,$LIBGCCM_USE_SYMVER_FALSE,;t t
8474 s,@TARGET_ILP32_TRUE@,$TARGET_ILP32_TRUE,;t t
8475 s,@TARGET_ILP32_FALSE@,$TARGET_ILP32_FALSE,;t t
8477 s,@RANLIB@,$RANLIB,;t t
8478 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8479 s,@LIBTOOL@,$LIBTOOL,;t t
8480 s,@enable_shared@,$enable_shared,;t t
8481 s,@enable_static@,$enable_static,;t t
8482 s,@toolexecdir@,$toolexecdir,;t t
8483 s,@toolexeclibdir@,$toolexeclibdir,;t t
8484 s,@EGREP@,$EGREP,;t t
8485 s,@arch_subdirs@,$arch_subdirs,;t t
8486 s,@arch_libraries@,$arch_libraries,;t t
8487 s,@arch_maps@,$arch_maps,;t t
8488 s,@BUILD_LIBGCC_MATH_TRUE@,$BUILD_LIBGCC_MATH_TRUE,;t t
8489 s,@BUILD_LIBGCC_MATH_FALSE@,$BUILD_LIBGCC_MATH_FALSE,;t t
8490 s,@LIBOBJS@,$LIBOBJS,;t t
8491 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8496 cat >>$CONFIG_STATUS <<\_ACEOF
8497 # Split the substitutions into bite-sized pieces for seds with
8498 # small command number limits, like on Digital OSF/1 and HP-UX.
8500 ac_sed_frag
=1 # Number of current file.
8501 ac_beg
=1 # First line for current file.
8502 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8505 while $ac_more_lines; do
8506 if test $ac_beg -gt 1; then
8507 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8509 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8511 if test ! -s $tmp/subs.frag
; then
8514 # The purpose of the label and of the branching condition is to
8515 # speed up the sed processing (if there are no `@' at all, there
8516 # is no need to browse any of the substitutions).
8517 # These are the two extra sed commands mentioned above.
8519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8520 if test -z "$ac_sed_cmds"; then
8521 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8523 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8525 ac_sed_frag
=`expr $ac_sed_frag + 1`
8527 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8530 if test -z "$ac_sed_cmds"; then
8533 fi # test -n "$CONFIG_FILES"
8536 cat >>$CONFIG_STATUS <<\_ACEOF
8537 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8538 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8540 - |
*:- |
*:-:* ) # input from stdin
8542 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8543 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8544 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8545 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8546 * ) ac_file_in
=$ac_file.
in ;;
8549 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8550 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8551 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8552 X"$ac_file" : 'X\(//\)[^/]' \| \
8553 X"$ac_file" : 'X\(//\)$' \| \
8554 X"$ac_file" : 'X\(/\)' \| \
8555 . : '\(.\)' 2>/dev/null ||
8557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8558 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8559 /^X\(\/\/\)$/{ s//\1/; q; }
8560 /^X\(\/\).*/{ s//\1/; q; }
8562 { if $as_mkdir_p; then
8567 while test ! -d "$as_dir"; do
8568 as_dirs
="$as_dir $as_dirs"
8569 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8570 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8571 X"$as_dir" : 'X\(//\)[^/]' \| \
8572 X"$as_dir" : 'X\(//\)$' \| \
8573 X"$as_dir" : 'X\(/\)' \| \
8574 . : '\(.\)' 2>/dev/null ||
8576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8577 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8578 /^X\(\/\/\)$/{ s//\1/; q; }
8579 /^X\(\/\).*/{ s//\1/; q; }
8582 test ! -n "$as_dirs" || mkdir
$as_dirs
8583 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8584 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8585 { (exit 1); exit 1; }; }; }
8589 if test "$ac_dir" != .
; then
8590 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8591 # A "../" for each directory in $ac_dir_suffix.
8592 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8594 ac_dir_suffix
= ac_top_builddir
=
8598 .
) # No --srcdir option. We are building in place.
8600 if test -z "$ac_top_builddir"; then
8603 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8605 [\\/]* | ?
:[\\/]* ) # Absolute path.
8606 ac_srcdir
=$srcdir$ac_dir_suffix;
8607 ac_top_srcdir
=$srcdir ;;
8609 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8610 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8613 # Do not use `cd foo && pwd` to compute absolute paths, because
8614 # the directories may not exist.
8616 .
) ac_abs_builddir
="$ac_dir";;
8619 .
) ac_abs_builddir
=`pwd`;;
8620 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8621 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8624 case $ac_abs_builddir in
8625 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8627 case ${ac_top_builddir}.
in
8628 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8629 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8630 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8633 case $ac_abs_builddir in
8634 .
) ac_abs_srcdir
=$ac_srcdir;;
8637 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8638 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8639 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8642 case $ac_abs_builddir in
8643 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8645 case $ac_top_srcdir in
8646 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8647 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8648 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8654 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8655 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8658 if test x
"$ac_file" != x-
; then
8659 { echo "$as_me:$LINENO: creating $ac_file" >&5
8660 echo "$as_me: creating $ac_file" >&6;}
8663 # Let's still pretend it is `configure' which instantiates (i.e., don't
8664 # use $as_me), people would be surprised to read:
8665 # /* config.h. Generated by config.status. */
8666 if test x
"$ac_file" = x-
; then
8669 configure_input
="$ac_file. "
8671 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8672 sed 's,.*/,,'` by configure."
8674 # First look for the input files in the build tree, otherwise in the
8676 ac_file_inputs
=`IFS=:
8677 for f in $ac_file_in; do
8679 -) echo $tmp/stdin ;;
8681 # Absolute (can't be DOS-style, as IFS=:)
8682 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8683 echo "$as_me: error: cannot find input file: $f" >&2;}
8684 { (exit 1); exit 1; }; }
8687 if test -f "$f"; then
8690 elif test -f "$srcdir/$f"; then
8695 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8696 echo "$as_me: error: cannot find input file: $f" >&2;}
8697 { (exit 1); exit 1; }; }
8700 done` ||
{ (exit 1); exit 1; }
8702 cat >>$CONFIG_STATUS <<_ACEOF
8706 cat >>$CONFIG_STATUS <<\_ACEOF
8708 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8709 s
,@configure_input@
,$configure_input,;t t
8710 s
,@srcdir@
,$ac_srcdir,;t t
8711 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8712 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8713 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8714 s
,@builddir@
,$ac_builddir,;t t
8715 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8716 s
,@top_builddir@
,$ac_top_builddir,;t t
8717 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8718 s
,@INSTALL@
,$ac_INSTALL,;t t
8719 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8721 if test x"$ac_file" != x-; then
8722 mv $tmp/out $ac_file
8730 cat >>$CONFIG_STATUS <<\_ACEOF
8733 # CONFIG_COMMANDS section.
8735 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
8736 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8737 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8738 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8739 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8740 X"$ac_dest" : 'X\(//\)[^/]' \| \
8741 X"$ac_dest" : 'X\(//\)$' \| \
8742 X"$ac_dest" : 'X\(/\)' \| \
8743 . : '\(.\)' 2>/dev/null ||
8745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8747 /^X\(\/\/\)$/{ s//\1/; q; }
8748 /^X\(\/\).*/{ s//\1/; q; }
8750 { if $as_mkdir_p; then
8755 while test ! -d "$as_dir"; do
8756 as_dirs="$as_dir $as_dirs"
8757 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8759 X"$as_dir" : 'X\(//\)[^/]' \| \
8760 X"$as_dir" : 'X\(//\)$' \| \
8761 X"$as_dir" : 'X\(/\)' \| \
8762 . : '\(.\)' 2>/dev/null ||
8764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8765 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8766 /^X\(\/\/\)$/{ s//\1/; q; }
8767 /^X\(\/\).*/{ s//\1/; q; }
8770 test ! -n "$as_dirs" || mkdir $as_dirs
8771 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
8772 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
8773 { (exit 1); exit 1; }; }; }
8777 if test "$ac_dir" != .; then
8778 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8779 # A "..
/" for each directory in $ac_dir_suffix.
8780 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8782 ac_dir_suffix= ac_top_builddir=
8786 .) # No --srcdir option. We are building in place.
8788 if test -z "$ac_top_builddir"; then
8791 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8793 [\\/]* | ?:[\\/]* ) # Absolute path.
8794 ac_srcdir=$srcdir$ac_dir_suffix;
8795 ac_top_srcdir=$srcdir ;;
8797 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8798 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8801 # Do not use `cd foo && pwd` to compute absolute paths, because
8802 # the directories may not exist.
8804 .) ac_abs_builddir="$ac_dir";;
8807 .) ac_abs_builddir=`pwd`;;
8808 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8809 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8812 case $ac_abs_builddir in
8813 .) ac_abs_top_builddir=${ac_top_builddir}.;;
8815 case ${ac_top_builddir}. in
8816 .) ac_abs_top_builddir=$ac_abs_builddir;;
8817 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8818 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8821 case $ac_abs_builddir in
8822 .) ac_abs_srcdir=$ac_srcdir;;
8825 .) ac_abs_srcdir=$ac_abs_builddir;;
8826 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8827 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8830 case $ac_abs_builddir in
8831 .) ac_abs_top_srcdir=$ac_top_srcdir;;
8833 case $ac_top_srcdir in
8834 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8835 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8836 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8841 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
8842 echo "$as_me: executing
$ac_dest commands
" >&6;}
8845 # Only add multilib support code if we just rebuilt the top-level
8847 case " $CONFIG_FILES " in
8849 ac_file=Makefile . ${multi_basedir}/config-ml.in
8852 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8853 # Strip MF so we end up with the name of the file.
8854 mf=`echo "$mf" | sed -e 's/:.*$//'`
8855 # Check whether this is an Automake generated Makefile or not.
8856 # We used to match only the files named `Makefile.in', but
8857 # some people rename them; so instead we look at the file content.
8858 # Grep'ing the first line is not enough: some people post-process
8859 # each Makefile.in and add a new line on top of each file to say so.
8860 # So let's grep whole file.
8861 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8862 dirpart=`(dirname "$mf") 2>/dev/null ||
8863 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8864 X"$mf" : 'X\(//\)[^/]' \| \
8865 X"$mf" : 'X\(//\)$' \| \
8866 X"$mf" : 'X\(/\)' \| \
8867 . : '\(.\)' 2>/dev/null ||
8869 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8870 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8871 /^X\(\/\/\)$/{ s//\1/; q; }
8872 /^X\(\/\).*/{ s//\1/; q; }
8877 # Extract the definition of DEPDIR, am__include, and am__quote
8878 # from the Makefile without running `make'.
8879 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8880 test -z "$DEPDIR" && continue
8881 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8882 test -z "am__include
" && continue
8883 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8884 # When using ansi2knr, U may be empty or an underscore; expand it
8885 U=`sed -n 's/^U = //p' < "$mf"`
8886 # Find all dependency output files, they are included files with
8887 # $(DEPDIR) in their names. We invoke sed twice because it is the
8888 # simplest approach to changing $(DEPDIR) to its actual value in the
8890 for file in `sed -n "
8891 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
8892 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8893 # Make sure the directory exists.
8894 test -f "$dirpart/$file" && continue
8895 fdir=`(dirname "$file") 2>/dev/null ||
8896 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8897 X"$file" : 'X\(//\)[^/]' \| \
8898 X"$file" : 'X\(//\)$' \| \
8899 X"$file" : 'X\(/\)' \| \
8900 . : '\(.\)' 2>/dev/null ||
8902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8904 /^X\(\/\/\)$/{ s//\1/; q; }
8905 /^X\(\/\).*/{ s//\1/; q; }
8907 { if $as_mkdir_p; then
8908 mkdir -p $dirpart/$fdir
8910 as_dir=$dirpart/$fdir
8912 while test ! -d "$as_dir"; do
8913 as_dirs="$as_dir $as_dirs"
8914 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8916 X"$as_dir" : 'X\(//\)[^/]' \| \
8917 X"$as_dir" : 'X\(//\)$' \| \
8918 X"$as_dir" : 'X\(/\)' \| \
8919 . : '\(.\)' 2>/dev/null ||
8921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8923 /^X\(\/\/\)$/{ s//\1/; q; }
8924 /^X\(\/\).*/{ s//\1/; q; }
8927 test ! -n "$as_dirs" || mkdir $as_dirs
8928 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
8929 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
8930 { (exit 1); exit 1; }; }; }
8932 # echo "creating
$dirpart/$file"
8933 echo '# dummy' > "$dirpart/$file"
8938 if test "$GCC" = yes; then
8939 echo "/* generated
for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
8941 echo "/* generated
for $CC */" > tmp-stdint.h
8944 sed 's/^ *//' >> tmp-stdint.h <<EOF
8946 #ifndef GCC_GENERATED_STDINT_H
8947 #define GCC_GENERATED_STDINT_H 1
8949 #include <sys/types.h>
8952 if test "$acx_cv_header_stdint" != stdint.h; then
8953 echo "#include <stddef.h>" >> tmp-stdint.h
8955 if test "$acx_cv_header_stdint" != stddef.h
; then
8956 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
8959 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8960 /* glibc uses these symbols as guards to prevent redefinitions. */
8961 #ifdef __int8_t_defined
8966 #ifdef __uint32_t_defined
8972 # ----------------- done header, emit basic int types -------------
8973 if test "$acx_cv_header_stdint" = stddef.h
; then
8974 sed 's/^ *//' >> tmp-stdint.h
<<EOF
8978 typedef unsigned $acx_cv_type_int8_t uint8_t;
8983 typedef unsigned $acx_cv_type_int16_t uint16_t;
8988 typedef unsigned $acx_cv_type_int32_t uint32_t;
8993 typedef $acx_cv_type_int8_t int8_t;
8998 typedef $acx_cv_type_int16_t int16_t;
9003 typedef $acx_cv_type_int32_t int32_t;
9006 elif test "$ac_cv_type_u_int32_t" = yes; then
9007 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9009 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
9022 typedef u_int8_t uint8_t;
9027 typedef u_int16_t uint16_t;
9032 typedef u_int32_t uint32_t;
9036 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9038 /* Some systems have guard macros to prevent redefinitions, define them. */
9060 # ------------- done basic int types, emit int64_t types ------------
9061 if test "$ac_cv_type_uint64_t" = yes; then
9062 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9064 /* system headers have good uint64_t and int64_t */
9072 elif test "$ac_cv_type_u_int64_t" = yes; then
9073 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9075 /* system headers have an u_int64_t (and int64_t) */
9081 typedef u_int64_t uint64_t;
9084 elif test -n "$acx_cv_type_int64_t"; then
9085 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9087 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
9090 typedef $acx_cv_type_int64_t int64_t;
9094 typedef unsigned $acx_cv_type_int64_t uint64_t;
9098 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9100 /* some common heuristics for int64_t, using compiler-specific tests */
9101 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
9104 typedef long long int64_t;
9108 typedef unsigned long long uint64_t;
9111 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
9112 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
9113 does not implement __extension__. But that compiler doesn't define
9115 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
9116 # define __extension__
9121 __extension__ typedef long long int64_t;
9125 __extension__ typedef unsigned long long uint64_t;
9128 #elif !defined __STRICT_ANSI__
9129 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
9133 typedef __int64 int64_t;
9137 typedef unsigned __int64 uint64_t;
9139 # endif /* compiler */
9141 #endif /* ANSI version */
9145 # ------------- done int64_t types, emit intptr types ------------
9146 if test "$ac_cv_type_uintptr_t" != yes; then
9147 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9149 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
9150 typedef u$acx_cv_type_intptr_t uintptr_t;
9151 typedef $acx_cv_type_intptr_t intptr_t;
9155 # ------------- done intptr types, emit int_least types ------------
9156 if test "$ac_cv_type_int_least32_t" != yes; then
9157 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9159 /* Define int_least types */
9160 typedef int8_t int_least8_t;
9161 typedef int16_t int_least16_t;
9162 typedef int32_t int_least32_t;
9164 typedef int64_t int_least64_t;
9167 typedef uint8_t uint_least8_t;
9168 typedef uint16_t uint_least16_t;
9169 typedef uint32_t uint_least32_t;
9171 typedef uint64_t uint_least64_t;
9176 # ------------- done intptr types, emit int_fast types ------------
9177 if test "$ac_cv_type_int_fast32_t" != yes; then
9178 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9180 /* Define int_fast types. short is often slow */
9181 typedef int8_t int_fast8_t;
9182 typedef int int_fast16_t;
9183 typedef int32_t int_fast32_t;
9185 typedef int64_t int_fast64_t;
9188 typedef uint8_t uint_fast8_t;
9189 typedef unsigned int uint_fast16_t;
9190 typedef uint32_t uint_fast32_t;
9192 typedef uint64_t uint_fast64_t;
9197 if test "$ac_cv_type_uintmax_t" != yes; then
9198 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9200 /* Define intmax based on what we found */
9202 typedef int64_t intmax_t;
9204 typedef long intmax_t;
9207 typedef uint64_t uintmax_t;
9209 typedef unsigned long uintmax_t;
9214 sed 's/^ *//' >> tmp-stdint.h
<<EOF
9216 #endif /* GCC_GENERATED_STDINT_H */
9219 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
9222 mv -f tmp-stdint.h gstdint.h
9230 cat >>$CONFIG_STATUS <<\_ACEOF
9232 { (exit 0); exit 0; }
9234 chmod +x
$CONFIG_STATUS
9235 ac_clean_files
=$ac_clean_files_save
9238 # configure is writing to config.log, and then calls config.status.
9239 # config.status does its own redirection, appending to config.log.
9240 # Unfortunately, on DOS this fails, as config.log is still kept open
9241 # by configure, so config.status won't be able to write to it; its
9242 # output is simply discarded. So we exec the FD to /dev/null,
9243 # effectively closing config.log, so it can be properly (re)opened and
9244 # appended to by config.status. When coming back to configure, we
9245 # need to make the FD available again.
9246 if test "$no_create" != yes; then
9248 ac_config_status_args
=
9249 test "$silent" = yes &&
9250 ac_config_status_args
="$ac_config_status_args --quiet"
9252 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9254 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9255 # would make configure fail if this is the last instruction.
9256 $ac_cs_success ||
{ (exit 1); exit 1; }