2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for package-unused version-unused.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME
='package-unused'
268 PACKAGE_TARNAME
='libstdc++'
269 PACKAGE_VERSION
='version-unused'
270 PACKAGE_STRING
='package-unused version-unused'
273 ac_unique_file
="src/ios.cc"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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 libtool_VERSION multi_basedir 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static LIBUNWIND_FLAG GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H FPOS_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_INC_SRCDIR FPOS_INC_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CXXCPP_set
=${CXXCPP+set}
753 ac_env_CXXCPP_value
=$CXXCPP
754 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
755 ac_cv_env_CXXCPP_value
=$CXXCPP
756 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
757 ac_env_CPPFLAGS_value
=$CPPFLAGS
758 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
759 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
760 ac_env_CPP_set
=${CPP+set}
761 ac_env_CPP_value
=$CPP
762 ac_cv_env_CPP_set
=${CPP+set}
763 ac_cv_env_CPP_value
=$CPP
766 # Report the --help message.
768 if test "$ac_init_help" = "long"; then
769 # Omit some internal or obsolete options to make the list less imposing.
770 # This message is too long to be a string in the A/UX 3.1 sh.
772 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774 Usage: $0 [OPTION]... [VAR=VALUE]...
776 To assign environment variables (e.g., CC, CFLAGS...), specify them as
777 VAR=VALUE. See below for descriptions of some of the useful variables.
779 Defaults for the options are specified in brackets.
782 -h, --help display this help and exit
783 --help=short display options specific to this package
784 --help=recursive display the short help of all the included packages
785 -V, --version display version information and exit
786 -q, --quiet, --silent do not print \`checking...' messages
787 --cache-file=FILE cache test results in FILE [disabled]
788 -C, --config-cache alias for \`--cache-file=config.cache'
789 -n, --no-create do not create output files
790 --srcdir=DIR find the sources in DIR [configure dir or \`..']
795 Installation directories:
796 --prefix=PREFIX install architecture-independent files in PREFIX
798 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
801 By default, \`make install' will install all the files in
802 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
803 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
804 for instance \`--prefix=\$HOME'.
806 For better control, use the options below.
808 Fine tuning of the installation directories:
809 --bindir=DIR user executables [EPREFIX/bin]
810 --sbindir=DIR system admin executables [EPREFIX/sbin]
811 --libexecdir=DIR program executables [EPREFIX/libexec]
812 --datadir=DIR read-only architecture-independent data [PREFIX/share]
813 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
814 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
815 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
816 --libdir=DIR object code libraries [EPREFIX/lib]
817 --includedir=DIR C header files [PREFIX/include]
818 --oldincludedir=DIR C header files for non-gcc [/usr/include]
819 --infodir=DIR info documentation [PREFIX/info]
820 --mandir=DIR man documentation [PREFIX/man]
826 --program-prefix=PREFIX prepend PREFIX to installed program names
827 --program-suffix=SUFFIX append SUFFIX to installed program names
828 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
831 --build=BUILD configure
for building on BUILD
[guessed
]
832 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
833 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
837 if test -n "$ac_init_help"; then
838 case $ac_init_help in
839 short | recursive
) echo "Configuration of package-unused version-unused:";;
844 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
845 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
846 --enable-multilib build many library versions
(default
)
847 --enable-maintainer-mode enable make rules and dependencies not useful
848 (and sometimes confusing
) to the casual installer
849 --enable-shared=PKGS build shared libraries default
=yes
850 --enable-static=PKGS build static libraries default
=yes
851 --enable-fast-install=PKGS optimize
for fast installation default
=yes
852 --disable-libtool-lock avoid locking
(might
break parallel builds
)
853 --enable-sjlj-exceptions
854 force use of builtin_setjmp
for exceptions
856 --enable-libunwind-exceptions
857 force use of libunwind
for exceptions
859 --enable-libstdcxx-pch build pre-compiled libstdc
++ headers
861 --enable-cstdio=PACKAGE use target-specific I
/O package
863 --enable-clocale[=MODEL
]
864 use MODEL
for target locale package
866 --enable-nls use Native Language Support
(default
)
867 --enable-cheaders=KIND construct
"C" headers
for g
++
869 --enable-c-mbchar enable multibyte
(wide
) characters
871 --enable-c99 turns on ISO
/IEC
9899:1999 support
873 --enable-long-long enables I
/O support
for 'long long'
875 --enable-concept-checks use Boost-derived template checks
[default
=no
]
876 --enable-libstdcxx-debug-flags=FLAGS
877 pass compiler FLAGS when building debug library
879 --enable-libstdcxx-debug
880 build extra debug library
[default
=no
]
881 --enable-cxx-flags=FLAGS
882 pass compiler FLAGS when building library
884 --enable-symvers=STYLE enables symbol versioning of the shared library
886 --enable-version-specific-runtime-libs
887 Specify that runtime libraries should be installed
888 in a compiler-specific directory
891 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
892 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
893 --with-target-subdir=SUBDIR
894 configuring
in a subdirectory
895 --with-cross-host=HOST configuring with a cross compiler
896 --with-newlib assume newlib as a system C library
897 --with-gnu-ld assume the C compiler uses GNU ld default
=no
898 --with-pic try to use only PIC
/non-PIC objects default
=use both
899 --with-gxx-include-dir=DIR
900 installation directory
for include files
902 Some influential environment variables
:
903 CC C compiler
command
904 CFLAGS C compiler flags
905 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
906 nonstandard directory
<lib dir
>
907 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
908 headers
in a nonstandard directory
<include dir
>
909 CXX C
++ compiler
command
910 CXXFLAGS C
++ compiler flags
911 CXXCPP C
++ preprocessor
914 Use these variables to override the choices made by
`configure' or to help
915 it to find libraries and programs with nonstandard names/locations.
920 if test "$ac_init_help" = "recursive"; then
921 # If there are subdirs, report their specific --help.
923 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
924 test -d $ac_dir || continue
927 if test "$ac_dir" != .; then
928 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
929 # A "../" for each directory in $ac_dir_suffix.
930 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
932 ac_dir_suffix= ac_top_builddir=
936 .) # No --srcdir option. We are building in place.
938 if test -z "$ac_top_builddir"; then
941 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
943 [\\/]* | ?:[\\/]* ) # Absolute path.
944 ac_srcdir=$srcdir$ac_dir_suffix;
945 ac_top_srcdir=$srcdir ;;
947 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
950 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
952 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
953 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
954 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
955 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu; then
961 $SHELL $ac_srcdir/configure.gnu --help=recursive
962 elif test -f $ac_srcdir/configure; then
964 $SHELL $ac_srcdir/configure --help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
979 package-unused configure version-unused
980 generated by GNU Autoconf 2.57
982 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
983 Free Software Foundation, Inc.
984 This configure script is free software; the Free Software Foundation
985 gives unlimited permission to copy, distribute and modify it.
991 This file contains any messages produced by compilers while
992 running configure, to aid debugging if configure makes a mistake.
994 It was created by package-unused $as_me version-unused, which was
995 generated by GNU Autoconf 2.57. Invocation command line was
1006 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1007 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1008 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1009 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1010 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1013 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1015 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1017 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1018 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1019 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1020 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1021 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1029 test -z "$as_dir" && as_dir=.
1030 echo "PATH: $as_dir"
1045 # Keep a trace of the command line.
1046 # Strip out --no-create and --no-recursion so they do not pile up.
1047 # Strip out --silent because we don't want to record it for future runs.
1048 # Also quote any args containing shell meta-characters.
1049 # Make two passes to allow for proper duplicate-argument suppression.
1054 ac_must_keep_next=false
1060 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1064 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1065 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1068 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1070 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1071 if test $ac_must_keep_next = true; then
1072 ac_must_keep_next=false # Got value, back to normal.
1075 *=* | --config-cache | -C | -disable-* | --disable-* \
1076 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1077 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1078 | -with-* | --with-* | -without-* | --without-* | --x)
1079 case "$ac_configure_args0 " in
1080 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1083 -* ) ac_must_keep_next=true ;;
1086 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1087 # Get rid of the leading space.
1093 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1094 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1096 # When interrupted or exit'd, cleanup temporary files, and complete
1097 # config.log. We remove comments because anyway the quotes in there
1098 # would cause problems or look ugly.
1099 # WARNING: Be sure not to use single quotes in there, as some shells,
1100 # such as our DU 5.0 friend, will then `close
' the trap.
1101 trap 'exit_status
=$?
1102 # Save into config.log some information that might help in debugging.
1107 ## ---------------- ##
1108 ## Cache variables. ##
1109 ## ---------------- ##
1112 # The following way of writing the cache mishandles newlines in values,
1115 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1118 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1123 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 ## ----------------- ##
1131 ## Output variables. ##
1132 ## ----------------- ##
1135 for ac_var
in $ac_subst_vars
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -n "$ac_subst_files"; then
1149 for ac_var
in $ac_subst_files
1151 eval ac_val
=$
`echo $ac_var`
1152 echo "$ac_var='"'"'$ac_val'"'"'"
1157 if test -s confdefs.h
; then
1164 sed "/^$/d" confdefs.h |
sort
1167 test "$ac_signal" != 0 &&
1168 echo "$as_me: caught signal $ac_signal"
1169 echo "$as_me: exit $exit_status"
1171 rm -f core
*.core
&&
1172 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1175 for ac_signal in 1 2 13 15; do
1176 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1180 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1181 rm -rf conftest* confdefs.h
1182 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1185 # Predefined preprocessor variables.
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_NAME "$PACKAGE_NAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_STRING "$PACKAGE_STRING"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1212 # Let the site file select an alternate cache file if it wants to.
1213 # Prefer explicitly selected file to automatically selected ones.
1214 if test -z "$CONFIG_SITE"; then
1215 if test "x$prefix" != xNONE; then
1216 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1218 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1221 for ac_site_file in $CONFIG_SITE; do
1222 if test -r "$ac_site_file"; then
1223 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1224 echo "$as_me: loading site script $ac_site_file" >&6;}
1225 sed 's
/^
/|
/' "$ac_site_file" >&5
1230 if test -r "$cache_file"; then
1231 # Some versions of bash will fail to source /dev/null (special
1232 # files actually), so we avoid doing that.
1233 if test -f "$cache_file"; then
1234 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1235 echo "$as_me: loading cache $cache_file" >&6;}
1237 [\\/]* | ?:[\\/]* ) . $cache_file;;
1238 *) . ./$cache_file;;
1242 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1243 echo "$as_me: creating cache $cache_file" >&6;}
1247 # Check that the precious variables saved in the cache have kept the same
1249 ac_cache_corrupted=false
1250 for ac_var in `(set) 2>&1 |
1251 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1252 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1253 eval ac_new_set=\$ac_env_${ac_var}_set
1254 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1255 eval ac_new_val="\$ac_env_${ac_var}_value"
1256 case $ac_old_set,$ac_new_set in
1258 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1260 ac_cache_corrupted=: ;;
1262 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1263 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1264 ac_cache_corrupted=: ;;
1267 if test "x$ac_old_val" != "x$ac_new_val"; then
1268 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1269 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1270 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1271 echo "$as_me: former value: $ac_old_val" >&2;}
1272 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1273 echo "$as_me: current value: $ac_new_val" >&2;}
1274 ac_cache_corrupted=:
1277 # Pass precious variables to config.status.
1278 if test "$ac_new_set" = set; then
1280 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1281 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1282 *) ac_arg=$ac_var=$ac_new_val ;;
1284 case " $ac_configure_args " in
1285 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1286 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1290 if $ac_cache_corrupted; then
1291 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1292 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1293 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1294 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1295 { (exit 1); exit 1; }; }
1299 ac_cpp='$CPP $CPPFLAGS'
1300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1301 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1331 ac_config_headers="$ac_config_headers config.h"
1334 # This works around the fact that libtool configuration may change LD
1335 # for this particular configuration, but some shells, instead of
1336 # keeping the changes in LD private, export them just because LD is
1337 # exported. Only used at the end of this file.
1338 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1340 # For libtool versioning info, format is CURRENT:REVISION:AGE
1341 libtool_VERSION=6:0:0
1344 # Find the rest of the source tree framework.
1346 # Sets up multi_basedir, which is srcdir/.. plus the usual
1347 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1348 # Default to --enable-multilib
1349 # Check whether --enable-multilib or --disable-multilib was given.
1350 if test "${enable_multilib+set}" = set; then
1351 enableval="$enable_multilib"
1352 case "$enableval" in
1353 yes) multilib=yes ;;
1355 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1356 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1357 { (exit 1); exit 1; }; } ;;
1363 # We may get other options which we leave undocumented:
1364 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1365 # See config-ml.in if you want the gory details.
1367 if test "$srcdir" = "."; then
1368 if test "$with_target_subdir" != "."; then
1369 multi_basedir="$srcdir/$with_multisrctop../.."
1371 multi_basedir="$srcdir/$with_multisrctop.."
1374 multi_basedir="$srcdir/.."
1378 ac_config_commands="$ac_config_commands default-1"
1381 # The generated code is exactly the same, except that automake's looks
in
1382 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1383 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1384 # know what they are or what the other differences might be (and they keep
1387 # Looking in multi_basedir seems smarter, so actually execute that branch.
1389 # this is for automake
1391 for ac_dir
in ..
$srcdir/..
; do
1392 if test -f $ac_dir/install-sh
; then
1394 ac_install_sh
="$ac_aux_dir/install-sh -c"
1396 elif test -f $ac_dir/install.sh
; then
1398 ac_install_sh
="$ac_aux_dir/install.sh -c"
1400 elif test -f $ac_dir/shtool
; then
1402 ac_install_sh
="$ac_aux_dir/shtool install -c"
1406 if test -z "$ac_aux_dir"; then
1407 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1408 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1409 { (exit 1); exit 1; }; }
1411 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1412 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1413 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1416 # this is for autoconf
1418 for ac_dir
in ${multi_basedir}; do
1419 if test -f $ac_dir/install-sh
; then
1421 ac_install_sh
="$ac_aux_dir/install-sh -c"
1423 elif test -f $ac_dir/install.sh
; then
1425 ac_install_sh
="$ac_aux_dir/install.sh -c"
1427 elif test -f $ac_dir/shtool
; then
1429 ac_install_sh
="$ac_aux_dir/shtool install -c"
1433 if test -z "$ac_aux_dir"; then
1434 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1435 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1436 { (exit 1); exit 1; }; }
1438 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1439 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1440 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1446 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1448 # You will slowly go insane if you do not grok the following fact: when
1449 # building v3 as part of the compiler, the top-level /target/ becomes the
1450 # library's /host/. configure then causes --target to default to --host,
1451 # exactly like any other package using autoconf. Therefore, 'target' and
1452 # 'host' will always be the same. This makes sense both for native and
1453 # cross compilers, just think about it for a little while. :-)
1455 # Also, if v3 is being configured as part of a cross compiler, the top-level
1456 # configure script will pass the "real" host as $with_cross_host.
1458 # Do not delete or change the following two lines. For why, see
1459 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1460 # Make sure we can run config.sub.
1461 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1462 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1463 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1464 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: checking build system type" >&5
1467 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1468 if test "${ac_cv_build+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 ac_cv_build_alias
=$build_alias
1472 test -z "$ac_cv_build_alias" &&
1473 ac_cv_build_alias
=`$ac_config_guess`
1474 test -z "$ac_cv_build_alias" &&
1475 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1476 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1477 { (exit 1); exit 1; }; }
1478 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1479 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1480 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1481 { (exit 1); exit 1; }; }
1484 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1485 echo "${ECHO_T}$ac_cv_build" >&6
1487 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1488 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1489 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1492 echo "$as_me:$LINENO: checking host system type" >&5
1493 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1494 if test "${ac_cv_host+set}" = set; then
1495 echo $ECHO_N "(cached) $ECHO_C" >&6
1497 ac_cv_host_alias
=$host_alias
1498 test -z "$ac_cv_host_alias" &&
1499 ac_cv_host_alias
=$ac_cv_build_alias
1500 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1501 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1502 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1503 { (exit 1); exit 1; }; }
1506 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1507 echo "${ECHO_T}$ac_cv_host" >&6
1509 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1510 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1511 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1514 echo "$as_me:$LINENO: checking target system type" >&5
1515 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1516 if test "${ac_cv_target+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 ac_cv_target_alias
=$target_alias
1520 test "x$ac_cv_target_alias" = "x" &&
1521 ac_cv_target_alias
=$ac_cv_host_alias
1522 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1524 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1525 { (exit 1); exit 1; }; }
1528 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1529 echo "${ECHO_T}$ac_cv_target" >&6
1530 target
=$ac_cv_target
1531 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1532 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1533 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1536 # The aliases save the names the user supplied, while $host etc.
1537 # will get canonicalized.
1538 test -n "$target_alias" &&
1539 test "$program_prefix$program_suffix$program_transform_name" = \
1541 program_prefix
=${target_alias}-
1542 target_alias
=${target_alias-$host_alias}
1544 # Handy for debugging:
1545 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1547 if test "$build" != "$host"; then
1548 # We are being configured with some form of cross compiler.
1549 GLIBCXX_IS_NATIVE
=false
1550 # GCC_NO_EXECUTABLES
1552 GLIBCXX_IS_NATIVE
=true
1555 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1556 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1557 # 1.x: minimum required version
1558 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1559 # of other PACKAGE_* variables will, however, and there's nothing
1560 # we can do about that; they come from AC_INIT).
1561 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1562 # file in the top srcdir, etc, etc), so stop complaining.
1563 # no-dependencies: turns off auto dependency generation (just for now)
1564 # -Wall: turns on all automake warnings
1565 am__api_version
="1.7"
1566 # Find a good install program. We prefer a C program (faster),
1567 # so one script is as good as another. But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # ./install, which can be erroneously created by make from ./install.sh.
1578 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1579 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1580 if test -z "$INSTALL"; then
1581 if test "${ac_cv_path_install+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1588 test -z "$as_dir" && as_dir
=.
1589 # Account for people who put trailing slashes in PATH elements.
1591 .
/ | .
// |
/cC
/* | \
1592 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1595 # OSF1 and SCO ODT 3.0 have their own names for install.
1596 # Don't use installbsd from OSF since it installs stuff as root
1598 for ac_prog
in ginstall scoinst
install; do
1599 for ac_exec_ext
in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1601 if test $ac_prog = install &&
1602 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1603 # AIX install. It has an incompatible calling convention.
1605 elif test $ac_prog = install &&
1606 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1607 # program-specific install script used by HP pwplus--don't use.
1610 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1622 if test "${ac_cv_path_install+set}" = set; then
1623 INSTALL
=$ac_cv_path_install
1625 # As a last resort, use the slow shell script. We don't cache a
1626 # path for INSTALL within a source directory, because that will
1627 # break other packages using the cache if that directory is
1628 # removed, or if the path is relative.
1629 INSTALL
=$ac_install_sh
1632 echo "$as_me:$LINENO: result: $INSTALL" >&5
1633 echo "${ECHO_T}$INSTALL" >&6
1635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1636 # It thinks the first close brace ends the variable substitution.
1637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1641 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1643 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1644 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1647 echo timestamp
> conftest.
file
1648 # Do `set' in a subshell so we don't clobber the current shell's
1649 # arguments. Must try -L first in case configure is actually a
1650 # symlink; some systems play weird games with the mod time of symlinks
1651 # (eg FreeBSD returns the mod time of the symlink's containing
1654 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1655 if test "$*" = "X"; then
1657 set X
`ls -t $srcdir/configure conftest.file`
1660 if test "$*" != "X $srcdir/configure conftest.file" \
1661 && test "$*" != "X conftest.file $srcdir/configure"; then
1663 # If neither matched, then we have a broken ls. This can happen
1664 # if, for instance, CONFIG_SHELL is bash and it inherits a
1665 # broken ls alias from the environment. This has actually
1666 # happened. Such a system could not be considered "sane".
1667 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&5
1669 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&2;}
1671 { (exit 1); exit 1; }; }
1674 test "$2" = conftest.
file
1680 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1681 Check your system clock" >&5
1682 echo "$as_me: error: newly created file is older than distributed files!
1683 Check your system clock" >&2;}
1684 { (exit 1); exit 1; }; }
1686 echo "$as_me:$LINENO: result: yes" >&5
1687 echo "${ECHO_T}yes" >&6
1688 test "$program_prefix" != NONE
&&
1689 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1690 # Use a double $ so make ignores it.
1691 test "$program_suffix" != NONE
&&
1692 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1693 # Double any \ or $. echo might interpret backslashes.
1694 # By default was `s,x,x', remove it if useless.
1695 cat <<\_ACEOF
>conftest.
sed
1696 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1698 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1702 # expand $ac_aux_dir to an absolute path
1703 am_aux_dir
=`cd $ac_aux_dir && pwd`
1705 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1706 # Use eval to expand $SHELL
1707 if eval "$MISSING --run true"; then
1708 am_missing_run
="$MISSING --run "
1711 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1712 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1715 for ac_prog
in gawk mawk nawk
awk
1717 # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy
$ac_prog; ac_word
=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_AWK+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$AWK"; then
1725 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir
=.
1732 for ac_exec_ext
in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_AWK
="$ac_prog"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 if test -n "$AWK"; then
1745 echo "$as_me:$LINENO: result: $AWK" >&5
1746 echo "${ECHO_T}$AWK" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1752 test -n "$AWK" && break
1755 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1757 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,./+-,__p_,'`
1758 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 cat >conftest.
make <<\_ACEOF
1763 @
echo 'ac_maketemp="$(MAKE)"'
1765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1766 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1767 if test -n "$ac_maketemp"; then
1768 eval ac_cv_prog_make_
${ac_make}_set
=yes
1770 eval ac_cv_prog_make_
${ac_make}_set
=no
1774 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1775 echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781 SET_MAKE
="MAKE=${MAKE-make}"
1784 rm -rf .tst
2>/dev
/null
1785 mkdir .tst
2>/dev
/null
1786 if test -d .tst
; then
1791 rmdir .tst
2>/dev
/null
1793 # test to see if srcdir already configured
1794 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1795 test -f $srcdir/config.status
; then
1796 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1797 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1798 { (exit 1); exit 1; }; }
1801 # test whether we have cygpath
1802 if test -z "$CYGPATH_W"; then
1803 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1804 CYGPATH_W
='cygpath -w'
1811 # Define the identity of the package.
1813 VERSION
='version-unused'
1816 # Some tools Automake needs.
1818 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1821 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1824 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1827 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1830 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1833 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1835 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1837 # Installed binaries are usually stripped using `strip' when the user
1838 # run `make install-strip'. However `strip' might not be the right
1839 # tool to use in cross-compilation environments, therefore Automake
1840 # will honor the `STRIP' environment variable to overrule this program.
1841 if test "$cross_compiling" != no
; then
1842 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1844 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_STRIP+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$STRIP"; then
1851 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir
=.
1858 for ac_exec_ext
in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 STRIP
=$ac_cv_prog_STRIP
1870 if test -n "$STRIP"; then
1871 echo "$as_me:$LINENO: result: $STRIP" >&5
1872 echo "${ECHO_T}$STRIP" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1879 if test -z "$ac_cv_prog_STRIP"; then
1881 # Extract the first word of "strip", so it can be a program name with args.
1882 set dummy strip
; ac_word
=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$ac_ct_STRIP"; then
1889 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 for ac_exec_ext
in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_STRIP
="strip"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1908 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1909 if test -n "$ac_ct_STRIP"; then
1910 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1911 echo "${ECHO_T}$ac_ct_STRIP" >&6
1913 echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1919 STRIP
="$ac_cv_prog_STRIP"
1923 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1925 # We need awk for the "check" target. The system "awk" is bad on
1931 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1932 # up critical shell variables.
1935 # These need to be absolute paths, yet at the same time need to
1936 # canonicalize only relative paths, because then amd will not unmount
1937 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1938 glibcxx_builddir
=`${PWDCMD-pwd}`
1940 \\/$
* | ?
:\\/*) glibcxx_srcdir
=${srcdir} ;;
1941 *) glibcxx_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1943 toplevel_srcdir
=${glibcxx_srcdir}/..
1948 # We use these options to decide which functions to include. They are
1949 # set from the top level.
1951 # Check whether --with-target-subdir or --without-target-subdir was given.
1952 if test "${with_target_subdir+set}" = set; then
1953 withval
="$with_target_subdir"
1958 # Check whether --with-cross-host or --without-cross-host was given.
1959 if test "${with_cross_host+set}" = set; then
1960 withval
="$with_cross_host"
1965 # Check whether --with-newlib or --without-newlib was given.
1966 if test "${with_newlib+set}" = set; then
1967 withval
="$with_newlib"
1971 # We're almost certainly being configured before anything else which uses
1972 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1973 # we not cache the value of CXX that we "discover" here, because it's set
1974 # to something unique for us and libjava. Other target libraries need to
1975 # find CXX for themselves. We yank the rug out from under the normal AC_*
1976 # process by sneakily renaming the cache variable. This also lets us debug
1977 # the value of "our" CXX in postmortems.
1979 # We must also force CXX to /not/ be a precious variable, otherwise the
1980 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1981 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1982 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1983 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1985 # -fno-builtin must be present here so that a non-conflicting form of
1986 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1991 save_CXXFLAGS
="$CXXFLAGS"
1992 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1994 ac_cpp
='$CPP $CPPFLAGS'
1995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1998 if test -n "$ac_tool_prefix"; then
1999 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2000 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_CC+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 if test -n "$CC"; then
2007 ac_cv_prog_CC
="$CC" # Let the user override the test.
2009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir
=.
2014 for ac_exec_ext
in '' $ac_executable_extensions; do
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 if test -n "$CC"; then
2027 echo "$as_me:$LINENO: result: $CC" >&5
2028 echo "${ECHO_T}$CC" >&6
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2035 if test -z "$ac_cv_prog_CC"; then
2037 # Extract the first word of "gcc", so it can be a program name with args.
2038 set dummy gcc
; ac_word
=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 if test -n "$ac_ct_CC"; then
2045 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 for ac_exec_ext
in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_ac_ct_CC
="gcc"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2064 if test -n "$ac_ct_CC"; then
2065 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2066 echo "${ECHO_T}$ac_ct_CC" >&6
2068 echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6
2077 if test -z "$CC"; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2080 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_CC+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 if test -n "$CC"; then
2087 ac_cv_prog_CC
="$CC" # Let the user override the test.
2089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir
=.
2094 for ac_exec_ext
in '' $ac_executable_extensions; do
2095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$CC"; then
2107 echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6
2110 echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2115 if test -z "$ac_cv_prog_CC"; then
2117 # Extract the first word of "cc", so it can be a program name with args.
2118 set dummy cc
; ac_word
=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$ac_ct_CC"; then
2125 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_ac_ct_CC
="cc"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2144 if test -n "$ac_ct_CC"; then
2145 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2146 echo "${ECHO_T}$ac_ct_CC" >&6
2148 echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2158 if test -z "$CC"; then
2159 # Extract the first word of "cc", so it can be a program name with args.
2160 set dummy cc
; ac_word
=$2
2161 echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC
="$CC" # Let the user override the test.
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 for ac_exec_ext
in '' $ac_executable_extensions; do
2176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2178 ac_prog_rejected
=yes
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 if test $ac_prog_rejected = yes; then
2189 # We found a bogon in the path, so make sure we never use it.
2190 set dummy
$ac_cv_prog_CC
2192 if test $# != 0; then
2193 # We chose a different compiler from the bogus one.
2194 # However, it has the same basename, so the bogon will be chosen
2195 # first if we set CC to just the basename; use the full file name.
2197 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2203 if test -n "$CC"; then
2204 echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2207 echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2212 if test -z "$CC"; then
2213 if test -n "$ac_tool_prefix"; then
2216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2218 echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if test -n "$CC"; then
2224 ac_cv_prog_CC
="$CC" # Let the user override the test.
2226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir
=.
2231 for ac_exec_ext
in '' $ac_executable_extensions; do
2232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 if test -n "$CC"; then
2244 echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6
2247 echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2251 test -n "$CC" && break
2254 if test -z "$CC"; then
2258 # Extract the first word of "$ac_prog", so it can be a program name with args.
2259 set dummy
$ac_prog; ac_word
=$2
2260 echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 if test -n "$ac_ct_CC"; then
2266 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir
=.
2273 for ac_exec_ext
in '' $ac_executable_extensions; do
2274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275 ac_cv_prog_ac_ct_CC
="$ac_prog"
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2285 if test -n "$ac_ct_CC"; then
2286 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2287 echo "${ECHO_T}$ac_ct_CC" >&6
2289 echo "$as_me:$LINENO: result: no" >&5
2290 echo "${ECHO_T}no" >&6
2293 test -n "$ac_ct_CC" && break
2302 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2303 See \`config.log' for more details." >&5
2304 echo "$as_me: error: no acceptable C compiler found in \$PATH
2305 See \`config.log' for more details." >&2;}
2306 { (exit 1); exit 1; }; }
2308 # Provide some information about the compiler.
2309 echo "$as_me:$LINENO:" \
2310 "checking for C compiler version" >&5
2311 ac_compiler
=`set X $ac_compile; echo $2`
2312 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2313 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }
2317 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2318 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2323 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2328 cat >conftest.
$ac_ext <<_ACEOF
2329 #line $LINENO "configure"
2332 cat confdefs.h
>>conftest.
$ac_ext
2333 cat >>conftest.
$ac_ext <<_ACEOF
2334 /* end confdefs.h. */
2344 ac_clean_files_save
=$ac_clean_files
2345 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2346 # Try to create an executable without -o first, disregard a.out.
2347 # It will help us diagnose broken compilers, and finding out an intuition
2349 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2350 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2351 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2353 (eval $ac_link_default) 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; then
2357 # Find the output, starting from the most likely. This scheme is
2358 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2361 # Be careful to initialize this variable, since it used to be cached.
2362 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2364 # b.out is created by i960 compilers.
2365 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2367 test -f "$ac_file" ||
continue
2369 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2372 # This is the source file.
2375 # We found the default executable, but exeext='' is most
2379 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2380 # FIXME: I believe we export ac_cv_exeext for Libtool,
2381 # but it would be cool to find out if it's true. Does anybody
2382 # maintain Libtool? --akim.
2390 echo "$as_me: failed program was:" >&5
2391 sed 's/^/| /' conftest.
$ac_ext >&5
2393 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2394 See \`config.log' for more details." >&5
2395 echo "$as_me: error: C compiler cannot create executables
2396 See \`config.log' for more details." >&2;}
2397 { (exit 77); exit 77; }; }
2400 ac_exeext
=$ac_cv_exeext
2401 echo "$as_me:$LINENO: result: $ac_file" >&5
2402 echo "${ECHO_T}$ac_file" >&6
2404 # Check the compiler produces executables we can run. If not, either
2405 # the compiler is broken, or we cross compile.
2406 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2407 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2408 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2409 # If not cross compiling, check that we can run a simple program.
2410 if test "$cross_compiling" != yes; then
2411 if { ac_try
='./$ac_file'
2412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); }; }; then
2419 if test "$cross_compiling" = maybe
; then
2422 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2423 If you meant to cross compile, use \`--host'.
2424 See \`config.log' for more details." >&5
2425 echo "$as_me: error: cannot run C compiled programs.
2426 If you meant to cross compile, use \`--host'.
2427 See \`config.log' for more details." >&2;}
2428 { (exit 1); exit 1; }; }
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2435 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2436 ac_clean_files
=$ac_clean_files_save
2437 # Check the compiler produces executables we can run. If not, either
2438 # the compiler is broken, or we cross compile.
2439 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2440 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2441 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2442 echo "${ECHO_T}$cross_compiling" >&6
2444 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2445 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2447 (eval $ac_link) 2>&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; then
2451 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2452 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2453 # work properly (i.e., refer to `conftest.exe'), while it won't with
2455 for ac_file
in conftest.exe conftest conftest.
*; do
2456 test -f "$ac_file" ||
continue
2458 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2459 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2466 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2467 See \`config.log' for more details." >&5
2468 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }
2473 rm -f conftest
$ac_cv_exeext
2474 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2475 echo "${ECHO_T}$ac_cv_exeext" >&6
2477 rm -f conftest.
$ac_ext
2478 EXEEXT
=$ac_cv_exeext
2480 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2481 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2482 if test "${ac_cv_objext+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 cat >conftest.
$ac_ext <<_ACEOF
2486 #line $LINENO "configure"
2489 cat confdefs.h
>>conftest.
$ac_ext
2490 cat >>conftest.
$ac_ext <<_ACEOF
2491 /* end confdefs.h. */
2501 rm -f conftest.o conftest.obj
2502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2503 (eval $ac_compile) 2>&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; then
2507 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2509 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2510 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2518 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2525 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2527 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2528 echo "${ECHO_T}$ac_cv_objext" >&6
2529 OBJEXT
=$ac_cv_objext
2531 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2532 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2533 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 cat >conftest.
$ac_ext <<_ACEOF
2537 #line $LINENO "configure"
2540 cat confdefs.h
>>conftest.
$ac_ext
2541 cat >>conftest.
$ac_ext <<_ACEOF
2542 /* end confdefs.h. */
2555 rm -f conftest.
$ac_objext
2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557 (eval $ac_compile) 2>&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); } &&
2561 { ac_try
='test -s conftest.$ac_objext'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; }; then
2569 echo "$as_me: failed program was:" >&5
2570 sed 's/^/| /' conftest.
$ac_ext >&5
2574 rm -f conftest.
$ac_objext conftest.
$ac_ext
2575 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2578 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2579 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2580 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2581 ac_test_CFLAGS
=${CFLAGS+set}
2582 ac_save_CFLAGS
=$CFLAGS
2584 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2585 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2586 if test "${ac_cv_prog_cc_g+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 cat >conftest.
$ac_ext <<_ACEOF
2590 #line $LINENO "configure"
2593 cat confdefs.h
>>conftest.
$ac_ext
2594 cat >>conftest.
$ac_ext <<_ACEOF
2595 /* end confdefs.h. */
2605 rm -f conftest.
$ac_objext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2607 (eval $ac_compile) 2>&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try
='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2619 echo "$as_me: failed program was:" >&5
2620 sed 's/^/| /' conftest.
$ac_ext >&5
2624 rm -f conftest.
$ac_objext conftest.
$ac_ext
2626 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2627 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2628 if test "$ac_test_CFLAGS" = set; then
2629 CFLAGS
=$ac_save_CFLAGS
2630 elif test $ac_cv_prog_cc_g = yes; then
2631 if test "$GCC" = yes; then
2637 if test "$GCC" = yes; then
2643 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2644 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2645 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2646 echo $ECHO_N "(cached) $ECHO_C" >&6
2648 ac_cv_prog_cc_stdc
=no
2650 cat >conftest.
$ac_ext <<_ACEOF
2651 #line $LINENO "configure"
2654 cat confdefs.h
>>conftest.
$ac_ext
2655 cat >>conftest.
$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2659 #include <sys/types.h>
2660 #include <sys/stat.h>
2661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2662 struct buf { int x; };
2663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2664 static char *e (p, i)
2670 static char *f (char * (*g) (char **, int), char **p, ...)
2675 s = g (p, va_arg (v,int));
2679 int test (int i, double x);
2680 struct s1 {int (*f) (int a);};
2681 struct s2 {int (*f) (double a);};
2682 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2688 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2693 # Don't try gcc -ansi; that turns off useful extensions and
2694 # breaks some systems' header files.
2695 # AIX -qlanglvl=ansi
2696 # Ultrix and OSF/1 -std1
2697 # HP-UX 10.20 and later -Ae
2698 # HP-UX older versions -Aa -D_HPUX_SOURCE
2699 # SVR4 -Xc -D__EXTENSIONS__
2700 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2702 CC
="$ac_save_CC $ac_arg"
2703 rm -f conftest.
$ac_objext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705 (eval $ac_compile) 2>&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } &&
2709 { ac_try
='test -s conftest.$ac_objext'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; }; then
2715 ac_cv_prog_cc_stdc
=$ac_arg
2718 echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.
$ac_ext >&5
2722 rm -f conftest.
$ac_objext
2724 rm -f conftest.
$ac_ext conftest.
$ac_objext
2729 case "x$ac_cv_prog_cc_stdc" in
2731 echo "$as_me:$LINENO: result: none needed" >&5
2732 echo "${ECHO_T}none needed" >&6 ;;
2734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2735 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2736 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2739 # Some people use a C++ compiler to compile C. Since we use `exit',
2740 # in C++ we need to declare it. In case someone uses the same compiler
2741 # for both compiling C and C++ we need to have the C++ compiler decide
2742 # the declaration of exit, since it's the most demanding environment.
2743 cat >conftest.
$ac_ext <<_ACEOF
2748 rm -f conftest.
$ac_objext
2749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2750 (eval $ac_compile) 2>&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2760 for ac_declaration
in \
2762 'extern "C" void std::exit (int) throw (); using std::exit;' \
2763 'extern "C" void std::exit (int); using std::exit;' \
2764 'extern "C" void exit (int) throw ();' \
2765 'extern "C" void exit (int);' \
2768 cat >conftest.
$ac_ext <<_ACEOF
2769 #line $LINENO "configure"
2772 cat confdefs.h
>>conftest.
$ac_ext
2773 cat >>conftest.
$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2787 (eval $ac_compile) 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } &&
2791 { ac_try
='test -s conftest.$ac_objext'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; }; then
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2804 rm -f conftest.
$ac_objext conftest.
$ac_ext
2805 cat >conftest.
$ac_ext <<_ACEOF
2806 #line $LINENO "configure"
2809 cat confdefs.h
>>conftest.
$ac_ext
2810 cat >>conftest.
$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.
$ac_objext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 (eval $ac_compile) 2>&5
2825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try
='test -s conftest.$ac_objext'
2828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); }; }; then
2835 echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.
$ac_ext >&5
2839 rm -f conftest.
$ac_objext conftest.
$ac_ext
2842 if test -n "$ac_declaration"; then
2843 echo '#ifdef __cplusplus' >>confdefs.h
2844 echo $ac_declaration >>confdefs.h
2845 echo '#endif' >>confdefs.h
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.
$ac_ext >&5
2853 rm -f conftest.
$ac_objext conftest.
$ac_ext
2855 ac_cpp
='$CPP $CPPFLAGS'
2856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2861 ac_cpp
='$CXXCPP $CPPFLAGS'
2862 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2863 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2864 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2865 if test -n "$ac_tool_prefix"; then
2866 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2869 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2870 echo "$as_me:$LINENO: checking for $ac_word" >&5
2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2872 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 if test -n "$CXX"; then
2876 glibcxx_cv_prog_CXX
="$CXX" # Let the user override the test.
2878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2882 test -z "$as_dir" && as_dir
=.
2883 for ac_exec_ext
in '' $ac_executable_extensions; do
2884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2885 glibcxx_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 CXX
=$glibcxx_cv_prog_CXX
2895 if test -n "$CXX"; then
2896 echo "$as_me:$LINENO: result: $CXX" >&5
2897 echo "${ECHO_T}$CXX" >&6
2899 echo "$as_me:$LINENO: result: no" >&5
2900 echo "${ECHO_T}no" >&6
2903 test -n "$CXX" && break
2906 if test -z "$CXX"; then
2908 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2910 # Extract the first word of "$ac_prog", so it can be a program name with args.
2911 set dummy
$ac_prog; ac_word
=$2
2912 echo "$as_me:$LINENO: checking for $ac_word" >&5
2913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2914 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$ac_ct_CXX"; then
2918 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir
=.
2925 for ac_exec_ext
in '' $ac_executable_extensions; do
2926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2927 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2937 if test -n "$ac_ct_CXX"; then
2938 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2939 echo "${ECHO_T}$ac_ct_CXX" >&6
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2945 test -n "$ac_ct_CXX" && break
2947 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2953 # Provide some information about the compiler.
2954 echo "$as_me:$LINENO:" \
2955 "checking for C++ compiler version" >&5
2956 ac_compiler
=`set X $ac_compile; echo $2`
2957 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2958 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); }
2962 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2963 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }
2967 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2968 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }
2973 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2974 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2975 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 cat >conftest.
$ac_ext <<_ACEOF
2979 #line $LINENO "configure"
2982 cat confdefs.h
>>conftest.
$ac_ext
2983 cat >>conftest.
$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2997 rm -f conftest.
$ac_objext
2998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999 (eval $ac_compile) 2>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); } &&
3003 { ac_try
='test -s conftest.$ac_objext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.
$ac_ext >&5
3016 rm -f conftest.
$ac_objext conftest.
$ac_ext
3017 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3020 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3021 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3022 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3023 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3024 ac_save_CXXFLAGS
=$CXXFLAGS
3026 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3027 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3028 if test "${ac_cv_prog_cxx_g+set}" = set; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 cat >conftest.
$ac_ext <<_ACEOF
3032 #line $LINENO "configure"
3035 cat confdefs.h
>>conftest.
$ac_ext
3036 cat >>conftest.
$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3047 rm -f conftest.
$ac_objext
3048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3049 (eval $ac_compile) 2>&5
3051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052 (exit $ac_status); } &&
3053 { ac_try
='test -s conftest.$ac_objext'
3054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); }; }; then
3059 ac_cv_prog_cxx_g
=yes
3061 echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.
$ac_ext >&5
3066 rm -f conftest.
$ac_objext conftest.
$ac_ext
3068 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3069 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3070 if test "$ac_test_CXXFLAGS" = set; then
3071 CXXFLAGS
=$ac_save_CXXFLAGS
3072 elif test $ac_cv_prog_cxx_g = yes; then
3073 if test "$GXX" = yes; then
3079 if test "$GXX" = yes; then
3085 for ac_declaration
in \
3087 'extern "C" void std::exit (int) throw (); using std::exit;' \
3088 'extern "C" void std::exit (int); using std::exit;' \
3089 'extern "C" void exit (int) throw ();' \
3090 'extern "C" void exit (int);' \
3093 cat >conftest.
$ac_ext <<_ACEOF
3094 #line $LINENO "configure"
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3110 rm -f conftest.
$ac_objext
3111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3112 (eval $ac_compile) 2>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); } &&
3116 { ac_try
='test -s conftest.$ac_objext'
3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }; }; then
3124 echo "$as_me: failed program was:" >&5
3125 sed 's/^/| /' conftest.
$ac_ext >&5
3129 rm -f conftest.
$ac_objext conftest.
$ac_ext
3130 cat >conftest.
$ac_ext <<_ACEOF
3131 #line $LINENO "configure"
3134 cat confdefs.h
>>conftest.
$ac_ext
3135 cat >>conftest.
$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3146 rm -f conftest.
$ac_objext
3147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3148 (eval $ac_compile) 2>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try
='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.
$ac_ext >&5
3164 rm -f conftest.
$ac_objext conftest.
$ac_ext
3167 if test -n "$ac_declaration"; then
3168 echo '#ifdef __cplusplus' >>confdefs.h
3169 echo $ac_declaration >>confdefs.h
3170 echo '#endif' >>confdefs.h
3174 ac_cpp
='$CPP $CPPFLAGS'
3175 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3179 CXXFLAGS
="$save_CXXFLAGS"
3184 # For directory versioning (e.g., headers) and other variables.
3185 echo "$as_me:$LINENO: checking for GCC version number" >&5
3186 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3187 gcc_version
=`$CXX -dumpversion`
3188 echo "$as_me:$LINENO: result: $gcc_version" >&5
3189 echo "${ECHO_T}$gcc_version" >&6
3191 # For some reason, gettext needs this.
3193 echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3194 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3195 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
3196 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 ac_check_lib_save_LIBS
=$LIBS
3199 LIBS
="-lcposix $LIBS"
3200 cat >conftest.
$ac_ext <<_ACEOF
3201 #line $LINENO "configure"
3204 cat confdefs.h
>>conftest.
$ac_ext
3205 cat >>conftest.
$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3208 /* Override any gcc2 internal prototype to avoid an error. */
3212 /* We use char because int might match the return type of a gcc2
3213 builtin and then its argument prototype would still apply. */
3223 rm -f conftest.
$ac_objext conftest
$ac_exeext
3224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3225 (eval $ac_link) 2>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } &&
3229 { ac_try
='test -s conftest$ac_exeext'
3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; }; then
3235 ac_cv_lib_cposix_strerror
=yes
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.
$ac_ext >&5
3240 ac_cv_lib_cposix_strerror
=no
3242 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3243 LIBS
=$ac_check_lib_save_LIBS
3245 echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3246 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3247 if test $ac_cv_lib_cposix_strerror = yes; then
3248 LIBS
="$LIBS -lcposix"
3254 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3255 # available). Uncomment the next line to force a particular method.
3256 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3257 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3259 if test "$LN_S" = "ln -s"; then
3260 echo "$as_me:$LINENO: result: yes" >&5
3261 echo "${ECHO_T}yes" >&6
3263 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3264 echo "${ECHO_T}no, using $LN_S" >&6
3269 if test -n "$ac_tool_prefix"; then
3270 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3271 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3272 echo "$as_me:$LINENO: checking for $ac_word" >&5
3273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3274 if test "${ac_cv_prog_AS+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 if test -n "$AS"; then
3278 ac_cv_prog_AS
="$AS" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_AS
="${ac_tool_prefix}as"
3288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test -n "$AS"; then
3298 echo "$as_me:$LINENO: result: $AS" >&5
3299 echo "${ECHO_T}$AS" >&6
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3306 if test -z "$ac_cv_prog_AS"; then
3308 # Extract the first word of "as", so it can be a program name with args.
3309 set dummy as
; ac_word
=$2
3310 echo "$as_me:$LINENO: checking for $ac_word" >&5
3311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3312 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 if test -n "$ac_ct_AS"; then
3316 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3322 test -z "$as_dir" && as_dir
=.
3323 for ac_exec_ext
in '' $ac_executable_extensions; do
3324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3325 ac_cv_prog_ac_ct_AS
="as"
3326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3334 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3335 if test -n "$ac_ct_AS"; then
3336 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3337 echo "${ECHO_T}$ac_ct_AS" >&6
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3348 if test -n "$ac_tool_prefix"; then
3349 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3350 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3351 echo "$as_me:$LINENO: checking for $ac_word" >&5
3352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3353 if test "${ac_cv_prog_AR+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 if test -n "$AR"; then
3357 ac_cv_prog_AR
="$AR" # Let the user override the test.
3359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3363 test -z "$as_dir" && as_dir
=.
3364 for ac_exec_ext
in '' $ac_executable_extensions; do
3365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3366 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3376 if test -n "$AR"; then
3377 echo "$as_me:$LINENO: result: $AR" >&5
3378 echo "${ECHO_T}$AR" >&6
3380 echo "$as_me:$LINENO: result: no" >&5
3381 echo "${ECHO_T}no" >&6
3385 if test -z "$ac_cv_prog_AR"; then
3387 # Extract the first word of "ar", so it can be a program name with args.
3388 set dummy
ar; ac_word
=$2
3389 echo "$as_me:$LINENO: checking for $ac_word" >&5
3390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3391 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 if test -n "$ac_ct_AR"; then
3395 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3401 test -z "$as_dir" && as_dir
=.
3402 for ac_exec_ext
in '' $ac_executable_extensions; do
3403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3404 ac_cv_prog_ac_ct_AR
="ar"
3405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3414 if test -n "$ac_ct_AR"; then
3415 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3416 echo "${ECHO_T}$ac_ct_AR" >&6
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3427 if test -n "$ac_tool_prefix"; then
3428 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3429 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3430 echo "$as_me:$LINENO: checking for $ac_word" >&5
3431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3432 if test "${ac_cv_prog_RANLIB+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 if test -n "$RANLIB"; then
3436 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3442 test -z "$as_dir" && as_dir
=.
3443 for ac_exec_ext
in '' $ac_executable_extensions; do
3444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3445 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3454 RANLIB
=$ac_cv_prog_RANLIB
3455 if test -n "$RANLIB"; then
3456 echo "$as_me:$LINENO: result: $RANLIB" >&5
3457 echo "${ECHO_T}$RANLIB" >&6
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3464 if test -z "$ac_cv_prog_RANLIB"; then
3465 ac_ct_RANLIB
=$RANLIB
3466 # Extract the first word of "ranlib", so it can be a program name with args.
3467 set dummy ranlib
; ac_word
=$2
3468 echo "$as_me:$LINENO: checking for $ac_word" >&5
3469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3470 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3471 echo $ECHO_N "(cached) $ECHO_C" >&6
3473 if test -n "$ac_ct_RANLIB"; then
3474 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3480 test -z "$as_dir" && as_dir
=.
3481 for ac_exec_ext
in '' $ac_executable_extensions; do
3482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3490 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3493 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3494 if test -n "$ac_ct_RANLIB"; then
3495 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3496 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3498 echo "$as_me:$LINENO: result: no" >&5
3499 echo "${ECHO_T}no" >&6
3502 RANLIB
=$ac_ct_RANLIB
3504 RANLIB
="$ac_cv_prog_RANLIB"
3508 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3509 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3510 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3511 if test "${enable_maintainer_mode+set}" = set; then
3512 enableval
="$enable_maintainer_mode"
3513 USE_MAINTAINER_MODE
=$enableval
3515 USE_MAINTAINER_MODE
=no
3517 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3518 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3521 if test $USE_MAINTAINER_MODE = yes; then
3522 MAINTAINER_MODE_TRUE
=
3523 MAINTAINER_MODE_FALSE
='#'
3525 MAINTAINER_MODE_TRUE
='#'
3526 MAINTAINER_MODE_FALSE
=
3529 MAINT
=$MAINTAINER_MODE_TRUE
3533 # Set up safe default values for all subsequent AM_CONDITIONAL tests.
3536 #enable_libstdcxx_debug=no
3537 #enable_libstdcxx_pch=no
3540 #enable_abi_check=no
3543 # Find platform-specific directories containing configuration info.
3544 # Also possibly modify flags used elsewhere, as needed by the platform.
3546 .
$glibcxx_srcdir/configure.
host
3547 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3548 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3549 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3550 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3554 #AC_MSG_NOTICE([====== Starting libtool configuration])
3556 # Check whether --enable-shared or --disable-shared was given.
3557 if test "${enable_shared+set}" = set; then
3558 enableval
="$enable_shared"
3559 p
=${PACKAGE-default}
3561 yes) enable_shared
=yes ;;
3562 no
) enable_shared
=no
;;
3565 # Look at the argument we got. We use all the common list separators.
3566 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3567 for pkg
in $enableval; do
3568 if test "X$pkg" = "X$p"; then
3578 # Check whether --enable-static or --disable-static was given.
3579 if test "${enable_static+set}" = set; then
3580 enableval
="$enable_static"
3581 p
=${PACKAGE-default}
3583 yes) enable_static
=yes ;;
3584 no
) enable_static
=no
;;
3587 # Look at the argument we got. We use all the common list separators.
3588 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3589 for pkg
in $enableval; do
3590 if test "X$pkg" = "X$p"; then
3600 # Check whether --enable-fast-install or --disable-fast-install was given.
3601 if test "${enable_fast_install+set}" = set; then
3602 enableval
="$enable_fast_install"
3603 p
=${PACKAGE-default}
3605 yes) enable_fast_install
=yes ;;
3606 no
) enable_fast_install
=no
;;
3608 enable_fast_install
=no
3609 # Look at the argument we got. We use all the common list separators.
3610 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
3611 for pkg
in $enableval; do
3612 if test "X$pkg" = "X$p"; then
3613 enable_fast_install
=yes
3620 enable_fast_install
=yes
3623 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3624 if test "${with_gnu_ld+set}" = set; then
3625 withval
="$with_gnu_ld"
3626 test "$withval" = no || with_gnu_ld
=yes
3631 if test "$GCC" = yes; then
3632 # Check if gcc -print-prog-name=ld gives a path.
3633 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3634 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3637 # gcc leaves a trailing carriage return which upsets mingw
3638 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3640 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
3643 # Accept absolute paths.
3644 [\\/]* |
[A-Za-z
]:[\\/]*)
3645 re_direlt
='/[^/][^/]*/\.\./'
3646 # Canonicalize the path of ld
3647 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
3648 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
3649 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
3651 test -z "$LD" && LD
="$ac_prog"
3654 # If it fails, then pretend we aren't using GCC.
3658 # If it is relative, then search for the first ld in PATH.
3662 elif test "$with_gnu_ld" = yes; then
3663 echo "$as_me:$LINENO: checking for GNU ld" >&5
3664 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3666 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3667 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3669 if test "${lt_cv_path_LD+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 if test -z "$LD"; then
3673 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3674 for ac_dir
in $PATH; do
3675 test -z "$ac_dir" && ac_dir
=.
3676 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
3677 lt_cv_path_LD
="$ac_dir/$ac_prog"
3678 # Check to see if the program is GNU ld. I'd rather use --version,
3679 # but apparently some GNU ld's only accept -v.
3680 # Break only if it was the GNU/non-GNU ld that we prefer.
3681 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
3682 test "$with_gnu_ld" != no
&& break
3684 test "$with_gnu_ld" != yes && break
3690 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
3695 if test -n "$LD"; then
3696 echo "$as_me:$LINENO: result: $LD" >&5
3697 echo "${ECHO_T}$LD" >&6
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3702 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3703 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3704 { (exit 1); exit 1; }; }
3705 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3706 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3707 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3711 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3712 lt_cv_prog_gnu_ld
=yes
3714 lt_cv_prog_gnu_ld
=no
3717 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3718 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3719 with_gnu_ld
=$lt_cv_prog_gnu_ld
3722 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3723 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3724 if test "${lt_cv_ld_reload_flag+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 lt_cv_ld_reload_flag
='-r'
3729 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3730 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3731 reload_flag
=$lt_cv_ld_reload_flag
3732 test -n "$reload_flag" && reload_flag
=" $reload_flag"
3734 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3735 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3736 if test "${lt_cv_path_NM+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 if test -n "$NM"; then
3740 # Let the user override the test.
3743 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3744 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
3745 test -z "$ac_dir" && ac_dir
=.
3746 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
3747 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
3748 # Check to see if the nm accepts a BSD-compat flag.
3749 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3750 # nm: unknown option "B" ignored
3751 # Tru64's nm complains that /dev/null is an invalid object file
3752 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
3753 lt_cv_path_NM
="$tmp_nm -B"
3755 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
3756 lt_cv_path_NM
="$tmp_nm -p"
3759 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3760 continue # so that we can try to find one that supports BSD flags
3765 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
3770 echo "$as_me:$LINENO: result: $NM" >&5
3771 echo "${ECHO_T}$NM" >&6
3773 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3774 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3775 if test "${lt_cv_deplibs_check_method+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 lt_cv_file_magic_cmd
='$MAGIC_CMD'
3779 lt_cv_file_magic_test_file
=
3780 lt_cv_deplibs_check_method
='unknown'
3781 # Need to set the preceding variable on all platforms that support
3782 # interlibrary dependencies.
3783 # 'none' -- dependencies not supported.
3784 # `unknown' -- same as none, but documents that we really don't know.
3785 # 'pass_all' -- all dependencies passed with no checks.
3786 # 'test_compile' -- check by making test program.
3787 # 'file_magic [regex]' -- check by looking for files in library path
3788 # which responds to the $file_magic_cmd with a given egrep regex.
3789 # If you have `file' or equivalent on your system and you're not sure
3790 # whether `pass_all' will *always* work, you probably want this one.
3794 lt_cv_deplibs_check_method
=pass_all
3798 lt_cv_deplibs_check_method
=pass_all
3802 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3803 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3804 lt_cv_file_magic_test_file
=/shlib
/libc.so
3807 cygwin
* | mingw
* |pw32
*)
3808 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
3809 lt_cv_file_magic_cmd
='$OBJDUMP -f'
3812 darwin
* | rhapsody
*)
3813 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
3814 lt_cv_file_magic_cmd
='/usr/bin/file -L'
3816 rhapsody
* | darwin1.012
)
3817 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
3820 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
3826 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3829 # Not sure whether the presence of OpenBSD here was a mistake.
3830 # Let's accept both of them until this is cleared up.
3831 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3832 lt_cv_file_magic_cmd
=/usr
/bin
/file
3833 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
3837 lt_cv_deplibs_check_method
=pass_all
3842 lt_cv_deplibs_check_method
=pass_all
3848 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3849 lt_cv_file_magic_cmd
=/usr
/bin
/file
3850 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
3853 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3854 lt_cv_file_magic_cmd
=/usr
/bin
/file
3855 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
3863 # this will be overridden with pass_all, but let us keep it just in case
3864 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3868 *-32|
*"-32 ") libmagic
=32-bit;;
3869 *-n32|
*"-n32 ") libmagic
=N32
;;
3870 *-64|
*"-64 ") libmagic
=64-bit;;
3871 *) libmagic
=never-match
;;
3873 # this will be overridden with pass_all, but let us keep it just in case
3874 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3877 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
3878 lt_cv_deplibs_check_method
=pass_all
3881 # This must be Linux ELF.
3884 alpha
* | mips
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
3885 lt_cv_deplibs_check_method
=pass_all
;;
3887 # glibc up to 2.1.1 does not perform some relocations on ARM
3888 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3890 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
3894 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
3895 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3897 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
3902 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3903 lt_cv_file_magic_cmd
=/usr
/bin
/file
3904 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
3907 osf3
* | osf4
* | osf5
*)
3908 # this will be overridden with pass_all, but let us keep it just in case
3909 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
3910 lt_cv_file_magic_test_file
=/shlib
/libc.so
3911 lt_cv_deplibs_check_method
=pass_all
3915 lt_cv_deplibs_check_method
=pass_all
3919 lt_cv_deplibs_check_method
=pass_all
3920 lt_cv_file_magic_test_file
=/lib
/libc.so
3923 sysv5uw
[78]* | sysv4
*uw2
*)
3924 lt_cv_deplibs_check_method
=pass_all
3927 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
3928 case $host_vendor in
3930 lt_cv_deplibs_check_method
=pass_all
3933 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]'
3934 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
3941 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3942 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3943 file_magic_cmd
=$lt_cv_file_magic_cmd
3944 deplibs_check_method
=$lt_cv_deplibs_check_method
3949 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3951 # Only perform the check for file, if the check method requires it
3952 case $deplibs_check_method in
3954 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3955 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3956 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3957 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3962 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
3965 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
3968 ac_save_MAGIC_CMD
="$MAGIC_CMD"
3969 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3970 ac_dummy
="/usr/bin:$PATH"
3971 for ac_dir
in $ac_dummy; do
3972 test -z "$ac_dir" && ac_dir
=.
3973 if test -f $ac_dir/${ac_tool_prefix}file; then
3974 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
3975 if test -n "$file_magic_test_file"; then
3976 case $deplibs_check_method in
3978 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3979 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
3980 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
3981 egrep "$file_magic_regex" > /dev
/null
; then
3986 *** Warning: the command libtool uses to detect shared libraries,
3987 *** $file_magic_cmd, produces output that libtool cannot recognize.
3988 *** The result is that libtool may fail to recognize shared libraries
3989 *** as such. This will affect the creation of libtool libraries that
3990 *** depend on shared libraries, but programs linked with such libtool
3991 *** libraries will work regardless of this problem. Nevertheless, you
3992 *** may want to report the problem to your system manager and/or to
3993 *** bug-libtool@gnu.org
4003 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4008 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4009 if test -n "$MAGIC_CMD"; then
4010 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4011 echo "${ECHO_T}$MAGIC_CMD" >&6
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4017 if test -z "$lt_cv_path_MAGIC_CMD"; then
4018 if test -n "$ac_tool_prefix"; then
4019 echo "$as_me:$LINENO: checking for file" >&5
4020 echo $ECHO_N "checking for file... $ECHO_C" >&6
4021 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
4029 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
4032 ac_save_MAGIC_CMD
="$MAGIC_CMD"
4033 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
4034 ac_dummy
="/usr/bin:$PATH"
4035 for ac_dir
in $ac_dummy; do
4036 test -z "$ac_dir" && ac_dir
=.
4037 if test -f $ac_dir/file; then
4038 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
4039 if test -n "$file_magic_test_file"; then
4040 case $deplibs_check_method in
4042 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4043 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4044 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
4045 egrep "$file_magic_regex" > /dev
/null
; then
4050 *** Warning: the command libtool uses to detect shared libraries,
4051 *** $file_magic_cmd, produces output that libtool cannot recognize.
4052 *** The result is that libtool may fail to recognize shared libraries
4053 *** as such. This will affect the creation of libtool libraries that
4054 *** depend on shared libraries, but programs linked with such libtool
4055 *** libraries will work regardless of this problem. Nevertheless, you
4056 *** may want to report the problem to your system manager and/or to
4057 *** bug-libtool@gnu.org
4067 MAGIC_CMD
="$ac_save_MAGIC_CMD"
4072 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
4073 if test -n "$MAGIC_CMD"; then
4074 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4075 echo "${ECHO_T}$MAGIC_CMD" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4090 if test -n "$ac_tool_prefix"; then
4091 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4092 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4093 echo "$as_me:$LINENO: checking for $ac_word" >&5
4094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4095 if test "${ac_cv_prog_RANLIB+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -n "$RANLIB"; then
4099 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4105 test -z "$as_dir" && as_dir
=.
4106 for ac_exec_ext
in '' $ac_executable_extensions; do
4107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4108 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 RANLIB
=$ac_cv_prog_RANLIB
4118 if test -n "$RANLIB"; then
4119 echo "$as_me:$LINENO: result: $RANLIB" >&5
4120 echo "${ECHO_T}$RANLIB" >&6
4122 echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6
4127 if test -z "$ac_cv_prog_RANLIB"; then
4128 ac_ct_RANLIB
=$RANLIB
4129 # Extract the first word of "ranlib", so it can be a program name with args.
4130 set dummy ranlib
; ac_word
=$2
4131 echo "$as_me:$LINENO: checking for $ac_word" >&5
4132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4133 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 if test -n "$ac_ct_RANLIB"; then
4137 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4156 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4157 if test -n "$ac_ct_RANLIB"; then
4158 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4159 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4161 echo "$as_me:$LINENO: result: no" >&5
4162 echo "${ECHO_T}no" >&6
4165 RANLIB
=$ac_ct_RANLIB
4167 RANLIB
="$ac_cv_prog_RANLIB"
4170 if test -n "$ac_tool_prefix"; then
4171 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4172 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4173 echo "$as_me:$LINENO: checking for $ac_word" >&5
4174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4175 if test "${ac_cv_prog_STRIP+set}" = set; then
4176 echo $ECHO_N "(cached) $ECHO_C" >&6
4178 if test -n "$STRIP"; then
4179 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4185 test -z "$as_dir" && as_dir
=.
4186 for ac_exec_ext
in '' $ac_executable_extensions; do
4187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4188 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 STRIP
=$ac_cv_prog_STRIP
4198 if test -n "$STRIP"; then
4199 echo "$as_me:$LINENO: result: $STRIP" >&5
4200 echo "${ECHO_T}$STRIP" >&6
4202 echo "$as_me:$LINENO: result: no" >&5
4203 echo "${ECHO_T}no" >&6
4207 if test -z "$ac_cv_prog_STRIP"; then
4209 # Extract the first word of "strip", so it can be a program name with args.
4210 set dummy strip
; ac_word
=$2
4211 echo "$as_me:$LINENO: checking for $ac_word" >&5
4212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4213 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 if test -n "$ac_ct_STRIP"; then
4217 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_exec_ext
in '' $ac_executable_extensions; do
4225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4226 ac_cv_prog_ac_ct_STRIP
="strip"
4227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
4236 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4237 if test -n "$ac_ct_STRIP"; then
4238 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4239 echo "${ECHO_T}$ac_ct_STRIP" >&6
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4247 STRIP
="$ac_cv_prog_STRIP"
4251 # Check for any special flags to pass to ltconfig.
4252 libtool_flags
="--cache-file=$cache_file"
4253 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
4254 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
4255 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
4256 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
4257 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
4260 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4261 if test "${enable_libtool_lock+set}" = set; then
4262 enableval
="$enable_libtool_lock"
4265 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
4266 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
4269 # Check whether --with-pic or --without-pic was given.
4270 if test "${with_pic+set}" = set; then
4276 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
4277 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
4279 # Some flags need to be propagated to the compiler or linker for good
4283 # Find out which ABI we are using.
4284 echo '#line 4284 "configure"' > conftest.
$ac_ext
4285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4286 (eval $ac_compile) 2>&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); }; then
4290 if test "$lt_cv_prog_gnu_ld" = yes; then
4291 case `/usr/bin/file conftest.$ac_objext` in
4293 LD
="${LD-ld} -melf32bsmip"
4296 LD
="${LD-ld} -melf32bmipn32"
4299 LD
="${LD-ld} -melf64bmip"
4303 case `/usr/bin/file conftest.$ac_objext` in
4320 # Find out which ABI we are using.
4321 echo 'int i;' > conftest.
$ac_ext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323 (eval $ac_compile) 2>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; then
4327 case "`/usr/bin/file conftest.o`" in
4339 x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*|s390
*-*linux
*|sparc
*-*linux
*)
4340 # Find out which ABI we are using.
4341 echo 'int i;' > conftest.
$ac_ext
4342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4343 (eval $ac_compile) 2>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; then
4347 case "`/usr/bin/file conftest.o`" in
4351 LD
="${LD-ld} -m elf_i386"
4354 LD
="${LD-ld} -m elf32ppclinux"
4357 LD
="${LD-ld} -m elf_s390"
4360 LD
="${LD-ld} -m elf32_sparc"
4367 LD
="${LD-ld} -m elf_x86_64"
4369 ppc
*-*linux
*|powerpc
*-*linux
*)
4370 LD
="${LD-ld} -m elf64ppc"
4373 LD
="${LD-ld} -m elf64_s390"
4376 LD
="${LD-ld} -m elf64_sparc"
4386 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4387 SAVE_CFLAGS
="$CFLAGS"
4388 CFLAGS
="$CFLAGS -belf"
4389 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4390 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4391 if test "${lt_cv_cc_needs_belf+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 ac_cpp
='$CPP $CPPFLAGS'
4398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4402 cat >conftest.
$ac_ext <<_ACEOF
4403 #line $LINENO "configure"
4406 cat confdefs.h
>>conftest.
$ac_ext
4407 cat >>conftest.
$ac_ext <<_ACEOF
4408 /* end confdefs.h. */
4418 rm -f conftest.
$ac_objext conftest
$ac_exeext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4420 (eval $ac_link) 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } &&
4424 { ac_try
='test -s conftest$ac_exeext'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; }; then
4430 lt_cv_cc_needs_belf
=yes
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4435 lt_cv_cc_needs_belf
=no
4437 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4439 ac_cpp
='$CPP $CPPFLAGS'
4440 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4441 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4442 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4445 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4446 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4447 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
4448 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4449 CFLAGS
="$SAVE_CFLAGS"
4457 # Save cache, so that ltconfig can load it
4458 cat >confcache
<<\_ACEOF
4459 # This file is a shell script that caches the results of configure
4460 # tests run on this system so they can be shared between configure
4461 # scripts and configure runs, see configure's option --config-cache.
4462 # It is not useful on other systems. If it contains results you don't
4463 # want to keep, you may remove or edit it.
4465 # config.status only pays attention to the cache file if you give it
4466 # the --recheck option to rerun configure.
4468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4474 # The following way of writing the cache mishandles newlines in values,
4475 # but we know of no workaround that is simple, portable, and efficient.
4476 # So, don't put newlines in cache variables' values.
4477 # Ultrix sh set writes to stderr and can't be redirected directly,
4478 # and sets the high bit in the cache file unless we assign to the vars.
4481 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4483 # `set' does not quote correctly, so add quotes (double-quote
4484 # substitution turns \\\\ into \\, and sed turns \\ into \).
4487 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4490 # `set' quotes correctly as required by POSIX, so do not add quotes.
4492 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4499 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4501 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4503 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4504 if test -w $cache_file; then
4505 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4506 cat confcache
>$cache_file
4508 echo "not updating unwritable cache $cache_file"
4513 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4514 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
4515 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4516 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4517 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4518 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4519 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
4520 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
4521 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
4522 ||
{ { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4523 echo "$as_me: error: libtool configure failed" >&2;}
4524 { (exit 1); exit 1; }; }
4526 # Reload cache, that may have been modified by ltconfig
4527 if test -r "$cache_file"; then
4528 # Some versions of bash will fail to source /dev/null (special
4529 # files actually), so we avoid doing that.
4530 if test -f "$cache_file"; then
4531 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4532 echo "$as_me: loading cache $cache_file" >&6;}
4534 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
4535 *) . .
/$cache_file;;
4539 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4540 echo "$as_me: creating cache $cache_file" >&6;}
4545 # This can be used to rebuild libtool when needed
4546 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4548 # Always use our own libtool.
4549 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
4551 # Redirect the config.log output again, so that the ltconfig log is not
4552 # clobbered by the next message.
4553 exec 5>>.
/config.log
4556 ac_cpp
='$CXXCPP $CPPFLAGS'
4557 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4560 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4561 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4562 if test -z "$CXXCPP"; then
4563 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4564 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 # Double quotes because CXXCPP needs to be expanded
4567 for CXXCPP
in "$CXX -E" "/lib/cpp"
4570 for ac_cxx_preproc_warn_flag
in '' yes
4572 # Use a header file that comes with gcc, so configuring glibc
4573 # with a fresh cross-compiler works.
4574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4575 # <limits.h> exists even on freestanding compilers.
4576 # On the NeXT, cc -E runs the code through the compiler's parser,
4577 # not just through cpp. "Syntax error" is here to catch this case.
4578 cat >conftest.
$ac_ext <<_ACEOF
4579 #line $LINENO "configure"
4582 cat confdefs.h
>>conftest.
$ac_ext
4583 cat >>conftest.
$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4586 # include <limits.h>
4588 # include <assert.h>
4592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4593 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1
>conftest.err
4597 cat conftest.err
>&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } >/dev
/null
; then
4600 if test -s conftest.err
; then
4601 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4608 if test -z "$ac_cpp_err"; then
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 # Broken: fails on valid input.
4617 rm -f conftest.err conftest.
$ac_ext
4619 # OK, works on sane cases. Now check whether non-existent headers
4620 # can be detected and how.
4621 cat >conftest.
$ac_ext <<_ACEOF
4622 #line $LINENO "configure"
4625 cat confdefs.h
>>conftest.
$ac_ext
4626 cat >>conftest.
$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 #include <ac_nonexistent.h>
4630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4633 grep -v '^ *+' conftest.er1
>conftest.err
4635 cat conftest.err
>&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } >/dev
/null
; then
4638 if test -s conftest.err
; then
4639 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4646 if test -z "$ac_cpp_err"; then
4647 # Broken: success on invalid input.
4650 echo "$as_me: failed program was:" >&5
4651 sed 's/^/| /' conftest.
$ac_ext >&5
4653 # Passes both tests.
4657 rm -f conftest.err conftest.
$ac_ext
4660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4661 rm -f conftest.err conftest.
$ac_ext
4662 if $ac_preproc_ok; then
4667 ac_cv_prog_CXXCPP
=$CXXCPP
4670 CXXCPP
=$ac_cv_prog_CXXCPP
4672 ac_cv_prog_CXXCPP
=$CXXCPP
4674 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4675 echo "${ECHO_T}$CXXCPP" >&6
4677 for ac_cxx_preproc_warn_flag
in '' yes
4679 # Use a header file that comes with gcc, so configuring glibc
4680 # with a fresh cross-compiler works.
4681 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4682 # <limits.h> exists even on freestanding compilers.
4683 # On the NeXT, cc -E runs the code through the compiler's parser,
4684 # not just through cpp. "Syntax error" is here to catch this case.
4685 cat >conftest.
$ac_ext <<_ACEOF
4686 #line $LINENO "configure"
4689 cat confdefs.h
>>conftest.
$ac_ext
4690 cat >>conftest.
$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4693 # include <limits.h>
4695 # include <assert.h>
4699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4700 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4702 grep -v '^ *+' conftest.er1
>conftest.err
4704 cat conftest.err
>&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } >/dev
/null
; then
4707 if test -s conftest.err
; then
4708 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4715 if test -z "$ac_cpp_err"; then
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.
$ac_ext >&5
4721 # Broken: fails on valid input.
4724 rm -f conftest.err conftest.
$ac_ext
4726 # OK, works on sane cases. Now check whether non-existent headers
4727 # can be detected and how.
4728 cat >conftest.
$ac_ext <<_ACEOF
4729 #line $LINENO "configure"
4732 cat confdefs.h
>>conftest.
$ac_ext
4733 cat >>conftest.
$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 #include <ac_nonexistent.h>
4737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4738 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4740 grep -v '^ *+' conftest.er1
>conftest.err
4742 cat conftest.err
>&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } >/dev
/null
; then
4745 if test -s conftest.err
; then
4746 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4753 if test -z "$ac_cpp_err"; then
4754 # Broken: success on invalid input.
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4760 # Passes both tests.
4764 rm -f conftest.err conftest.
$ac_ext
4767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4768 rm -f conftest.err conftest.
$ac_ext
4769 if $ac_preproc_ok; then
4772 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4773 See \`config.log' for more details." >&5
4774 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4775 See \`config.log' for more details." >&2;}
4776 { (exit 1); exit 1; }; }
4780 ac_cpp
='$CPP $CPPFLAGS'
4781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4787 LIBTOOL_DEPS
=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4789 lt_save_CFLAGS
="$CFLAGS"
4790 AR
="$AR" LTCC
="$CC" CC
="$CXX" CXX
="$CXX" CFLAGS
="$CXXFLAGS" CPPFLAGS
="$CPPFLAGS" \
4791 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
4792 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
4793 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
4794 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
4795 deplibs_check_method
="$deplibs_check_method" \
4796 file_magic_cmd
="$file_magic_cmd" \
4797 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
-o libtool
$libtool_flags \
4798 --build="$build" --add-tag=CXX
$ac_aux_dir/ltcf-cxx.sh
$host \
4799 ||
{ { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4800 echo "$as_me: error: libtool tag configuration failed" >&2;}
4801 { (exit 1); exit 1; }; }
4803 CFLAGS
="$lt_save_CFLAGS"
4805 # Redirect the config.log output again, so that the ltconfig log is not
4806 # clobbered by the next message.
4807 exec 5>>.
/config.log
4816 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4818 # Check for support bits and g++ features that don't require linking.
4820 echo "$as_me:$LINENO: checking for exception model to use" >&5
4821 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4825 ac_cpp
='$CXXCPP $CPPFLAGS'
4826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4830 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4831 if test "${enable_sjlj_exceptions+set}" = set; then
4832 enableval
="$enable_sjlj_exceptions"
4834 case "$enableval" in
4836 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4837 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4838 { (exit 1); exit 1; }; } ;;
4842 enable_sjlj_exceptions
=auto
4846 if test $enable_sjlj_exceptions = auto
; then
4847 # Botheration. Now we've got to detect the exception model. Link tests
4848 # against libgcc.a are problematic since we've not been given proper -L
4849 # bits for single-tree newlib and libgloss.
4851 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4852 cat > conftest.
$ac_ext << EOF
4853 #line 4853 "configure"
4862 old_CXXFLAGS
="$CXXFLAGS"
4864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; then
4869 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
4870 enable_sjlj_exceptions
=yes
4871 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
4872 enable_sjlj_exceptions
=no
4875 CXXFLAGS
="$old_CXXFLAGS"
4879 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4880 # to two different models.
4881 case $enable_sjlj_exceptions in
4884 cat >>confdefs.h
<<\_ACEOF
4885 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4888 ac_exception_model_name
=sjlj
4891 ac_exception_model_name
="call frame"
4894 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4895 echo "$as_me: error: unable to detect exception model" >&2;}
4896 { (exit 1); exit 1; }; }
4900 ac_cpp
='$CPP $CPPFLAGS'
4901 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4902 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4903 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4905 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4906 echo "${ECHO_T}$ac_exception_model_name" >&6
4909 echo "$as_me:$LINENO: checking for use of libunwind" >&5
4910 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4911 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4912 if test "${enable_libunwind_exceptions+set}" = set; then
4913 enableval
="$enable_libunwind_exceptions"
4915 case "$enableval" in
4917 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4918 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4919 { (exit 1); exit 1; }; } ;;
4923 enable_libunwind_exceptions
=no
4926 echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4927 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4928 if test $enable_libunwind_exceptions = yes; then
4929 LIBUNWIND_FLAG
="-lunwind"
4936 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4937 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4938 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4939 if test "${enable_libstdcxx_pch+set}" = set; then
4940 enableval
="$enable_libstdcxx_pch"
4942 case "$enableval" in
4944 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4945 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4946 { (exit 1); exit 1; }; } ;;
4950 enable_libstdcxx_pch
=yes
4953 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4954 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4956 if test $enable_libstdcxx_pch = yes; then
4957 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4958 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4959 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 ac_save_CXXFLAGS
="$CXXFLAGS"
4963 CXXFLAGS
="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4967 ac_cpp
='$CXXCPP $CPPFLAGS'
4968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4972 echo '#include <math.h>' > conftest.h
4973 if $CXX $CXXFLAGS $CPPFLAGS -x c
++-header conftest.h \
4974 -o conftest.h.gch
1>&5 2>&1 &&
4975 echo '#error "pch failed"' > conftest.h
&&
4976 echo '#include "conftest.h"' > conftest.cc
&&
4977 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc
1>&5 2>&1 ;
4979 glibcxx_cv_prog_CXX_pch
=yes
4981 glibcxx_cv_prog_CXX_pch
=no
4984 CXXFLAGS
=$ac_save_CXXFLAGS
4986 ac_cpp
='$CPP $CPPFLAGS'
4987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4993 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4994 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4995 enable_libstdcxx_pch
=$glibcxx_cv_prog_CXX_pch
5000 if test $enable_libstdcxx_pch = yes; then
5001 GLIBCXX_BUILD_PCH_TRUE
=
5002 GLIBCXX_BUILD_PCH_FALSE
='#'
5004 GLIBCXX_BUILD_PCH_TRUE
='#'
5005 GLIBCXX_BUILD_PCH_FALSE
=
5008 if test $enable_libstdcxx_pch = yes; then
5009 glibcxx_PCHFLAGS
="-include bits/stdc++.h"
5016 # Enable all the variable C++ runtime options.
5017 # NB: C_MBCHAR must come early.
5019 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5020 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5021 # Check whether --enable-cstdio or --disable-cstdio was given.
5022 if test "${enable_cstdio+set}" = set; then
5023 enableval
="$enable_cstdio"
5025 case "$enableval" in
5027 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5028 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5029 { (exit 1); exit 1; }; } ;;
5037 # Now that libio has been removed, you can have any color you want as long
5038 # as it's black. This is one big no-op until other packages are added, but
5039 # showing the framework never hurts.
5040 case ${enable_cstdio} in
5042 CSTDIO_H
=config
/io
/c_io_stdio.h
5043 BASIC_FILE_H
=config
/io
/basic_file_stdio.h
5044 BASIC_FILE_CC
=config
/io
/basic_file_stdio.cc
5045 echo "$as_me:$LINENO: result: stdio" >&5
5046 echo "${ECHO_T}stdio" >&6
5050 FPOS_H
=$fpos_include_dir
5058 ac_cpp
='$CPP $CPPFLAGS'
5059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5062 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5063 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5064 # On Suns, sometimes $CPP names a directory.
5065 if test -n "$CPP" && test -d "$CPP"; then
5068 if test -z "$CPP"; then
5069 if test "${ac_cv_prog_CPP+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 # Double quotes because CPP needs to be expanded
5073 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5076 for ac_c_preproc_warn_flag
in '' yes
5078 # Use a header file that comes with gcc, so configuring glibc
5079 # with a fresh cross-compiler works.
5080 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5081 # <limits.h> exists even on freestanding compilers.
5082 # On the NeXT, cc -E runs the code through the compiler's parser,
5083 # not just through cpp. "Syntax error" is here to catch this case.
5084 cat >conftest.
$ac_ext <<_ACEOF
5085 #line $LINENO "configure"
5088 cat confdefs.h
>>conftest.
$ac_ext
5089 cat >>conftest.
$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5092 # include <limits.h>
5094 # include <assert.h>
5098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5099 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5101 grep -v '^ *+' conftest.er1
>conftest.err
5103 cat conftest.err
>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } >/dev
/null
; then
5106 if test -s conftest.err
; then
5107 ac_cpp_err
=$ac_c_preproc_warn_flag
5114 if test -z "$ac_cpp_err"; then
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.
$ac_ext >&5
5120 # Broken: fails on valid input.
5123 rm -f conftest.err conftest.
$ac_ext
5125 # OK, works on sane cases. Now check whether non-existent headers
5126 # can be detected and how.
5127 cat >conftest.
$ac_ext <<_ACEOF
5128 #line $LINENO "configure"
5131 cat confdefs.h
>>conftest.
$ac_ext
5132 cat >>conftest.
$ac_ext <<_ACEOF
5133 /* end confdefs.h. */
5134 #include <ac_nonexistent.h>
5136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5137 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5139 grep -v '^ *+' conftest.er1
>conftest.err
5141 cat conftest.err
>&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } >/dev
/null
; then
5144 if test -s conftest.err
; then
5145 ac_cpp_err
=$ac_c_preproc_warn_flag
5152 if test -z "$ac_cpp_err"; then
5153 # Broken: success on invalid input.
5156 echo "$as_me: failed program was:" >&5
5157 sed 's/^/| /' conftest.
$ac_ext >&5
5159 # Passes both tests.
5163 rm -f conftest.err conftest.
$ac_ext
5166 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5167 rm -f conftest.err conftest.
$ac_ext
5168 if $ac_preproc_ok; then
5180 echo "$as_me:$LINENO: result: $CPP" >&5
5181 echo "${ECHO_T}$CPP" >&6
5183 for ac_c_preproc_warn_flag
in '' yes
5185 # Use a header file that comes with gcc, so configuring glibc
5186 # with a fresh cross-compiler works.
5187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5188 # <limits.h> exists even on freestanding compilers.
5189 # On the NeXT, cc -E runs the code through the compiler's parser,
5190 # not just through cpp. "Syntax error" is here to catch this case.
5191 cat >conftest.
$ac_ext <<_ACEOF
5192 #line $LINENO "configure"
5195 cat confdefs.h
>>conftest.
$ac_ext
5196 cat >>conftest.
$ac_ext <<_ACEOF
5197 /* end confdefs.h. */
5199 # include <limits.h>
5201 # include <assert.h>
5205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5206 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5208 grep -v '^ *+' conftest.er1
>conftest.err
5210 cat conftest.err
>&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } >/dev
/null
; then
5213 if test -s conftest.err
; then
5214 ac_cpp_err
=$ac_c_preproc_warn_flag
5221 if test -z "$ac_cpp_err"; then
5224 echo "$as_me: failed program was:" >&5
5225 sed 's/^/| /' conftest.
$ac_ext >&5
5227 # Broken: fails on valid input.
5230 rm -f conftest.err conftest.
$ac_ext
5232 # OK, works on sane cases. Now check whether non-existent headers
5233 # can be detected and how.
5234 cat >conftest.
$ac_ext <<_ACEOF
5235 #line $LINENO "configure"
5238 cat confdefs.h
>>conftest.
$ac_ext
5239 cat >>conftest.
$ac_ext <<_ACEOF
5240 /* end confdefs.h. */
5241 #include <ac_nonexistent.h>
5243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5244 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5246 grep -v '^ *+' conftest.er1
>conftest.err
5248 cat conftest.err
>&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); } >/dev
/null
; then
5251 if test -s conftest.err
; then
5252 ac_cpp_err
=$ac_c_preproc_warn_flag
5259 if test -z "$ac_cpp_err"; then
5260 # Broken: success on invalid input.
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.
$ac_ext >&5
5266 # Passes both tests.
5270 rm -f conftest.err conftest.
$ac_ext
5273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5274 rm -f conftest.err conftest.
$ac_ext
5275 if $ac_preproc_ok; then
5278 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5279 See \`config.log' for more details." >&5
5280 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5281 See \`config.log' for more details." >&2;}
5282 { (exit 1); exit 1; }; }
5286 ac_cpp
='$CPP $CPPFLAGS'
5287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5292 echo "$as_me:$LINENO: checking for egrep" >&5
5293 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5294 if test "${ac_cv_prog_egrep+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5298 then ac_cv_prog_egrep
='grep -E'
5299 else ac_cv_prog_egrep
='egrep'
5302 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5303 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5304 EGREP
=$ac_cv_prog_egrep
5307 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5308 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5309 if test "${ac_cv_header_stdc+set}" = set; then
5310 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 cat >conftest.
$ac_ext <<_ACEOF
5313 #line $LINENO "configure"
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5332 rm -f conftest.
$ac_objext
5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334 (eval $ac_compile) 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try
='test -s conftest.$ac_objext'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5344 ac_cv_header_stdc
=yes
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.
$ac_ext >&5
5349 ac_cv_header_stdc
=no
5351 rm -f conftest.
$ac_objext conftest.
$ac_ext
5353 if test $ac_cv_header_stdc = yes; then
5354 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5355 cat >conftest.
$ac_ext <<_ACEOF
5356 #line $LINENO "configure"
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5366 $EGREP "memchr" >/dev
/null
2>&1; then
5369 ac_cv_header_stdc
=no
5375 if test $ac_cv_header_stdc = yes; then
5376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5377 cat >conftest.
$ac_ext <<_ACEOF
5378 #line $LINENO "configure"
5381 cat confdefs.h
>>conftest.
$ac_ext
5382 cat >>conftest.
$ac_ext <<_ACEOF
5383 /* end confdefs.h. */
5387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5388 $EGREP "free" >/dev
/null
2>&1; then
5391 ac_cv_header_stdc
=no
5397 if test $ac_cv_header_stdc = yes; then
5398 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5399 if test "$cross_compiling" = yes; then
5402 cat >conftest.
$ac_ext <<_ACEOF
5403 #line $LINENO "configure"
5406 cat confdefs.h
>>conftest.
$ac_ext
5407 cat >>conftest.
$ac_ext <<_ACEOF
5408 /* end confdefs.h. */
5410 #if ((' ' & 0x0FF) == 0x020)
5411 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5412 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5414 # define ISLOWER(c) \
5415 (('a' <= (c) && (c) <= 'i') \
5416 || ('j' <= (c) && (c) <= 'r') \
5417 || ('s' <= (c) && (c) <= 'z'))
5418 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5421 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5426 for (i = 0; i < 256; i++)
5427 if (XOR (islower (i), ISLOWER (i))
5428 || toupper (i) != TOUPPER (i))
5433 rm -f conftest
$ac_exeext
5434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5435 (eval $ac_link) 2>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }; }; then
5446 echo "$as_me: program exited with status $ac_status" >&5
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.
$ac_ext >&5
5451 ac_cv_header_stdc
=no
5453 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5457 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5458 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5459 if test $ac_cv_header_stdc = yes; then
5461 cat >>confdefs.h
<<\_ACEOF
5462 #define STDC_HEADERS 1
5467 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5477 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5478 inttypes.h stdint.h unistd.h
5480 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5481 echo "$as_me:$LINENO: checking for $ac_header" >&5
5482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5484 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 cat >conftest.
$ac_ext <<_ACEOF
5487 #line $LINENO "configure"
5490 cat confdefs.h
>>conftest.
$ac_ext
5491 cat >>conftest.
$ac_ext <<_ACEOF
5492 /* end confdefs.h. */
5493 $ac_includes_default
5495 #include <$ac_header>
5497 rm -f conftest.
$ac_objext
5498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5499 (eval $ac_compile) 2>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } &&
5503 { ac_try
='test -s conftest.$ac_objext'
5504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; }; then
5509 eval "$as_ac_Header=yes"
5511 echo "$as_me: failed program was:" >&5
5512 sed 's/^/| /' conftest.
$ac_ext >&5
5514 eval "$as_ac_Header=no"
5516 rm -f conftest.
$ac_objext conftest.
$ac_ext
5518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5521 cat >>confdefs.h
<<_ACEOF
5522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5531 echo "$as_me:$LINENO: checking for C locale to use" >&5
5532 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5533 # Check whether --enable-clocale or --disable-clocale was given.
5534 if test "${enable_clocale+set}" = set; then
5535 enableval
="$enable_clocale"
5537 case "$enableval" in
5538 generic|gnu|ieee_1003.1
-2001|
yes|no|auto
) ;;
5539 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5540 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5541 { (exit 1); exit 1; }; } ;;
5549 # If they didn't use this option switch, or if they specified --enable
5550 # with no specific model, we'll have to look for one. If they
5551 # specified --disable (???), do likewise.
5552 if test $enable_clocale = no ||
test $enable_clocale = yes; then
5556 # Either a known package, or "auto"
5557 enable_clocale_flag
=$enable_clocale
5559 # Probe for locale support if no specific model is specified.
5560 # Default to "generic".
5561 if test $enable_clocale_flag = auto
; then
5562 case x
${target_os} in
5564 cat >conftest.
$ac_ext <<_ACEOF
5565 #line $LINENO "configure"
5568 cat confdefs.h
>>conftest.
$ac_ext
5569 cat >>conftest.
$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5572 #include <features.h>
5573 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5578 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5579 $EGREP "_GLIBCXX_ok" >/dev
/null
2>&1; then
5580 enable_clocale_flag
=gnu
5582 enable_clocale_flag
=generic
5587 # Test for bugs early in glibc-2.2.x series
5588 if test x
$enable_clocale_flag = xgnu
; then
5589 if test "$cross_compiling" = yes; then
5590 enable_clocale_flag
=generic
5592 cat >conftest.
$ac_ext <<_ACEOF
5593 #line $LINENO "configure"
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5600 #define _GNU_SOURCE 1
5603 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5604 extern __typeof(newlocale) __newlocale;
5605 extern __typeof(duplocale) __duplocale;
5606 extern __typeof(strcoll_l) __strcoll_l;
5610 const char __one[] = "Äuglein Augmen";
5611 const char __two[] = "Äuglein";
5616 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5617 loc_dup = __duplocale(loc);
5618 i = __strcoll_l(__one, __two, loc);
5619 j = __strcoll_l(__one, __two, loc_dup);
5624 rm -f conftest
$ac_exeext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5626 (eval $ac_link) 2>&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; }; then
5635 enable_clocale_flag
=gnu
5637 echo "$as_me: program exited with status $ac_status" >&5
5638 echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.
$ac_ext >&5
5642 enable_clocale_flag
=generic
5644 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5648 # ... at some point put __strxfrm_l tests in as well.
5651 enable_clocale_flag
=generic
5656 # Deal with gettext issues. Default to not using it (=no) until we detect
5657 # support for it later. Let the user turn it off via --e/d, but let that
5658 # default to on for easier handling.
5660 # Check whether --enable-nls or --disable-nls was given.
5661 if test "${enable_nls+set}" = set; then
5662 enableval
="$enable_nls"
5668 # Set configure bits for specified locale package
5669 case ${enable_clocale_flag} in
5671 echo "$as_me:$LINENO: result: generic" >&5
5672 echo "${ECHO_T}generic" >&6
5674 CLOCALE_H
=config
/locale
/generic
/c_locale.h
5675 CLOCALE_CC
=config
/locale
/generic
/c_locale.cc
5676 CCODECVT_H
=config
/locale
/generic
/codecvt_specializations.h
5677 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
5678 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
5679 CCTYPE_CC
=config
/locale
/generic
/ctype_members.cc
5680 CMESSAGES_H
=config
/locale
/generic
/messages_members.h
5681 CMESSAGES_CC
=config
/locale
/generic
/messages_members.cc
5682 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
5683 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
5684 CTIME_H
=config
/locale
/generic
/time_members.h
5685 CTIME_CC
=config
/locale
/generic
/time_members.cc
5686 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
5689 echo "$as_me:$LINENO: result: gnu" >&5
5690 echo "${ECHO_T}gnu" >&6
5692 # Declare intention to use gettext, and add support for specific
5694 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5697 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5698 # Extract the first word of "msgfmt", so it can be a program name with args.
5699 set dummy msgfmt
; ac_word
=$2
5700 echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5702 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$check_msgfmt"; then
5706 ac_cv_prog_check_msgfmt
="$check_msgfmt" # Let the user override the test.
5708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir
=.
5713 for ac_exec_ext
in '' $ac_executable_extensions; do
5714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_check_msgfmt
="yes"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5722 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt
="no"
5725 check_msgfmt
=$ac_cv_prog_check_msgfmt
5726 if test -n "$check_msgfmt"; then
5727 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5728 echo "${ECHO_T}$check_msgfmt" >&6
5730 echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6
5734 if test x
"$check_msgfmt" = x
"yes" && test x
"$enable_nls" = x
"yes"; then
5737 # Export the build objects.
5738 for ling
in $ALL_LINGUAS; do \
5739 glibcxx_MOFILES
="$glibcxx_MOFILES $ling.mo"; \
5740 glibcxx_POFILES
="$glibcxx_POFILES $ling.po"; \
5745 CLOCALE_H
=config
/locale
/gnu
/c_locale.h
5746 CLOCALE_CC
=config
/locale
/gnu
/c_locale.cc
5747 CCODECVT_H
=config
/locale
/ieee_1003.1
-2001/codecvt_specializations.h
5748 CCODECVT_CC
=config
/locale
/gnu
/codecvt_members.cc
5749 CCOLLATE_CC
=config
/locale
/gnu
/collate_members.cc
5750 CCTYPE_CC
=config
/locale
/gnu
/ctype_members.cc
5751 CMESSAGES_H
=config
/locale
/gnu
/messages_members.h
5752 CMESSAGES_CC
=config
/locale
/gnu
/messages_members.cc
5753 CMONEY_CC
=config
/locale
/gnu
/monetary_members.cc
5754 CNUMERIC_CC
=config
/locale
/gnu
/numeric_members.cc
5755 CTIME_H
=config
/locale
/gnu
/time_members.h
5756 CTIME_CC
=config
/locale
/gnu
/time_members.cc
5757 CLOCALE_INTERNAL_H
=config
/locale
/gnu
/c
++locale_internal.h
5760 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5761 echo "${ECHO_T}IEEE 1003.1" >&6
5763 CLOCALE_H
=config
/locale
/ieee_1003.1
-2001/c_locale.h
5764 CLOCALE_CC
=config
/locale
/ieee_1003.1
-2001/c_locale.cc
5765 CCODECVT_H
=config
/locale
/ieee_1003.1
-2001/codecvt_specializations.h
5766 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
5767 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
5768 CCTYPE_CC
=config
/locale
/generic
/ctype_members.cc
5769 CMESSAGES_H
=config
/locale
/ieee_1003.1
-2001/messages_members.h
5770 CMESSAGES_CC
=config
/locale
/ieee_1003.1
-2001/messages_members.cc
5771 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
5772 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
5773 CTIME_H
=config
/locale
/generic
/time_members.h
5774 CTIME_CC
=config
/locale
/generic
/time_members.cc
5775 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
5779 # This is where the testsuite looks for locale catalogs, using the
5780 # -DLOCALEDIR define during testsuite compilation.
5781 glibcxx_localedir
=${glibcxx_builddir}/po
/share
/locale
5784 # A standalone libintl (e.g., GNU libintl) may be in use.
5785 if test $USE_NLS = yes; then
5787 for ac_header
in libintl.h
5789 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5791 echo "$as_me:$LINENO: checking for $ac_header" >&5
5792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5799 # Is the header compilable?
5800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5802 cat >conftest.
$ac_ext <<_ACEOF
5803 #line $LINENO "configure"
5806 cat confdefs.h
>>conftest.
$ac_ext
5807 cat >>conftest.
$ac_ext <<_ACEOF
5808 /* end confdefs.h. */
5809 $ac_includes_default
5810 #include <$ac_header>
5812 rm -f conftest.
$ac_objext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5814 (eval $ac_compile) 2>&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } &&
5818 { ac_try
='test -s conftest.$ac_objext'
5819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5823 (exit $ac_status); }; }; then
5824 ac_header_compiler
=yes
5826 echo "$as_me: failed program was:" >&5
5827 sed 's/^/| /' conftest.
$ac_ext >&5
5829 ac_header_compiler
=no
5831 rm -f conftest.
$ac_objext conftest.
$ac_ext
5832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5833 echo "${ECHO_T}$ac_header_compiler" >&6
5835 # Is the header present?
5836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5838 cat >conftest.
$ac_ext <<_ACEOF
5839 #line $LINENO "configure"
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5845 #include <$ac_header>
5847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5848 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5850 grep -v '^ *+' conftest.er1
>conftest.err
5852 cat conftest.err
>&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } >/dev
/null
; then
5855 if test -s conftest.err
; then
5856 ac_cpp_err
=$ac_c_preproc_warn_flag
5863 if test -z "$ac_cpp_err"; then
5864 ac_header_preproc
=yes
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.
$ac_ext >&5
5869 ac_header_preproc
=no
5871 rm -f conftest.err conftest.
$ac_ext
5872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5873 echo "${ECHO_T}$ac_header_preproc" >&6
5875 # So? What about this header?
5876 case $ac_header_compiler:$ac_header_preproc in
5878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5884 ## ------------------------------------ ##
5885 ## Report this to bug-autoconf@gnu.org. ##
5886 ## ------------------------------------ ##
5889 sed "s/^/$as_me: WARNING: /" >&2
5892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5900 ## ------------------------------------ ##
5901 ## Report this to bug-autoconf@gnu.org. ##
5902 ## ------------------------------------ ##
5905 sed "s/^/$as_me: WARNING: /" >&2
5908 echo "$as_me:$LINENO: checking for $ac_header" >&5
5909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5911 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 eval "$as_ac_Header=$ac_header_preproc"
5915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5920 cat >>confdefs.h
<<_ACEOF
5921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5930 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5931 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5932 if test "${ac_cv_search_gettext+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5935 ac_func_search_save_LIBS
=$LIBS
5936 ac_cv_search_gettext
=no
5937 cat >conftest.
$ac_ext <<_ACEOF
5938 #line $LINENO "configure"
5941 cat confdefs.h
>>conftest.
$ac_ext
5942 cat >>conftest.
$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5945 /* Override any gcc2 internal prototype to avoid an error. */
5949 /* We use char because int might match the return type of a gcc2
5950 builtin and then its argument prototype would still apply. */
5960 rm -f conftest.
$ac_objext conftest
$ac_exeext
5961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5962 (eval $ac_link) 2>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } &&
5966 { ac_try
='test -s conftest$ac_exeext'
5967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971 (exit $ac_status); }; }; then
5972 ac_cv_search_gettext
="none required"
5974 echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.
$ac_ext >&5
5978 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5979 if test "$ac_cv_search_gettext" = no
; then
5980 for ac_lib
in intl
; do
5981 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5982 cat >conftest.
$ac_ext <<_ACEOF
5983 #line $LINENO "configure"
5986 cat confdefs.h
>>conftest.
$ac_ext
5987 cat >>conftest.
$ac_ext <<_ACEOF
5988 /* end confdefs.h. */
5990 /* Override any gcc2 internal prototype to avoid an error. */
5994 /* We use char because int might match the return type of a gcc2
5995 builtin and then its argument prototype would still apply. */
6005 rm -f conftest.
$ac_objext conftest
$ac_exeext
6006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6007 (eval $ac_link) 2>&5
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); } &&
6011 { ac_try
='test -s conftest$ac_exeext'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; }; then
6017 ac_cv_search_gettext
="-l$ac_lib"
6020 echo "$as_me: failed program was:" >&5
6021 sed 's/^/| /' conftest.
$ac_ext >&5
6024 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6027 LIBS
=$ac_func_search_save_LIBS
6029 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6030 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6031 if test "$ac_cv_search_gettext" != no
; then
6032 test "$ac_cv_search_gettext" = "none required" || LIBS
="$ac_cv_search_gettext $LIBS"
6039 if test $USE_NLS = yes; then
6040 cat >>confdefs.h
<<\_ACEOF
6041 #define _GLIBCXX_USE_NLS 1
6062 # Check whether --enable-cheaders or --disable-cheaders was given.
6063 if test "${enable_cheaders+set}" = set; then
6064 enableval
="$enable_cheaders"
6066 case "$enableval" in
6068 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6069 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6070 { (exit 1); exit 1; }; } ;;
6074 enable_cheaders
=$c_model
6077 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6078 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6080 C_INCLUDE_DIR
='${glibcxx_srcdir}/include/'$enable_cheaders
6085 if test $enable_cheaders = c
; then
6086 GLIBCXX_C_HEADERS_C_TRUE
=
6087 GLIBCXX_C_HEADERS_C_FALSE
='#'
6089 GLIBCXX_C_HEADERS_C_TRUE
='#'
6090 GLIBCXX_C_HEADERS_C_FALSE
=
6095 if test $enable_cheaders = c_std
; then
6096 GLIBCXX_C_HEADERS_C_STD_TRUE
=
6097 GLIBCXX_C_HEADERS_C_STD_FALSE
='#'
6099 GLIBCXX_C_HEADERS_C_STD_TRUE
='#'
6100 GLIBCXX_C_HEADERS_C_STD_FALSE
=
6105 if test $c_compatibility = yes; then
6106 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
=
6107 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
='#'
6109 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
='#'
6110 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
=
6114 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6115 if test "${enable_c_mbchar+set}" = set; then
6116 enableval
="$enable_c_mbchar"
6118 case "$enableval" in
6120 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6121 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6122 { (exit 1); exit 1; }; } ;;
6129 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6133 # Check whether --enable-c99 or --disable-c99 was given.
6134 if test "${enable_c99+set}" = set; then
6135 enableval
="$enable_c99"
6137 case "$enableval" in
6139 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6140 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6141 { (exit 1); exit 1; }; } ;;
6152 ac_cpp
='$CXXCPP $CPPFLAGS'
6153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6158 # Check for the existence of <math.h> functions used if C99 is enabled.
6160 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6161 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6162 cat >conftest.
$ac_ext <<_ACEOF
6163 #line $LINENO "configure"
6166 cat confdefs.h
>>conftest.
$ac_ext
6167 cat >>conftest.
$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6178 rm -f conftest.
$ac_objext
6179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6180 (eval $ac_compile) 2>&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); } &&
6184 { ac_try
='test -s conftest.$ac_objext'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; }; then
6192 echo "$as_me: failed program was:" >&5
6193 sed 's/^/| /' conftest.
$ac_ext >&5
6197 rm -f conftest.
$ac_objext conftest.
$ac_ext
6198 cat >conftest.
$ac_ext <<_ACEOF
6199 #line $LINENO "configure"
6202 cat confdefs.h
>>conftest.
$ac_ext
6203 cat >>conftest.
$ac_ext <<_ACEOF
6204 /* end confdefs.h. */
6214 rm -f conftest.
$ac_objext
6215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6216 (eval $ac_compile) 2>&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } &&
6220 { ac_try
='test -s conftest.$ac_objext'
6221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); }; }; then
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.
$ac_ext >&5
6233 rm -f conftest.
$ac_objext conftest.
$ac_ext
6234 cat >conftest.
$ac_ext <<_ACEOF
6235 #line $LINENO "configure"
6238 cat confdefs.h
>>conftest.
$ac_ext
6239 cat >>conftest.
$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6250 rm -f conftest.
$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252 (eval $ac_compile) 2>&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } &&
6256 { ac_try
='test -s conftest.$ac_objext'
6257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); }; }; then
6264 echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.
$ac_ext >&5
6269 rm -f conftest.
$ac_objext conftest.
$ac_ext
6270 cat >conftest.
$ac_ext <<_ACEOF
6271 #line $LINENO "configure"
6274 cat confdefs.h
>>conftest.
$ac_ext
6275 cat >>conftest.
$ac_ext <<_ACEOF
6276 /* end confdefs.h. */
6286 rm -f conftest.
$ac_objext
6287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6288 (eval $ac_compile) 2>&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } &&
6292 { ac_try
='test -s conftest.$ac_objext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.
$ac_ext >&5
6305 rm -f conftest.
$ac_objext conftest.
$ac_ext
6306 cat >conftest.
$ac_ext <<_ACEOF
6307 #line $LINENO "configure"
6310 cat confdefs.h
>>conftest.
$ac_ext
6311 cat >>conftest.
$ac_ext <<_ACEOF
6312 /* end confdefs.h. */
6322 rm -f conftest.
$ac_objext
6323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6324 (eval $ac_compile) 2>&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); } &&
6328 { ac_try
='test -s conftest.$ac_objext'
6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; }; then
6336 echo "$as_me: failed program was:" >&5
6337 sed 's/^/| /' conftest.
$ac_ext >&5
6341 rm -f conftest.
$ac_objext conftest.
$ac_ext
6342 cat >conftest.
$ac_ext <<_ACEOF
6343 #line $LINENO "configure"
6346 cat confdefs.h
>>conftest.
$ac_ext
6347 cat >>conftest.
$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6358 rm -f conftest.
$ac_objext
6359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6360 (eval $ac_compile) 2>&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } &&
6364 { ac_try
='test -s conftest.$ac_objext'
6365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6369 (exit $ac_status); }; }; then
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.
$ac_ext >&5
6377 rm -f conftest.
$ac_objext conftest.
$ac_ext
6378 cat >conftest.
$ac_ext <<_ACEOF
6379 #line $LINENO "configure"
6382 cat confdefs.h
>>conftest.
$ac_ext
6383 cat >>conftest.
$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6394 rm -f conftest.
$ac_objext
6395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6396 (eval $ac_compile) 2>&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); } &&
6400 { ac_try
='test -s conftest.$ac_objext'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; }; then
6408 echo "$as_me: failed program was:" >&5
6409 sed 's/^/| /' conftest.
$ac_ext >&5
6413 rm -f conftest.
$ac_objext conftest.
$ac_ext
6414 cat >conftest.
$ac_ext <<_ACEOF
6415 #line $LINENO "configure"
6418 cat confdefs.h
>>conftest.
$ac_ext
6419 cat >>conftest.
$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6425 isgreaterequal(0.0,0.0);
6430 rm -f conftest.
$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432 (eval $ac_compile) 2>&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } &&
6436 { ac_try
='test -s conftest.$ac_objext'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; }; then
6444 echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.
$ac_ext >&5
6449 rm -f conftest.
$ac_objext conftest.
$ac_ext
6450 cat >conftest.
$ac_ext <<_ACEOF
6451 #line $LINENO "configure"
6454 cat confdefs.h
>>conftest.
$ac_ext
6455 cat >>conftest.
$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6466 rm -f conftest.
$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); } &&
6472 { ac_try
='test -s conftest.$ac_objext'
6473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); }; }; then
6480 echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.
$ac_ext >&5
6485 rm -f conftest.
$ac_objext conftest.
$ac_ext
6486 cat >conftest.
$ac_ext <<_ACEOF
6487 #line $LINENO "configure"
6490 cat confdefs.h
>>conftest.
$ac_ext
6491 cat >>conftest.
$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6497 islessequal(0.0,0.0);
6502 rm -f conftest.
$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504 (eval $ac_compile) 2>&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } &&
6508 { ac_try
='test -s conftest.$ac_objext'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; }; then
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.
$ac_ext >&5
6521 rm -f conftest.
$ac_objext conftest.
$ac_ext
6522 cat >conftest.
$ac_ext <<_ACEOF
6523 #line $LINENO "configure"
6526 cat confdefs.h
>>conftest.
$ac_ext
6527 cat >>conftest.
$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6533 islessgreater(0.0,0.0);
6538 rm -f conftest.
$ac_objext
6539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6540 (eval $ac_compile) 2>&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try
='test -s conftest.$ac_objext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.
$ac_ext >&5
6557 rm -f conftest.
$ac_objext conftest.
$ac_ext
6558 cat >conftest.
$ac_ext <<_ACEOF
6559 #line $LINENO "configure"
6562 cat confdefs.h
>>conftest.
$ac_ext
6563 cat >>conftest.
$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6569 isunordered(0.0,0.0);
6574 rm -f conftest.
$ac_objext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6576 (eval $ac_compile) 2>&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } &&
6580 { ac_try
='test -s conftest.$ac_objext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6588 echo "$as_me: failed program was:" >&5
6589 sed 's/^/| /' conftest.
$ac_ext >&5
6593 rm -f conftest.
$ac_objext conftest.
$ac_ext
6594 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6595 echo "${ECHO_T}$ac_c99_math" >&6
6597 # Check for the existence in <stdio.h> of vscanf, et. al.
6599 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6600 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6601 cat >conftest.
$ac_ext <<_ACEOF
6602 #line $LINENO "configure"
6605 cat confdefs.h
>>conftest.
$ac_ext
6606 cat >>conftest.
$ac_ext <<_ACEOF
6607 /* end confdefs.h. */
6612 snprintf("12", 0, "%i");
6617 rm -f conftest.
$ac_objext
6618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6619 (eval $ac_compile) 2>&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); } &&
6623 { ac_try
='test -s conftest.$ac_objext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6631 echo "$as_me: failed program was:" >&5
6632 sed 's/^/| /' conftest.
$ac_ext >&5
6636 rm -f conftest.
$ac_objext conftest.
$ac_ext
6637 cat >conftest.
$ac_ext <<_ACEOF
6638 #line $LINENO "configure"
6641 cat confdefs.h
>>conftest.
$ac_ext
6642 cat >>conftest.
$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6646 void foo(char* fmt, ...)
6647 {va_list args; va_start(args, fmt);
6648 vfscanf(stderr, "%i", args);}
6657 rm -f conftest.
$ac_objext
6658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6659 (eval $ac_compile) 2>&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); } &&
6663 { ac_try
='test -s conftest.$ac_objext'
6664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; }; then
6671 echo "$as_me: failed program was:" >&5
6672 sed 's/^/| /' conftest.
$ac_ext >&5
6676 rm -f conftest.
$ac_objext conftest.
$ac_ext
6677 cat >conftest.
$ac_ext <<_ACEOF
6678 #line $LINENO "configure"
6681 cat confdefs.h
>>conftest.
$ac_ext
6682 cat >>conftest.
$ac_ext <<_ACEOF
6683 /* end confdefs.h. */
6686 void foo(char* fmt, ...)
6687 {va_list args; va_start(args, fmt);
6688 vscanf("%i", args);}
6697 rm -f conftest.
$ac_objext
6698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699 (eval $ac_compile) 2>&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); } &&
6703 { ac_try
='test -s conftest.$ac_objext'
6704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); }; }; then
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.
$ac_ext >&5
6716 rm -f conftest.
$ac_objext conftest.
$ac_ext
6717 cat >conftest.
$ac_ext <<_ACEOF
6718 #line $LINENO "configure"
6721 cat confdefs.h
>>conftest.
$ac_ext
6722 cat >>conftest.
$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6726 void foo(char* fmt, ...)
6727 {va_list args; va_start(args, fmt);
6728 vsnprintf(fmt, 0, "%i", args);}
6737 rm -f conftest.
$ac_objext
6738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6739 (eval $ac_compile) 2>&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); } &&
6743 { ac_try
='test -s conftest.$ac_objext'
6744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); }; }; then
6751 echo "$as_me: failed program was:" >&5
6752 sed 's/^/| /' conftest.
$ac_ext >&5
6756 rm -f conftest.
$ac_objext conftest.
$ac_ext
6757 cat >conftest.
$ac_ext <<_ACEOF
6758 #line $LINENO "configure"
6761 cat confdefs.h
>>conftest.
$ac_ext
6762 cat >>conftest.
$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6766 void foo(char* fmt, ...)
6767 {va_list args; va_start(args, fmt);
6768 vsscanf(fmt, "%i", args);}
6777 rm -f conftest.
$ac_objext
6778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6779 (eval $ac_compile) 2>&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); } &&
6783 { ac_try
='test -s conftest.$ac_objext'
6784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; }; then
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.
$ac_ext >&5
6796 rm -f conftest.
$ac_objext conftest.
$ac_ext
6797 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6798 echo "${ECHO_T}$ac_c99_stdio" >&6
6800 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6802 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6803 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6804 if test "${ac_c99_lldiv_t+set}" = set; then
6805 echo $ECHO_N "(cached) $ECHO_C" >&6
6808 cat >conftest.
$ac_ext <<_ACEOF
6809 #line $LINENO "configure"
6812 cat confdefs.h
>>conftest.
$ac_ext
6813 cat >>conftest.
$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6824 rm -f conftest.
$ac_objext
6825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6826 (eval $ac_compile) 2>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); } &&
6830 { ac_try
='test -s conftest.$ac_objext'
6831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); }; }; then
6838 echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.
$ac_ext >&5
6843 rm -f conftest.
$ac_objext conftest.
$ac_ext
6847 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6848 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6850 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6851 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6852 cat >conftest.
$ac_ext <<_ACEOF
6853 #line $LINENO "configure"
6856 cat confdefs.h
>>conftest.
$ac_ext
6857 cat >>conftest.
$ac_ext <<_ACEOF
6858 /* end confdefs.h. */
6863 char* tmp; strtof("gnu", &tmp);
6868 rm -f conftest.
$ac_objext
6869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6870 (eval $ac_compile) 2>&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } &&
6874 { ac_try
='test -s conftest.$ac_objext'
6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); }; }; then
6882 echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.
$ac_ext >&5
6887 rm -f conftest.
$ac_objext conftest.
$ac_ext
6888 cat >conftest.
$ac_ext <<_ACEOF
6889 #line $LINENO "configure"
6892 cat confdefs.h
>>conftest.
$ac_ext
6893 cat >>conftest.
$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6899 char* tmp; strtold("gnu", &tmp);
6904 rm -f conftest.
$ac_objext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906 (eval $ac_compile) 2>&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } &&
6910 { ac_try
='test -s conftest.$ac_objext'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; }; then
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.
$ac_ext >&5
6923 rm -f conftest.
$ac_objext conftest.
$ac_ext
6924 cat >conftest.
$ac_ext <<_ACEOF
6925 #line $LINENO "configure"
6928 cat confdefs.h
>>conftest.
$ac_ext
6929 cat >>conftest.
$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6940 rm -f conftest.
$ac_objext
6941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6942 (eval $ac_compile) 2>&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try
='test -s conftest.$ac_objext'
6947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); }; }; then
6954 echo "$as_me: failed program was:" >&5
6955 sed 's/^/| /' conftest.
$ac_ext >&5
6959 rm -f conftest.
$ac_objext conftest.
$ac_ext
6960 cat >conftest.
$ac_ext <<_ACEOF
6961 #line $LINENO "configure"
6964 cat confdefs.h
>>conftest.
$ac_ext
6965 cat >>conftest.
$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6976 rm -f conftest.
$ac_objext
6977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6978 (eval $ac_compile) 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } &&
6982 { ac_try
='test -s conftest.$ac_objext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 (exit $ac_status); }; }; then
6990 echo "$as_me: failed program was:" >&5
6991 sed 's/^/| /' conftest.
$ac_ext >&5
6995 rm -f conftest.
$ac_objext conftest.
$ac_ext
6996 cat >conftest.
$ac_ext <<_ACEOF
6997 #line $LINENO "configure"
7000 cat confdefs.h
>>conftest.
$ac_ext
7001 cat >>conftest.
$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7012 rm -f conftest.
$ac_objext
7013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7014 (eval $ac_compile) 2>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } &&
7018 { ac_try
='test -s conftest.$ac_objext'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; }; then
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.
$ac_ext >&5
7031 rm -f conftest.
$ac_objext conftest.
$ac_ext
7032 cat >conftest.
$ac_ext <<_ACEOF
7033 #line $LINENO "configure"
7036 cat confdefs.h
>>conftest.
$ac_ext
7037 cat >>conftest.
$ac_ext <<_ACEOF
7038 /* end confdefs.h. */
7048 rm -f conftest.
$ac_objext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7050 (eval $ac_compile) 2>&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } &&
7054 { ac_try
='test -s conftest.$ac_objext'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; }; then
7062 echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.
$ac_ext >&5
7067 rm -f conftest.
$ac_objext conftest.
$ac_ext
7068 if test x
"$ac_c99_lldiv_t" = x
"no"; then
7071 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7072 echo "${ECHO_T}$ac_c99_stdlib" >&6
7074 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7075 # XXX the wchar.h checks should be rolled into the general C99 bits.
7077 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7078 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7079 cat >conftest.
$ac_ext <<_ACEOF
7080 #line $LINENO "configure"
7083 cat confdefs.h
>>conftest.
$ac_ext
7084 cat >>conftest.
$ac_ext <<_ACEOF
7085 /* end confdefs.h. */
7090 wcstold(L"10.0", NULL);
7095 rm -f conftest.
$ac_objext
7096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7097 (eval $ac_compile) 2>&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try
='test -s conftest.$ac_objext'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; }; then
7109 echo "$as_me: failed program was:" >&5
7110 sed 's/^/| /' conftest.
$ac_ext >&5
7114 rm -f conftest.
$ac_objext conftest.
$ac_ext
7115 cat >conftest.
$ac_ext <<_ACEOF
7116 #line $LINENO "configure"
7119 cat confdefs.h
>>conftest.
$ac_ext
7120 cat >>conftest.
$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7126 wcstoll(L"10", NULL, 10);
7131 rm -f conftest.
$ac_objext
7132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7133 (eval $ac_compile) 2>&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try
='test -s conftest.$ac_objext'
7138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142 (exit $ac_status); }; }; then
7145 echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.
$ac_ext >&5
7150 rm -f conftest.
$ac_objext conftest.
$ac_ext
7151 cat >conftest.
$ac_ext <<_ACEOF
7152 #line $LINENO "configure"
7155 cat confdefs.h
>>conftest.
$ac_ext
7156 cat >>conftest.
$ac_ext <<_ACEOF
7157 /* end confdefs.h. */
7162 wcstoull(L"10", NULL, 10);
7167 rm -f conftest.
$ac_objext
7168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169 (eval $ac_compile) 2>&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } &&
7173 { ac_try
='test -s conftest.$ac_objext'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then
7181 echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.
$ac_ext >&5
7186 rm -f conftest.
$ac_objext conftest.
$ac_ext
7187 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7188 echo "${ECHO_T}$ac_c99_wchar" >&6
7190 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7191 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7192 if test x
"$ac_c99_math" = x
"no" ||
7193 test x
"$ac_c99_stdio" = x
"no" ||
7194 test x
"$ac_c99_stdlib" = x
"no" ||
7195 test x
"$ac_c99_wchar" = x
"no"; then
7198 echo "$as_me:$LINENO: result: $enable_c99" >&5
7199 echo "${ECHO_T}$enable_c99" >&6
7201 # Option parsed, now set things appropriately
7202 if test x
"$enable_c99" = x
"yes"; then
7203 cat >>confdefs.h
<<\_ACEOF
7204 #define _GLIBCXX_USE_C99 1
7210 ac_cpp
='$CPP $CPPFLAGS'
7211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7217 # Check whether --enable-long-long or --disable-long-long was given.
7218 if test "${enable_long_long+set}" = set; then
7219 enableval
="$enable_long_long"
7221 case "$enableval" in
7223 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7224 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7225 { (exit 1); exit 1; }; } ;;
7229 enable_long_long
=yes
7236 ac_cpp
='$CXXCPP $CPPFLAGS'
7237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7242 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7243 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7244 # iostreams require strtoll, strtoull to compile
7245 cat >conftest.
$ac_ext <<_ACEOF
7246 #line $LINENO "configure"
7249 cat confdefs.h
>>conftest.
$ac_ext
7250 cat >>conftest.
$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7256 char* tmp; strtoll("gnu", &tmp, 10);
7261 rm -f conftest.
$ac_objext
7262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7263 (eval $ac_compile) 2>&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } &&
7267 { ac_try
='test -s conftest.$ac_objext'
7268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); }; }; then
7275 echo "$as_me: failed program was:" >&5
7276 sed 's/^/| /' conftest.
$ac_ext >&5
7280 rm -f conftest.
$ac_objext conftest.
$ac_ext
7281 cat >conftest.
$ac_ext <<_ACEOF
7282 #line $LINENO "configure"
7285 cat confdefs.h
>>conftest.
$ac_ext
7286 cat >>conftest.
$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7292 char* tmp; strtoull("gnu", &tmp, 10);
7297 rm -f conftest.
$ac_objext
7298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7299 (eval $ac_compile) 2>&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } &&
7303 { ac_try
='test -s conftest.$ac_objext'
7304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308 (exit $ac_status); }; }; then
7311 echo "$as_me: failed program was:" >&5
7312 sed 's/^/| /' conftest.
$ac_ext >&5
7316 rm -f conftest.
$ac_objext conftest.
$ac_ext
7318 # Option parsed, now set things appropriately
7319 if test $enable_long_long = yes; then
7320 cat >>confdefs.h
<<\_ACEOF
7321 #define _GLIBCXX_USE_LONG_LONG 1
7325 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7326 echo "${ECHO_T}$enable_long_long" >&6
7329 ac_cpp
='$CPP $CPPFLAGS'
7330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7336 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7337 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7338 target_thread_file
=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7339 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7340 echo "${ECHO_T}$target_thread_file" >&6
7342 if test $target_thread_file != single
; then
7343 cat >>confdefs.h
<<\_ACEOF
7344 #define HAVE_GTHR_DEFAULT 1
7347 cat >>confdefs.h
<<\_ACEOF
7348 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7353 glibcxx_thread_h
=gthr-
$target_thread_file.h
7357 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7358 if test "${enable_concept_checks+set}" = set; then
7359 enableval
="$enable_concept_checks"
7361 case "$enableval" in
7363 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7364 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7365 { (exit 1); exit 1; }; } ;;
7369 enable_concept_checks
=no
7372 if test $enable_concept_checks = yes; then
7373 cat >>confdefs.h
<<\_ACEOF
7374 #define _GLIBCXX_CONCEPT_CHECKS 1
7380 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7381 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7382 enableval
="$enable_libstdcxx_debug_flags"
7383 case "x$enable_libstdcxx_debug_flags" in
7384 xno | x
) enable_libstdcxx_debug_flags
= ;;
7386 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7387 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7388 { (exit 1); exit 1; }; } ;;
7391 enable_libstdcxx_debug_flags
="-g3 -O0"
7395 # Option parsed, now set things appropriately
7396 DEBUG_FLAGS
="$enable_libstdcxx_debug_flags"
7399 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7400 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7403 echo "$as_me:$LINENO: checking for additional debug build" >&5
7404 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7405 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7406 if test "${enable_libstdcxx_debug+set}" = set; then
7407 enableval
="$enable_libstdcxx_debug"
7409 case "$enableval" in
7411 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7412 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7413 { (exit 1); exit 1; }; } ;;
7417 enable_libstdcxx_debug
=no
7420 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7421 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7424 if test $enable_libstdcxx_debug = yes; then
7425 GLIBCXX_BUILD_DEBUG_TRUE
=
7426 GLIBCXX_BUILD_DEBUG_FALSE
='#'
7428 GLIBCXX_BUILD_DEBUG_TRUE
='#'
7429 GLIBCXX_BUILD_DEBUG_FALSE
=
7433 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7434 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7435 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7436 if test "${enable_cxx_flags+set}" = set; then
7437 enableval
="$enable_cxx_flags"
7438 case "x$enable_cxx_flags" in
7439 xno | x
) enable_cxx_flags
= ;;
7441 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7442 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7443 { (exit 1); exit 1; }; } ;;
7450 # Run through flags (either default or command-line) and set anything
7451 # extra (e.g., #defines) that must accompany particular g++ options.
7452 if test -n "$enable_cxx_flags"; then
7453 for f
in $enable_cxx_flags; do
7457 *) # and we're trying to pass /what/ exactly?
7458 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7459 echo "$as_me: error: compiler flags start with a -" >&2;}
7460 { (exit 1); exit 1; }; } ;;
7465 EXTRA_CXX_FLAGS
="$enable_cxx_flags"
7466 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7467 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7471 # No surprises, no surprises...
7472 if test $atomicity_include_dir = cpu
/generic
; then
7473 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7474 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7475 if test $target_thread_file = single
; then
7476 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7477 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7478 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7479 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7481 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7482 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7483 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7484 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7489 if $GLIBCXX_IS_NATIVE; then
7491 # We can do more elaborate tests that assume a working linker.
7494 # Check for available headers.
7508 for ac_header
in nan.h ieeefp.h endian.h sys
/isa_defs.h machine
/endian.h \
7509 machine
/param.h sys
/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7512 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7514 echo "$as_me:$LINENO: checking for $ac_header" >&5
7515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6
7519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7522 # Is the header compilable?
7523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7525 cat >conftest.
$ac_ext <<_ACEOF
7526 #line $LINENO "configure"
7529 cat confdefs.h
>>conftest.
$ac_ext
7530 cat >>conftest.
$ac_ext <<_ACEOF
7531 /* end confdefs.h. */
7532 $ac_includes_default
7533 #include <$ac_header>
7535 rm -f conftest.
$ac_objext
7536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7537 (eval $ac_compile) 2>&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } &&
7541 { ac_try
='test -s conftest.$ac_objext'
7542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); }; }; then
7547 ac_header_compiler
=yes
7549 echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.
$ac_ext >&5
7552 ac_header_compiler
=no
7554 rm -f conftest.
$ac_objext conftest.
$ac_ext
7555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7556 echo "${ECHO_T}$ac_header_compiler" >&6
7558 # Is the header present?
7559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7561 cat >conftest.
$ac_ext <<_ACEOF
7562 #line $LINENO "configure"
7565 cat confdefs.h
>>conftest.
$ac_ext
7566 cat >>conftest.
$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #include <$ac_header>
7570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7573 grep -v '^ *+' conftest.er1
>conftest.err
7575 cat conftest.err
>&5
7576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7577 (exit $ac_status); } >/dev
/null
; then
7578 if test -s conftest.err
; then
7579 ac_cpp_err
=$ac_c_preproc_warn_flag
7586 if test -z "$ac_cpp_err"; then
7587 ac_header_preproc
=yes
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.
$ac_ext >&5
7592 ac_header_preproc
=no
7594 rm -f conftest.err conftest.
$ac_ext
7595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7596 echo "${ECHO_T}$ac_header_preproc" >&6
7598 # So? What about this header?
7599 case $ac_header_compiler:$ac_header_preproc in
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7607 ## ------------------------------------ ##
7608 ## Report this to bug-autoconf@gnu.org. ##
7609 ## ------------------------------------ ##
7612 sed "s/^/$as_me: WARNING: /" >&2
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7623 ## ------------------------------------ ##
7624 ## Report this to bug-autoconf@gnu.org. ##
7625 ## ------------------------------------ ##
7628 sed "s/^/$as_me: WARNING: /" >&2
7631 echo "$as_me:$LINENO: checking for $ac_header" >&5
7632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 eval "$as_ac_Header=$ac_header_preproc"
7638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7643 cat >>confdefs.h
<<_ACEOF
7644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7653 # All these tests are for C++; save the language and the compiler flags.
7654 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7655 # found in GLIBCXX_CONFIGURE.
7659 ac_cpp
='$CXXCPP $CPPFLAGS'
7660 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7661 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7662 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7664 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7665 ac_save_CXXFLAGS
="$CXXFLAGS"
7667 # Check for maintainer-mode bits.
7668 if test x
"$USE_MAINTAINER_MODE" = xno
; then
7674 # Check for -ffunction-sections -fdata-sections
7675 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7676 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7677 CXXFLAGS
='-Werror -ffunction-sections -fdata-sections'
7678 cat >conftest.
$ac_ext <<_ACEOF
7679 #line $LINENO "configure"
7682 cat confdefs.h
>>conftest.
$ac_ext
7683 cat >>conftest.
$ac_ext <<_ACEOF
7684 /* end confdefs.h. */
7694 rm -f conftest.
$ac_objext
7695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7696 (eval $ac_compile) 2>&5
7698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 (exit $ac_status); } &&
7700 { ac_try
='test -s conftest.$ac_objext'
7701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7705 (exit $ac_status); }; }; then
7708 echo "$as_me: failed program was:" >&5
7709 sed 's/^/| /' conftest.
$ac_ext >&5
7713 rm -f conftest.
$ac_objext conftest.
$ac_ext
7714 if test "$ac_test_CXXFLAGS" = set; then
7715 CXXFLAGS
="$ac_save_CXXFLAGS"
7717 # this is the suspicious part
7720 if test x
"$ac_fdsections" = x
"yes"; then
7721 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
7723 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7724 echo "${ECHO_T}$ac_fdsections" >&6
7727 ac_cpp
='$CPP $CPPFLAGS'
7728 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7729 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7730 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7736 # If we're not using GNU ld, then there's no point in even trying these
7737 # tests. Check for that first. We should have already tested for gld
7738 # by now (in libtool), but require it now just to be safe...
7739 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
7740 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
7744 # The name set by libtool depends on the version of libtool. Shame on us
7745 # for depending on an impl detail, but c'est la vie. Older versions used
7746 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7747 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7748 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7749 # set (hence we're using an older libtool), then set it.
7750 if test x
${with_gnu_ld+set} != xset
; then
7751 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
7752 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7755 with_gnu_ld
=$ac_cv_prog_gnu_ld
7759 # Start by getting the version number. I think the libtool test already
7760 # does some of this, but throws away the result.
7762 ldver
=`$LD --version 2>/dev/null | head -1 | \
7763 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7765 glibcxx_gnu_ld_version
=`echo $ldver | \
7766 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7768 # Set --gc-sections.
7769 if test "$with_gnu_ld" = "notbroken"; then
7770 # GNU ld it is! Joy and bunny rabbits!
7772 # All these tests are for C++; save the language and the compiler flags.
7773 # Need to do this so that g++ won't try to link in libstdc++
7774 ac_test_CFLAGS
="${CFLAGS+set}"
7775 ac_save_CFLAGS
="$CFLAGS"
7776 CFLAGS
='-x c++ -Wl,--gc-sections'
7778 # Check for -Wl,--gc-sections
7779 # XXX This test is broken at the moment, as symbols required for linking
7780 # are now in libsupc++ (not built yet). In addition, this test has
7781 # cored on solaris in the past. In addition, --gc-sections doesn't
7782 # really work at the moment (keeps on discarding used sections, first
7783 # .eh_frame and now some of the glibc sections for iconv).
7784 # Bzzzzt. Thanks for playing, maybe next time.
7785 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7786 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7787 if test "$cross_compiling" = yes; then
7788 ac_sectionLDflags
=yes
7790 cat >conftest.
$ac_ext <<_ACEOF
7791 #line $LINENO "configure"
7794 cat confdefs.h
>>conftest.
$ac_ext
7795 cat >>conftest.
$ac_ext <<_ACEOF
7796 /* end confdefs.h. */
7806 rm -f conftest
$ac_exeext
7807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7808 (eval $ac_link) 2>&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); }; }; then
7817 ac_sectionLDflags
=yes
7819 echo "$as_me: program exited with status $ac_status" >&5
7820 echo "$as_me: failed program was:" >&5
7821 sed 's/^/| /' conftest.
$ac_ext >&5
7824 ac_sectionLDflags
=no
7826 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7828 if test "$ac_test_CFLAGS" = set; then
7829 CFLAGS
="$ac_save_CFLAGS"
7831 # this is the suspicious part
7834 if test "$ac_sectionLDflags" = "yes"; then
7835 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
7837 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7838 echo "${ECHO_T}$ac_sectionLDflags" >&6
7841 # Set linker optimization flags.
7842 if test x
"$with_gnu_ld" = x
"yes"; then
7843 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
7850 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7851 ac_save_CXXFLAGS
="$CXXFLAGS"
7852 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
7854 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7855 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7856 if test "${ac_cv_lib_m_sin+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 ac_check_lib_save_LIBS
=$LIBS
7861 cat >conftest.
$ac_ext <<_ACEOF
7862 #line $LINENO "configure"
7865 cat confdefs.h
>>conftest.
$ac_ext
7866 cat >>conftest.
$ac_ext <<_ACEOF
7867 /* end confdefs.h. */
7869 /* Override any gcc2 internal prototype to avoid an error. */
7873 /* We use char because int might match the return type of a gcc2
7874 builtin and then its argument prototype would still apply. */
7884 rm -f conftest.
$ac_objext conftest
$ac_exeext
7885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7886 (eval $ac_link) 2>&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } &&
7890 { ac_try
='test -s conftest$ac_exeext'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; }; then
7898 echo "$as_me: failed program was:" >&5
7899 sed 's/^/| /' conftest.
$ac_ext >&5
7903 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
7904 LIBS
=$ac_check_lib_save_LIBS
7906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7907 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7908 if test $ac_cv_lib_m_sin = yes; then
7912 ac_save_LIBS
="$LIBS"
7917 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7918 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7919 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
7920 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 ac_cpp
='$CXXCPP $CPPFLAGS'
7928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7932 cat >conftest.
$ac_ext <<_ACEOF
7933 #line $LINENO "configure"
7936 cat confdefs.h
>>conftest.
$ac_ext
7937 cat >>conftest.
$ac_ext <<_ACEOF
7938 /* end confdefs.h. */
7940 #ifdef HAVE_IEEEFP_H
7952 rm -f conftest.
$ac_objext
7953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7954 (eval $ac_compile) 2>&5
7956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957 (exit $ac_status); } &&
7958 { ac_try
='test -s conftest.$ac_objext'
7959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963 (exit $ac_status); }; }; then
7964 glibcxx_cv_func_isinf_use
=yes
7966 echo "$as_me: failed program was:" >&5
7967 sed 's/^/| /' conftest.
$ac_ext >&5
7969 glibcxx_cv_func_isinf_use
=no
7971 rm -f conftest.
$ac_objext conftest.
$ac_ext
7973 ac_cpp
='$CPP $CPPFLAGS'
7974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7982 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7983 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7985 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
7987 for ac_func
in isinf
7989 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7990 echo "$as_me:$LINENO: checking for $ac_func" >&5
7991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7992 if eval "test \"\${$as_ac_var+set}\" = set"; then
7993 echo $ECHO_N "(cached) $ECHO_C" >&6
7995 cat >conftest.
$ac_ext <<_ACEOF
7996 #line $LINENO "configure"
7999 cat confdefs.h
>>conftest.
$ac_ext
8000 cat >>conftest.
$ac_ext <<_ACEOF
8001 /* end confdefs.h. */
8002 /* System header to define __stub macros and hopefully few prototypes,
8003 which can conflict with char $ac_func (); below.
8004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8005 <limits.h> exists even on freestanding compilers. */
8007 # include <limits.h>
8009 # include <assert.h>
8011 /* Override any gcc2 internal prototype to avoid an error. */
8016 /* We use char because int might match the return type of a gcc2
8017 builtin and then its argument prototype would still apply. */
8019 /* The GNU C library defines this for functions which it implements
8020 to always fail with ENOSYS. Some functions are actually named
8021 something starting with __ and the normal name is an alias. */
8022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8025 char (*f) () = $ac_func;
8034 return f != $ac_func;
8039 rm -f conftest.
$ac_objext conftest
$ac_exeext
8040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8041 (eval $ac_link) 2>&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); } &&
8045 { ac_try
='test -s conftest$ac_exeext'
8046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); }; }; then
8051 eval "$as_ac_var=yes"
8053 echo "$as_me: failed program was:" >&5
8054 sed 's/^/| /' conftest.
$ac_ext >&5
8056 eval "$as_ac_var=no"
8058 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8062 if test `eval echo '${'$as_ac_var'}'` = yes; then
8063 cat >>confdefs.h
<<_ACEOF
8064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8072 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8073 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8074 if test x
${glibcxx_cv_func__isinf_use+set} != xset
; then
8075 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8076 echo $ECHO_N "(cached) $ECHO_C" >&6
8082 ac_cpp
='$CXXCPP $CPPFLAGS'
8083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8087 cat >conftest.
$ac_ext <<_ACEOF
8088 #line $LINENO "configure"
8091 cat confdefs.h
>>conftest.
$ac_ext
8092 cat >>conftest.
$ac_ext <<_ACEOF
8093 /* end confdefs.h. */
8095 #ifdef HAVE_IEEEFP_H
8107 rm -f conftest.
$ac_objext
8108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8109 (eval $ac_compile) 2>&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } &&
8113 { ac_try
='test -s conftest.$ac_objext'
8114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); }; }; then
8119 glibcxx_cv_func__isinf_use
=yes
8121 echo "$as_me: failed program was:" >&5
8122 sed 's/^/| /' conftest.
$ac_ext >&5
8124 glibcxx_cv_func__isinf_use
=no
8126 rm -f conftest.
$ac_objext conftest.
$ac_ext
8128 ac_cpp
='$CPP $CPPFLAGS'
8129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8137 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8138 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8140 if test x
$glibcxx_cv_func__isinf_use = x
"yes"; then
8142 for ac_func
in _isinf
8144 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8145 echo "$as_me:$LINENO: checking for $ac_func" >&5
8146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8147 if eval "test \"\${$as_ac_var+set}\" = set"; then
8148 echo $ECHO_N "(cached) $ECHO_C" >&6
8150 cat >conftest.
$ac_ext <<_ACEOF
8151 #line $LINENO "configure"
8154 cat confdefs.h
>>conftest.
$ac_ext
8155 cat >>conftest.
$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8157 /* System header to define __stub macros and hopefully few prototypes,
8158 which can conflict with char $ac_func (); below.
8159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8160 <limits.h> exists even on freestanding compilers. */
8162 # include <limits.h>
8164 # include <assert.h>
8166 /* Override any gcc2 internal prototype to avoid an error. */
8171 /* We use char because int might match the return type of a gcc2
8172 builtin and then its argument prototype would still apply. */
8174 /* The GNU C library defines this for functions which it implements
8175 to always fail with ENOSYS. Some functions are actually named
8176 something starting with __ and the normal name is an alias. */
8177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8180 char (*f) () = $ac_func;
8189 return f != $ac_func;
8194 rm -f conftest.
$ac_objext conftest
$ac_exeext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8196 (eval $ac_link) 2>&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } &&
8200 { ac_try
='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 eval "$as_ac_var=yes"
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.
$ac_ext >&5
8211 eval "$as_ac_var=no"
8213 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8217 if test `eval echo '${'$as_ac_var'}'` = yes; then
8218 cat >>confdefs.h
<<_ACEOF
8219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8230 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8231 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8232 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
8233 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 ac_cpp
='$CXXCPP $CPPFLAGS'
8241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8245 cat >conftest.
$ac_ext <<_ACEOF
8246 #line $LINENO "configure"
8249 cat confdefs.h
>>conftest.
$ac_ext
8250 cat >>conftest.
$ac_ext <<_ACEOF
8251 /* end confdefs.h. */
8253 #ifdef HAVE_IEEEFP_H
8265 rm -f conftest.
$ac_objext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8267 (eval $ac_compile) 2>&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try
='test -s conftest.$ac_objext'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; }; then
8277 glibcxx_cv_func_isnan_use
=yes
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.
$ac_ext >&5
8282 glibcxx_cv_func_isnan_use
=no
8284 rm -f conftest.
$ac_objext conftest.
$ac_ext
8286 ac_cpp
='$CPP $CPPFLAGS'
8287 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8296 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8298 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
8300 for ac_func
in isnan
8302 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8303 echo "$as_me:$LINENO: checking for $ac_func" >&5
8304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8305 if eval "test \"\${$as_ac_var+set}\" = set"; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 cat >conftest.
$ac_ext <<_ACEOF
8309 #line $LINENO "configure"
8312 cat confdefs.h
>>conftest.
$ac_ext
8313 cat >>conftest.
$ac_ext <<_ACEOF
8314 /* end confdefs.h. */
8315 /* System header to define __stub macros and hopefully few prototypes,
8316 which can conflict with char $ac_func (); below.
8317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8318 <limits.h> exists even on freestanding compilers. */
8320 # include <limits.h>
8322 # include <assert.h>
8324 /* Override any gcc2 internal prototype to avoid an error. */
8329 /* We use char because int might match the return type of a gcc2
8330 builtin and then its argument prototype would still apply. */
8332 /* The GNU C library defines this for functions which it implements
8333 to always fail with ENOSYS. Some functions are actually named
8334 something starting with __ and the normal name is an alias. */
8335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8338 char (*f) () = $ac_func;
8347 return f != $ac_func;
8352 rm -f conftest.
$ac_objext conftest
$ac_exeext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8354 (eval $ac_link) 2>&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); } &&
8358 { ac_try
='test -s conftest$ac_exeext'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; }; then
8364 eval "$as_ac_var=yes"
8366 echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.
$ac_ext >&5
8369 eval "$as_ac_var=no"
8371 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8375 if test `eval echo '${'$as_ac_var'}'` = yes; then
8376 cat >>confdefs.h
<<_ACEOF
8377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8385 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8386 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8387 if test x
${glibcxx_cv_func__isnan_use+set} != xset
; then
8388 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8389 echo $ECHO_N "(cached) $ECHO_C" >&6
8395 ac_cpp
='$CXXCPP $CPPFLAGS'
8396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8400 cat >conftest.
$ac_ext <<_ACEOF
8401 #line $LINENO "configure"
8404 cat confdefs.h
>>conftest.
$ac_ext
8405 cat >>conftest.
$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8408 #ifdef HAVE_IEEEFP_H
8420 rm -f conftest.
$ac_objext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8422 (eval $ac_compile) 2>&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); } &&
8426 { ac_try
='test -s conftest.$ac_objext'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; }; then
8432 glibcxx_cv_func__isnan_use
=yes
8434 echo "$as_me: failed program was:" >&5
8435 sed 's/^/| /' conftest.
$ac_ext >&5
8437 glibcxx_cv_func__isnan_use
=no
8439 rm -f conftest.
$ac_objext conftest.
$ac_ext
8441 ac_cpp
='$CPP $CPPFLAGS'
8442 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8443 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8444 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8451 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8453 if test x
$glibcxx_cv_func__isnan_use = x
"yes"; then
8455 for ac_func
in _isnan
8457 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8458 echo "$as_me:$LINENO: checking for $ac_func" >&5
8459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8460 if eval "test \"\${$as_ac_var+set}\" = set"; then
8461 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 cat >conftest.
$ac_ext <<_ACEOF
8464 #line $LINENO "configure"
8467 cat confdefs.h
>>conftest.
$ac_ext
8468 cat >>conftest.
$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8470 /* System header to define __stub macros and hopefully few prototypes,
8471 which can conflict with char $ac_func (); below.
8472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8473 <limits.h> exists even on freestanding compilers. */
8475 # include <limits.h>
8477 # include <assert.h>
8479 /* Override any gcc2 internal prototype to avoid an error. */
8484 /* We use char because int might match the return type of a gcc2
8485 builtin and then its argument prototype would still apply. */
8487 /* The GNU C library defines this for functions which it implements
8488 to always fail with ENOSYS. Some functions are actually named
8489 something starting with __ and the normal name is an alias. */
8490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8493 char (*f) () = $ac_func;
8502 return f != $ac_func;
8507 rm -f conftest.
$ac_objext conftest
$ac_exeext
8508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8509 (eval $ac_link) 2>&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); } &&
8513 { ac_try
='test -s conftest$ac_exeext'
8514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8518 (exit $ac_status); }; }; then
8519 eval "$as_ac_var=yes"
8521 echo "$as_me: failed program was:" >&5
8522 sed 's/^/| /' conftest.
$ac_ext >&5
8524 eval "$as_ac_var=no"
8526 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8530 if test `eval echo '${'$as_ac_var'}'` = yes; then
8531 cat >>confdefs.h
<<_ACEOF
8532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8543 echo "$as_me:$LINENO: checking for finite declaration" >&5
8544 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8545 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
8546 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8553 ac_cpp
='$CXXCPP $CPPFLAGS'
8554 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8555 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8556 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8558 cat >conftest.
$ac_ext <<_ACEOF
8559 #line $LINENO "configure"
8562 cat confdefs.h
>>conftest.
$ac_ext
8563 cat >>conftest.
$ac_ext <<_ACEOF
8564 /* end confdefs.h. */
8566 #ifdef HAVE_IEEEFP_H
8578 rm -f conftest.
$ac_objext
8579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8580 (eval $ac_compile) 2>&5
8582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583 (exit $ac_status); } &&
8584 { ac_try
='test -s conftest.$ac_objext'
8585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); }; }; then
8590 glibcxx_cv_func_finite_use
=yes
8592 echo "$as_me: failed program was:" >&5
8593 sed 's/^/| /' conftest.
$ac_ext >&5
8595 glibcxx_cv_func_finite_use
=no
8597 rm -f conftest.
$ac_objext conftest.
$ac_ext
8599 ac_cpp
='$CPP $CPPFLAGS'
8600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8609 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8611 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
8613 for ac_func
in finite
8615 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8616 echo "$as_me:$LINENO: checking for $ac_func" >&5
8617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8618 if eval "test \"\${$as_ac_var+set}\" = set"; then
8619 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 cat >conftest.
$ac_ext <<_ACEOF
8622 #line $LINENO "configure"
8625 cat confdefs.h
>>conftest.
$ac_ext
8626 cat >>conftest.
$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8628 /* System header to define __stub macros and hopefully few prototypes,
8629 which can conflict with char $ac_func (); below.
8630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631 <limits.h> exists even on freestanding compilers. */
8633 # include <limits.h>
8635 # include <assert.h>
8637 /* Override any gcc2 internal prototype to avoid an error. */
8642 /* We use char because int might match the return type of a gcc2
8643 builtin and then its argument prototype would still apply. */
8645 /* The GNU C library defines this for functions which it implements
8646 to always fail with ENOSYS. Some functions are actually named
8647 something starting with __ and the normal name is an alias. */
8648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8651 char (*f) () = $ac_func;
8660 return f != $ac_func;
8665 rm -f conftest.
$ac_objext conftest
$ac_exeext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8667 (eval $ac_link) 2>&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } &&
8671 { ac_try
='test -s conftest$ac_exeext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8677 eval "$as_ac_var=yes"
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.
$ac_ext >&5
8682 eval "$as_ac_var=no"
8684 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8688 if test `eval echo '${'$as_ac_var'}'` = yes; then
8689 cat >>confdefs.h
<<_ACEOF
8690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8698 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8699 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8700 if test x
${glibcxx_cv_func__finite_use+set} != xset
; then
8701 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 ac_cpp
='$CXXCPP $CPPFLAGS'
8709 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8710 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8711 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8713 cat >conftest.
$ac_ext <<_ACEOF
8714 #line $LINENO "configure"
8717 cat confdefs.h
>>conftest.
$ac_ext
8718 cat >>conftest.
$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8721 #ifdef HAVE_IEEEFP_H
8733 rm -f conftest.
$ac_objext
8734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8735 (eval $ac_compile) 2>&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); } &&
8739 { ac_try
='test -s conftest.$ac_objext'
8740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); }; }; then
8745 glibcxx_cv_func__finite_use
=yes
8747 echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.
$ac_ext >&5
8750 glibcxx_cv_func__finite_use
=no
8752 rm -f conftest.
$ac_objext conftest.
$ac_ext
8754 ac_cpp
='$CPP $CPPFLAGS'
8755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8764 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8766 if test x
$glibcxx_cv_func__finite_use = x
"yes"; then
8768 for ac_func
in _finite
8770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8771 echo "$as_me:$LINENO: checking for $ac_func" >&5
8772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8773 if eval "test \"\${$as_ac_var+set}\" = set"; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 cat >conftest.
$ac_ext <<_ACEOF
8777 #line $LINENO "configure"
8780 cat confdefs.h
>>conftest.
$ac_ext
8781 cat >>conftest.
$ac_ext <<_ACEOF
8782 /* end confdefs.h. */
8783 /* System header to define __stub macros and hopefully few prototypes,
8784 which can conflict with char $ac_func (); below.
8785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8786 <limits.h> exists even on freestanding compilers. */
8788 # include <limits.h>
8790 # include <assert.h>
8792 /* Override any gcc2 internal prototype to avoid an error. */
8797 /* We use char because int might match the return type of a gcc2
8798 builtin and then its argument prototype would still apply. */
8800 /* The GNU C library defines this for functions which it implements
8801 to always fail with ENOSYS. Some functions are actually named
8802 something starting with __ and the normal name is an alias. */
8803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8806 char (*f) () = $ac_func;
8815 return f != $ac_func;
8820 rm -f conftest.
$ac_objext conftest
$ac_exeext
8821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8822 (eval $ac_link) 2>&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); } &&
8826 { ac_try
='test -s conftest$ac_exeext'
8827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8831 (exit $ac_status); }; }; then
8832 eval "$as_ac_var=yes"
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.
$ac_ext >&5
8837 eval "$as_ac_var=no"
8839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8843 if test `eval echo '${'$as_ac_var'}'` = yes; then
8844 cat >>confdefs.h
<<_ACEOF
8845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8856 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8857 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8858 if test x
${glibcxx_cv_func_copysign_use+set} != xset
; then
8859 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8866 ac_cpp
='$CXXCPP $CPPFLAGS'
8867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8871 cat >conftest.
$ac_ext <<_ACEOF
8872 #line $LINENO "configure"
8875 cat confdefs.h
>>conftest.
$ac_ext
8876 cat >>conftest.
$ac_ext <<_ACEOF
8877 /* end confdefs.h. */
8887 rm -f conftest.
$ac_objext
8888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8889 (eval $ac_compile) 2>&5
8891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892 (exit $ac_status); } &&
8893 { ac_try
='test -s conftest.$ac_objext'
8894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); }; }; then
8899 glibcxx_cv_func_copysign_use
=yes
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.
$ac_ext >&5
8904 glibcxx_cv_func_copysign_use
=no
8906 rm -f conftest.
$ac_objext conftest.
$ac_ext
8908 ac_cpp
='$CPP $CPPFLAGS'
8909 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8910 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8911 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8918 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8920 if test x
$glibcxx_cv_func_copysign_use = x
"yes"; then
8922 for ac_func
in copysign
8924 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8925 echo "$as_me:$LINENO: checking for $ac_func" >&5
8926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8927 if eval "test \"\${$as_ac_var+set}\" = set"; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 cat >conftest.
$ac_ext <<_ACEOF
8931 #line $LINENO "configure"
8934 cat confdefs.h
>>conftest.
$ac_ext
8935 cat >>conftest.
$ac_ext <<_ACEOF
8936 /* end confdefs.h. */
8937 /* System header to define __stub macros and hopefully few prototypes,
8938 which can conflict with char $ac_func (); below.
8939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8940 <limits.h> exists even on freestanding compilers. */
8942 # include <limits.h>
8944 # include <assert.h>
8946 /* Override any gcc2 internal prototype to avoid an error. */
8951 /* We use char because int might match the return type of a gcc2
8952 builtin and then its argument prototype would still apply. */
8954 /* The GNU C library defines this for functions which it implements
8955 to always fail with ENOSYS. Some functions are actually named
8956 something starting with __ and the normal name is an alias. */
8957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8960 char (*f) () = $ac_func;
8969 return f != $ac_func;
8974 rm -f conftest.
$ac_objext conftest
$ac_exeext
8975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8976 (eval $ac_link) 2>&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); } &&
8980 { ac_try
='test -s conftest$ac_exeext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 eval "$as_ac_var=yes"
8988 echo "$as_me: failed program was:" >&5
8989 sed 's/^/| /' conftest.
$ac_ext >&5
8991 eval "$as_ac_var=no"
8993 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
8995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8997 if test `eval echo '${'$as_ac_var'}'` = yes; then
8998 cat >>confdefs.h
<<_ACEOF
8999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9007 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9008 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9009 if test x
${glibcxx_cv_func__copysign_use+set} != xset
; then
9010 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9011 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 ac_cpp
='$CXXCPP $CPPFLAGS'
9018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9022 cat >conftest.
$ac_ext <<_ACEOF
9023 #line $LINENO "configure"
9026 cat confdefs.h
>>conftest.
$ac_ext
9027 cat >>conftest.
$ac_ext <<_ACEOF
9028 /* end confdefs.h. */
9038 rm -f conftest.
$ac_objext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9040 (eval $ac_compile) 2>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } &&
9044 { ac_try
='test -s conftest.$ac_objext'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; }; then
9050 glibcxx_cv_func__copysign_use
=yes
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.
$ac_ext >&5
9055 glibcxx_cv_func__copysign_use
=no
9057 rm -f conftest.
$ac_objext conftest.
$ac_ext
9059 ac_cpp
='$CPP $CPPFLAGS'
9060 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9061 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9069 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9071 if test x
$glibcxx_cv_func__copysign_use = x
"yes"; then
9073 for ac_func
in _copysign
9075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9076 echo "$as_me:$LINENO: checking for $ac_func" >&5
9077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9078 if eval "test \"\${$as_ac_var+set}\" = set"; then
9079 echo $ECHO_N "(cached) $ECHO_C" >&6
9081 cat >conftest.
$ac_ext <<_ACEOF
9082 #line $LINENO "configure"
9085 cat confdefs.h
>>conftest.
$ac_ext
9086 cat >>conftest.
$ac_ext <<_ACEOF
9087 /* end confdefs.h. */
9088 /* System header to define __stub macros and hopefully few prototypes,
9089 which can conflict with char $ac_func (); below.
9090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9091 <limits.h> exists even on freestanding compilers. */
9093 # include <limits.h>
9095 # include <assert.h>
9097 /* Override any gcc2 internal prototype to avoid an error. */
9102 /* We use char because int might match the return type of a gcc2
9103 builtin and then its argument prototype would still apply. */
9105 /* The GNU C library defines this for functions which it implements
9106 to always fail with ENOSYS. Some functions are actually named
9107 something starting with __ and the normal name is an alias. */
9108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9111 char (*f) () = $ac_func;
9120 return f != $ac_func;
9125 rm -f conftest.
$ac_objext conftest
$ac_exeext
9126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9127 (eval $ac_link) 2>&5
9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130 (exit $ac_status); } &&
9131 { ac_try
='test -s conftest$ac_exeext'
9132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); }; }; then
9137 eval "$as_ac_var=yes"
9139 echo "$as_me: failed program was:" >&5
9140 sed 's/^/| /' conftest.
$ac_ext >&5
9142 eval "$as_ac_var=no"
9144 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9148 if test `eval echo '${'$as_ac_var'}'` = yes; then
9149 cat >>confdefs.h
<<_ACEOF
9150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9161 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9162 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9163 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
9164 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9165 echo $ECHO_N "(cached) $ECHO_C" >&6
9171 ac_cpp
='$CXXCPP $CPPFLAGS'
9172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9176 cat >conftest.
$ac_ext <<_ACEOF
9177 #line $LINENO "configure"
9180 cat confdefs.h
>>conftest.
$ac_ext
9181 cat >>conftest.
$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9192 rm -f conftest.
$ac_objext
9193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9194 (eval $ac_compile) 2>&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } &&
9198 { ac_try
='test -s conftest.$ac_objext'
9199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); }; }; then
9204 glibcxx_cv_func_sincos_use
=yes
9206 echo "$as_me: failed program was:" >&5
9207 sed 's/^/| /' conftest.
$ac_ext >&5
9209 glibcxx_cv_func_sincos_use
=no
9211 rm -f conftest.
$ac_objext conftest.
$ac_ext
9213 ac_cpp
='$CPP $CPPFLAGS'
9214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9223 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9225 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
9227 for ac_func
in sincos
9229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9230 echo "$as_me:$LINENO: checking for $ac_func" >&5
9231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9232 if eval "test \"\${$as_ac_var+set}\" = set"; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 cat >conftest.
$ac_ext <<_ACEOF
9236 #line $LINENO "configure"
9239 cat confdefs.h
>>conftest.
$ac_ext
9240 cat >>conftest.
$ac_ext <<_ACEOF
9241 /* end confdefs.h. */
9242 /* System header to define __stub macros and hopefully few prototypes,
9243 which can conflict with char $ac_func (); below.
9244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9245 <limits.h> exists even on freestanding compilers. */
9247 # include <limits.h>
9249 # include <assert.h>
9251 /* Override any gcc2 internal prototype to avoid an error. */
9256 /* We use char because int might match the return type of a gcc2
9257 builtin and then its argument prototype would still apply. */
9259 /* The GNU C library defines this for functions which it implements
9260 to always fail with ENOSYS. Some functions are actually named
9261 something starting with __ and the normal name is an alias. */
9262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9265 char (*f) () = $ac_func;
9274 return f != $ac_func;
9279 rm -f conftest.
$ac_objext conftest
$ac_exeext
9280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9281 (eval $ac_link) 2>&5
9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 (exit $ac_status); } &&
9285 { ac_try
='test -s conftest$ac_exeext'
9286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290 (exit $ac_status); }; }; then
9291 eval "$as_ac_var=yes"
9293 echo "$as_me: failed program was:" >&5
9294 sed 's/^/| /' conftest.
$ac_ext >&5
9296 eval "$as_ac_var=no"
9298 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9302 if test `eval echo '${'$as_ac_var'}'` = yes; then
9303 cat >>confdefs.h
<<_ACEOF
9304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9312 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9313 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9314 if test x
${glibcxx_cv_func__sincos_use+set} != xset
; then
9315 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9316 echo $ECHO_N "(cached) $ECHO_C" >&6
9322 ac_cpp
='$CXXCPP $CPPFLAGS'
9323 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9324 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9325 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9327 cat >conftest.
$ac_ext <<_ACEOF
9328 #line $LINENO "configure"
9331 cat confdefs.h
>>conftest.
$ac_ext
9332 cat >>conftest.
$ac_ext <<_ACEOF
9333 /* end confdefs.h. */
9343 rm -f conftest.
$ac_objext
9344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9345 (eval $ac_compile) 2>&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); } &&
9349 { ac_try
='test -s conftest.$ac_objext'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 glibcxx_cv_func__sincos_use
=yes
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.
$ac_ext >&5
9360 glibcxx_cv_func__sincos_use
=no
9362 rm -f conftest.
$ac_objext conftest.
$ac_ext
9364 ac_cpp
='$CPP $CPPFLAGS'
9365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9374 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9376 if test x
$glibcxx_cv_func__sincos_use = x
"yes"; then
9378 for ac_func
in _sincos
9380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9381 echo "$as_me:$LINENO: checking for $ac_func" >&5
9382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9383 if eval "test \"\${$as_ac_var+set}\" = set"; then
9384 echo $ECHO_N "(cached) $ECHO_C" >&6
9386 cat >conftest.
$ac_ext <<_ACEOF
9387 #line $LINENO "configure"
9390 cat confdefs.h
>>conftest.
$ac_ext
9391 cat >>conftest.
$ac_ext <<_ACEOF
9392 /* end confdefs.h. */
9393 /* System header to define __stub macros and hopefully few prototypes,
9394 which can conflict with char $ac_func (); below.
9395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9396 <limits.h> exists even on freestanding compilers. */
9398 # include <limits.h>
9400 # include <assert.h>
9402 /* Override any gcc2 internal prototype to avoid an error. */
9407 /* We use char because int might match the return type of a gcc2
9408 builtin and then its argument prototype would still apply. */
9410 /* The GNU C library defines this for functions which it implements
9411 to always fail with ENOSYS. Some functions are actually named
9412 something starting with __ and the normal name is an alias. */
9413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9416 char (*f) () = $ac_func;
9425 return f != $ac_func;
9430 rm -f conftest.
$ac_objext conftest
$ac_exeext
9431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9432 (eval $ac_link) 2>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 (exit $ac_status); } &&
9436 { ac_try
='test -s conftest$ac_exeext'
9437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9441 (exit $ac_status); }; }; then
9442 eval "$as_ac_var=yes"
9444 echo "$as_me: failed program was:" >&5
9445 sed 's/^/| /' conftest.
$ac_ext >&5
9447 eval "$as_ac_var=no"
9449 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9453 if test `eval echo '${'$as_ac_var'}'` = yes; then
9454 cat >>confdefs.h
<<_ACEOF
9455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9466 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9467 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9468 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
9469 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9470 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 ac_cpp
='$CXXCPP $CPPFLAGS'
9477 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9478 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9479 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9481 cat >conftest.
$ac_ext <<_ACEOF
9482 #line $LINENO "configure"
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9489 #ifdef HAVE_IEEEFP_H
9501 rm -f conftest.
$ac_objext
9502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9503 (eval $ac_compile) 2>&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } &&
9507 { ac_try
='test -s conftest.$ac_objext'
9508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); }; }; then
9513 glibcxx_cv_func_fpclass_use
=yes
9515 echo "$as_me: failed program was:" >&5
9516 sed 's/^/| /' conftest.
$ac_ext >&5
9518 glibcxx_cv_func_fpclass_use
=no
9520 rm -f conftest.
$ac_objext conftest.
$ac_ext
9522 ac_cpp
='$CPP $CPPFLAGS'
9523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9532 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9534 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
9536 for ac_func
in fpclass
9538 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9539 echo "$as_me:$LINENO: checking for $ac_func" >&5
9540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9541 if eval "test \"\${$as_ac_var+set}\" = set"; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 cat >conftest.
$ac_ext <<_ACEOF
9545 #line $LINENO "configure"
9548 cat confdefs.h
>>conftest.
$ac_ext
9549 cat >>conftest.
$ac_ext <<_ACEOF
9550 /* end confdefs.h. */
9551 /* System header to define __stub macros and hopefully few prototypes,
9552 which can conflict with char $ac_func (); below.
9553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9554 <limits.h> exists even on freestanding compilers. */
9556 # include <limits.h>
9558 # include <assert.h>
9560 /* Override any gcc2 internal prototype to avoid an error. */
9565 /* We use char because int might match the return type of a gcc2
9566 builtin and then its argument prototype would still apply. */
9568 /* The GNU C library defines this for functions which it implements
9569 to always fail with ENOSYS. Some functions are actually named
9570 something starting with __ and the normal name is an alias. */
9571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9574 char (*f) () = $ac_func;
9583 return f != $ac_func;
9588 rm -f conftest.
$ac_objext conftest
$ac_exeext
9589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9590 (eval $ac_link) 2>&5
9592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } &&
9594 { ac_try
='test -s conftest$ac_exeext'
9595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); }; }; then
9600 eval "$as_ac_var=yes"
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.
$ac_ext >&5
9605 eval "$as_ac_var=no"
9607 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9611 if test `eval echo '${'$as_ac_var'}'` = yes; then
9612 cat >>confdefs.h
<<_ACEOF
9613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9621 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9622 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9623 if test x
${glibcxx_cv_func__fpclass_use+set} != xset
; then
9624 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9625 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 ac_cpp
='$CXXCPP $CPPFLAGS'
9632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9636 cat >conftest.
$ac_ext <<_ACEOF
9637 #line $LINENO "configure"
9640 cat confdefs.h
>>conftest.
$ac_ext
9641 cat >>conftest.
$ac_ext <<_ACEOF
9642 /* end confdefs.h. */
9644 #ifdef HAVE_IEEEFP_H
9656 rm -f conftest.
$ac_objext
9657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9658 (eval $ac_compile) 2>&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); } &&
9662 { ac_try
='test -s conftest.$ac_objext'
9663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; }; then
9668 glibcxx_cv_func__fpclass_use
=yes
9670 echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.
$ac_ext >&5
9673 glibcxx_cv_func__fpclass_use
=no
9675 rm -f conftest.
$ac_objext conftest.
$ac_ext
9677 ac_cpp
='$CPP $CPPFLAGS'
9678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9687 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9689 if test x
$glibcxx_cv_func__fpclass_use = x
"yes"; then
9691 for ac_func
in _fpclass
9693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9694 echo "$as_me:$LINENO: checking for $ac_func" >&5
9695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9696 if eval "test \"\${$as_ac_var+set}\" = set"; then
9697 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 cat >conftest.
$ac_ext <<_ACEOF
9700 #line $LINENO "configure"
9703 cat confdefs.h
>>conftest.
$ac_ext
9704 cat >>conftest.
$ac_ext <<_ACEOF
9705 /* end confdefs.h. */
9706 /* System header to define __stub macros and hopefully few prototypes,
9707 which can conflict with char $ac_func (); below.
9708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9709 <limits.h> exists even on freestanding compilers. */
9711 # include <limits.h>
9713 # include <assert.h>
9715 /* Override any gcc2 internal prototype to avoid an error. */
9720 /* We use char because int might match the return type of a gcc2
9721 builtin and then its argument prototype would still apply. */
9723 /* The GNU C library defines this for functions which it implements
9724 to always fail with ENOSYS. Some functions are actually named
9725 something starting with __ and the normal name is an alias. */
9726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9729 char (*f) () = $ac_func;
9738 return f != $ac_func;
9743 rm -f conftest.
$ac_objext conftest
$ac_exeext
9744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9745 (eval $ac_link) 2>&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); } &&
9749 { ac_try
='test -s conftest$ac_exeext'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; }; then
9755 eval "$as_ac_var=yes"
9757 echo "$as_me: failed program was:" >&5
9758 sed 's/^/| /' conftest.
$ac_ext >&5
9760 eval "$as_ac_var=no"
9762 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9766 if test `eval echo '${'$as_ac_var'}'` = yes; then
9767 cat >>confdefs.h
<<_ACEOF
9768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9779 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9780 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9781 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
9782 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9783 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 ac_cpp
='$CXXCPP $CPPFLAGS'
9790 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9791 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9792 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9794 cat >conftest.
$ac_ext <<_ACEOF
9795 #line $LINENO "configure"
9798 cat confdefs.h
>>conftest.
$ac_ext
9799 cat >>conftest.
$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9802 #ifdef HAVE_IEEEFP_H
9814 rm -f conftest.
$ac_objext
9815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9816 (eval $ac_compile) 2>&5
9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819 (exit $ac_status); } &&
9820 { ac_try
='test -s conftest.$ac_objext'
9821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); }; }; then
9826 glibcxx_cv_func_qfpclass_use
=yes
9828 echo "$as_me: failed program was:" >&5
9829 sed 's/^/| /' conftest.
$ac_ext >&5
9831 glibcxx_cv_func_qfpclass_use
=no
9833 rm -f conftest.
$ac_objext conftest.
$ac_ext
9835 ac_cpp
='$CPP $CPPFLAGS'
9836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9845 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9847 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
9849 for ac_func
in qfpclass
9851 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9852 echo "$as_me:$LINENO: checking for $ac_func" >&5
9853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9854 if eval "test \"\${$as_ac_var+set}\" = set"; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 cat >conftest.
$ac_ext <<_ACEOF
9858 #line $LINENO "configure"
9861 cat confdefs.h
>>conftest.
$ac_ext
9862 cat >>conftest.
$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9864 /* System header to define __stub macros and hopefully few prototypes,
9865 which can conflict with char $ac_func (); below.
9866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9867 <limits.h> exists even on freestanding compilers. */
9869 # include <limits.h>
9871 # include <assert.h>
9873 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9881 /* The GNU C library defines this for functions which it implements
9882 to always fail with ENOSYS. Some functions are actually named
9883 something starting with __ and the normal name is an alias. */
9884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9887 char (*f) () = $ac_func;
9896 return f != $ac_func;
9901 rm -f conftest.
$ac_objext conftest
$ac_exeext
9902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9903 (eval $ac_link) 2>&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); } &&
9907 { ac_try
='test -s conftest$ac_exeext'
9908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912 (exit $ac_status); }; }; then
9913 eval "$as_ac_var=yes"
9915 echo "$as_me: failed program was:" >&5
9916 sed 's/^/| /' conftest.
$ac_ext >&5
9918 eval "$as_ac_var=no"
9920 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
9922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9924 if test `eval echo '${'$as_ac_var'}'` = yes; then
9925 cat >>confdefs.h
<<_ACEOF
9926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9934 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9935 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9936 if test x
${glibcxx_cv_func__qfpclass_use+set} != xset
; then
9937 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9938 echo $ECHO_N "(cached) $ECHO_C" >&6
9944 ac_cpp
='$CXXCPP $CPPFLAGS'
9945 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9946 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9947 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9949 cat >conftest.
$ac_ext <<_ACEOF
9950 #line $LINENO "configure"
9953 cat confdefs.h
>>conftest.
$ac_ext
9954 cat >>conftest.
$ac_ext <<_ACEOF
9955 /* end confdefs.h. */
9957 #ifdef HAVE_IEEEFP_H
9969 rm -f conftest.
$ac_objext
9970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9971 (eval $ac_compile) 2>&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); } &&
9975 { ac_try
='test -s conftest.$ac_objext'
9976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); }; }; then
9981 glibcxx_cv_func__qfpclass_use
=yes
9983 echo "$as_me: failed program was:" >&5
9984 sed 's/^/| /' conftest.
$ac_ext >&5
9986 glibcxx_cv_func__qfpclass_use
=no
9988 rm -f conftest.
$ac_objext conftest.
$ac_ext
9990 ac_cpp
='$CPP $CPPFLAGS'
9991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9999 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10000 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10002 if test x
$glibcxx_cv_func__qfpclass_use = x
"yes"; then
10004 for ac_func
in _qfpclass
10006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10007 echo "$as_me:$LINENO: checking for $ac_func" >&5
10008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10009 if eval "test \"\${$as_ac_var+set}\" = set"; then
10010 echo $ECHO_N "(cached) $ECHO_C" >&6
10012 cat >conftest.
$ac_ext <<_ACEOF
10013 #line $LINENO "configure"
10016 cat confdefs.h
>>conftest.
$ac_ext
10017 cat >>conftest.
$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10019 /* System header to define __stub macros and hopefully few prototypes,
10020 which can conflict with char $ac_func (); below.
10021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10022 <limits.h> exists even on freestanding compilers. */
10024 # include <limits.h>
10026 # include <assert.h>
10028 /* Override any gcc2 internal prototype to avoid an error. */
10033 /* We use char because int might match the return type of a gcc2
10034 builtin and then its argument prototype would still apply. */
10036 /* The GNU C library defines this for functions which it implements
10037 to always fail with ENOSYS. Some functions are actually named
10038 something starting with __ and the normal name is an alias. */
10039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10042 char (*f) () = $ac_func;
10051 return f != $ac_func;
10056 rm -f conftest.
$ac_objext conftest
$ac_exeext
10057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10058 (eval $ac_link) 2>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); } &&
10062 { ac_try
='test -s conftest$ac_exeext'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; }; then
10068 eval "$as_ac_var=yes"
10070 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.
$ac_ext >&5
10073 eval "$as_ac_var=no"
10075 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10079 if test `eval echo '${'$as_ac_var'}'` = yes; then
10080 cat >>confdefs.h
<<_ACEOF
10081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10092 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10093 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10094 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
10095 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10096 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 ac_cpp
='$CXXCPP $CPPFLAGS'
10103 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10105 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10107 cat >conftest.
$ac_ext <<_ACEOF
10108 #line $LINENO "configure"
10111 cat confdefs.h
>>conftest.
$ac_ext
10112 cat >>conftest.
$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10123 rm -f conftest.
$ac_objext
10124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10125 (eval $ac_compile) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } &&
10129 { ac_try
='test -s conftest.$ac_objext'
10130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10131 (eval $ac_try) 2>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); }; }; then
10135 glibcxx_cv_func_hypot_use
=yes
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.
$ac_ext >&5
10140 glibcxx_cv_func_hypot_use
=no
10142 rm -f conftest.
$ac_objext conftest.
$ac_ext
10144 ac_cpp
='$CPP $CPPFLAGS'
10145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10154 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10156 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
10158 for ac_func
in hypot
10160 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10161 echo "$as_me:$LINENO: checking for $ac_func" >&5
10162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10163 if eval "test \"\${$as_ac_var+set}\" = set"; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 cat >conftest.
$ac_ext <<_ACEOF
10167 #line $LINENO "configure"
10170 cat confdefs.h
>>conftest.
$ac_ext
10171 cat >>conftest.
$ac_ext <<_ACEOF
10172 /* end confdefs.h. */
10173 /* System header to define __stub macros and hopefully few prototypes,
10174 which can conflict with char $ac_func (); below.
10175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10176 <limits.h> exists even on freestanding compilers. */
10178 # include <limits.h>
10180 # include <assert.h>
10182 /* Override any gcc2 internal prototype to avoid an error. */
10187 /* We use char because int might match the return type of a gcc2
10188 builtin and then its argument prototype would still apply. */
10190 /* The GNU C library defines this for functions which it implements
10191 to always fail with ENOSYS. Some functions are actually named
10192 something starting with __ and the normal name is an alias. */
10193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10196 char (*f) () = $ac_func;
10205 return f != $ac_func;
10210 rm -f conftest.
$ac_objext conftest
$ac_exeext
10211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10212 (eval $ac_link) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); } &&
10216 { ac_try
='test -s conftest$ac_exeext'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; }; then
10222 eval "$as_ac_var=yes"
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.
$ac_ext >&5
10227 eval "$as_ac_var=no"
10229 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10233 if test `eval echo '${'$as_ac_var'}'` = yes; then
10234 cat >>confdefs.h
<<_ACEOF
10235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10243 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10244 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10245 if test x
${glibcxx_cv_func__hypot_use+set} != xset
; then
10246 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10247 echo $ECHO_N "(cached) $ECHO_C" >&6
10253 ac_cpp
='$CXXCPP $CPPFLAGS'
10254 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10255 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10256 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10258 cat >conftest.
$ac_ext <<_ACEOF
10259 #line $LINENO "configure"
10262 cat confdefs.h
>>conftest.
$ac_ext
10263 cat >>conftest.
$ac_ext <<_ACEOF
10264 /* end confdefs.h. */
10274 rm -f conftest.
$ac_objext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10276 (eval $ac_compile) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); } &&
10280 { ac_try
='test -s conftest.$ac_objext'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; }; then
10286 glibcxx_cv_func__hypot_use
=yes
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.
$ac_ext >&5
10291 glibcxx_cv_func__hypot_use
=no
10293 rm -f conftest.
$ac_objext conftest.
$ac_ext
10295 ac_cpp
='$CPP $CPPFLAGS'
10296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10304 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10305 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10307 if test x
$glibcxx_cv_func__hypot_use = x
"yes"; then
10309 for ac_func
in _hypot
10311 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10312 echo "$as_me:$LINENO: checking for $ac_func" >&5
10313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10314 if eval "test \"\${$as_ac_var+set}\" = set"; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 cat >conftest.
$ac_ext <<_ACEOF
10318 #line $LINENO "configure"
10321 cat confdefs.h
>>conftest.
$ac_ext
10322 cat >>conftest.
$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10324 /* System header to define __stub macros and hopefully few prototypes,
10325 which can conflict with char $ac_func (); below.
10326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10327 <limits.h> exists even on freestanding compilers. */
10329 # include <limits.h>
10331 # include <assert.h>
10333 /* Override any gcc2 internal prototype to avoid an error. */
10338 /* We use char because int might match the return type of a gcc2
10339 builtin and then its argument prototype would still apply. */
10341 /* The GNU C library defines this for functions which it implements
10342 to always fail with ENOSYS. Some functions are actually named
10343 something starting with __ and the normal name is an alias. */
10344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10347 char (*f) () = $ac_func;
10356 return f != $ac_func;
10361 rm -f conftest.
$ac_objext conftest
$ac_exeext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10363 (eval $ac_link) 2>&5
10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366 (exit $ac_status); } &&
10367 { ac_try
='test -s conftest$ac_exeext'
10368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369 (eval $ac_try) 2>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); }; }; then
10373 eval "$as_ac_var=yes"
10375 echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.
$ac_ext >&5
10378 eval "$as_ac_var=no"
10380 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10384 if test `eval echo '${'$as_ac_var'}'` = yes; then
10385 cat >>confdefs.h
<<_ACEOF
10386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10397 echo "$as_me:$LINENO: checking for float trig functions" >&5
10398 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10399 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10406 ac_cpp
='$CXXCPP $CPPFLAGS'
10407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10411 cat >conftest.
$ac_ext <<_ACEOF
10412 #line $LINENO "configure"
10415 cat confdefs.h
>>conftest.
$ac_ext
10416 cat >>conftest.
$ac_ext <<_ACEOF
10417 /* end confdefs.h. */
10422 `for x in acosf asinf atanf \
10424 coshf sinhf tanhf; do echo "$x (0);"; done`
10429 rm -f conftest.
$ac_objext
10430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10431 (eval $ac_compile) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } &&
10435 { ac_try
='test -s conftest.$ac_objext'
10436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; }; then
10441 glibcxx_cv_func_float_trig_use
=yes
10443 echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.
$ac_ext >&5
10446 glibcxx_cv_func_float_trig_use
=no
10448 rm -f conftest.
$ac_objext conftest.
$ac_ext
10450 ac_cpp
='$CPP $CPPFLAGS'
10451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10458 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10459 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
10469 for ac_func
in acosf asinf atanf \
10473 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10474 echo "$as_me:$LINENO: checking for $ac_func" >&5
10475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10476 if eval "test \"\${$as_ac_var+set}\" = set"; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 cat >conftest.
$ac_ext <<_ACEOF
10480 #line $LINENO "configure"
10483 cat confdefs.h
>>conftest.
$ac_ext
10484 cat >>conftest.
$ac_ext <<_ACEOF
10485 /* end confdefs.h. */
10486 /* System header to define __stub macros and hopefully few prototypes,
10487 which can conflict with char $ac_func (); below.
10488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10489 <limits.h> exists even on freestanding compilers. */
10491 # include <limits.h>
10493 # include <assert.h>
10495 /* Override any gcc2 internal prototype to avoid an error. */
10500 /* We use char because int might match the return type of a gcc2
10501 builtin and then its argument prototype would still apply. */
10503 /* The GNU C library defines this for functions which it implements
10504 to always fail with ENOSYS. Some functions are actually named
10505 something starting with __ and the normal name is an alias. */
10506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10509 char (*f) () = $ac_func;
10518 return f != $ac_func;
10523 rm -f conftest.
$ac_objext conftest
$ac_exeext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10525 (eval $ac_link) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try
='test -s conftest$ac_exeext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 eval "$as_ac_var=yes"
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.
$ac_ext >&5
10540 eval "$as_ac_var=no"
10542 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10546 if test `eval echo '${'$as_ac_var'}'` = yes; then
10547 cat >>confdefs.h
<<_ACEOF
10548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10557 echo "$as_me:$LINENO: checking for float round functions" >&5
10558 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10559 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10566 ac_cpp
='$CXXCPP $CPPFLAGS'
10567 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10568 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10569 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10571 cat >conftest.
$ac_ext <<_ACEOF
10572 #line $LINENO "configure"
10575 cat confdefs.h
>>conftest.
$ac_ext
10576 cat >>conftest.
$ac_ext <<_ACEOF
10577 /* end confdefs.h. */
10582 `for x in ceilf floorf; do echo "$x (0);"; done`
10587 rm -f conftest.
$ac_objext
10588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10589 (eval $ac_compile) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); } &&
10593 { ac_try
='test -s conftest.$ac_objext'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 glibcxx_cv_func_float_round_use
=yes
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.
$ac_ext >&5
10604 glibcxx_cv_func_float_round_use
=no
10606 rm -f conftest.
$ac_objext conftest.
$ac_ext
10608 ac_cpp
='$CPP $CPPFLAGS'
10609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10616 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10617 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
10620 for ac_func
in ceilf floorf
10622 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10623 echo "$as_me:$LINENO: checking for $ac_func" >&5
10624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10625 if eval "test \"\${$as_ac_var+set}\" = set"; then
10626 echo $ECHO_N "(cached) $ECHO_C" >&6
10628 cat >conftest.
$ac_ext <<_ACEOF
10629 #line $LINENO "configure"
10632 cat confdefs.h
>>conftest.
$ac_ext
10633 cat >>conftest.
$ac_ext <<_ACEOF
10634 /* end confdefs.h. */
10635 /* System header to define __stub macros and hopefully few prototypes,
10636 which can conflict with char $ac_func (); below.
10637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10638 <limits.h> exists even on freestanding compilers. */
10640 # include <limits.h>
10642 # include <assert.h>
10644 /* Override any gcc2 internal prototype to avoid an error. */
10649 /* We use char because int might match the return type of a gcc2
10650 builtin and then its argument prototype would still apply. */
10652 /* The GNU C library defines this for functions which it implements
10653 to always fail with ENOSYS. Some functions are actually named
10654 something starting with __ and the normal name is an alias. */
10655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10658 char (*f) () = $ac_func;
10667 return f != $ac_func;
10672 rm -f conftest.
$ac_objext conftest
$ac_exeext
10673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10674 (eval $ac_link) 2>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } &&
10678 { ac_try
='test -s conftest$ac_exeext'
10679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10680 (eval $ac_try) 2>&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); }; }; then
10684 eval "$as_ac_var=yes"
10686 echo "$as_me: failed program was:" >&5
10687 sed 's/^/| /' conftest.
$ac_ext >&5
10689 eval "$as_ac_var=no"
10691 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10695 if test `eval echo '${'$as_ac_var'}'` = yes; then
10696 cat >>confdefs.h
<<_ACEOF
10697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10707 echo "$as_me:$LINENO: checking for expf declaration" >&5
10708 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10709 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
10710 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10717 ac_cpp
='$CXXCPP $CPPFLAGS'
10718 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10719 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10720 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10722 cat >conftest.
$ac_ext <<_ACEOF
10723 #line $LINENO "configure"
10726 cat confdefs.h
>>conftest.
$ac_ext
10727 cat >>conftest.
$ac_ext <<_ACEOF
10728 /* end confdefs.h. */
10730 #ifdef HAVE_IEEEFP_H
10731 #include <ieeefp.h>
10742 rm -f conftest.
$ac_objext
10743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10744 (eval $ac_compile) 2>&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } &&
10748 { ac_try
='test -s conftest.$ac_objext'
10749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10750 (eval $ac_try) 2>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); }; }; then
10754 glibcxx_cv_func_expf_use
=yes
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.
$ac_ext >&5
10759 glibcxx_cv_func_expf_use
=no
10761 rm -f conftest.
$ac_objext conftest.
$ac_ext
10763 ac_cpp
='$CPP $CPPFLAGS'
10764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10773 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10775 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
10777 for ac_func
in expf
10779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10780 echo "$as_me:$LINENO: checking for $ac_func" >&5
10781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10782 if eval "test \"\${$as_ac_var+set}\" = set"; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 cat >conftest.
$ac_ext <<_ACEOF
10786 #line $LINENO "configure"
10789 cat confdefs.h
>>conftest.
$ac_ext
10790 cat >>conftest.
$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10792 /* System header to define __stub macros and hopefully few prototypes,
10793 which can conflict with char $ac_func (); below.
10794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10795 <limits.h> exists even on freestanding compilers. */
10797 # include <limits.h>
10799 # include <assert.h>
10801 /* Override any gcc2 internal prototype to avoid an error. */
10806 /* We use char because int might match the return type of a gcc2
10807 builtin and then its argument prototype would still apply. */
10809 /* The GNU C library defines this for functions which it implements
10810 to always fail with ENOSYS. Some functions are actually named
10811 something starting with __ and the normal name is an alias. */
10812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10815 char (*f) () = $ac_func;
10824 return f != $ac_func;
10829 rm -f conftest.
$ac_objext conftest
$ac_exeext
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } &&
10835 { ac_try
='test -s conftest$ac_exeext'
10836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10837 (eval $ac_try) 2>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 (exit $ac_status); }; }; then
10841 eval "$as_ac_var=yes"
10843 echo "$as_me: failed program was:" >&5
10844 sed 's/^/| /' conftest.
$ac_ext >&5
10846 eval "$as_ac_var=no"
10848 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
10850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10852 if test `eval echo '${'$as_ac_var'}'` = yes; then
10853 cat >>confdefs.h
<<_ACEOF
10854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10862 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10863 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10864 if test x
${glibcxx_cv_func__expf_use+set} != xset
; then
10865 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10866 echo $ECHO_N "(cached) $ECHO_C" >&6
10872 ac_cpp
='$CXXCPP $CPPFLAGS'
10873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10877 cat >conftest.
$ac_ext <<_ACEOF
10878 #line $LINENO "configure"
10881 cat confdefs.h
>>conftest.
$ac_ext
10882 cat >>conftest.
$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10885 #ifdef HAVE_IEEEFP_H
10886 #include <ieeefp.h>
10897 rm -f conftest.
$ac_objext
10898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10899 (eval $ac_compile) 2>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try
='test -s conftest.$ac_objext'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; }; then
10909 glibcxx_cv_func__expf_use
=yes
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.
$ac_ext >&5
10914 glibcxx_cv_func__expf_use
=no
10916 rm -f conftest.
$ac_objext conftest.
$ac_ext
10918 ac_cpp
='$CPP $CPPFLAGS'
10919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10928 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
10930 if test x
$glibcxx_cv_func__expf_use = x
"yes"; then
10932 for ac_func
in _expf
10934 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10935 echo "$as_me:$LINENO: checking for $ac_func" >&5
10936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10937 if eval "test \"\${$as_ac_var+set}\" = set"; then
10938 echo $ECHO_N "(cached) $ECHO_C" >&6
10940 cat >conftest.
$ac_ext <<_ACEOF
10941 #line $LINENO "configure"
10944 cat confdefs.h
>>conftest.
$ac_ext
10945 cat >>conftest.
$ac_ext <<_ACEOF
10946 /* end confdefs.h. */
10947 /* System header to define __stub macros and hopefully few prototypes,
10948 which can conflict with char $ac_func (); below.
10949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10950 <limits.h> exists even on freestanding compilers. */
10952 # include <limits.h>
10954 # include <assert.h>
10956 /* Override any gcc2 internal prototype to avoid an error. */
10961 /* We use char because int might match the return type of a gcc2
10962 builtin and then its argument prototype would still apply. */
10964 /* The GNU C library defines this for functions which it implements
10965 to always fail with ENOSYS. Some functions are actually named
10966 something starting with __ and the normal name is an alias. */
10967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10970 char (*f) () = $ac_func;
10979 return f != $ac_func;
10984 rm -f conftest.
$ac_objext conftest
$ac_exeext
10985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10986 (eval $ac_link) 2>&5
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); } &&
10990 { ac_try
='test -s conftest$ac_exeext'
10991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 (eval $ac_try) 2>&5
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); }; }; then
10996 eval "$as_ac_var=yes"
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.
$ac_ext >&5
11001 eval "$as_ac_var=no"
11003 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11007 if test `eval echo '${'$as_ac_var'}'` = yes; then
11008 cat >>confdefs.h
<<_ACEOF
11009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11020 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11021 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11022 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
11023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11030 ac_cpp
='$CXXCPP $CPPFLAGS'
11031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11035 cat >conftest.
$ac_ext <<_ACEOF
11036 #line $LINENO "configure"
11039 cat confdefs.h
>>conftest.
$ac_ext
11040 cat >>conftest.
$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11043 #ifdef HAVE_IEEEFP_H
11044 #include <ieeefp.h>
11055 rm -f conftest.
$ac_objext
11056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11057 (eval $ac_compile) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } &&
11061 { ac_try
='test -s conftest.$ac_objext'
11062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11063 (eval $ac_try) 2>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); }; }; then
11067 glibcxx_cv_func_isnanf_use
=yes
11069 echo "$as_me: failed program was:" >&5
11070 sed 's/^/| /' conftest.
$ac_ext >&5
11072 glibcxx_cv_func_isnanf_use
=no
11074 rm -f conftest.
$ac_objext conftest.
$ac_ext
11076 ac_cpp
='$CPP $CPPFLAGS'
11077 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11078 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11079 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11086 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11088 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
11090 for ac_func
in isnanf
11092 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11093 echo "$as_me:$LINENO: checking for $ac_func" >&5
11094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11095 if eval "test \"\${$as_ac_var+set}\" = set"; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 cat >conftest.
$ac_ext <<_ACEOF
11099 #line $LINENO "configure"
11102 cat confdefs.h
>>conftest.
$ac_ext
11103 cat >>conftest.
$ac_ext <<_ACEOF
11104 /* end confdefs.h. */
11105 /* System header to define __stub macros and hopefully few prototypes,
11106 which can conflict with char $ac_func (); below.
11107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11108 <limits.h> exists even on freestanding compilers. */
11110 # include <limits.h>
11112 # include <assert.h>
11114 /* Override any gcc2 internal prototype to avoid an error. */
11119 /* We use char because int might match the return type of a gcc2
11120 builtin and then its argument prototype would still apply. */
11122 /* The GNU C library defines this for functions which it implements
11123 to always fail with ENOSYS. Some functions are actually named
11124 something starting with __ and the normal name is an alias. */
11125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11128 char (*f) () = $ac_func;
11137 return f != $ac_func;
11142 rm -f conftest.
$ac_objext conftest
$ac_exeext
11143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11144 (eval $ac_link) 2>&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } &&
11148 { ac_try
='test -s conftest$ac_exeext'
11149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11150 (eval $ac_try) 2>&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); }; }; then
11154 eval "$as_ac_var=yes"
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.
$ac_ext >&5
11159 eval "$as_ac_var=no"
11161 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11165 if test `eval echo '${'$as_ac_var'}'` = yes; then
11166 cat >>confdefs.h
<<_ACEOF
11167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11175 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11176 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11177 if test x
${glibcxx_cv_func__isnanf_use+set} != xset
; then
11178 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11179 echo $ECHO_N "(cached) $ECHO_C" >&6
11185 ac_cpp
='$CXXCPP $CPPFLAGS'
11186 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11187 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11188 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11190 cat >conftest.
$ac_ext <<_ACEOF
11191 #line $LINENO "configure"
11194 cat confdefs.h
>>conftest.
$ac_ext
11195 cat >>conftest.
$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11198 #ifdef HAVE_IEEEFP_H
11199 #include <ieeefp.h>
11210 rm -f conftest.
$ac_objext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11212 (eval $ac_compile) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); } &&
11216 { ac_try
='test -s conftest.$ac_objext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 glibcxx_cv_func__isnanf_use
=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 glibcxx_cv_func__isnanf_use
=no
11229 rm -f conftest.
$ac_objext conftest.
$ac_ext
11231 ac_cpp
='$CPP $CPPFLAGS'
11232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11241 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11243 if test x
$glibcxx_cv_func__isnanf_use = x
"yes"; then
11245 for ac_func
in _isnanf
11247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11248 echo "$as_me:$LINENO: checking for $ac_func" >&5
11249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11250 if eval "test \"\${$as_ac_var+set}\" = set"; then
11251 echo $ECHO_N "(cached) $ECHO_C" >&6
11253 cat >conftest.
$ac_ext <<_ACEOF
11254 #line $LINENO "configure"
11257 cat confdefs.h
>>conftest.
$ac_ext
11258 cat >>conftest.
$ac_ext <<_ACEOF
11259 /* end confdefs.h. */
11260 /* System header to define __stub macros and hopefully few prototypes,
11261 which can conflict with char $ac_func (); below.
11262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11263 <limits.h> exists even on freestanding compilers. */
11265 # include <limits.h>
11267 # include <assert.h>
11269 /* Override any gcc2 internal prototype to avoid an error. */
11274 /* We use char because int might match the return type of a gcc2
11275 builtin and then its argument prototype would still apply. */
11277 /* The GNU C library defines this for functions which it implements
11278 to always fail with ENOSYS. Some functions are actually named
11279 something starting with __ and the normal name is an alias. */
11280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11283 char (*f) () = $ac_func;
11292 return f != $ac_func;
11297 rm -f conftest.
$ac_objext conftest
$ac_exeext
11298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11299 (eval $ac_link) 2>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } &&
11303 { ac_try
='test -s conftest$ac_exeext'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; }; then
11309 eval "$as_ac_var=yes"
11311 echo "$as_me: failed program was:" >&5
11312 sed 's/^/| /' conftest.
$ac_ext >&5
11314 eval "$as_ac_var=no"
11316 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11320 if test `eval echo '${'$as_ac_var'}'` = yes; then
11321 cat >>confdefs.h
<<_ACEOF
11322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11333 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11334 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11335 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
11336 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11337 echo $ECHO_N "(cached) $ECHO_C" >&6
11343 ac_cpp
='$CXXCPP $CPPFLAGS'
11344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11348 cat >conftest.
$ac_ext <<_ACEOF
11349 #line $LINENO "configure"
11352 cat confdefs.h
>>conftest.
$ac_ext
11353 cat >>conftest.
$ac_ext <<_ACEOF
11354 /* end confdefs.h. */
11356 #ifdef HAVE_IEEEFP_H
11357 #include <ieeefp.h>
11368 rm -f conftest.
$ac_objext
11369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11370 (eval $ac_compile) 2>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); } &&
11374 { ac_try
='test -s conftest.$ac_objext'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; }; then
11380 glibcxx_cv_func_isinff_use
=yes
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.
$ac_ext >&5
11385 glibcxx_cv_func_isinff_use
=no
11387 rm -f conftest.
$ac_objext conftest.
$ac_ext
11389 ac_cpp
='$CPP $CPPFLAGS'
11390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11399 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11401 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
11403 for ac_func
in isinff
11405 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11406 echo "$as_me:$LINENO: checking for $ac_func" >&5
11407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11408 if eval "test \"\${$as_ac_var+set}\" = set"; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 cat >conftest.
$ac_ext <<_ACEOF
11412 #line $LINENO "configure"
11415 cat confdefs.h
>>conftest.
$ac_ext
11416 cat >>conftest.
$ac_ext <<_ACEOF
11417 /* end confdefs.h. */
11418 /* System header to define __stub macros and hopefully few prototypes,
11419 which can conflict with char $ac_func (); below.
11420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11421 <limits.h> exists even on freestanding compilers. */
11423 # include <limits.h>
11425 # include <assert.h>
11427 /* Override any gcc2 internal prototype to avoid an error. */
11432 /* We use char because int might match the return type of a gcc2
11433 builtin and then its argument prototype would still apply. */
11435 /* The GNU C library defines this for functions which it implements
11436 to always fail with ENOSYS. Some functions are actually named
11437 something starting with __ and the normal name is an alias. */
11438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11441 char (*f) () = $ac_func;
11450 return f != $ac_func;
11455 rm -f conftest.
$ac_objext conftest
$ac_exeext
11456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11457 (eval $ac_link) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try
='test -s conftest$ac_exeext'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; }; then
11467 eval "$as_ac_var=yes"
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.
$ac_ext >&5
11472 eval "$as_ac_var=no"
11474 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11478 if test `eval echo '${'$as_ac_var'}'` = yes; then
11479 cat >>confdefs.h
<<_ACEOF
11480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11488 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11489 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11490 if test x
${glibcxx_cv_func__isinff_use+set} != xset
; then
11491 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 ac_cpp
='$CXXCPP $CPPFLAGS'
11499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11503 cat >conftest.
$ac_ext <<_ACEOF
11504 #line $LINENO "configure"
11507 cat confdefs.h
>>conftest.
$ac_ext
11508 cat >>conftest.
$ac_ext <<_ACEOF
11509 /* end confdefs.h. */
11511 #ifdef HAVE_IEEEFP_H
11512 #include <ieeefp.h>
11523 rm -f conftest.
$ac_objext
11524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11525 (eval $ac_compile) 2>&5
11527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528 (exit $ac_status); } &&
11529 { ac_try
='test -s conftest.$ac_objext'
11530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 (eval $ac_try) 2>&5
11533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 (exit $ac_status); }; }; then
11535 glibcxx_cv_func__isinff_use
=yes
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.
$ac_ext >&5
11540 glibcxx_cv_func__isinff_use
=no
11542 rm -f conftest.
$ac_objext conftest.
$ac_ext
11544 ac_cpp
='$CPP $CPPFLAGS'
11545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11554 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11556 if test x
$glibcxx_cv_func__isinff_use = x
"yes"; then
11558 for ac_func
in _isinff
11560 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11561 echo "$as_me:$LINENO: checking for $ac_func" >&5
11562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11563 if eval "test \"\${$as_ac_var+set}\" = set"; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 cat >conftest.
$ac_ext <<_ACEOF
11567 #line $LINENO "configure"
11570 cat confdefs.h
>>conftest.
$ac_ext
11571 cat >>conftest.
$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11573 /* System header to define __stub macros and hopefully few prototypes,
11574 which can conflict with char $ac_func (); below.
11575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11576 <limits.h> exists even on freestanding compilers. */
11578 # include <limits.h>
11580 # include <assert.h>
11582 /* Override any gcc2 internal prototype to avoid an error. */
11587 /* We use char because int might match the return type of a gcc2
11588 builtin and then its argument prototype would still apply. */
11590 /* The GNU C library defines this for functions which it implements
11591 to always fail with ENOSYS. Some functions are actually named
11592 something starting with __ and the normal name is an alias. */
11593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11596 char (*f) () = $ac_func;
11605 return f != $ac_func;
11610 rm -f conftest.
$ac_objext conftest
$ac_exeext
11611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11612 (eval $ac_link) 2>&5
11614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11615 (exit $ac_status); } &&
11616 { ac_try
='test -s conftest$ac_exeext'
11617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11618 (eval $ac_try) 2>&5
11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621 (exit $ac_status); }; }; then
11622 eval "$as_ac_var=yes"
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.
$ac_ext >&5
11627 eval "$as_ac_var=no"
11629 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11633 if test `eval echo '${'$as_ac_var'}'` = yes; then
11634 cat >>confdefs.h
<<_ACEOF
11635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11646 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11647 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11648 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
11649 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11650 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 ac_cpp
='$CXXCPP $CPPFLAGS'
11657 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11658 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11659 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11661 cat >conftest.
$ac_ext <<_ACEOF
11662 #line $LINENO "configure"
11665 cat confdefs.h
>>conftest.
$ac_ext
11666 cat >>conftest.
$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11677 rm -f conftest.
$ac_objext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11679 (eval $ac_compile) 2>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } &&
11683 { ac_try
='test -s conftest.$ac_objext'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; }; then
11689 glibcxx_cv_func_atan2f_use
=yes
11691 echo "$as_me: failed program was:" >&5
11692 sed 's/^/| /' conftest.
$ac_ext >&5
11694 glibcxx_cv_func_atan2f_use
=no
11696 rm -f conftest.
$ac_objext conftest.
$ac_ext
11698 ac_cpp
='$CPP $CPPFLAGS'
11699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11708 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11710 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
11712 for ac_func
in atan2f
11714 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11715 echo "$as_me:$LINENO: checking for $ac_func" >&5
11716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11717 if eval "test \"\${$as_ac_var+set}\" = set"; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 cat >conftest.
$ac_ext <<_ACEOF
11721 #line $LINENO "configure"
11724 cat confdefs.h
>>conftest.
$ac_ext
11725 cat >>conftest.
$ac_ext <<_ACEOF
11726 /* end confdefs.h. */
11727 /* System header to define __stub macros and hopefully few prototypes,
11728 which can conflict with char $ac_func (); below.
11729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11730 <limits.h> exists even on freestanding compilers. */
11732 # include <limits.h>
11734 # include <assert.h>
11736 /* Override any gcc2 internal prototype to avoid an error. */
11741 /* We use char because int might match the return type of a gcc2
11742 builtin and then its argument prototype would still apply. */
11744 /* The GNU C library defines this for functions which it implements
11745 to always fail with ENOSYS. Some functions are actually named
11746 something starting with __ and the normal name is an alias. */
11747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11750 char (*f) () = $ac_func;
11759 return f != $ac_func;
11764 rm -f conftest.
$ac_objext conftest
$ac_exeext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try
='test -s conftest$ac_exeext'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 eval "$as_ac_var=yes"
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.
$ac_ext >&5
11781 eval "$as_ac_var=no"
11783 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11787 if test `eval echo '${'$as_ac_var'}'` = yes; then
11788 cat >>confdefs.h
<<_ACEOF
11789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11797 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11798 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11799 if test x
${glibcxx_cv_func__atan2f_use+set} != xset
; then
11800 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11801 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 ac_cpp
='$CXXCPP $CPPFLAGS'
11808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11812 cat >conftest.
$ac_ext <<_ACEOF
11813 #line $LINENO "configure"
11816 cat confdefs.h
>>conftest.
$ac_ext
11817 cat >>conftest.
$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11828 rm -f conftest.
$ac_objext
11829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11830 (eval $ac_compile) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } &&
11834 { ac_try
='test -s conftest.$ac_objext'
11835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 (eval $ac_try) 2>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }; }; then
11840 glibcxx_cv_func__atan2f_use
=yes
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.
$ac_ext >&5
11845 glibcxx_cv_func__atan2f_use
=no
11847 rm -f conftest.
$ac_objext conftest.
$ac_ext
11849 ac_cpp
='$CPP $CPPFLAGS'
11850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11859 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11861 if test x
$glibcxx_cv_func__atan2f_use = x
"yes"; then
11863 for ac_func
in _atan2f
11865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11866 echo "$as_me:$LINENO: checking for $ac_func" >&5
11867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11868 if eval "test \"\${$as_ac_var+set}\" = set"; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 cat >conftest.
$ac_ext <<_ACEOF
11872 #line $LINENO "configure"
11875 cat confdefs.h
>>conftest.
$ac_ext
11876 cat >>conftest.
$ac_ext <<_ACEOF
11877 /* end confdefs.h. */
11878 /* System header to define __stub macros and hopefully few prototypes,
11879 which can conflict with char $ac_func (); below.
11880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11881 <limits.h> exists even on freestanding compilers. */
11883 # include <limits.h>
11885 # include <assert.h>
11887 /* Override any gcc2 internal prototype to avoid an error. */
11892 /* We use char because int might match the return type of a gcc2
11893 builtin and then its argument prototype would still apply. */
11895 /* The GNU C library defines this for functions which it implements
11896 to always fail with ENOSYS. Some functions are actually named
11897 something starting with __ and the normal name is an alias. */
11898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11901 char (*f) () = $ac_func;
11910 return f != $ac_func;
11915 rm -f conftest.
$ac_objext conftest
$ac_exeext
11916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11917 (eval $ac_link) 2>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); } &&
11921 { ac_try
='test -s conftest$ac_exeext'
11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; }; then
11927 eval "$as_ac_var=yes"
11929 echo "$as_me: failed program was:" >&5
11930 sed 's/^/| /' conftest.
$ac_ext >&5
11932 eval "$as_ac_var=no"
11934 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
11936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11938 if test `eval echo '${'$as_ac_var'}'` = yes; then
11939 cat >>confdefs.h
<<_ACEOF
11940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11951 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
11952 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
11953 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
11954 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 ac_cpp
='$CXXCPP $CPPFLAGS'
11962 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11963 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11964 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
11966 cat >conftest.
$ac_ext <<_ACEOF
11967 #line $LINENO "configure"
11970 cat confdefs.h
>>conftest.
$ac_ext
11971 cat >>conftest.
$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11974 #ifdef HAVE_IEEEFP_H
11975 #include <ieeefp.h>
11986 rm -f conftest.
$ac_objext
11987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11988 (eval $ac_compile) 2>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -s conftest.$ac_objext'
11993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11994 (eval $ac_try) 2>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); }; }; then
11998 glibcxx_cv_func_fabsf_use
=yes
12000 echo "$as_me: failed program was:" >&5
12001 sed 's/^/| /' conftest.
$ac_ext >&5
12003 glibcxx_cv_func_fabsf_use
=no
12005 rm -f conftest.
$ac_objext conftest.
$ac_ext
12007 ac_cpp
='$CPP $CPPFLAGS'
12008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12016 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12017 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12019 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
12021 for ac_func
in fabsf
12023 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12024 echo "$as_me:$LINENO: checking for $ac_func" >&5
12025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12026 if eval "test \"\${$as_ac_var+set}\" = set"; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 cat >conftest.
$ac_ext <<_ACEOF
12030 #line $LINENO "configure"
12033 cat confdefs.h
>>conftest.
$ac_ext
12034 cat >>conftest.
$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12036 /* System header to define __stub macros and hopefully few prototypes,
12037 which can conflict with char $ac_func (); below.
12038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12039 <limits.h> exists even on freestanding compilers. */
12041 # include <limits.h>
12043 # include <assert.h>
12045 /* Override any gcc2 internal prototype to avoid an error. */
12050 /* We use char because int might match the return type of a gcc2
12051 builtin and then its argument prototype would still apply. */
12053 /* The GNU C library defines this for functions which it implements
12054 to always fail with ENOSYS. Some functions are actually named
12055 something starting with __ and the normal name is an alias. */
12056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12059 char (*f) () = $ac_func;
12068 return f != $ac_func;
12073 rm -f conftest.
$ac_objext conftest
$ac_exeext
12074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12075 (eval $ac_link) 2>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); } &&
12079 { ac_try
='test -s conftest$ac_exeext'
12080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081 (eval $ac_try) 2>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); }; }; then
12085 eval "$as_ac_var=yes"
12087 echo "$as_me: failed program was:" >&5
12088 sed 's/^/| /' conftest.
$ac_ext >&5
12090 eval "$as_ac_var=no"
12092 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12096 if test `eval echo '${'$as_ac_var'}'` = yes; then
12097 cat >>confdefs.h
<<_ACEOF
12098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12106 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12107 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12108 if test x
${glibcxx_cv_func__fabsf_use+set} != xset
; then
12109 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 ac_cpp
='$CXXCPP $CPPFLAGS'
12117 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12118 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12119 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12121 cat >conftest.
$ac_ext <<_ACEOF
12122 #line $LINENO "configure"
12125 cat confdefs.h
>>conftest.
$ac_ext
12126 cat >>conftest.
$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12129 #ifdef HAVE_IEEEFP_H
12130 #include <ieeefp.h>
12141 rm -f conftest.
$ac_objext
12142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12143 (eval $ac_compile) 2>&5
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); } &&
12147 { ac_try
='test -s conftest.$ac_objext'
12148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12149 (eval $ac_try) 2>&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); }; }; then
12153 glibcxx_cv_func__fabsf_use
=yes
12155 echo "$as_me: failed program was:" >&5
12156 sed 's/^/| /' conftest.
$ac_ext >&5
12158 glibcxx_cv_func__fabsf_use
=no
12160 rm -f conftest.
$ac_objext conftest.
$ac_ext
12162 ac_cpp
='$CPP $CPPFLAGS'
12163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12171 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12172 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12174 if test x
$glibcxx_cv_func__fabsf_use = x
"yes"; then
12176 for ac_func
in _fabsf
12178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12179 echo "$as_me:$LINENO: checking for $ac_func" >&5
12180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12181 if eval "test \"\${$as_ac_var+set}\" = set"; then
12182 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 cat >conftest.
$ac_ext <<_ACEOF
12185 #line $LINENO "configure"
12188 cat confdefs.h
>>conftest.
$ac_ext
12189 cat >>conftest.
$ac_ext <<_ACEOF
12190 /* end confdefs.h. */
12191 /* System header to define __stub macros and hopefully few prototypes,
12192 which can conflict with char $ac_func (); below.
12193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12194 <limits.h> exists even on freestanding compilers. */
12196 # include <limits.h>
12198 # include <assert.h>
12200 /* Override any gcc2 internal prototype to avoid an error. */
12205 /* We use char because int might match the return type of a gcc2
12206 builtin and then its argument prototype would still apply. */
12208 /* The GNU C library defines this for functions which it implements
12209 to always fail with ENOSYS. Some functions are actually named
12210 something starting with __ and the normal name is an alias. */
12211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12214 char (*f) () = $ac_func;
12223 return f != $ac_func;
12228 rm -f conftest.
$ac_objext conftest
$ac_exeext
12229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12230 (eval $ac_link) 2>&5
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); } &&
12234 { ac_try
='test -s conftest$ac_exeext'
12235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12236 (eval $ac_try) 2>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); }; }; then
12240 eval "$as_ac_var=yes"
12242 echo "$as_me: failed program was:" >&5
12243 sed 's/^/| /' conftest.
$ac_ext >&5
12245 eval "$as_ac_var=no"
12247 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12251 if test `eval echo '${'$as_ac_var'}'` = yes; then
12252 cat >>confdefs.h
<<_ACEOF
12253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12264 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12265 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12266 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
12267 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12274 ac_cpp
='$CXXCPP $CPPFLAGS'
12275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12279 cat >conftest.
$ac_ext <<_ACEOF
12280 #line $LINENO "configure"
12283 cat confdefs.h
>>conftest.
$ac_ext
12284 cat >>conftest.
$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12295 rm -f conftest.
$ac_objext
12296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12297 (eval $ac_compile) 2>&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } &&
12301 { ac_try
='test -s conftest.$ac_objext'
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12303 (eval $ac_try) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; }; then
12307 glibcxx_cv_func_fmodf_use
=yes
12309 echo "$as_me: failed program was:" >&5
12310 sed 's/^/| /' conftest.
$ac_ext >&5
12312 glibcxx_cv_func_fmodf_use
=no
12314 rm -f conftest.
$ac_objext conftest.
$ac_ext
12316 ac_cpp
='$CPP $CPPFLAGS'
12317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12326 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12328 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
12330 for ac_func
in fmodf
12332 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12333 echo "$as_me:$LINENO: checking for $ac_func" >&5
12334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_var+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12338 cat >conftest.
$ac_ext <<_ACEOF
12339 #line $LINENO "configure"
12342 cat confdefs.h
>>conftest.
$ac_ext
12343 cat >>conftest.
$ac_ext <<_ACEOF
12344 /* end confdefs.h. */
12345 /* System header to define __stub macros and hopefully few prototypes,
12346 which can conflict with char $ac_func (); below.
12347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12348 <limits.h> exists even on freestanding compilers. */
12350 # include <limits.h>
12352 # include <assert.h>
12354 /* Override any gcc2 internal prototype to avoid an error. */
12359 /* We use char because int might match the return type of a gcc2
12360 builtin and then its argument prototype would still apply. */
12362 /* The GNU C library defines this for functions which it implements
12363 to always fail with ENOSYS. Some functions are actually named
12364 something starting with __ and the normal name is an alias. */
12365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12368 char (*f) () = $ac_func;
12377 return f != $ac_func;
12382 rm -f conftest.
$ac_objext conftest
$ac_exeext
12383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12384 (eval $ac_link) 2>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try
='test -s conftest$ac_exeext'
12389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12390 (eval $ac_try) 2>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }; }; then
12394 eval "$as_ac_var=yes"
12396 echo "$as_me: failed program was:" >&5
12397 sed 's/^/| /' conftest.
$ac_ext >&5
12399 eval "$as_ac_var=no"
12401 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12405 if test `eval echo '${'$as_ac_var'}'` = yes; then
12406 cat >>confdefs.h
<<_ACEOF
12407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12415 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12416 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12417 if test x
${glibcxx_cv_func__fmodf_use+set} != xset
; then
12418 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 ac_cpp
='$CXXCPP $CPPFLAGS'
12426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12430 cat >conftest.
$ac_ext <<_ACEOF
12431 #line $LINENO "configure"
12434 cat confdefs.h
>>conftest.
$ac_ext
12435 cat >>conftest.
$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12446 rm -f conftest.
$ac_objext
12447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12448 (eval $ac_compile) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); } &&
12452 { ac_try
='test -s conftest.$ac_objext'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; }; then
12458 glibcxx_cv_func__fmodf_use
=yes
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12463 glibcxx_cv_func__fmodf_use
=no
12465 rm -f conftest.
$ac_objext conftest.
$ac_ext
12467 ac_cpp
='$CPP $CPPFLAGS'
12468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12477 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12479 if test x
$glibcxx_cv_func__fmodf_use = x
"yes"; then
12481 for ac_func
in _fmodf
12483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12484 echo "$as_me:$LINENO: checking for $ac_func" >&5
12485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12486 if eval "test \"\${$as_ac_var+set}\" = set"; then
12487 echo $ECHO_N "(cached) $ECHO_C" >&6
12489 cat >conftest.
$ac_ext <<_ACEOF
12490 #line $LINENO "configure"
12493 cat confdefs.h
>>conftest.
$ac_ext
12494 cat >>conftest.
$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 /* System header to define __stub macros and hopefully few prototypes,
12497 which can conflict with char $ac_func (); below.
12498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12499 <limits.h> exists even on freestanding compilers. */
12501 # include <limits.h>
12503 # include <assert.h>
12505 /* Override any gcc2 internal prototype to avoid an error. */
12510 /* We use char because int might match the return type of a gcc2
12511 builtin and then its argument prototype would still apply. */
12513 /* The GNU C library defines this for functions which it implements
12514 to always fail with ENOSYS. Some functions are actually named
12515 something starting with __ and the normal name is an alias. */
12516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12519 char (*f) () = $ac_func;
12528 return f != $ac_func;
12533 rm -f conftest.
$ac_objext conftest
$ac_exeext
12534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12535 (eval $ac_link) 2>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try
='test -s conftest$ac_exeext'
12540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12541 (eval $ac_try) 2>&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; }; then
12545 eval "$as_ac_var=yes"
12547 echo "$as_me: failed program was:" >&5
12548 sed 's/^/| /' conftest.
$ac_ext >&5
12550 eval "$as_ac_var=no"
12552 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12556 if test `eval echo '${'$as_ac_var'}'` = yes; then
12557 cat >>confdefs.h
<<_ACEOF
12558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12569 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12570 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12571 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
12572 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 ac_cpp
='$CXXCPP $CPPFLAGS'
12580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12584 cat >conftest.
$ac_ext <<_ACEOF
12585 #line $LINENO "configure"
12588 cat confdefs.h
>>conftest.
$ac_ext
12589 cat >>conftest.
$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12600 rm -f conftest.
$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); } &&
12606 { ac_try
='test -s conftest.$ac_objext'
12607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12608 (eval $ac_try) 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12612 glibcxx_cv_func_frexpf_use
=yes
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 glibcxx_cv_func_frexpf_use
=no
12619 rm -f conftest.
$ac_objext conftest.
$ac_ext
12621 ac_cpp
='$CPP $CPPFLAGS'
12622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12631 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12633 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
12635 for ac_func
in frexpf
12637 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12638 echo "$as_me:$LINENO: checking for $ac_func" >&5
12639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12640 if eval "test \"\${$as_ac_var+set}\" = set"; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 cat >conftest.
$ac_ext <<_ACEOF
12644 #line $LINENO "configure"
12647 cat confdefs.h
>>conftest.
$ac_ext
12648 cat >>conftest.
$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12650 /* System header to define __stub macros and hopefully few prototypes,
12651 which can conflict with char $ac_func (); below.
12652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12653 <limits.h> exists even on freestanding compilers. */
12655 # include <limits.h>
12657 # include <assert.h>
12659 /* Override any gcc2 internal prototype to avoid an error. */
12664 /* We use char because int might match the return type of a gcc2
12665 builtin and then its argument prototype would still apply. */
12667 /* The GNU C library defines this for functions which it implements
12668 to always fail with ENOSYS. Some functions are actually named
12669 something starting with __ and the normal name is an alias. */
12670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12673 char (*f) () = $ac_func;
12682 return f != $ac_func;
12687 rm -f conftest.
$ac_objext conftest
$ac_exeext
12688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12689 (eval $ac_link) 2>&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try
='test -s conftest$ac_exeext'
12694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12695 (eval $ac_try) 2>&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); }; }; then
12699 eval "$as_ac_var=yes"
12701 echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.
$ac_ext >&5
12704 eval "$as_ac_var=no"
12706 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12710 if test `eval echo '${'$as_ac_var'}'` = yes; then
12711 cat >>confdefs.h
<<_ACEOF
12712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12720 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12721 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12722 if test x
${glibcxx_cv_func__frexpf_use+set} != xset
; then
12723 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12724 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 ac_cpp
='$CXXCPP $CPPFLAGS'
12731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12735 cat >conftest.
$ac_ext <<_ACEOF
12736 #line $LINENO "configure"
12739 cat confdefs.h
>>conftest.
$ac_ext
12740 cat >>conftest.
$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12751 rm -f conftest.
$ac_objext
12752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12753 (eval $ac_compile) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); } &&
12757 { ac_try
='test -s conftest.$ac_objext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 glibcxx_cv_func__frexpf_use
=yes
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.
$ac_ext >&5
12768 glibcxx_cv_func__frexpf_use
=no
12770 rm -f conftest.
$ac_objext conftest.
$ac_ext
12772 ac_cpp
='$CPP $CPPFLAGS'
12773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12782 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12784 if test x
$glibcxx_cv_func__frexpf_use = x
"yes"; then
12786 for ac_func
in _frexpf
12788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12789 echo "$as_me:$LINENO: checking for $ac_func" >&5
12790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12791 if eval "test \"\${$as_ac_var+set}\" = set"; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12794 cat >conftest.
$ac_ext <<_ACEOF
12795 #line $LINENO "configure"
12798 cat confdefs.h
>>conftest.
$ac_ext
12799 cat >>conftest.
$ac_ext <<_ACEOF
12800 /* end confdefs.h. */
12801 /* System header to define __stub macros and hopefully few prototypes,
12802 which can conflict with char $ac_func (); below.
12803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12804 <limits.h> exists even on freestanding compilers. */
12806 # include <limits.h>
12808 # include <assert.h>
12810 /* Override any gcc2 internal prototype to avoid an error. */
12815 /* We use char because int might match the return type of a gcc2
12816 builtin and then its argument prototype would still apply. */
12818 /* The GNU C library defines this for functions which it implements
12819 to always fail with ENOSYS. Some functions are actually named
12820 something starting with __ and the normal name is an alias. */
12821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12824 char (*f) () = $ac_func;
12833 return f != $ac_func;
12838 rm -f conftest.
$ac_objext conftest
$ac_exeext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12840 (eval $ac_link) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); } &&
12844 { ac_try
='test -s conftest$ac_exeext'
12845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12846 (eval $ac_try) 2>&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); }; }; then
12850 eval "$as_ac_var=yes"
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.
$ac_ext >&5
12855 eval "$as_ac_var=no"
12857 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
12859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12861 if test `eval echo '${'$as_ac_var'}'` = yes; then
12862 cat >>confdefs.h
<<_ACEOF
12863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12874 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
12875 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
12876 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
12877 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
12878 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 ac_cpp
='$CXXCPP $CPPFLAGS'
12885 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12886 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12887 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12889 cat >conftest.
$ac_ext <<_ACEOF
12890 #line $LINENO "configure"
12893 cat confdefs.h
>>conftest.
$ac_ext
12894 cat >>conftest.
$ac_ext <<_ACEOF
12895 /* end confdefs.h. */
12905 rm -f conftest.
$ac_objext
12906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12907 (eval $ac_compile) 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); } &&
12911 { ac_try
='test -s conftest.$ac_objext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 glibcxx_cv_func_hypotf_use
=yes
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.
$ac_ext >&5
12922 glibcxx_cv_func_hypotf_use
=no
12924 rm -f conftest.
$ac_objext conftest.
$ac_ext
12926 ac_cpp
='$CPP $CPPFLAGS'
12927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
12936 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
12938 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
12940 for ac_func
in hypotf
12942 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12943 echo "$as_me:$LINENO: checking for $ac_func" >&5
12944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12945 if eval "test \"\${$as_ac_var+set}\" = set"; then
12946 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 cat >conftest.
$ac_ext <<_ACEOF
12949 #line $LINENO "configure"
12952 cat confdefs.h
>>conftest.
$ac_ext
12953 cat >>conftest.
$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 /* System header to define __stub macros and hopefully few prototypes,
12956 which can conflict with char $ac_func (); below.
12957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12958 <limits.h> exists even on freestanding compilers. */
12960 # include <limits.h>
12962 # include <assert.h>
12964 /* Override any gcc2 internal prototype to avoid an error. */
12969 /* We use char because int might match the return type of a gcc2
12970 builtin and then its argument prototype would still apply. */
12972 /* The GNU C library defines this for functions which it implements
12973 to always fail with ENOSYS. Some functions are actually named
12974 something starting with __ and the normal name is an alias. */
12975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12978 char (*f) () = $ac_func;
12987 return f != $ac_func;
12992 rm -f conftest.
$ac_objext conftest
$ac_exeext
12993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12994 (eval $ac_link) 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); } &&
12998 { ac_try
='test -s conftest$ac_exeext'
12999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13000 (eval $ac_try) 2>&5
13002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13003 (exit $ac_status); }; }; then
13004 eval "$as_ac_var=yes"
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.
$ac_ext >&5
13009 eval "$as_ac_var=no"
13011 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13015 if test `eval echo '${'$as_ac_var'}'` = yes; then
13016 cat >>confdefs.h
<<_ACEOF
13017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13025 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13026 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13027 if test x
${glibcxx_cv_func__hypotf_use+set} != xset
; then
13028 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 ac_cpp
='$CXXCPP $CPPFLAGS'
13036 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13037 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13038 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13040 cat >conftest.
$ac_ext <<_ACEOF
13041 #line $LINENO "configure"
13044 cat confdefs.h
>>conftest.
$ac_ext
13045 cat >>conftest.
$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13056 rm -f conftest.
$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try
='test -s conftest.$ac_objext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 glibcxx_cv_func__hypotf_use
=yes
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.
$ac_ext >&5
13073 glibcxx_cv_func__hypotf_use
=no
13075 rm -f conftest.
$ac_objext conftest.
$ac_ext
13077 ac_cpp
='$CPP $CPPFLAGS'
13078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13086 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13087 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13089 if test x
$glibcxx_cv_func__hypotf_use = x
"yes"; then
13091 for ac_func
in _hypotf
13093 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13094 echo "$as_me:$LINENO: checking for $ac_func" >&5
13095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13096 if eval "test \"\${$as_ac_var+set}\" = set"; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 cat >conftest.
$ac_ext <<_ACEOF
13100 #line $LINENO "configure"
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 /* System header to define __stub macros and hopefully few prototypes,
13107 which can conflict with char $ac_func (); below.
13108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13109 <limits.h> exists even on freestanding compilers. */
13111 # include <limits.h>
13113 # include <assert.h>
13115 /* Override any gcc2 internal prototype to avoid an error. */
13120 /* We use char because int might match the return type of a gcc2
13121 builtin and then its argument prototype would still apply. */
13123 /* The GNU C library defines this for functions which it implements
13124 to always fail with ENOSYS. Some functions are actually named
13125 something starting with __ and the normal name is an alias. */
13126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13129 char (*f) () = $ac_func;
13138 return f != $ac_func;
13143 rm -f conftest.
$ac_objext conftest
$ac_exeext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13145 (eval $ac_link) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try
='test -s conftest$ac_exeext'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; }; then
13155 eval "$as_ac_var=yes"
13157 echo "$as_me: failed program was:" >&5
13158 sed 's/^/| /' conftest.
$ac_ext >&5
13160 eval "$as_ac_var=no"
13162 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13166 if test `eval echo '${'$as_ac_var'}'` = yes; then
13167 cat >>confdefs.h
<<_ACEOF
13168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13179 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13180 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13181 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
13182 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13189 ac_cpp
='$CXXCPP $CPPFLAGS'
13190 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13194 cat >conftest.
$ac_ext <<_ACEOF
13195 #line $LINENO "configure"
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13210 rm -f conftest.
$ac_objext
13211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13212 (eval $ac_compile) 2>&5
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); } &&
13216 { ac_try
='test -s conftest.$ac_objext'
13217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13218 (eval $ac_try) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); }; }; then
13222 glibcxx_cv_func_ldexpf_use
=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.
$ac_ext >&5
13227 glibcxx_cv_func_ldexpf_use
=no
13229 rm -f conftest.
$ac_objext conftest.
$ac_ext
13231 ac_cpp
='$CPP $CPPFLAGS'
13232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13241 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13243 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
13245 for ac_func
in ldexpf
13247 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13248 echo "$as_me:$LINENO: checking for $ac_func" >&5
13249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13250 if eval "test \"\${$as_ac_var+set}\" = set"; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 cat >conftest.
$ac_ext <<_ACEOF
13254 #line $LINENO "configure"
13257 cat confdefs.h
>>conftest.
$ac_ext
13258 cat >>conftest.
$ac_ext <<_ACEOF
13259 /* end confdefs.h. */
13260 /* System header to define __stub macros and hopefully few prototypes,
13261 which can conflict with char $ac_func (); below.
13262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13263 <limits.h> exists even on freestanding compilers. */
13265 # include <limits.h>
13267 # include <assert.h>
13269 /* Override any gcc2 internal prototype to avoid an error. */
13274 /* We use char because int might match the return type of a gcc2
13275 builtin and then its argument prototype would still apply. */
13277 /* The GNU C library defines this for functions which it implements
13278 to always fail with ENOSYS. Some functions are actually named
13279 something starting with __ and the normal name is an alias. */
13280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13283 char (*f) () = $ac_func;
13292 return f != $ac_func;
13297 rm -f conftest.
$ac_objext conftest
$ac_exeext
13298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13299 (eval $ac_link) 2>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try
='test -s conftest$ac_exeext'
13304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13305 (eval $ac_try) 2>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); }; }; then
13309 eval "$as_ac_var=yes"
13311 echo "$as_me: failed program was:" >&5
13312 sed 's/^/| /' conftest.
$ac_ext >&5
13314 eval "$as_ac_var=no"
13316 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13320 if test `eval echo '${'$as_ac_var'}'` = yes; then
13321 cat >>confdefs.h
<<_ACEOF
13322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13330 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13331 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13332 if test x
${glibcxx_cv_func__ldexpf_use+set} != xset
; then
13333 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 ac_cpp
='$CXXCPP $CPPFLAGS'
13341 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13345 cat >conftest.
$ac_ext <<_ACEOF
13346 #line $LINENO "configure"
13349 cat confdefs.h
>>conftest.
$ac_ext
13350 cat >>conftest.
$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13361 rm -f conftest.
$ac_objext
13362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13363 (eval $ac_compile) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); } &&
13367 { ac_try
='test -s conftest.$ac_objext'
13368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13369 (eval $ac_try) 2>&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); }; }; then
13373 glibcxx_cv_func__ldexpf_use
=yes
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.
$ac_ext >&5
13378 glibcxx_cv_func__ldexpf_use
=no
13380 rm -f conftest.
$ac_objext conftest.
$ac_ext
13382 ac_cpp
='$CPP $CPPFLAGS'
13383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13392 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13394 if test x
$glibcxx_cv_func__ldexpf_use = x
"yes"; then
13396 for ac_func
in _ldexpf
13398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13399 echo "$as_me:$LINENO: checking for $ac_func" >&5
13400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13401 if eval "test \"\${$as_ac_var+set}\" = set"; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13404 cat >conftest.
$ac_ext <<_ACEOF
13405 #line $LINENO "configure"
13408 cat confdefs.h
>>conftest.
$ac_ext
13409 cat >>conftest.
$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13411 /* System header to define __stub macros and hopefully few prototypes,
13412 which can conflict with char $ac_func (); below.
13413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13414 <limits.h> exists even on freestanding compilers. */
13416 # include <limits.h>
13418 # include <assert.h>
13420 /* Override any gcc2 internal prototype to avoid an error. */
13425 /* We use char because int might match the return type of a gcc2
13426 builtin and then its argument prototype would still apply. */
13428 /* The GNU C library defines this for functions which it implements
13429 to always fail with ENOSYS. Some functions are actually named
13430 something starting with __ and the normal name is an alias. */
13431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13434 char (*f) () = $ac_func;
13443 return f != $ac_func;
13448 rm -f conftest.
$ac_objext conftest
$ac_exeext
13449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13450 (eval $ac_link) 2>&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try
='test -s conftest$ac_exeext'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; }; then
13460 eval "$as_ac_var=yes"
13462 echo "$as_me: failed program was:" >&5
13463 sed 's/^/| /' conftest.
$ac_ext >&5
13465 eval "$as_ac_var=no"
13467 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13471 if test `eval echo '${'$as_ac_var'}'` = yes; then
13472 cat >>confdefs.h
<<_ACEOF
13473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13484 echo "$as_me:$LINENO: checking for logf declaration" >&5
13485 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13486 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
13487 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 ac_cpp
='$CXXCPP $CPPFLAGS'
13495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13499 cat >conftest.
$ac_ext <<_ACEOF
13500 #line $LINENO "configure"
13503 cat confdefs.h
>>conftest.
$ac_ext
13504 cat >>conftest.
$ac_ext <<_ACEOF
13505 /* end confdefs.h. */
13507 #ifdef HAVE_IEEEFP_H
13508 #include <ieeefp.h>
13519 rm -f conftest.
$ac_objext
13520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13521 (eval $ac_compile) 2>&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } &&
13525 { ac_try
='test -s conftest.$ac_objext'
13526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13527 (eval $ac_try) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); }; }; then
13531 glibcxx_cv_func_logf_use
=yes
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.
$ac_ext >&5
13536 glibcxx_cv_func_logf_use
=no
13538 rm -f conftest.
$ac_objext conftest.
$ac_ext
13540 ac_cpp
='$CPP $CPPFLAGS'
13541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13550 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13552 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
13554 for ac_func
in logf
13556 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13557 echo "$as_me:$LINENO: checking for $ac_func" >&5
13558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13559 if eval "test \"\${$as_ac_var+set}\" = set"; then
13560 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 cat >conftest.
$ac_ext <<_ACEOF
13563 #line $LINENO "configure"
13566 cat confdefs.h
>>conftest.
$ac_ext
13567 cat >>conftest.
$ac_ext <<_ACEOF
13568 /* end confdefs.h. */
13569 /* System header to define __stub macros and hopefully few prototypes,
13570 which can conflict with char $ac_func (); below.
13571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13572 <limits.h> exists even on freestanding compilers. */
13574 # include <limits.h>
13576 # include <assert.h>
13578 /* Override any gcc2 internal prototype to avoid an error. */
13583 /* We use char because int might match the return type of a gcc2
13584 builtin and then its argument prototype would still apply. */
13586 /* The GNU C library defines this for functions which it implements
13587 to always fail with ENOSYS. Some functions are actually named
13588 something starting with __ and the normal name is an alias. */
13589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13592 char (*f) () = $ac_func;
13601 return f != $ac_func;
13606 rm -f conftest.
$ac_objext conftest
$ac_exeext
13607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13608 (eval $ac_link) 2>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -s conftest$ac_exeext'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; }; then
13618 eval "$as_ac_var=yes"
13620 echo "$as_me: failed program was:" >&5
13621 sed 's/^/| /' conftest.
$ac_ext >&5
13623 eval "$as_ac_var=no"
13625 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13629 if test `eval echo '${'$as_ac_var'}'` = yes; then
13630 cat >>confdefs.h
<<_ACEOF
13631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13639 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13640 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13641 if test x
${glibcxx_cv_func__logf_use+set} != xset
; then
13642 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 ac_cpp
='$CXXCPP $CPPFLAGS'
13650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13654 cat >conftest.
$ac_ext <<_ACEOF
13655 #line $LINENO "configure"
13658 cat confdefs.h
>>conftest.
$ac_ext
13659 cat >>conftest.
$ac_ext <<_ACEOF
13660 /* end confdefs.h. */
13662 #ifdef HAVE_IEEEFP_H
13663 #include <ieeefp.h>
13674 rm -f conftest.
$ac_objext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13676 (eval $ac_compile) 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try
='test -s conftest.$ac_objext'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; }; then
13686 glibcxx_cv_func__logf_use
=yes
13688 echo "$as_me: failed program was:" >&5
13689 sed 's/^/| /' conftest.
$ac_ext >&5
13691 glibcxx_cv_func__logf_use
=no
13693 rm -f conftest.
$ac_objext conftest.
$ac_ext
13695 ac_cpp
='$CPP $CPPFLAGS'
13696 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13697 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13698 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13705 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13707 if test x
$glibcxx_cv_func__logf_use = x
"yes"; then
13709 for ac_func
in _logf
13711 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13712 echo "$as_me:$LINENO: checking for $ac_func" >&5
13713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13714 if eval "test \"\${$as_ac_var+set}\" = set"; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 cat >conftest.
$ac_ext <<_ACEOF
13718 #line $LINENO "configure"
13721 cat confdefs.h
>>conftest.
$ac_ext
13722 cat >>conftest.
$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 /* System header to define __stub macros and hopefully few prototypes,
13725 which can conflict with char $ac_func (); below.
13726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13727 <limits.h> exists even on freestanding compilers. */
13729 # include <limits.h>
13731 # include <assert.h>
13733 /* Override any gcc2 internal prototype to avoid an error. */
13738 /* We use char because int might match the return type of a gcc2
13739 builtin and then its argument prototype would still apply. */
13741 /* The GNU C library defines this for functions which it implements
13742 to always fail with ENOSYS. Some functions are actually named
13743 something starting with __ and the normal name is an alias. */
13744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13747 char (*f) () = $ac_func;
13756 return f != $ac_func;
13761 rm -f conftest.
$ac_objext conftest
$ac_exeext
13762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13763 (eval $ac_link) 2>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try
='test -s conftest$ac_exeext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13773 eval "$as_ac_var=yes"
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.
$ac_ext >&5
13778 eval "$as_ac_var=no"
13780 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13784 if test `eval echo '${'$as_ac_var'}'` = yes; then
13785 cat >>confdefs.h
<<_ACEOF
13786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13797 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13798 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13799 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
13800 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13801 echo $ECHO_N "(cached) $ECHO_C" >&6
13807 ac_cpp
='$CXXCPP $CPPFLAGS'
13808 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13809 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13810 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13812 cat >conftest.
$ac_ext <<_ACEOF
13813 #line $LINENO "configure"
13816 cat confdefs.h
>>conftest.
$ac_ext
13817 cat >>conftest.
$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13820 #ifdef HAVE_IEEEFP_H
13821 #include <ieeefp.h>
13832 rm -f conftest.
$ac_objext
13833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13834 (eval $ac_compile) 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); } &&
13838 { ac_try
='test -s conftest.$ac_objext'
13839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840 (eval $ac_try) 2>&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); }; }; then
13844 glibcxx_cv_func_log10f_use
=yes
13846 echo "$as_me: failed program was:" >&5
13847 sed 's/^/| /' conftest.
$ac_ext >&5
13849 glibcxx_cv_func_log10f_use
=no
13851 rm -f conftest.
$ac_objext conftest.
$ac_ext
13853 ac_cpp
='$CPP $CPPFLAGS'
13854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13862 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
13863 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
13865 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
13867 for ac_func
in log10f
13869 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13870 echo "$as_me:$LINENO: checking for $ac_func" >&5
13871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13872 if eval "test \"\${$as_ac_var+set}\" = set"; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13875 cat >conftest.
$ac_ext <<_ACEOF
13876 #line $LINENO "configure"
13879 cat confdefs.h
>>conftest.
$ac_ext
13880 cat >>conftest.
$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13882 /* System header to define __stub macros and hopefully few prototypes,
13883 which can conflict with char $ac_func (); below.
13884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13885 <limits.h> exists even on freestanding compilers. */
13887 # include <limits.h>
13889 # include <assert.h>
13891 /* Override any gcc2 internal prototype to avoid an error. */
13896 /* We use char because int might match the return type of a gcc2
13897 builtin and then its argument prototype would still apply. */
13899 /* The GNU C library defines this for functions which it implements
13900 to always fail with ENOSYS. Some functions are actually named
13901 something starting with __ and the normal name is an alias. */
13902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13905 char (*f) () = $ac_func;
13914 return f != $ac_func;
13919 rm -f conftest.
$ac_objext conftest
$ac_exeext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13921 (eval $ac_link) 2>&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } &&
13925 { ac_try
='test -s conftest$ac_exeext'
13926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13927 (eval $ac_try) 2>&5
13929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13930 (exit $ac_status); }; }; then
13931 eval "$as_ac_var=yes"
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.
$ac_ext >&5
13936 eval "$as_ac_var=no"
13938 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
13940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13942 if test `eval echo '${'$as_ac_var'}'` = yes; then
13943 cat >>confdefs.h
<<_ACEOF
13944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13952 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
13953 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
13954 if test x
${glibcxx_cv_func__log10f_use+set} != xset
; then
13955 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 ac_cpp
='$CXXCPP $CPPFLAGS'
13963 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13964 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13965 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13967 cat >conftest.
$ac_ext <<_ACEOF
13968 #line $LINENO "configure"
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13975 #ifdef HAVE_IEEEFP_H
13976 #include <ieeefp.h>
13987 rm -f conftest.
$ac_objext
13988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13989 (eval $ac_compile) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } &&
13993 { ac_try
='test -s conftest.$ac_objext'
13994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13995 (eval $ac_try) 2>&5
13997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 glibcxx_cv_func__log10f_use
=yes
14001 echo "$as_me: failed program was:" >&5
14002 sed 's/^/| /' conftest.
$ac_ext >&5
14004 glibcxx_cv_func__log10f_use
=no
14006 rm -f conftest.
$ac_objext conftest.
$ac_ext
14008 ac_cpp
='$CPP $CPPFLAGS'
14009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14017 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14018 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14020 if test x
$glibcxx_cv_func__log10f_use = x
"yes"; then
14022 for ac_func
in _log10f
14024 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14025 echo "$as_me:$LINENO: checking for $ac_func" >&5
14026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14027 if eval "test \"\${$as_ac_var+set}\" = set"; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 cat >conftest.
$ac_ext <<_ACEOF
14031 #line $LINENO "configure"
14034 cat confdefs.h
>>conftest.
$ac_ext
14035 cat >>conftest.
$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14037 /* System header to define __stub macros and hopefully few prototypes,
14038 which can conflict with char $ac_func (); below.
14039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14040 <limits.h> exists even on freestanding compilers. */
14042 # include <limits.h>
14044 # include <assert.h>
14046 /* Override any gcc2 internal prototype to avoid an error. */
14051 /* We use char because int might match the return type of a gcc2
14052 builtin and then its argument prototype would still apply. */
14054 /* The GNU C library defines this for functions which it implements
14055 to always fail with ENOSYS. Some functions are actually named
14056 something starting with __ and the normal name is an alias. */
14057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14060 char (*f) () = $ac_func;
14069 return f != $ac_func;
14074 rm -f conftest.
$ac_objext conftest
$ac_exeext
14075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14076 (eval $ac_link) 2>&5
14078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14079 (exit $ac_status); } &&
14080 { ac_try
='test -s conftest$ac_exeext'
14081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14082 (eval $ac_try) 2>&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); }; }; then
14086 eval "$as_ac_var=yes"
14088 echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.
$ac_ext >&5
14091 eval "$as_ac_var=no"
14093 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14097 if test `eval echo '${'$as_ac_var'}'` = yes; then
14098 cat >>confdefs.h
<<_ACEOF
14099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14110 echo "$as_me:$LINENO: checking for modff declaration" >&5
14111 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14112 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
14113 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 ac_cpp
='$CXXCPP $CPPFLAGS'
14121 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14122 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14123 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14125 cat >conftest.
$ac_ext <<_ACEOF
14126 #line $LINENO "configure"
14129 cat confdefs.h
>>conftest.
$ac_ext
14130 cat >>conftest.
$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14141 rm -f conftest.
$ac_objext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14143 (eval $ac_compile) 2>&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try
='test -s conftest.$ac_objext'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; }; then
14153 glibcxx_cv_func_modff_use
=yes
14155 echo "$as_me: failed program was:" >&5
14156 sed 's/^/| /' conftest.
$ac_ext >&5
14158 glibcxx_cv_func_modff_use
=no
14160 rm -f conftest.
$ac_objext conftest.
$ac_ext
14162 ac_cpp
='$CPP $CPPFLAGS'
14163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14171 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14172 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14174 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
14176 for ac_func
in modff
14178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14179 echo "$as_me:$LINENO: checking for $ac_func" >&5
14180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14181 if eval "test \"\${$as_ac_var+set}\" = set"; then
14182 echo $ECHO_N "(cached) $ECHO_C" >&6
14184 cat >conftest.
$ac_ext <<_ACEOF
14185 #line $LINENO "configure"
14188 cat confdefs.h
>>conftest.
$ac_ext
14189 cat >>conftest.
$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 /* System header to define __stub macros and hopefully few prototypes,
14192 which can conflict with char $ac_func (); below.
14193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14194 <limits.h> exists even on freestanding compilers. */
14196 # include <limits.h>
14198 # include <assert.h>
14200 /* Override any gcc2 internal prototype to avoid an error. */
14205 /* We use char because int might match the return type of a gcc2
14206 builtin and then its argument prototype would still apply. */
14208 /* The GNU C library defines this for functions which it implements
14209 to always fail with ENOSYS. Some functions are actually named
14210 something starting with __ and the normal name is an alias. */
14211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14214 char (*f) () = $ac_func;
14223 return f != $ac_func;
14228 rm -f conftest.
$ac_objext conftest
$ac_exeext
14229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14230 (eval $ac_link) 2>&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); } &&
14234 { ac_try
='test -s conftest$ac_exeext'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 eval "$as_ac_var=yes"
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.
$ac_ext >&5
14245 eval "$as_ac_var=no"
14247 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14251 if test `eval echo '${'$as_ac_var'}'` = yes; then
14252 cat >>confdefs.h
<<_ACEOF
14253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14261 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14262 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14263 if test x
${glibcxx_cv_func__modff_use+set} != xset
; then
14264 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 ac_cpp
='$CXXCPP $CPPFLAGS'
14272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14276 cat >conftest.
$ac_ext <<_ACEOF
14277 #line $LINENO "configure"
14280 cat confdefs.h
>>conftest.
$ac_ext
14281 cat >>conftest.
$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14292 rm -f conftest.
$ac_objext
14293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14294 (eval $ac_compile) 2>&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } &&
14298 { ac_try
='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14304 glibcxx_cv_func__modff_use
=yes
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14309 glibcxx_cv_func__modff_use
=no
14311 rm -f conftest.
$ac_objext conftest.
$ac_ext
14313 ac_cpp
='$CPP $CPPFLAGS'
14314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14323 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14325 if test x
$glibcxx_cv_func__modff_use = x
"yes"; then
14327 for ac_func
in _modff
14329 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14330 echo "$as_me:$LINENO: checking for $ac_func" >&5
14331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14332 if eval "test \"\${$as_ac_var+set}\" = set"; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 cat >conftest.
$ac_ext <<_ACEOF
14336 #line $LINENO "configure"
14339 cat confdefs.h
>>conftest.
$ac_ext
14340 cat >>conftest.
$ac_ext <<_ACEOF
14341 /* end confdefs.h. */
14342 /* System header to define __stub macros and hopefully few prototypes,
14343 which can conflict with char $ac_func (); below.
14344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14345 <limits.h> exists even on freestanding compilers. */
14347 # include <limits.h>
14349 # include <assert.h>
14351 /* Override any gcc2 internal prototype to avoid an error. */
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14359 /* The GNU C library defines this for functions which it implements
14360 to always fail with ENOSYS. Some functions are actually named
14361 something starting with __ and the normal name is an alias. */
14362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14365 char (*f) () = $ac_func;
14374 return f != $ac_func;
14379 rm -f conftest.
$ac_objext conftest
$ac_exeext
14380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14381 (eval $ac_link) 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try
='test -s conftest$ac_exeext'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; }; then
14391 eval "$as_ac_var=yes"
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.
$ac_ext >&5
14396 eval "$as_ac_var=no"
14398 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14402 if test `eval echo '${'$as_ac_var'}'` = yes; then
14403 cat >>confdefs.h
<<_ACEOF
14404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14415 echo "$as_me:$LINENO: checking for powf declaration" >&5
14416 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14417 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
14418 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 ac_cpp
='$CXXCPP $CPPFLAGS'
14426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14430 cat >conftest.
$ac_ext <<_ACEOF
14431 #line $LINENO "configure"
14434 cat confdefs.h
>>conftest.
$ac_ext
14435 cat >>conftest.
$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14446 rm -f conftest.
$ac_objext
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>&5
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); } &&
14452 { ac_try
='test -s conftest.$ac_objext'
14453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14454 (eval $ac_try) 2>&5
14456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14457 (exit $ac_status); }; }; then
14458 glibcxx_cv_func_powf_use
=yes
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.
$ac_ext >&5
14463 glibcxx_cv_func_powf_use
=no
14465 rm -f conftest.
$ac_objext conftest.
$ac_ext
14467 ac_cpp
='$CPP $CPPFLAGS'
14468 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14469 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14470 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14477 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14479 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
14481 for ac_func
in powf
14483 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14484 echo "$as_me:$LINENO: checking for $ac_func" >&5
14485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14486 if eval "test \"\${$as_ac_var+set}\" = set"; then
14487 echo $ECHO_N "(cached) $ECHO_C" >&6
14489 cat >conftest.
$ac_ext <<_ACEOF
14490 #line $LINENO "configure"
14493 cat confdefs.h
>>conftest.
$ac_ext
14494 cat >>conftest.
$ac_ext <<_ACEOF
14495 /* end confdefs.h. */
14496 /* System header to define __stub macros and hopefully few prototypes,
14497 which can conflict with char $ac_func (); below.
14498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14499 <limits.h> exists even on freestanding compilers. */
14501 # include <limits.h>
14503 # include <assert.h>
14505 /* Override any gcc2 internal prototype to avoid an error. */
14510 /* We use char because int might match the return type of a gcc2
14511 builtin and then its argument prototype would still apply. */
14513 /* The GNU C library defines this for functions which it implements
14514 to always fail with ENOSYS. Some functions are actually named
14515 something starting with __ and the normal name is an alias. */
14516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14519 char (*f) () = $ac_func;
14528 return f != $ac_func;
14533 rm -f conftest.
$ac_objext conftest
$ac_exeext
14534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14535 (eval $ac_link) 2>&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try
='test -s conftest$ac_exeext'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; }; then
14545 eval "$as_ac_var=yes"
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14550 eval "$as_ac_var=no"
14552 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14556 if test `eval echo '${'$as_ac_var'}'` = yes; then
14557 cat >>confdefs.h
<<_ACEOF
14558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14566 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14567 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14568 if test x
${glibcxx_cv_func__powf_use+set} != xset
; then
14569 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14576 ac_cpp
='$CXXCPP $CPPFLAGS'
14577 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14578 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14579 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14581 cat >conftest.
$ac_ext <<_ACEOF
14582 #line $LINENO "configure"
14585 cat confdefs.h
>>conftest.
$ac_ext
14586 cat >>conftest.
$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14597 rm -f conftest.
$ac_objext
14598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14599 (eval $ac_compile) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); } &&
14603 { ac_try
='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 glibcxx_cv_func__powf_use
=yes
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 glibcxx_cv_func__powf_use
=no
14616 rm -f conftest.
$ac_objext conftest.
$ac_ext
14618 ac_cpp
='$CPP $CPPFLAGS'
14619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14628 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14630 if test x
$glibcxx_cv_func__powf_use = x
"yes"; then
14632 for ac_func
in _powf
14634 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14635 echo "$as_me:$LINENO: checking for $ac_func" >&5
14636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14637 if eval "test \"\${$as_ac_var+set}\" = set"; then
14638 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 cat >conftest.
$ac_ext <<_ACEOF
14641 #line $LINENO "configure"
14644 cat confdefs.h
>>conftest.
$ac_ext
14645 cat >>conftest.
$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 /* System header to define __stub macros and hopefully few prototypes,
14648 which can conflict with char $ac_func (); below.
14649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14650 <limits.h> exists even on freestanding compilers. */
14652 # include <limits.h>
14654 # include <assert.h>
14656 /* Override any gcc2 internal prototype to avoid an error. */
14661 /* We use char because int might match the return type of a gcc2
14662 builtin and then its argument prototype would still apply. */
14664 /* The GNU C library defines this for functions which it implements
14665 to always fail with ENOSYS. Some functions are actually named
14666 something starting with __ and the normal name is an alias. */
14667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14670 char (*f) () = $ac_func;
14679 return f != $ac_func;
14684 rm -f conftest.
$ac_objext conftest
$ac_exeext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14686 (eval $ac_link) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try
='test -s conftest$ac_exeext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14696 eval "$as_ac_var=yes"
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.
$ac_ext >&5
14701 eval "$as_ac_var=no"
14703 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14707 if test `eval echo '${'$as_ac_var'}'` = yes; then
14708 cat >>confdefs.h
<<_ACEOF
14709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14720 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14721 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14722 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
14723 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14724 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 ac_cpp
='$CXXCPP $CPPFLAGS'
14731 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14735 cat >conftest.
$ac_ext <<_ACEOF
14736 #line $LINENO "configure"
14739 cat confdefs.h
>>conftest.
$ac_ext
14740 cat >>conftest.
$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14743 #ifdef HAVE_IEEEFP_H
14744 #include <ieeefp.h>
14755 rm -f conftest.
$ac_objext
14756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14757 (eval $ac_compile) 2>&5
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try
='test -s conftest.$ac_objext'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; }; then
14767 glibcxx_cv_func_sqrtf_use
=yes
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14772 glibcxx_cv_func_sqrtf_use
=no
14774 rm -f conftest.
$ac_objext conftest.
$ac_ext
14776 ac_cpp
='$CPP $CPPFLAGS'
14777 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14778 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14779 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14786 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14788 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
14790 for ac_func
in sqrtf
14792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14793 echo "$as_me:$LINENO: checking for $ac_func" >&5
14794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14795 if eval "test \"\${$as_ac_var+set}\" = set"; then
14796 echo $ECHO_N "(cached) $ECHO_C" >&6
14798 cat >conftest.
$ac_ext <<_ACEOF
14799 #line $LINENO "configure"
14802 cat confdefs.h
>>conftest.
$ac_ext
14803 cat >>conftest.
$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14805 /* System header to define __stub macros and hopefully few prototypes,
14806 which can conflict with char $ac_func (); below.
14807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14808 <limits.h> exists even on freestanding compilers. */
14810 # include <limits.h>
14812 # include <assert.h>
14814 /* Override any gcc2 internal prototype to avoid an error. */
14819 /* We use char because int might match the return type of a gcc2
14820 builtin and then its argument prototype would still apply. */
14822 /* The GNU C library defines this for functions which it implements
14823 to always fail with ENOSYS. Some functions are actually named
14824 something starting with __ and the normal name is an alias. */
14825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14828 char (*f) () = $ac_func;
14837 return f != $ac_func;
14842 rm -f conftest.
$ac_objext conftest
$ac_exeext
14843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14844 (eval $ac_link) 2>&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try
='test -s conftest$ac_exeext'
14849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14850 (eval $ac_try) 2>&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); }; }; then
14854 eval "$as_ac_var=yes"
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.
$ac_ext >&5
14859 eval "$as_ac_var=no"
14861 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
14863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14865 if test `eval echo '${'$as_ac_var'}'` = yes; then
14866 cat >>confdefs.h
<<_ACEOF
14867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14875 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
14876 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
14877 if test x
${glibcxx_cv_func__sqrtf_use+set} != xset
; then
14878 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14885 ac_cpp
='$CXXCPP $CPPFLAGS'
14886 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14887 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14888 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
14890 cat >conftest.
$ac_ext <<_ACEOF
14891 #line $LINENO "configure"
14894 cat confdefs.h
>>conftest.
$ac_ext
14895 cat >>conftest.
$ac_ext <<_ACEOF
14896 /* end confdefs.h. */
14898 #ifdef HAVE_IEEEFP_H
14899 #include <ieeefp.h>
14910 rm -f conftest.
$ac_objext
14911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14912 (eval $ac_compile) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try
='test -s conftest.$ac_objext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14922 glibcxx_cv_func__sqrtf_use
=yes
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.
$ac_ext >&5
14927 glibcxx_cv_func__sqrtf_use
=no
14929 rm -f conftest.
$ac_objext conftest.
$ac_ext
14931 ac_cpp
='$CPP $CPPFLAGS'
14932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
14941 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
14943 if test x
$glibcxx_cv_func__sqrtf_use = x
"yes"; then
14945 for ac_func
in _sqrtf
14947 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14948 echo "$as_me:$LINENO: checking for $ac_func" >&5
14949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14950 if eval "test \"\${$as_ac_var+set}\" = set"; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14953 cat >conftest.
$ac_ext <<_ACEOF
14954 #line $LINENO "configure"
14957 cat confdefs.h
>>conftest.
$ac_ext
14958 cat >>conftest.
$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960 /* System header to define __stub macros and hopefully few prototypes,
14961 which can conflict with char $ac_func (); below.
14962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14963 <limits.h> exists even on freestanding compilers. */
14965 # include <limits.h>
14967 # include <assert.h>
14969 /* Override any gcc2 internal prototype to avoid an error. */
14974 /* We use char because int might match the return type of a gcc2
14975 builtin and then its argument prototype would still apply. */
14977 /* The GNU C library defines this for functions which it implements
14978 to always fail with ENOSYS. Some functions are actually named
14979 something starting with __ and the normal name is an alias. */
14980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14983 char (*f) () = $ac_func;
14992 return f != $ac_func;
14997 rm -f conftest.
$ac_objext conftest
$ac_exeext
14998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14999 (eval $ac_link) 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); } &&
15003 { ac_try
='test -s conftest$ac_exeext'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; }; then
15009 eval "$as_ac_var=yes"
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.
$ac_ext >&5
15014 eval "$as_ac_var=no"
15016 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15020 if test `eval echo '${'$as_ac_var'}'` = yes; then
15021 cat >>confdefs.h
<<_ACEOF
15022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15033 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15034 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15035 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
15036 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15037 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 ac_cpp
='$CXXCPP $CPPFLAGS'
15044 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15048 cat >conftest.
$ac_ext <<_ACEOF
15049 #line $LINENO "configure"
15052 cat confdefs.h
>>conftest.
$ac_ext
15053 cat >>conftest.
$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15064 rm -f conftest.
$ac_objext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066 (eval $ac_compile) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); } &&
15070 { ac_try
='test -s conftest.$ac_objext'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; }; then
15076 glibcxx_cv_func_sincosf_use
=yes
15078 echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.
$ac_ext >&5
15081 glibcxx_cv_func_sincosf_use
=no
15083 rm -f conftest.
$ac_objext conftest.
$ac_ext
15085 ac_cpp
='$CPP $CPPFLAGS'
15086 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15095 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15097 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
15099 for ac_func
in sincosf
15101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15102 echo "$as_me:$LINENO: checking for $ac_func" >&5
15103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15104 if eval "test \"\${$as_ac_var+set}\" = set"; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 cat >conftest.
$ac_ext <<_ACEOF
15108 #line $LINENO "configure"
15111 cat confdefs.h
>>conftest.
$ac_ext
15112 cat >>conftest.
$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15114 /* System header to define __stub macros and hopefully few prototypes,
15115 which can conflict with char $ac_func (); below.
15116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15117 <limits.h> exists even on freestanding compilers. */
15119 # include <limits.h>
15121 # include <assert.h>
15123 /* Override any gcc2 internal prototype to avoid an error. */
15128 /* We use char because int might match the return type of a gcc2
15129 builtin and then its argument prototype would still apply. */
15131 /* The GNU C library defines this for functions which it implements
15132 to always fail with ENOSYS. Some functions are actually named
15133 something starting with __ and the normal name is an alias. */
15134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15137 char (*f) () = $ac_func;
15146 return f != $ac_func;
15151 rm -f conftest.
$ac_objext conftest
$ac_exeext
15152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15153 (eval $ac_link) 2>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } &&
15157 { ac_try
='test -s conftest$ac_exeext'
15158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; }; then
15163 eval "$as_ac_var=yes"
15165 echo "$as_me: failed program was:" >&5
15166 sed 's/^/| /' conftest.
$ac_ext >&5
15168 eval "$as_ac_var=no"
15170 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15174 if test `eval echo '${'$as_ac_var'}'` = yes; then
15175 cat >>confdefs.h
<<_ACEOF
15176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15184 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15185 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15186 if test x
${glibcxx_cv_func__sincosf_use+set} != xset
; then
15187 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 ac_cpp
='$CXXCPP $CPPFLAGS'
15195 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15196 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15197 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15199 cat >conftest.
$ac_ext <<_ACEOF
15200 #line $LINENO "configure"
15203 cat confdefs.h
>>conftest.
$ac_ext
15204 cat >>conftest.
$ac_ext <<_ACEOF
15205 /* end confdefs.h. */
15215 rm -f conftest.
$ac_objext
15216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15217 (eval $ac_compile) 2>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } &&
15221 { ac_try
='test -s conftest.$ac_objext'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; }; then
15227 glibcxx_cv_func__sincosf_use
=yes
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.
$ac_ext >&5
15232 glibcxx_cv_func__sincosf_use
=no
15234 rm -f conftest.
$ac_objext conftest.
$ac_ext
15236 ac_cpp
='$CPP $CPPFLAGS'
15237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15246 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15248 if test x
$glibcxx_cv_func__sincosf_use = x
"yes"; then
15250 for ac_func
in _sincosf
15252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15253 echo "$as_me:$LINENO: checking for $ac_func" >&5
15254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15255 if eval "test \"\${$as_ac_var+set}\" = set"; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 cat >conftest.
$ac_ext <<_ACEOF
15259 #line $LINENO "configure"
15262 cat confdefs.h
>>conftest.
$ac_ext
15263 cat >>conftest.
$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265 /* System header to define __stub macros and hopefully few prototypes,
15266 which can conflict with char $ac_func (); below.
15267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15268 <limits.h> exists even on freestanding compilers. */
15270 # include <limits.h>
15272 # include <assert.h>
15274 /* Override any gcc2 internal prototype to avoid an error. */
15279 /* We use char because int might match the return type of a gcc2
15280 builtin and then its argument prototype would still apply. */
15282 /* The GNU C library defines this for functions which it implements
15283 to always fail with ENOSYS. Some functions are actually named
15284 something starting with __ and the normal name is an alias. */
15285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15288 char (*f) () = $ac_func;
15297 return f != $ac_func;
15302 rm -f conftest.
$ac_objext conftest
$ac_exeext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15304 (eval $ac_link) 2>&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } &&
15308 { ac_try
='test -s conftest$ac_exeext'
15309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15310 (eval $ac_try) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); }; }; then
15314 eval "$as_ac_var=yes"
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.
$ac_ext >&5
15319 eval "$as_ac_var=no"
15321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15325 if test `eval echo '${'$as_ac_var'}'` = yes; then
15326 cat >>confdefs.h
<<_ACEOF
15327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15338 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15339 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15340 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
15341 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 ac_cpp
='$CXXCPP $CPPFLAGS'
15349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15353 cat >conftest.
$ac_ext <<_ACEOF
15354 #line $LINENO "configure"
15357 cat confdefs.h
>>conftest.
$ac_ext
15358 cat >>conftest.
$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15361 #ifdef HAVE_IEEEFP_H
15362 #include <ieeefp.h>
15373 rm -f conftest.
$ac_objext
15374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15375 (eval $ac_compile) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); } &&
15379 { ac_try
='test -s conftest.$ac_objext'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; }; then
15385 glibcxx_cv_func_finitef_use
=yes
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.
$ac_ext >&5
15390 glibcxx_cv_func_finitef_use
=no
15392 rm -f conftest.
$ac_objext conftest.
$ac_ext
15394 ac_cpp
='$CPP $CPPFLAGS'
15395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15404 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15406 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
15408 for ac_func
in finitef
15410 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15411 echo "$as_me:$LINENO: checking for $ac_func" >&5
15412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15413 if eval "test \"\${$as_ac_var+set}\" = set"; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 cat >conftest.
$ac_ext <<_ACEOF
15417 #line $LINENO "configure"
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 /* System header to define __stub macros and hopefully few prototypes,
15424 which can conflict with char $ac_func (); below.
15425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15426 <limits.h> exists even on freestanding compilers. */
15428 # include <limits.h>
15430 # include <assert.h>
15432 /* Override any gcc2 internal prototype to avoid an error. */
15437 /* We use char because int might match the return type of a gcc2
15438 builtin and then its argument prototype would still apply. */
15440 /* The GNU C library defines this for functions which it implements
15441 to always fail with ENOSYS. Some functions are actually named
15442 something starting with __ and the normal name is an alias. */
15443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15446 char (*f) () = $ac_func;
15455 return f != $ac_func;
15460 rm -f conftest.
$ac_objext conftest
$ac_exeext
15461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15462 (eval $ac_link) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } &&
15466 { ac_try
='test -s conftest$ac_exeext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 eval "$as_ac_var=yes"
15474 echo "$as_me: failed program was:" >&5
15475 sed 's/^/| /' conftest.
$ac_ext >&5
15477 eval "$as_ac_var=no"
15479 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15483 if test `eval echo '${'$as_ac_var'}'` = yes; then
15484 cat >>confdefs.h
<<_ACEOF
15485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15493 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15494 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15495 if test x
${glibcxx_cv_func__finitef_use+set} != xset
; then
15496 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 ac_cpp
='$CXXCPP $CPPFLAGS'
15504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15508 cat >conftest.
$ac_ext <<_ACEOF
15509 #line $LINENO "configure"
15512 cat confdefs.h
>>conftest.
$ac_ext
15513 cat >>conftest.
$ac_ext <<_ACEOF
15514 /* end confdefs.h. */
15516 #ifdef HAVE_IEEEFP_H
15517 #include <ieeefp.h>
15528 rm -f conftest.
$ac_objext
15529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15530 (eval $ac_compile) 2>&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } &&
15534 { ac_try
='test -s conftest.$ac_objext'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; }; then
15540 glibcxx_cv_func__finitef_use
=yes
15542 echo "$as_me: failed program was:" >&5
15543 sed 's/^/| /' conftest.
$ac_ext >&5
15545 glibcxx_cv_func__finitef_use
=no
15547 rm -f conftest.
$ac_objext conftest.
$ac_ext
15549 ac_cpp
='$CPP $CPPFLAGS'
15550 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15551 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15552 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15559 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15561 if test x
$glibcxx_cv_func__finitef_use = x
"yes"; then
15563 for ac_func
in _finitef
15565 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15566 echo "$as_me:$LINENO: checking for $ac_func" >&5
15567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15568 if eval "test \"\${$as_ac_var+set}\" = set"; then
15569 echo $ECHO_N "(cached) $ECHO_C" >&6
15571 cat >conftest.
$ac_ext <<_ACEOF
15572 #line $LINENO "configure"
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 /* System header to define __stub macros and hopefully few prototypes,
15579 which can conflict with char $ac_func (); below.
15580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15581 <limits.h> exists even on freestanding compilers. */
15583 # include <limits.h>
15585 # include <assert.h>
15587 /* Override any gcc2 internal prototype to avoid an error. */
15592 /* We use char because int might match the return type of a gcc2
15593 builtin and then its argument prototype would still apply. */
15595 /* The GNU C library defines this for functions which it implements
15596 to always fail with ENOSYS. Some functions are actually named
15597 something starting with __ and the normal name is an alias. */
15598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15601 char (*f) () = $ac_func;
15610 return f != $ac_func;
15615 rm -f conftest.
$ac_objext conftest
$ac_exeext
15616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15617 (eval $ac_link) 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); } &&
15621 { ac_try
='test -s conftest$ac_exeext'
15622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15623 (eval $ac_try) 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15627 eval "$as_ac_var=yes"
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.
$ac_ext >&5
15632 eval "$as_ac_var=no"
15634 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15638 if test `eval echo '${'$as_ac_var'}'` = yes; then
15639 cat >>confdefs.h
<<_ACEOF
15640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15651 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15652 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15653 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15660 ac_cpp
='$CXXCPP $CPPFLAGS'
15661 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15662 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15663 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15665 cat >conftest.
$ac_ext <<_ACEOF
15666 #line $LINENO "configure"
15669 cat confdefs.h
>>conftest.
$ac_ext
15670 cat >>conftest.
$ac_ext <<_ACEOF
15671 /* end confdefs.h. */
15676 `for x in acosl asinl atanl \
15678 coshl sinhl tanhl; do echo "$x (0);"; done`
15683 rm -f conftest.
$ac_objext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15685 (eval $ac_compile) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } &&
15689 { ac_try
='test -s conftest.$ac_objext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15695 glibcxx_cv_func_long_double_trig_use
=yes
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.
$ac_ext >&5
15700 glibcxx_cv_func_long_double_trig_use
=no
15702 rm -f conftest.
$ac_objext conftest.
$ac_ext
15704 ac_cpp
='$CPP $CPPFLAGS'
15705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15712 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15713 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
15723 for ac_func
in acosl asinl atanl \
15727 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15728 echo "$as_me:$LINENO: checking for $ac_func" >&5
15729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15730 if eval "test \"\${$as_ac_var+set}\" = set"; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 cat >conftest.
$ac_ext <<_ACEOF
15734 #line $LINENO "configure"
15737 cat confdefs.h
>>conftest.
$ac_ext
15738 cat >>conftest.
$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740 /* System header to define __stub macros and hopefully few prototypes,
15741 which can conflict with char $ac_func (); below.
15742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15743 <limits.h> exists even on freestanding compilers. */
15745 # include <limits.h>
15747 # include <assert.h>
15749 /* Override any gcc2 internal prototype to avoid an error. */
15754 /* We use char because int might match the return type of a gcc2
15755 builtin and then its argument prototype would still apply. */
15757 /* The GNU C library defines this for functions which it implements
15758 to always fail with ENOSYS. Some functions are actually named
15759 something starting with __ and the normal name is an alias. */
15760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15763 char (*f) () = $ac_func;
15772 return f != $ac_func;
15777 rm -f conftest.
$ac_objext conftest
$ac_exeext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15779 (eval $ac_link) 2>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -s conftest$ac_exeext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 eval "$as_ac_var=yes"
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.
$ac_ext >&5
15794 eval "$as_ac_var=no"
15796 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15800 if test `eval echo '${'$as_ac_var'}'` = yes; then
15801 cat >>confdefs.h
<<_ACEOF
15802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15811 echo "$as_me:$LINENO: checking for long double round functions" >&5
15812 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
15813 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
15814 echo $ECHO_N "(cached) $ECHO_C" >&6
15820 ac_cpp
='$CXXCPP $CPPFLAGS'
15821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15825 cat >conftest.
$ac_ext <<_ACEOF
15826 #line $LINENO "configure"
15829 cat confdefs.h
>>conftest.
$ac_ext
15830 cat >>conftest.
$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15836 `for x in ceill floorl; do echo "$x (0);"; done`
15841 rm -f conftest.
$ac_objext
15842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15843 (eval $ac_compile) 2>&5
15845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15846 (exit $ac_status); } &&
15847 { ac_try
='test -s conftest.$ac_objext'
15848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15849 (eval $ac_try) 2>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); }; }; then
15853 glibcxx_cv_func_long_double_round_use
=yes
15855 echo "$as_me: failed program was:" >&5
15856 sed 's/^/| /' conftest.
$ac_ext >&5
15858 glibcxx_cv_func_long_double_round_use
=no
15860 rm -f conftest.
$ac_objext conftest.
$ac_ext
15862 ac_cpp
='$CPP $CPPFLAGS'
15863 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15869 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
15870 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
15871 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
15874 for ac_func
in ceill floorl
15876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15877 echo "$as_me:$LINENO: checking for $ac_func" >&5
15878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15879 if eval "test \"\${$as_ac_var+set}\" = set"; then
15880 echo $ECHO_N "(cached) $ECHO_C" >&6
15882 cat >conftest.
$ac_ext <<_ACEOF
15883 #line $LINENO "configure"
15886 cat confdefs.h
>>conftest.
$ac_ext
15887 cat >>conftest.
$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15889 /* System header to define __stub macros and hopefully few prototypes,
15890 which can conflict with char $ac_func (); below.
15891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15892 <limits.h> exists even on freestanding compilers. */
15894 # include <limits.h>
15896 # include <assert.h>
15898 /* Override any gcc2 internal prototype to avoid an error. */
15903 /* We use char because int might match the return type of a gcc2
15904 builtin and then its argument prototype would still apply. */
15906 /* The GNU C library defines this for functions which it implements
15907 to always fail with ENOSYS. Some functions are actually named
15908 something starting with __ and the normal name is an alias. */
15909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15912 char (*f) () = $ac_func;
15921 return f != $ac_func;
15926 rm -f conftest.
$ac_objext conftest
$ac_exeext
15927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15928 (eval $ac_link) 2>&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try
='test -s conftest$ac_exeext'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; }; then
15938 eval "$as_ac_var=yes"
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.
$ac_ext >&5
15943 eval "$as_ac_var=no"
15945 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
15947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15949 if test `eval echo '${'$as_ac_var'}'` = yes; then
15950 cat >>confdefs.h
<<_ACEOF
15951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15961 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
15962 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
15963 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
15964 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 ac_cpp
='$CXXCPP $CPPFLAGS'
15972 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15973 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15974 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15976 cat >conftest.
$ac_ext <<_ACEOF
15977 #line $LINENO "configure"
15980 cat confdefs.h
>>conftest.
$ac_ext
15981 cat >>conftest.
$ac_ext <<_ACEOF
15982 /* end confdefs.h. */
15984 #ifdef HAVE_IEEEFP_H
15985 #include <ieeefp.h>
15996 rm -f conftest.
$ac_objext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 (eval $ac_compile) 2>&5
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); } &&
16002 { ac_try
='test -s conftest.$ac_objext'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; }; then
16008 glibcxx_cv_func_isnanl_use
=yes
16010 echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.
$ac_ext >&5
16013 glibcxx_cv_func_isnanl_use
=no
16015 rm -f conftest.
$ac_objext conftest.
$ac_ext
16017 ac_cpp
='$CPP $CPPFLAGS'
16018 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16019 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16020 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16027 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16029 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
16031 for ac_func
in isnanl
16033 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16034 echo "$as_me:$LINENO: checking for $ac_func" >&5
16035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16036 if eval "test \"\${$as_ac_var+set}\" = set"; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 cat >conftest.
$ac_ext <<_ACEOF
16040 #line $LINENO "configure"
16043 cat confdefs.h
>>conftest.
$ac_ext
16044 cat >>conftest.
$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 /* System header to define __stub macros and hopefully few prototypes,
16047 which can conflict with char $ac_func (); below.
16048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16049 <limits.h> exists even on freestanding compilers. */
16051 # include <limits.h>
16053 # include <assert.h>
16055 /* Override any gcc2 internal prototype to avoid an error. */
16060 /* We use char because int might match the return type of a gcc2
16061 builtin and then its argument prototype would still apply. */
16063 /* The GNU C library defines this for functions which it implements
16064 to always fail with ENOSYS. Some functions are actually named
16065 something starting with __ and the normal name is an alias. */
16066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16069 char (*f) () = $ac_func;
16078 return f != $ac_func;
16083 rm -f conftest.
$ac_objext conftest
$ac_exeext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16085 (eval $ac_link) 2>&5
16087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16088 (exit $ac_status); } &&
16089 { ac_try
='test -s conftest$ac_exeext'
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16091 (eval $ac_try) 2>&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); }; }; then
16095 eval "$as_ac_var=yes"
16097 echo "$as_me: failed program was:" >&5
16098 sed 's/^/| /' conftest.
$ac_ext >&5
16100 eval "$as_ac_var=no"
16102 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16106 if test `eval echo '${'$as_ac_var'}'` = yes; then
16107 cat >>confdefs.h
<<_ACEOF
16108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16116 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16117 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16118 if test x
${glibcxx_cv_func__isnanl_use+set} != xset
; then
16119 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16120 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 ac_cpp
='$CXXCPP $CPPFLAGS'
16127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16131 cat >conftest.
$ac_ext <<_ACEOF
16132 #line $LINENO "configure"
16135 cat confdefs.h
>>conftest.
$ac_ext
16136 cat >>conftest.
$ac_ext <<_ACEOF
16137 /* end confdefs.h. */
16139 #ifdef HAVE_IEEEFP_H
16140 #include <ieeefp.h>
16151 rm -f conftest.
$ac_objext
16152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16153 (eval $ac_compile) 2>&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } &&
16157 { ac_try
='test -s conftest.$ac_objext'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; }; then
16163 glibcxx_cv_func__isnanl_use
=yes
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.
$ac_ext >&5
16168 glibcxx_cv_func__isnanl_use
=no
16170 rm -f conftest.
$ac_objext conftest.
$ac_ext
16172 ac_cpp
='$CPP $CPPFLAGS'
16173 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16182 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16184 if test x
$glibcxx_cv_func__isnanl_use = x
"yes"; then
16186 for ac_func
in _isnanl
16188 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16189 echo "$as_me:$LINENO: checking for $ac_func" >&5
16190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16191 if eval "test \"\${$as_ac_var+set}\" = set"; then
16192 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 cat >conftest.
$ac_ext <<_ACEOF
16195 #line $LINENO "configure"
16198 cat confdefs.h
>>conftest.
$ac_ext
16199 cat >>conftest.
$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 /* System header to define __stub macros and hopefully few prototypes,
16202 which can conflict with char $ac_func (); below.
16203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16204 <limits.h> exists even on freestanding compilers. */
16206 # include <limits.h>
16208 # include <assert.h>
16210 /* Override any gcc2 internal prototype to avoid an error. */
16215 /* We use char because int might match the return type of a gcc2
16216 builtin and then its argument prototype would still apply. */
16218 /* The GNU C library defines this for functions which it implements
16219 to always fail with ENOSYS. Some functions are actually named
16220 something starting with __ and the normal name is an alias. */
16221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16224 char (*f) () = $ac_func;
16233 return f != $ac_func;
16238 rm -f conftest.
$ac_objext conftest
$ac_exeext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16240 (eval $ac_link) 2>&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try
='test -s conftest$ac_exeext'
16245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16246 (eval $ac_try) 2>&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); }; }; then
16250 eval "$as_ac_var=yes"
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.
$ac_ext >&5
16255 eval "$as_ac_var=no"
16257 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16261 if test `eval echo '${'$as_ac_var'}'` = yes; then
16262 cat >>confdefs.h
<<_ACEOF
16263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16274 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16275 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16276 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
16277 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 ac_cpp
='$CXXCPP $CPPFLAGS'
16285 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16286 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16287 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16289 cat >conftest.
$ac_ext <<_ACEOF
16290 #line $LINENO "configure"
16293 cat confdefs.h
>>conftest.
$ac_ext
16294 cat >>conftest.
$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16297 #ifdef HAVE_IEEEFP_H
16298 #include <ieeefp.h>
16309 rm -f conftest.
$ac_objext
16310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16311 (eval $ac_compile) 2>&5
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); } &&
16315 { ac_try
='test -s conftest.$ac_objext'
16316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16317 (eval $ac_try) 2>&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); }; }; then
16321 glibcxx_cv_func_isinfl_use
=yes
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.
$ac_ext >&5
16326 glibcxx_cv_func_isinfl_use
=no
16328 rm -f conftest.
$ac_objext conftest.
$ac_ext
16330 ac_cpp
='$CPP $CPPFLAGS'
16331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16339 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16340 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16342 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
16344 for ac_func
in isinfl
16346 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16347 echo "$as_me:$LINENO: checking for $ac_func" >&5
16348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16349 if eval "test \"\${$as_ac_var+set}\" = set"; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 cat >conftest.
$ac_ext <<_ACEOF
16353 #line $LINENO "configure"
16356 cat confdefs.h
>>conftest.
$ac_ext
16357 cat >>conftest.
$ac_ext <<_ACEOF
16358 /* end confdefs.h. */
16359 /* System header to define __stub macros and hopefully few prototypes,
16360 which can conflict with char $ac_func (); below.
16361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16362 <limits.h> exists even on freestanding compilers. */
16364 # include <limits.h>
16366 # include <assert.h>
16368 /* Override any gcc2 internal prototype to avoid an error. */
16373 /* We use char because int might match the return type of a gcc2
16374 builtin and then its argument prototype would still apply. */
16376 /* The GNU C library defines this for functions which it implements
16377 to always fail with ENOSYS. Some functions are actually named
16378 something starting with __ and the normal name is an alias. */
16379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16382 char (*f) () = $ac_func;
16391 return f != $ac_func;
16396 rm -f conftest.
$ac_objext conftest
$ac_exeext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16398 (eval $ac_link) 2>&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } &&
16402 { ac_try
='test -s conftest$ac_exeext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 eval "$as_ac_var=yes"
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.
$ac_ext >&5
16413 eval "$as_ac_var=no"
16415 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16419 if test `eval echo '${'$as_ac_var'}'` = yes; then
16420 cat >>confdefs.h
<<_ACEOF
16421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16429 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16430 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16431 if test x
${glibcxx_cv_func__isinfl_use+set} != xset
; then
16432 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16433 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 ac_cpp
='$CXXCPP $CPPFLAGS'
16440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16444 cat >conftest.
$ac_ext <<_ACEOF
16445 #line $LINENO "configure"
16448 cat confdefs.h
>>conftest.
$ac_ext
16449 cat >>conftest.
$ac_ext <<_ACEOF
16450 /* end confdefs.h. */
16452 #ifdef HAVE_IEEEFP_H
16453 #include <ieeefp.h>
16464 rm -f conftest.
$ac_objext
16465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16466 (eval $ac_compile) 2>&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } &&
16470 { ac_try
='test -s conftest.$ac_objext'
16471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16472 (eval $ac_try) 2>&5
16474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16475 (exit $ac_status); }; }; then
16476 glibcxx_cv_func__isinfl_use
=yes
16478 echo "$as_me: failed program was:" >&5
16479 sed 's/^/| /' conftest.
$ac_ext >&5
16481 glibcxx_cv_func__isinfl_use
=no
16483 rm -f conftest.
$ac_objext conftest.
$ac_ext
16485 ac_cpp
='$CPP $CPPFLAGS'
16486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16495 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16497 if test x
$glibcxx_cv_func__isinfl_use = x
"yes"; then
16499 for ac_func
in _isinfl
16501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16502 echo "$as_me:$LINENO: checking for $ac_func" >&5
16503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16504 if eval "test \"\${$as_ac_var+set}\" = set"; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16507 cat >conftest.
$ac_ext <<_ACEOF
16508 #line $LINENO "configure"
16511 cat confdefs.h
>>conftest.
$ac_ext
16512 cat >>conftest.
$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 /* System header to define __stub macros and hopefully few prototypes,
16515 which can conflict with char $ac_func (); below.
16516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16517 <limits.h> exists even on freestanding compilers. */
16519 # include <limits.h>
16521 # include <assert.h>
16523 /* Override any gcc2 internal prototype to avoid an error. */
16528 /* We use char because int might match the return type of a gcc2
16529 builtin and then its argument prototype would still apply. */
16531 /* The GNU C library defines this for functions which it implements
16532 to always fail with ENOSYS. Some functions are actually named
16533 something starting with __ and the normal name is an alias. */
16534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16537 char (*f) () = $ac_func;
16546 return f != $ac_func;
16551 rm -f conftest.
$ac_objext conftest
$ac_exeext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16553 (eval $ac_link) 2>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try
='test -s conftest$ac_exeext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 eval "$as_ac_var=yes"
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.
$ac_ext >&5
16568 eval "$as_ac_var=no"
16570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16574 if test `eval echo '${'$as_ac_var'}'` = yes; then
16575 cat >>confdefs.h
<<_ACEOF
16576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16587 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16588 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16589 if test x
${glibcxx_cv_func_copysignl_use+set} != xset
; then
16590 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 ac_cpp
='$CXXCPP $CPPFLAGS'
16598 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16599 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16600 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16602 cat >conftest.
$ac_ext <<_ACEOF
16603 #line $LINENO "configure"
16606 cat confdefs.h
>>conftest.
$ac_ext
16607 cat >>conftest.
$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16618 rm -f conftest.
$ac_objext
16619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16620 (eval $ac_compile) 2>&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } &&
16624 { ac_try
='test -s conftest.$ac_objext'
16625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626 (eval $ac_try) 2>&5
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); }; }; then
16630 glibcxx_cv_func_copysignl_use
=yes
16632 echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.
$ac_ext >&5
16635 glibcxx_cv_func_copysignl_use
=no
16637 rm -f conftest.
$ac_objext conftest.
$ac_ext
16639 ac_cpp
='$CPP $CPPFLAGS'
16640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16649 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16651 if test x
$glibcxx_cv_func_copysignl_use = x
"yes"; then
16653 for ac_func
in copysignl
16655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16656 echo "$as_me:$LINENO: checking for $ac_func" >&5
16657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16658 if eval "test \"\${$as_ac_var+set}\" = set"; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16661 cat >conftest.
$ac_ext <<_ACEOF
16662 #line $LINENO "configure"
16665 cat confdefs.h
>>conftest.
$ac_ext
16666 cat >>conftest.
$ac_ext <<_ACEOF
16667 /* end confdefs.h. */
16668 /* System header to define __stub macros and hopefully few prototypes,
16669 which can conflict with char $ac_func (); below.
16670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16671 <limits.h> exists even on freestanding compilers. */
16673 # include <limits.h>
16675 # include <assert.h>
16677 /* Override any gcc2 internal prototype to avoid an error. */
16682 /* We use char because int might match the return type of a gcc2
16683 builtin and then its argument prototype would still apply. */
16685 /* The GNU C library defines this for functions which it implements
16686 to always fail with ENOSYS. Some functions are actually named
16687 something starting with __ and the normal name is an alias. */
16688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16691 char (*f) () = $ac_func;
16700 return f != $ac_func;
16705 rm -f conftest.
$ac_objext conftest
$ac_exeext
16706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16707 (eval $ac_link) 2>&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } &&
16711 { ac_try
='test -s conftest$ac_exeext'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; }; then
16717 eval "$as_ac_var=yes"
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.
$ac_ext >&5
16722 eval "$as_ac_var=no"
16724 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16728 if test `eval echo '${'$as_ac_var'}'` = yes; then
16729 cat >>confdefs.h
<<_ACEOF
16730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16738 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16739 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
16740 if test x
${glibcxx_cv_func__copysignl_use+set} != xset
; then
16741 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
16742 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 ac_cpp
='$CXXCPP $CPPFLAGS'
16749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16753 cat >conftest.
$ac_ext <<_ACEOF
16754 #line $LINENO "configure"
16757 cat confdefs.h
>>conftest.
$ac_ext
16758 cat >>conftest.
$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16769 rm -f conftest.
$ac_objext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16771 (eval $ac_compile) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } &&
16775 { ac_try
='test -s conftest.$ac_objext'
16776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16777 (eval $ac_try) 2>&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); }; }; then
16781 glibcxx_cv_func__copysignl_use
=yes
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16786 glibcxx_cv_func__copysignl_use
=no
16788 rm -f conftest.
$ac_objext conftest.
$ac_ext
16790 ac_cpp
='$CPP $CPPFLAGS'
16791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
16800 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
16802 if test x
$glibcxx_cv_func__copysignl_use = x
"yes"; then
16804 for ac_func
in _copysignl
16806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16807 echo "$as_me:$LINENO: checking for $ac_func" >&5
16808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16809 if eval "test \"\${$as_ac_var+set}\" = set"; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16812 cat >conftest.
$ac_ext <<_ACEOF
16813 #line $LINENO "configure"
16816 cat confdefs.h
>>conftest.
$ac_ext
16817 cat >>conftest.
$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 /* System header to define __stub macros and hopefully few prototypes,
16820 which can conflict with char $ac_func (); below.
16821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16822 <limits.h> exists even on freestanding compilers. */
16824 # include <limits.h>
16826 # include <assert.h>
16828 /* Override any gcc2 internal prototype to avoid an error. */
16833 /* We use char because int might match the return type of a gcc2
16834 builtin and then its argument prototype would still apply. */
16836 /* The GNU C library defines this for functions which it implements
16837 to always fail with ENOSYS. Some functions are actually named
16838 something starting with __ and the normal name is an alias. */
16839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16842 char (*f) () = $ac_func;
16851 return f != $ac_func;
16856 rm -f conftest.
$ac_objext conftest
$ac_exeext
16857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16858 (eval $ac_link) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); } &&
16862 { ac_try
='test -s conftest$ac_exeext'
16863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16864 (eval $ac_try) 2>&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); }; }; then
16868 eval "$as_ac_var=yes"
16870 echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.
$ac_ext >&5
16873 eval "$as_ac_var=no"
16875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
16877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16879 if test `eval echo '${'$as_ac_var'}'` = yes; then
16880 cat >>confdefs.h
<<_ACEOF
16881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16892 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
16893 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
16894 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
16895 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 ac_cpp
='$CXXCPP $CPPFLAGS'
16903 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16904 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16905 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16907 cat >conftest.
$ac_ext <<_ACEOF
16908 #line $LINENO "configure"
16911 cat confdefs.h
>>conftest.
$ac_ext
16912 cat >>conftest.
$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16923 rm -f conftest.
$ac_objext
16924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16925 (eval $ac_compile) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } &&
16929 { ac_try
='test -s conftest.$ac_objext'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; }; then
16935 glibcxx_cv_func_atan2l_use
=yes
16937 echo "$as_me: failed program was:" >&5
16938 sed 's/^/| /' conftest.
$ac_ext >&5
16940 glibcxx_cv_func_atan2l_use
=no
16942 rm -f conftest.
$ac_objext conftest.
$ac_ext
16944 ac_cpp
='$CPP $CPPFLAGS'
16945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
16954 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
16956 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
16958 for ac_func
in atan2l
16960 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16961 echo "$as_me:$LINENO: checking for $ac_func" >&5
16962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16963 if eval "test \"\${$as_ac_var+set}\" = set"; then
16964 echo $ECHO_N "(cached) $ECHO_C" >&6
16966 cat >conftest.
$ac_ext <<_ACEOF
16967 #line $LINENO "configure"
16970 cat confdefs.h
>>conftest.
$ac_ext
16971 cat >>conftest.
$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16973 /* System header to define __stub macros and hopefully few prototypes,
16974 which can conflict with char $ac_func (); below.
16975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16976 <limits.h> exists even on freestanding compilers. */
16978 # include <limits.h>
16980 # include <assert.h>
16982 /* Override any gcc2 internal prototype to avoid an error. */
16987 /* We use char because int might match the return type of a gcc2
16988 builtin and then its argument prototype would still apply. */
16990 /* The GNU C library defines this for functions which it implements
16991 to always fail with ENOSYS. Some functions are actually named
16992 something starting with __ and the normal name is an alias. */
16993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 char (*f) () = $ac_func;
17005 return f != $ac_func;
17010 rm -f conftest.
$ac_objext conftest
$ac_exeext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17012 (eval $ac_link) 2>&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } &&
17016 { ac_try
='test -s conftest$ac_exeext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 eval "$as_ac_var=yes"
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.
$ac_ext >&5
17027 eval "$as_ac_var=no"
17029 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17033 if test `eval echo '${'$as_ac_var'}'` = yes; then
17034 cat >>confdefs.h
<<_ACEOF
17035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17043 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17044 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17045 if test x
${glibcxx_cv_func__atan2l_use+set} != xset
; then
17046 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17047 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 ac_cpp
='$CXXCPP $CPPFLAGS'
17054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17058 cat >conftest.
$ac_ext <<_ACEOF
17059 #line $LINENO "configure"
17062 cat confdefs.h
>>conftest.
$ac_ext
17063 cat >>conftest.
$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17074 rm -f conftest.
$ac_objext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076 (eval $ac_compile) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } &&
17080 { ac_try
='test -s conftest.$ac_objext'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; }; then
17086 glibcxx_cv_func__atan2l_use
=yes
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 glibcxx_cv_func__atan2l_use
=no
17093 rm -f conftest.
$ac_objext conftest.
$ac_ext
17095 ac_cpp
='$CPP $CPPFLAGS'
17096 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17097 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17098 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17105 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17107 if test x
$glibcxx_cv_func__atan2l_use = x
"yes"; then
17109 for ac_func
in _atan2l
17111 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17112 echo "$as_me:$LINENO: checking for $ac_func" >&5
17113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17114 if eval "test \"\${$as_ac_var+set}\" = set"; then
17115 echo $ECHO_N "(cached) $ECHO_C" >&6
17117 cat >conftest.
$ac_ext <<_ACEOF
17118 #line $LINENO "configure"
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 /* System header to define __stub macros and hopefully few prototypes,
17125 which can conflict with char $ac_func (); below.
17126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17127 <limits.h> exists even on freestanding compilers. */
17129 # include <limits.h>
17131 # include <assert.h>
17133 /* Override any gcc2 internal prototype to avoid an error. */
17138 /* We use char because int might match the return type of a gcc2
17139 builtin and then its argument prototype would still apply. */
17141 /* The GNU C library defines this for functions which it implements
17142 to always fail with ENOSYS. Some functions are actually named
17143 something starting with __ and the normal name is an alias. */
17144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17147 char (*f) () = $ac_func;
17156 return f != $ac_func;
17161 rm -f conftest.
$ac_objext conftest
$ac_exeext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17163 (eval $ac_link) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } &&
17167 { ac_try
='test -s conftest$ac_exeext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 eval "$as_ac_var=yes"
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.
$ac_ext >&5
17178 eval "$as_ac_var=no"
17180 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17184 if test `eval echo '${'$as_ac_var'}'` = yes; then
17185 cat >>confdefs.h
<<_ACEOF
17186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17197 echo "$as_me:$LINENO: checking for expl declaration" >&5
17198 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17199 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
17200 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 ac_cpp
='$CXXCPP $CPPFLAGS'
17208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17212 cat >conftest.
$ac_ext <<_ACEOF
17213 #line $LINENO "configure"
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17220 #ifdef HAVE_IEEEFP_H
17221 #include <ieeefp.h>
17232 rm -f conftest.
$ac_objext
17233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17234 (eval $ac_compile) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } &&
17238 { ac_try
='test -s conftest.$ac_objext'
17239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17240 (eval $ac_try) 2>&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); }; }; then
17244 glibcxx_cv_func_expl_use
=yes
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.
$ac_ext >&5
17249 glibcxx_cv_func_expl_use
=no
17251 rm -f conftest.
$ac_objext conftest.
$ac_ext
17253 ac_cpp
='$CPP $CPPFLAGS'
17254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17263 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17265 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
17267 for ac_func
in expl
17269 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17270 echo "$as_me:$LINENO: checking for $ac_func" >&5
17271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17272 if eval "test \"\${$as_ac_var+set}\" = set"; then
17273 echo $ECHO_N "(cached) $ECHO_C" >&6
17275 cat >conftest.
$ac_ext <<_ACEOF
17276 #line $LINENO "configure"
17279 cat confdefs.h
>>conftest.
$ac_ext
17280 cat >>conftest.
$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282 /* System header to define __stub macros and hopefully few prototypes,
17283 which can conflict with char $ac_func (); below.
17284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17285 <limits.h> exists even on freestanding compilers. */
17287 # include <limits.h>
17289 # include <assert.h>
17291 /* Override any gcc2 internal prototype to avoid an error. */
17296 /* We use char because int might match the return type of a gcc2
17297 builtin and then its argument prototype would still apply. */
17299 /* The GNU C library defines this for functions which it implements
17300 to always fail with ENOSYS. Some functions are actually named
17301 something starting with __ and the normal name is an alias. */
17302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17305 char (*f) () = $ac_func;
17314 return f != $ac_func;
17319 rm -f conftest.
$ac_objext conftest
$ac_exeext
17320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17321 (eval $ac_link) 2>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } &&
17325 { ac_try
='test -s conftest$ac_exeext'
17326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327 (eval $ac_try) 2>&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); }; }; then
17331 eval "$as_ac_var=yes"
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.
$ac_ext >&5
17336 eval "$as_ac_var=no"
17338 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17342 if test `eval echo '${'$as_ac_var'}'` = yes; then
17343 cat >>confdefs.h
<<_ACEOF
17344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17352 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17353 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17354 if test x
${glibcxx_cv_func__expl_use+set} != xset
; then
17355 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 ac_cpp
='$CXXCPP $CPPFLAGS'
17363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17367 cat >conftest.
$ac_ext <<_ACEOF
17368 #line $LINENO "configure"
17371 cat confdefs.h
>>conftest.
$ac_ext
17372 cat >>conftest.
$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17375 #ifdef HAVE_IEEEFP_H
17376 #include <ieeefp.h>
17387 rm -f conftest.
$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try
='test -s conftest.$ac_objext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 glibcxx_cv_func__expl_use
=yes
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.
$ac_ext >&5
17404 glibcxx_cv_func__expl_use
=no
17406 rm -f conftest.
$ac_objext conftest.
$ac_ext
17408 ac_cpp
='$CPP $CPPFLAGS'
17409 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17418 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17420 if test x
$glibcxx_cv_func__expl_use = x
"yes"; then
17422 for ac_func
in _expl
17424 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17425 echo "$as_me:$LINENO: checking for $ac_func" >&5
17426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17427 if eval "test \"\${$as_ac_var+set}\" = set"; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17430 cat >conftest.
$ac_ext <<_ACEOF
17431 #line $LINENO "configure"
17434 cat confdefs.h
>>conftest.
$ac_ext
17435 cat >>conftest.
$ac_ext <<_ACEOF
17436 /* end confdefs.h. */
17437 /* System header to define __stub macros and hopefully few prototypes,
17438 which can conflict with char $ac_func (); below.
17439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17440 <limits.h> exists even on freestanding compilers. */
17442 # include <limits.h>
17444 # include <assert.h>
17446 /* Override any gcc2 internal prototype to avoid an error. */
17451 /* We use char because int might match the return type of a gcc2
17452 builtin and then its argument prototype would still apply. */
17454 /* The GNU C library defines this for functions which it implements
17455 to always fail with ENOSYS. Some functions are actually named
17456 something starting with __ and the normal name is an alias. */
17457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17460 char (*f) () = $ac_func;
17469 return f != $ac_func;
17474 rm -f conftest.
$ac_objext conftest
$ac_exeext
17475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17476 (eval $ac_link) 2>&5
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); } &&
17480 { ac_try
='test -s conftest$ac_exeext'
17481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17482 (eval $ac_try) 2>&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); }; }; then
17486 eval "$as_ac_var=yes"
17488 echo "$as_me: failed program was:" >&5
17489 sed 's/^/| /' conftest.
$ac_ext >&5
17491 eval "$as_ac_var=no"
17493 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17497 if test `eval echo '${'$as_ac_var'}'` = yes; then
17498 cat >>confdefs.h
<<_ACEOF
17499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17510 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17511 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17512 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
17513 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17520 ac_cpp
='$CXXCPP $CPPFLAGS'
17521 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17522 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17523 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17525 cat >conftest.
$ac_ext <<_ACEOF
17526 #line $LINENO "configure"
17529 cat confdefs.h
>>conftest.
$ac_ext
17530 cat >>conftest.
$ac_ext <<_ACEOF
17531 /* end confdefs.h. */
17533 #ifdef HAVE_IEEEFP_H
17534 #include <ieeefp.h>
17545 rm -f conftest.
$ac_objext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547 (eval $ac_compile) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try
='test -s conftest.$ac_objext'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; }; then
17557 glibcxx_cv_func_fabsl_use
=yes
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.
$ac_ext >&5
17562 glibcxx_cv_func_fabsl_use
=no
17564 rm -f conftest.
$ac_objext conftest.
$ac_ext
17566 ac_cpp
='$CPP $CPPFLAGS'
17567 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17575 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17576 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17578 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
17580 for ac_func
in fabsl
17582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17583 echo "$as_me:$LINENO: checking for $ac_func" >&5
17584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17585 if eval "test \"\${$as_ac_var+set}\" = set"; then
17586 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 cat >conftest.
$ac_ext <<_ACEOF
17589 #line $LINENO "configure"
17592 cat confdefs.h
>>conftest.
$ac_ext
17593 cat >>conftest.
$ac_ext <<_ACEOF
17594 /* end confdefs.h. */
17595 /* System header to define __stub macros and hopefully few prototypes,
17596 which can conflict with char $ac_func (); below.
17597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17598 <limits.h> exists even on freestanding compilers. */
17600 # include <limits.h>
17602 # include <assert.h>
17604 /* Override any gcc2 internal prototype to avoid an error. */
17609 /* We use char because int might match the return type of a gcc2
17610 builtin and then its argument prototype would still apply. */
17612 /* The GNU C library defines this for functions which it implements
17613 to always fail with ENOSYS. Some functions are actually named
17614 something starting with __ and the normal name is an alias. */
17615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17618 char (*f) () = $ac_func;
17627 return f != $ac_func;
17632 rm -f conftest.
$ac_objext conftest
$ac_exeext
17633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17634 (eval $ac_link) 2>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } &&
17638 { ac_try
='test -s conftest$ac_exeext'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; }; then
17644 eval "$as_ac_var=yes"
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.
$ac_ext >&5
17649 eval "$as_ac_var=no"
17651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17655 if test `eval echo '${'$as_ac_var'}'` = yes; then
17656 cat >>confdefs.h
<<_ACEOF
17657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17665 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17666 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17667 if test x
${glibcxx_cv_func__fabsl_use+set} != xset
; then
17668 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17669 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 ac_cpp
='$CXXCPP $CPPFLAGS'
17676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17680 cat >conftest.
$ac_ext <<_ACEOF
17681 #line $LINENO "configure"
17684 cat confdefs.h
>>conftest.
$ac_ext
17685 cat >>conftest.
$ac_ext <<_ACEOF
17686 /* end confdefs.h. */
17688 #ifdef HAVE_IEEEFP_H
17689 #include <ieeefp.h>
17700 rm -f conftest.
$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); } &&
17706 { ac_try
='test -s conftest.$ac_objext'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; }; then
17712 glibcxx_cv_func__fabsl_use
=yes
17714 echo "$as_me: failed program was:" >&5
17715 sed 's/^/| /' conftest.
$ac_ext >&5
17717 glibcxx_cv_func__fabsl_use
=no
17719 rm -f conftest.
$ac_objext conftest.
$ac_ext
17721 ac_cpp
='$CPP $CPPFLAGS'
17722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
17731 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
17733 if test x
$glibcxx_cv_func__fabsl_use = x
"yes"; then
17735 for ac_func
in _fabsl
17737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17738 echo "$as_me:$LINENO: checking for $ac_func" >&5
17739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17740 if eval "test \"\${$as_ac_var+set}\" = set"; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17743 cat >conftest.
$ac_ext <<_ACEOF
17744 #line $LINENO "configure"
17747 cat confdefs.h
>>conftest.
$ac_ext
17748 cat >>conftest.
$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 /* System header to define __stub macros and hopefully few prototypes,
17751 which can conflict with char $ac_func (); below.
17752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17753 <limits.h> exists even on freestanding compilers. */
17755 # include <limits.h>
17757 # include <assert.h>
17759 /* Override any gcc2 internal prototype to avoid an error. */
17764 /* We use char because int might match the return type of a gcc2
17765 builtin and then its argument prototype would still apply. */
17767 /* The GNU C library defines this for functions which it implements
17768 to always fail with ENOSYS. Some functions are actually named
17769 something starting with __ and the normal name is an alias. */
17770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17773 char (*f) () = $ac_func;
17782 return f != $ac_func;
17787 rm -f conftest.
$ac_objext conftest
$ac_exeext
17788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17789 (eval $ac_link) 2>&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } &&
17793 { ac_try
='test -s conftest$ac_exeext'
17794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17795 (eval $ac_try) 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; }; then
17799 eval "$as_ac_var=yes"
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.
$ac_ext >&5
17804 eval "$as_ac_var=no"
17806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17810 if test `eval echo '${'$as_ac_var'}'` = yes; then
17811 cat >>confdefs.h
<<_ACEOF
17812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17823 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
17824 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
17825 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
17826 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
17827 echo $ECHO_N "(cached) $ECHO_C" >&6
17833 ac_cpp
='$CXXCPP $CPPFLAGS'
17834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17838 cat >conftest.
$ac_ext <<_ACEOF
17839 #line $LINENO "configure"
17842 cat confdefs.h
>>conftest.
$ac_ext
17843 cat >>conftest.
$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17854 rm -f conftest.
$ac_objext
17855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17856 (eval $ac_compile) 2>&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } &&
17860 { ac_try
='test -s conftest.$ac_objext'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; }; then
17866 glibcxx_cv_func_fmodl_use
=yes
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.
$ac_ext >&5
17871 glibcxx_cv_func_fmodl_use
=no
17873 rm -f conftest.
$ac_objext conftest.
$ac_ext
17875 ac_cpp
='$CPP $CPPFLAGS'
17876 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17877 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17878 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
17885 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
17887 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
17889 for ac_func
in fmodl
17891 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17892 echo "$as_me:$LINENO: checking for $ac_func" >&5
17893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17894 if eval "test \"\${$as_ac_var+set}\" = set"; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 cat >conftest.
$ac_ext <<_ACEOF
17898 #line $LINENO "configure"
17901 cat confdefs.h
>>conftest.
$ac_ext
17902 cat >>conftest.
$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17904 /* System header to define __stub macros and hopefully few prototypes,
17905 which can conflict with char $ac_func (); below.
17906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17907 <limits.h> exists even on freestanding compilers. */
17909 # include <limits.h>
17911 # include <assert.h>
17913 /* Override any gcc2 internal prototype to avoid an error. */
17918 /* We use char because int might match the return type of a gcc2
17919 builtin and then its argument prototype would still apply. */
17921 /* The GNU C library defines this for functions which it implements
17922 to always fail with ENOSYS. Some functions are actually named
17923 something starting with __ and the normal name is an alias. */
17924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17927 char (*f) () = $ac_func;
17936 return f != $ac_func;
17941 rm -f conftest.
$ac_objext conftest
$ac_exeext
17942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17943 (eval $ac_link) 2>&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } &&
17947 { ac_try
='test -s conftest$ac_exeext'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; }; then
17953 eval "$as_ac_var=yes"
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.
$ac_ext >&5
17958 eval "$as_ac_var=no"
17960 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
17962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17964 if test `eval echo '${'$as_ac_var'}'` = yes; then
17965 cat >>confdefs.h
<<_ACEOF
17966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17974 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
17975 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
17976 if test x
${glibcxx_cv_func__fmodl_use+set} != xset
; then
17977 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17984 ac_cpp
='$CXXCPP $CPPFLAGS'
17985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17989 cat >conftest.
$ac_ext <<_ACEOF
17990 #line $LINENO "configure"
17993 cat confdefs.h
>>conftest.
$ac_ext
17994 cat >>conftest.
$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
18005 rm -f conftest.
$ac_objext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18007 (eval $ac_compile) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try
='test -s conftest.$ac_objext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18017 glibcxx_cv_func__fmodl_use
=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.
$ac_ext >&5
18022 glibcxx_cv_func__fmodl_use
=no
18024 rm -f conftest.
$ac_objext conftest.
$ac_ext
18026 ac_cpp
='$CPP $CPPFLAGS'
18027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18036 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18038 if test x
$glibcxx_cv_func__fmodl_use = x
"yes"; then
18040 for ac_func
in _fmodl
18042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18043 echo "$as_me:$LINENO: checking for $ac_func" >&5
18044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18045 if eval "test \"\${$as_ac_var+set}\" = set"; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.
$ac_ext <<_ACEOF
18049 #line $LINENO "configure"
18052 cat confdefs.h
>>conftest.
$ac_ext
18053 cat >>conftest.
$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 /* System header to define __stub macros and hopefully few prototypes,
18056 which can conflict with char $ac_func (); below.
18057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18058 <limits.h> exists even on freestanding compilers. */
18060 # include <limits.h>
18062 # include <assert.h>
18064 /* Override any gcc2 internal prototype to avoid an error. */
18069 /* We use char because int might match the return type of a gcc2
18070 builtin and then its argument prototype would still apply. */
18072 /* The GNU C library defines this for functions which it implements
18073 to always fail with ENOSYS. Some functions are actually named
18074 something starting with __ and the normal name is an alias. */
18075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18078 char (*f) () = $ac_func;
18087 return f != $ac_func;
18092 rm -f conftest.
$ac_objext conftest
$ac_exeext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18094 (eval $ac_link) 2>&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } &&
18098 { ac_try
='test -s conftest$ac_exeext'
18099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18100 (eval $ac_try) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); }; }; then
18104 eval "$as_ac_var=yes"
18106 echo "$as_me: failed program was:" >&5
18107 sed 's/^/| /' conftest.
$ac_ext >&5
18109 eval "$as_ac_var=no"
18111 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18115 if test `eval echo '${'$as_ac_var'}'` = yes; then
18116 cat >>confdefs.h
<<_ACEOF
18117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18128 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18129 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18130 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
18131 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18138 ac_cpp
='$CXXCPP $CPPFLAGS'
18139 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18140 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18141 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18143 cat >conftest.
$ac_ext <<_ACEOF
18144 #line $LINENO "configure"
18147 cat confdefs.h
>>conftest.
$ac_ext
18148 cat >>conftest.
$ac_ext <<_ACEOF
18149 /* end confdefs.h. */
18159 rm -f conftest.
$ac_objext
18160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18161 (eval $ac_compile) 2>&5
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); } &&
18165 { ac_try
='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 glibcxx_cv_func_frexpl_use
=yes
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.
$ac_ext >&5
18176 glibcxx_cv_func_frexpl_use
=no
18178 rm -f conftest.
$ac_objext conftest.
$ac_ext
18180 ac_cpp
='$CPP $CPPFLAGS'
18181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18190 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18192 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
18194 for ac_func
in frexpl
18196 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18197 echo "$as_me:$LINENO: checking for $ac_func" >&5
18198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18199 if eval "test \"\${$as_ac_var+set}\" = set"; then
18200 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 cat >conftest.
$ac_ext <<_ACEOF
18203 #line $LINENO "configure"
18206 cat confdefs.h
>>conftest.
$ac_ext
18207 cat >>conftest.
$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 /* System header to define __stub macros and hopefully few prototypes,
18210 which can conflict with char $ac_func (); below.
18211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18212 <limits.h> exists even on freestanding compilers. */
18214 # include <limits.h>
18216 # include <assert.h>
18218 /* Override any gcc2 internal prototype to avoid an error. */
18223 /* We use char because int might match the return type of a gcc2
18224 builtin and then its argument prototype would still apply. */
18226 /* The GNU C library defines this for functions which it implements
18227 to always fail with ENOSYS. Some functions are actually named
18228 something starting with __ and the normal name is an alias. */
18229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18232 char (*f) () = $ac_func;
18241 return f != $ac_func;
18246 rm -f conftest.
$ac_objext conftest
$ac_exeext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18248 (eval $ac_link) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); } &&
18252 { ac_try
='test -s conftest$ac_exeext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 eval "$as_ac_var=yes"
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 eval "$as_ac_var=no"
18265 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18269 if test `eval echo '${'$as_ac_var'}'` = yes; then
18270 cat >>confdefs.h
<<_ACEOF
18271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18279 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18280 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18281 if test x
${glibcxx_cv_func__frexpl_use+set} != xset
; then
18282 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 ac_cpp
='$CXXCPP $CPPFLAGS'
18290 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18291 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18292 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18294 cat >conftest.
$ac_ext <<_ACEOF
18295 #line $LINENO "configure"
18298 cat confdefs.h
>>conftest.
$ac_ext
18299 cat >>conftest.
$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18310 rm -f conftest.
$ac_objext
18311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18312 (eval $ac_compile) 2>&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } &&
18316 { ac_try
='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 glibcxx_cv_func__frexpl_use
=yes
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.
$ac_ext >&5
18327 glibcxx_cv_func__frexpl_use
=no
18329 rm -f conftest.
$ac_objext conftest.
$ac_ext
18331 ac_cpp
='$CPP $CPPFLAGS'
18332 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18333 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18334 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18341 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18343 if test x
$glibcxx_cv_func__frexpl_use = x
"yes"; then
18345 for ac_func
in _frexpl
18347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18348 echo "$as_me:$LINENO: checking for $ac_func" >&5
18349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18350 if eval "test \"\${$as_ac_var+set}\" = set"; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 cat >conftest.
$ac_ext <<_ACEOF
18354 #line $LINENO "configure"
18357 cat confdefs.h
>>conftest.
$ac_ext
18358 cat >>conftest.
$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 /* System header to define __stub macros and hopefully few prototypes,
18361 which can conflict with char $ac_func (); below.
18362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18363 <limits.h> exists even on freestanding compilers. */
18365 # include <limits.h>
18367 # include <assert.h>
18369 /* Override any gcc2 internal prototype to avoid an error. */
18374 /* We use char because int might match the return type of a gcc2
18375 builtin and then its argument prototype would still apply. */
18377 /* The GNU C library defines this for functions which it implements
18378 to always fail with ENOSYS. Some functions are actually named
18379 something starting with __ and the normal name is an alias. */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18383 char (*f) () = $ac_func;
18392 return f != $ac_func;
18397 rm -f conftest.
$ac_objext conftest
$ac_exeext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399 (eval $ac_link) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try
='test -s conftest$ac_exeext'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; }; then
18409 eval "$as_ac_var=yes"
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.
$ac_ext >&5
18414 eval "$as_ac_var=no"
18416 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18420 if test `eval echo '${'$as_ac_var'}'` = yes; then
18421 cat >>confdefs.h
<<_ACEOF
18422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18433 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18434 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18435 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
18436 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 ac_cpp
='$CXXCPP $CPPFLAGS'
18444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18448 cat >conftest.
$ac_ext <<_ACEOF
18449 #line $LINENO "configure"
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18464 rm -f conftest.
$ac_objext
18465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18466 (eval $ac_compile) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try
='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 glibcxx_cv_func_hypotl_use
=yes
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.
$ac_ext >&5
18481 glibcxx_cv_func_hypotl_use
=no
18483 rm -f conftest.
$ac_objext conftest.
$ac_ext
18485 ac_cpp
='$CPP $CPPFLAGS'
18486 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18495 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18497 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
18499 for ac_func
in hypotl
18501 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18502 echo "$as_me:$LINENO: checking for $ac_func" >&5
18503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18504 if eval "test \"\${$as_ac_var+set}\" = set"; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 cat >conftest.
$ac_ext <<_ACEOF
18508 #line $LINENO "configure"
18511 cat confdefs.h
>>conftest.
$ac_ext
18512 cat >>conftest.
$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 /* System header to define __stub macros and hopefully few prototypes,
18515 which can conflict with char $ac_func (); below.
18516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18517 <limits.h> exists even on freestanding compilers. */
18519 # include <limits.h>
18521 # include <assert.h>
18523 /* Override any gcc2 internal prototype to avoid an error. */
18528 /* We use char because int might match the return type of a gcc2
18529 builtin and then its argument prototype would still apply. */
18531 /* The GNU C library defines this for functions which it implements
18532 to always fail with ENOSYS. Some functions are actually named
18533 something starting with __ and the normal name is an alias. */
18534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18537 char (*f) () = $ac_func;
18546 return f != $ac_func;
18551 rm -f conftest.
$ac_objext conftest
$ac_exeext
18552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18553 (eval $ac_link) 2>&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try
='test -s conftest$ac_exeext'
18558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18559 (eval $ac_try) 2>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); }; }; then
18563 eval "$as_ac_var=yes"
18565 echo "$as_me: failed program was:" >&5
18566 sed 's/^/| /' conftest.
$ac_ext >&5
18568 eval "$as_ac_var=no"
18570 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18574 if test `eval echo '${'$as_ac_var'}'` = yes; then
18575 cat >>confdefs.h
<<_ACEOF
18576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18584 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18585 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18586 if test x
${glibcxx_cv_func__hypotl_use+set} != xset
; then
18587 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18588 echo $ECHO_N "(cached) $ECHO_C" >&6
18594 ac_cpp
='$CXXCPP $CPPFLAGS'
18595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18599 cat >conftest.
$ac_ext <<_ACEOF
18600 #line $LINENO "configure"
18603 cat confdefs.h
>>conftest.
$ac_ext
18604 cat >>conftest.
$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18615 rm -f conftest.
$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } &&
18621 { ac_try
='test -s conftest.$ac_objext'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; }; then
18627 glibcxx_cv_func__hypotl_use
=yes
18629 echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.
$ac_ext >&5
18632 glibcxx_cv_func__hypotl_use
=no
18634 rm -f conftest.
$ac_objext conftest.
$ac_ext
18636 ac_cpp
='$CPP $CPPFLAGS'
18637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18646 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18648 if test x
$glibcxx_cv_func__hypotl_use = x
"yes"; then
18650 for ac_func
in _hypotl
18652 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18653 echo "$as_me:$LINENO: checking for $ac_func" >&5
18654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18655 if eval "test \"\${$as_ac_var+set}\" = set"; then
18656 echo $ECHO_N "(cached) $ECHO_C" >&6
18658 cat >conftest.
$ac_ext <<_ACEOF
18659 #line $LINENO "configure"
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 /* System header to define __stub macros and hopefully few prototypes,
18666 which can conflict with char $ac_func (); below.
18667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18668 <limits.h> exists even on freestanding compilers. */
18670 # include <limits.h>
18672 # include <assert.h>
18674 /* Override any gcc2 internal prototype to avoid an error. */
18679 /* We use char because int might match the return type of a gcc2
18680 builtin and then its argument prototype would still apply. */
18682 /* The GNU C library defines this for functions which it implements
18683 to always fail with ENOSYS. Some functions are actually named
18684 something starting with __ and the normal name is an alias. */
18685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18688 char (*f) () = $ac_func;
18697 return f != $ac_func;
18702 rm -f conftest.
$ac_objext conftest
$ac_exeext
18703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18704 (eval $ac_link) 2>&5
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); } &&
18708 { ac_try
='test -s conftest$ac_exeext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 eval "$as_ac_var=yes"
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.
$ac_ext >&5
18719 eval "$as_ac_var=no"
18721 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18725 if test `eval echo '${'$as_ac_var'}'` = yes; then
18726 cat >>confdefs.h
<<_ACEOF
18727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18738 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
18739 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
18740 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
18741 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18748 ac_cpp
='$CXXCPP $CPPFLAGS'
18749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18753 cat >conftest.
$ac_ext <<_ACEOF
18754 #line $LINENO "configure"
18757 cat confdefs.h
>>conftest.
$ac_ext
18758 cat >>conftest.
$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18769 rm -f conftest.
$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); } &&
18775 { ac_try
='test -s conftest.$ac_objext'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; }; then
18781 glibcxx_cv_func_ldexpl_use
=yes
18783 echo "$as_me: failed program was:" >&5
18784 sed 's/^/| /' conftest.
$ac_ext >&5
18786 glibcxx_cv_func_ldexpl_use
=no
18788 rm -f conftest.
$ac_objext conftest.
$ac_ext
18790 ac_cpp
='$CPP $CPPFLAGS'
18791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
18800 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
18802 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
18804 for ac_func
in ldexpl
18806 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18807 echo "$as_me:$LINENO: checking for $ac_func" >&5
18808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18809 if eval "test \"\${$as_ac_var+set}\" = set"; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 cat >conftest.
$ac_ext <<_ACEOF
18813 #line $LINENO "configure"
18816 cat confdefs.h
>>conftest.
$ac_ext
18817 cat >>conftest.
$ac_ext <<_ACEOF
18818 /* end confdefs.h. */
18819 /* System header to define __stub macros and hopefully few prototypes,
18820 which can conflict with char $ac_func (); below.
18821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18822 <limits.h> exists even on freestanding compilers. */
18824 # include <limits.h>
18826 # include <assert.h>
18828 /* Override any gcc2 internal prototype to avoid an error. */
18833 /* We use char because int might match the return type of a gcc2
18834 builtin and then its argument prototype would still apply. */
18836 /* The GNU C library defines this for functions which it implements
18837 to always fail with ENOSYS. Some functions are actually named
18838 something starting with __ and the normal name is an alias. */
18839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18842 char (*f) () = $ac_func;
18851 return f != $ac_func;
18856 rm -f conftest.
$ac_objext conftest
$ac_exeext
18857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18858 (eval $ac_link) 2>&5
18860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861 (exit $ac_status); } &&
18862 { ac_try
='test -s conftest$ac_exeext'
18863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864 (eval $ac_try) 2>&5
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); }; }; then
18868 eval "$as_ac_var=yes"
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.
$ac_ext >&5
18873 eval "$as_ac_var=no"
18875 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
18877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18879 if test `eval echo '${'$as_ac_var'}'` = yes; then
18880 cat >>confdefs.h
<<_ACEOF
18881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18889 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
18890 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
18891 if test x
${glibcxx_cv_func__ldexpl_use+set} != xset
; then
18892 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
18893 echo $ECHO_N "(cached) $ECHO_C" >&6
18899 ac_cpp
='$CXXCPP $CPPFLAGS'
18900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18904 cat >conftest.
$ac_ext <<_ACEOF
18905 #line $LINENO "configure"
18908 cat confdefs.h
>>conftest.
$ac_ext
18909 cat >>conftest.
$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18920 rm -f conftest.
$ac_objext
18921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18922 (eval $ac_compile) 2>&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); } &&
18926 { ac_try
='test -s conftest.$ac_objext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18932 glibcxx_cv_func__ldexpl_use
=yes
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.
$ac_ext >&5
18937 glibcxx_cv_func__ldexpl_use
=no
18939 rm -f conftest.
$ac_objext conftest.
$ac_ext
18941 ac_cpp
='$CPP $CPPFLAGS'
18942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
18951 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
18953 if test x
$glibcxx_cv_func__ldexpl_use = x
"yes"; then
18955 for ac_func
in _ldexpl
18957 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18958 echo "$as_me:$LINENO: checking for $ac_func" >&5
18959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18960 if eval "test \"\${$as_ac_var+set}\" = set"; then
18961 echo $ECHO_N "(cached) $ECHO_C" >&6
18963 cat >conftest.
$ac_ext <<_ACEOF
18964 #line $LINENO "configure"
18967 cat confdefs.h
>>conftest.
$ac_ext
18968 cat >>conftest.
$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 /* System header to define __stub macros and hopefully few prototypes,
18971 which can conflict with char $ac_func (); below.
18972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18973 <limits.h> exists even on freestanding compilers. */
18975 # include <limits.h>
18977 # include <assert.h>
18979 /* Override any gcc2 internal prototype to avoid an error. */
18984 /* We use char because int might match the return type of a gcc2
18985 builtin and then its argument prototype would still apply. */
18987 /* The GNU C library defines this for functions which it implements
18988 to always fail with ENOSYS. Some functions are actually named
18989 something starting with __ and the normal name is an alias. */
18990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18993 char (*f) () = $ac_func;
19002 return f != $ac_func;
19007 rm -f conftest.
$ac_objext conftest
$ac_exeext
19008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19009 (eval $ac_link) 2>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try
='test -s conftest$ac_exeext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 eval "$as_ac_var=yes"
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.
$ac_ext >&5
19024 eval "$as_ac_var=no"
19026 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19030 if test `eval echo '${'$as_ac_var'}'` = yes; then
19031 cat >>confdefs.h
<<_ACEOF
19032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19043 echo "$as_me:$LINENO: checking for logl declaration" >&5
19044 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19045 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
19046 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 ac_cpp
='$CXXCPP $CPPFLAGS'
19054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19058 cat >conftest.
$ac_ext <<_ACEOF
19059 #line $LINENO "configure"
19062 cat confdefs.h
>>conftest.
$ac_ext
19063 cat >>conftest.
$ac_ext <<_ACEOF
19064 /* end confdefs.h. */
19066 #ifdef HAVE_IEEEFP_H
19067 #include <ieeefp.h>
19078 rm -f conftest.
$ac_objext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19080 (eval $ac_compile) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try
='test -s conftest.$ac_objext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 glibcxx_cv_func_logl_use
=yes
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.
$ac_ext >&5
19095 glibcxx_cv_func_logl_use
=no
19097 rm -f conftest.
$ac_objext conftest.
$ac_ext
19099 ac_cpp
='$CPP $CPPFLAGS'
19100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19108 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19109 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19111 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
19113 for ac_func
in logl
19115 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19116 echo "$as_me:$LINENO: checking for $ac_func" >&5
19117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19118 if eval "test \"\${$as_ac_var+set}\" = set"; then
19119 echo $ECHO_N "(cached) $ECHO_C" >&6
19121 cat >conftest.
$ac_ext <<_ACEOF
19122 #line $LINENO "configure"
19125 cat confdefs.h
>>conftest.
$ac_ext
19126 cat >>conftest.
$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 /* System header to define __stub macros and hopefully few prototypes,
19129 which can conflict with char $ac_func (); below.
19130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19131 <limits.h> exists even on freestanding compilers. */
19133 # include <limits.h>
19135 # include <assert.h>
19137 /* Override any gcc2 internal prototype to avoid an error. */
19142 /* We use char because int might match the return type of a gcc2
19143 builtin and then its argument prototype would still apply. */
19145 /* The GNU C library defines this for functions which it implements
19146 to always fail with ENOSYS. Some functions are actually named
19147 something starting with __ and the normal name is an alias. */
19148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19151 char (*f) () = $ac_func;
19160 return f != $ac_func;
19165 rm -f conftest.
$ac_objext conftest
$ac_exeext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19167 (eval $ac_link) 2>&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } &&
19171 { ac_try
='test -s conftest$ac_exeext'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 eval "$as_ac_var=yes"
19179 echo "$as_me: failed program was:" >&5
19180 sed 's/^/| /' conftest.
$ac_ext >&5
19182 eval "$as_ac_var=no"
19184 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19188 if test `eval echo '${'$as_ac_var'}'` = yes; then
19189 cat >>confdefs.h
<<_ACEOF
19190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19198 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19199 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19200 if test x
${glibcxx_cv_func__logl_use+set} != xset
; then
19201 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19202 echo $ECHO_N "(cached) $ECHO_C" >&6
19208 ac_cpp
='$CXXCPP $CPPFLAGS'
19209 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19210 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19211 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19213 cat >conftest.
$ac_ext <<_ACEOF
19214 #line $LINENO "configure"
19217 cat confdefs.h
>>conftest.
$ac_ext
19218 cat >>conftest.
$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19221 #ifdef HAVE_IEEEFP_H
19222 #include <ieeefp.h>
19233 rm -f conftest.
$ac_objext
19234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19235 (eval $ac_compile) 2>&5
19237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238 (exit $ac_status); } &&
19239 { ac_try
='test -s conftest.$ac_objext'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; }; then
19245 glibcxx_cv_func__logl_use
=yes
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.
$ac_ext >&5
19250 glibcxx_cv_func__logl_use
=no
19252 rm -f conftest.
$ac_objext conftest.
$ac_ext
19254 ac_cpp
='$CPP $CPPFLAGS'
19255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19263 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19264 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19266 if test x
$glibcxx_cv_func__logl_use = x
"yes"; then
19268 for ac_func
in _logl
19270 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19271 echo "$as_me:$LINENO: checking for $ac_func" >&5
19272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19273 if eval "test \"\${$as_ac_var+set}\" = set"; then
19274 echo $ECHO_N "(cached) $ECHO_C" >&6
19276 cat >conftest.
$ac_ext <<_ACEOF
19277 #line $LINENO "configure"
19280 cat confdefs.h
>>conftest.
$ac_ext
19281 cat >>conftest.
$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 /* System header to define __stub macros and hopefully few prototypes,
19284 which can conflict with char $ac_func (); below.
19285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19286 <limits.h> exists even on freestanding compilers. */
19288 # include <limits.h>
19290 # include <assert.h>
19292 /* Override any gcc2 internal prototype to avoid an error. */
19297 /* We use char because int might match the return type of a gcc2
19298 builtin and then its argument prototype would still apply. */
19300 /* The GNU C library defines this for functions which it implements
19301 to always fail with ENOSYS. Some functions are actually named
19302 something starting with __ and the normal name is an alias. */
19303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19306 char (*f) () = $ac_func;
19315 return f != $ac_func;
19320 rm -f conftest.
$ac_objext conftest
$ac_exeext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19322 (eval $ac_link) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try
='test -s conftest$ac_exeext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 eval "$as_ac_var=yes"
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.
$ac_ext >&5
19337 eval "$as_ac_var=no"
19339 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19343 if test `eval echo '${'$as_ac_var'}'` = yes; then
19344 cat >>confdefs.h
<<_ACEOF
19345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19356 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19357 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19358 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
19359 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19366 ac_cpp
='$CXXCPP $CPPFLAGS'
19367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19371 cat >conftest.
$ac_ext <<_ACEOF
19372 #line $LINENO "configure"
19375 cat confdefs.h
>>conftest.
$ac_ext
19376 cat >>conftest.
$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19379 #ifdef HAVE_IEEEFP_H
19380 #include <ieeefp.h>
19391 rm -f conftest.
$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try
='test -s conftest.$ac_objext'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 glibcxx_cv_func_log10l_use
=yes
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.
$ac_ext >&5
19408 glibcxx_cv_func_log10l_use
=no
19410 rm -f conftest.
$ac_objext conftest.
$ac_ext
19412 ac_cpp
='$CPP $CPPFLAGS'
19413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19422 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19424 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
19426 for ac_func
in log10l
19428 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19429 echo "$as_me:$LINENO: checking for $ac_func" >&5
19430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19431 if eval "test \"\${$as_ac_var+set}\" = set"; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 cat >conftest.
$ac_ext <<_ACEOF
19435 #line $LINENO "configure"
19438 cat confdefs.h
>>conftest.
$ac_ext
19439 cat >>conftest.
$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 /* System header to define __stub macros and hopefully few prototypes,
19442 which can conflict with char $ac_func (); below.
19443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19444 <limits.h> exists even on freestanding compilers. */
19446 # include <limits.h>
19448 # include <assert.h>
19450 /* Override any gcc2 internal prototype to avoid an error. */
19455 /* We use char because int might match the return type of a gcc2
19456 builtin and then its argument prototype would still apply. */
19458 /* The GNU C library defines this for functions which it implements
19459 to always fail with ENOSYS. Some functions are actually named
19460 something starting with __ and the normal name is an alias. */
19461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19464 char (*f) () = $ac_func;
19473 return f != $ac_func;
19478 rm -f conftest.
$ac_objext conftest
$ac_exeext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19480 (eval $ac_link) 2>&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try
='test -s conftest$ac_exeext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 eval "$as_ac_var=yes"
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.
$ac_ext >&5
19495 eval "$as_ac_var=no"
19497 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19501 if test `eval echo '${'$as_ac_var'}'` = yes; then
19502 cat >>confdefs.h
<<_ACEOF
19503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19511 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19512 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19513 if test x
${glibcxx_cv_func__log10l_use+set} != xset
; then
19514 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 ac_cpp
='$CXXCPP $CPPFLAGS'
19522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19526 cat >conftest.
$ac_ext <<_ACEOF
19527 #line $LINENO "configure"
19530 cat confdefs.h
>>conftest.
$ac_ext
19531 cat >>conftest.
$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19534 #ifdef HAVE_IEEEFP_H
19535 #include <ieeefp.h>
19546 rm -f conftest.
$ac_objext
19547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19548 (eval $ac_compile) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try
='test -s conftest.$ac_objext'
19553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19554 (eval $ac_try) 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; }; then
19558 glibcxx_cv_func__log10l_use
=yes
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.
$ac_ext >&5
19563 glibcxx_cv_func__log10l_use
=no
19565 rm -f conftest.
$ac_objext conftest.
$ac_ext
19567 ac_cpp
='$CPP $CPPFLAGS'
19568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19577 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19579 if test x
$glibcxx_cv_func__log10l_use = x
"yes"; then
19581 for ac_func
in _log10l
19583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19584 echo "$as_me:$LINENO: checking for $ac_func" >&5
19585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19586 if eval "test \"\${$as_ac_var+set}\" = set"; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 cat >conftest.
$ac_ext <<_ACEOF
19590 #line $LINENO "configure"
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 /* System header to define __stub macros and hopefully few prototypes,
19597 which can conflict with char $ac_func (); below.
19598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19599 <limits.h> exists even on freestanding compilers. */
19601 # include <limits.h>
19603 # include <assert.h>
19605 /* Override any gcc2 internal prototype to avoid an error. */
19610 /* We use char because int might match the return type of a gcc2
19611 builtin and then its argument prototype would still apply. */
19613 /* The GNU C library defines this for functions which it implements
19614 to always fail with ENOSYS. Some functions are actually named
19615 something starting with __ and the normal name is an alias. */
19616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19619 char (*f) () = $ac_func;
19628 return f != $ac_func;
19633 rm -f conftest.
$ac_objext conftest
$ac_exeext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19635 (eval $ac_link) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try
='test -s conftest$ac_exeext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 eval "$as_ac_var=yes"
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.
$ac_ext >&5
19650 eval "$as_ac_var=no"
19652 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19656 if test `eval echo '${'$as_ac_var'}'` = yes; then
19657 cat >>confdefs.h
<<_ACEOF
19658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19669 echo "$as_me:$LINENO: checking for modfl declaration" >&5
19670 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
19671 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
19672 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 ac_cpp
='$CXXCPP $CPPFLAGS'
19680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19684 cat >conftest.
$ac_ext <<_ACEOF
19685 #line $LINENO "configure"
19688 cat confdefs.h
>>conftest.
$ac_ext
19689 cat >>conftest.
$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19700 rm -f conftest.
$ac_objext
19701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19702 (eval $ac_compile) 2>&5
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); } &&
19706 { ac_try
='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 glibcxx_cv_func_modfl_use
=yes
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.
$ac_ext >&5
19717 glibcxx_cv_func_modfl_use
=no
19719 rm -f conftest.
$ac_objext conftest.
$ac_ext
19721 ac_cpp
='$CPP $CPPFLAGS'
19722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19730 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
19731 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
19733 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
19735 for ac_func
in modfl
19737 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19738 echo "$as_me:$LINENO: checking for $ac_func" >&5
19739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19740 if eval "test \"\${$as_ac_var+set}\" = set"; then
19741 echo $ECHO_N "(cached) $ECHO_C" >&6
19743 cat >conftest.
$ac_ext <<_ACEOF
19744 #line $LINENO "configure"
19747 cat confdefs.h
>>conftest.
$ac_ext
19748 cat >>conftest.
$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 /* System header to define __stub macros and hopefully few prototypes,
19751 which can conflict with char $ac_func (); below.
19752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19753 <limits.h> exists even on freestanding compilers. */
19755 # include <limits.h>
19757 # include <assert.h>
19759 /* Override any gcc2 internal prototype to avoid an error. */
19764 /* We use char because int might match the return type of a gcc2
19765 builtin and then its argument prototype would still apply. */
19767 /* The GNU C library defines this for functions which it implements
19768 to always fail with ENOSYS. Some functions are actually named
19769 something starting with __ and the normal name is an alias. */
19770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19773 char (*f) () = $ac_func;
19782 return f != $ac_func;
19787 rm -f conftest.
$ac_objext conftest
$ac_exeext
19788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19789 (eval $ac_link) 2>&5
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); } &&
19793 { ac_try
='test -s conftest$ac_exeext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 eval "$as_ac_var=yes"
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.
$ac_ext >&5
19804 eval "$as_ac_var=no"
19806 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19810 if test `eval echo '${'$as_ac_var'}'` = yes; then
19811 cat >>confdefs.h
<<_ACEOF
19812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19820 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
19821 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
19822 if test x
${glibcxx_cv_func__modfl_use+set} != xset
; then
19823 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
19824 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 ac_cpp
='$CXXCPP $CPPFLAGS'
19831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19835 cat >conftest.
$ac_ext <<_ACEOF
19836 #line $LINENO "configure"
19839 cat confdefs.h
>>conftest.
$ac_ext
19840 cat >>conftest.
$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19851 rm -f conftest.
$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } &&
19857 { ac_try
='test -s conftest.$ac_objext'
19858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19859 (eval $ac_try) 2>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); }; }; then
19863 glibcxx_cv_func__modfl_use
=yes
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.
$ac_ext >&5
19868 glibcxx_cv_func__modfl_use
=no
19870 rm -f conftest.
$ac_objext conftest.
$ac_ext
19872 ac_cpp
='$CPP $CPPFLAGS'
19873 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19874 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19875 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
19882 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
19884 if test x
$glibcxx_cv_func__modfl_use = x
"yes"; then
19886 for ac_func
in _modfl
19888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19889 echo "$as_me:$LINENO: checking for $ac_func" >&5
19890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19891 if eval "test \"\${$as_ac_var+set}\" = set"; then
19892 echo $ECHO_N "(cached) $ECHO_C" >&6
19894 cat >conftest.
$ac_ext <<_ACEOF
19895 #line $LINENO "configure"
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 /* System header to define __stub macros and hopefully few prototypes,
19902 which can conflict with char $ac_func (); below.
19903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19904 <limits.h> exists even on freestanding compilers. */
19906 # include <limits.h>
19908 # include <assert.h>
19910 /* Override any gcc2 internal prototype to avoid an error. */
19915 /* We use char because int might match the return type of a gcc2
19916 builtin and then its argument prototype would still apply. */
19918 /* The GNU C library defines this for functions which it implements
19919 to always fail with ENOSYS. Some functions are actually named
19920 something starting with __ and the normal name is an alias. */
19921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19924 char (*f) () = $ac_func;
19933 return f != $ac_func;
19938 rm -f conftest.
$ac_objext conftest
$ac_exeext
19939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19940 (eval $ac_link) 2>&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } &&
19944 { ac_try
='test -s conftest$ac_exeext'
19945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19946 (eval $ac_try) 2>&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); }; }; then
19950 eval "$as_ac_var=yes"
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.
$ac_ext >&5
19955 eval "$as_ac_var=no"
19957 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
19959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19961 if test `eval echo '${'$as_ac_var'}'` = yes; then
19962 cat >>confdefs.h
<<_ACEOF
19963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19974 echo "$as_me:$LINENO: checking for powl declaration" >&5
19975 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
19976 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
19977 if test "${glibcxx_cv_func_powl_use+set}" = set; then
19978 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 ac_cpp
='$CXXCPP $CPPFLAGS'
19985 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19986 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19987 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19989 cat >conftest.
$ac_ext <<_ACEOF
19990 #line $LINENO "configure"
19993 cat confdefs.h
>>conftest.
$ac_ext
19994 cat >>conftest.
$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
20005 rm -f conftest.
$ac_objext
20006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20007 (eval $ac_compile) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); } &&
20011 { ac_try
='test -s conftest.$ac_objext'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; }; then
20017 glibcxx_cv_func_powl_use
=yes
20019 echo "$as_me: failed program was:" >&5
20020 sed 's/^/| /' conftest.
$ac_ext >&5
20022 glibcxx_cv_func_powl_use
=no
20024 rm -f conftest.
$ac_objext conftest.
$ac_ext
20026 ac_cpp
='$CPP $CPPFLAGS'
20027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20036 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20038 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
20040 for ac_func
in powl
20042 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20043 echo "$as_me:$LINENO: checking for $ac_func" >&5
20044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20045 if eval "test \"\${$as_ac_var+set}\" = set"; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 cat >conftest.
$ac_ext <<_ACEOF
20049 #line $LINENO "configure"
20052 cat confdefs.h
>>conftest.
$ac_ext
20053 cat >>conftest.
$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 /* System header to define __stub macros and hopefully few prototypes,
20056 which can conflict with char $ac_func (); below.
20057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20058 <limits.h> exists even on freestanding compilers. */
20060 # include <limits.h>
20062 # include <assert.h>
20064 /* Override any gcc2 internal prototype to avoid an error. */
20069 /* We use char because int might match the return type of a gcc2
20070 builtin and then its argument prototype would still apply. */
20072 /* The GNU C library defines this for functions which it implements
20073 to always fail with ENOSYS. Some functions are actually named
20074 something starting with __ and the normal name is an alias. */
20075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20078 char (*f) () = $ac_func;
20087 return f != $ac_func;
20092 rm -f conftest.
$ac_objext conftest
$ac_exeext
20093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20094 (eval $ac_link) 2>&5
20096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20097 (exit $ac_status); } &&
20098 { ac_try
='test -s conftest$ac_exeext'
20099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20100 (eval $ac_try) 2>&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); }; }; then
20104 eval "$as_ac_var=yes"
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.
$ac_ext >&5
20109 eval "$as_ac_var=no"
20111 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20115 if test `eval echo '${'$as_ac_var'}'` = yes; then
20116 cat >>confdefs.h
<<_ACEOF
20117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20125 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20126 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20127 if test x
${glibcxx_cv_func__powl_use+set} != xset
; then
20128 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20135 ac_cpp
='$CXXCPP $CPPFLAGS'
20136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20140 cat >conftest.
$ac_ext <<_ACEOF
20141 #line $LINENO "configure"
20144 cat confdefs.h
>>conftest.
$ac_ext
20145 cat >>conftest.
$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20156 rm -f conftest.
$ac_objext
20157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20158 (eval $ac_compile) 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } &&
20162 { ac_try
='test -s conftest.$ac_objext'
20163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20164 (eval $ac_try) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; }; then
20168 glibcxx_cv_func__powl_use
=yes
20170 echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.
$ac_ext >&5
20173 glibcxx_cv_func__powl_use
=no
20175 rm -f conftest.
$ac_objext conftest.
$ac_ext
20177 ac_cpp
='$CPP $CPPFLAGS'
20178 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20179 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20180 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20187 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20189 if test x
$glibcxx_cv_func__powl_use = x
"yes"; then
20191 for ac_func
in _powl
20193 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20194 echo "$as_me:$LINENO: checking for $ac_func" >&5
20195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20196 if eval "test \"\${$as_ac_var+set}\" = set"; then
20197 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 cat >conftest.
$ac_ext <<_ACEOF
20200 #line $LINENO "configure"
20203 cat confdefs.h
>>conftest.
$ac_ext
20204 cat >>conftest.
$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 /* System header to define __stub macros and hopefully few prototypes,
20207 which can conflict with char $ac_func (); below.
20208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20209 <limits.h> exists even on freestanding compilers. */
20211 # include <limits.h>
20213 # include <assert.h>
20215 /* Override any gcc2 internal prototype to avoid an error. */
20220 /* We use char because int might match the return type of a gcc2
20221 builtin and then its argument prototype would still apply. */
20223 /* The GNU C library defines this for functions which it implements
20224 to always fail with ENOSYS. Some functions are actually named
20225 something starting with __ and the normal name is an alias. */
20226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20229 char (*f) () = $ac_func;
20238 return f != $ac_func;
20243 rm -f conftest.
$ac_objext conftest
$ac_exeext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20245 (eval $ac_link) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } &&
20249 { ac_try
='test -s conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 eval "$as_ac_var=yes"
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.
$ac_ext >&5
20260 eval "$as_ac_var=no"
20262 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20266 if test `eval echo '${'$as_ac_var'}'` = yes; then
20267 cat >>confdefs.h
<<_ACEOF
20268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20279 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20280 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20281 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
20282 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20283 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 ac_cpp
='$CXXCPP $CPPFLAGS'
20290 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20291 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20292 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20294 cat >conftest.
$ac_ext <<_ACEOF
20295 #line $LINENO "configure"
20298 cat confdefs.h
>>conftest.
$ac_ext
20299 cat >>conftest.
$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20302 #ifdef HAVE_IEEEFP_H
20303 #include <ieeefp.h>
20314 rm -f conftest.
$ac_objext
20315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20316 (eval $ac_compile) 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); } &&
20320 { ac_try
='test -s conftest.$ac_objext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 glibcxx_cv_func_sqrtl_use
=yes
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 glibcxx_cv_func_sqrtl_use
=no
20333 rm -f conftest.
$ac_objext conftest.
$ac_ext
20335 ac_cpp
='$CPP $CPPFLAGS'
20336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20345 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20347 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
20349 for ac_func
in sqrtl
20351 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20352 echo "$as_me:$LINENO: checking for $ac_func" >&5
20353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20354 if eval "test \"\${$as_ac_var+set}\" = set"; then
20355 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 cat >conftest.
$ac_ext <<_ACEOF
20358 #line $LINENO "configure"
20361 cat confdefs.h
>>conftest.
$ac_ext
20362 cat >>conftest.
$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 /* System header to define __stub macros and hopefully few prototypes,
20365 which can conflict with char $ac_func (); below.
20366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20367 <limits.h> exists even on freestanding compilers. */
20369 # include <limits.h>
20371 # include <assert.h>
20373 /* Override any gcc2 internal prototype to avoid an error. */
20378 /* We use char because int might match the return type of a gcc2
20379 builtin and then its argument prototype would still apply. */
20381 /* The GNU C library defines this for functions which it implements
20382 to always fail with ENOSYS. Some functions are actually named
20383 something starting with __ and the normal name is an alias. */
20384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20387 char (*f) () = $ac_func;
20396 return f != $ac_func;
20401 rm -f conftest.
$ac_objext conftest
$ac_exeext
20402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20403 (eval $ac_link) 2>&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } &&
20407 { ac_try
='test -s conftest$ac_exeext'
20408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20409 (eval $ac_try) 2>&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); }; }; then
20413 eval "$as_ac_var=yes"
20415 echo "$as_me: failed program was:" >&5
20416 sed 's/^/| /' conftest.
$ac_ext >&5
20418 eval "$as_ac_var=no"
20420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20424 if test `eval echo '${'$as_ac_var'}'` = yes; then
20425 cat >>confdefs.h
<<_ACEOF
20426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20434 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20435 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20436 if test x
${glibcxx_cv_func__sqrtl_use+set} != xset
; then
20437 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20438 echo $ECHO_N "(cached) $ECHO_C" >&6
20444 ac_cpp
='$CXXCPP $CPPFLAGS'
20445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20449 cat >conftest.
$ac_ext <<_ACEOF
20450 #line $LINENO "configure"
20453 cat confdefs.h
>>conftest.
$ac_ext
20454 cat >>conftest.
$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20457 #ifdef HAVE_IEEEFP_H
20458 #include <ieeefp.h>
20469 rm -f conftest.
$ac_objext
20470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471 (eval $ac_compile) 2>&5
20473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474 (exit $ac_status); } &&
20475 { ac_try
='test -s conftest.$ac_objext'
20476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20477 (eval $ac_try) 2>&5
20479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20480 (exit $ac_status); }; }; then
20481 glibcxx_cv_func__sqrtl_use
=yes
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.
$ac_ext >&5
20486 glibcxx_cv_func__sqrtl_use
=no
20488 rm -f conftest.
$ac_objext conftest.
$ac_ext
20490 ac_cpp
='$CPP $CPPFLAGS'
20491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20499 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20500 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20502 if test x
$glibcxx_cv_func__sqrtl_use = x
"yes"; then
20504 for ac_func
in _sqrtl
20506 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20507 echo "$as_me:$LINENO: checking for $ac_func" >&5
20508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20509 if eval "test \"\${$as_ac_var+set}\" = set"; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 cat >conftest.
$ac_ext <<_ACEOF
20513 #line $LINENO "configure"
20516 cat confdefs.h
>>conftest.
$ac_ext
20517 cat >>conftest.
$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20519 /* System header to define __stub macros and hopefully few prototypes,
20520 which can conflict with char $ac_func (); below.
20521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20522 <limits.h> exists even on freestanding compilers. */
20524 # include <limits.h>
20526 # include <assert.h>
20528 /* Override any gcc2 internal prototype to avoid an error. */
20533 /* We use char because int might match the return type of a gcc2
20534 builtin and then its argument prototype would still apply. */
20536 /* The GNU C library defines this for functions which it implements
20537 to always fail with ENOSYS. Some functions are actually named
20538 something starting with __ and the normal name is an alias. */
20539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20542 char (*f) () = $ac_func;
20551 return f != $ac_func;
20556 rm -f conftest.
$ac_objext conftest
$ac_exeext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20558 (eval $ac_link) 2>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try
='test -s conftest$ac_exeext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 eval "$as_ac_var=yes"
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.
$ac_ext >&5
20573 eval "$as_ac_var=no"
20575 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20579 if test `eval echo '${'$as_ac_var'}'` = yes; then
20580 cat >>confdefs.h
<<_ACEOF
20581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20592 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20593 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20594 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
20595 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20596 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 ac_cpp
='$CXXCPP $CPPFLAGS'
20603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20607 cat >conftest.
$ac_ext <<_ACEOF
20608 #line $LINENO "configure"
20611 cat confdefs.h
>>conftest.
$ac_ext
20612 cat >>conftest.
$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20623 rm -f conftest.
$ac_objext
20624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20625 (eval $ac_compile) 2>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } &&
20629 { ac_try
='test -s conftest.$ac_objext'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; }; then
20635 glibcxx_cv_func_sincosl_use
=yes
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.
$ac_ext >&5
20640 glibcxx_cv_func_sincosl_use
=no
20642 rm -f conftest.
$ac_objext conftest.
$ac_ext
20644 ac_cpp
='$CPP $CPPFLAGS'
20645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
20654 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
20656 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
20658 for ac_func
in sincosl
20660 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20661 echo "$as_me:$LINENO: checking for $ac_func" >&5
20662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20663 if eval "test \"\${$as_ac_var+set}\" = set"; then
20664 echo $ECHO_N "(cached) $ECHO_C" >&6
20666 cat >conftest.
$ac_ext <<_ACEOF
20667 #line $LINENO "configure"
20670 cat confdefs.h
>>conftest.
$ac_ext
20671 cat >>conftest.
$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20673 /* System header to define __stub macros and hopefully few prototypes,
20674 which can conflict with char $ac_func (); below.
20675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20676 <limits.h> exists even on freestanding compilers. */
20678 # include <limits.h>
20680 # include <assert.h>
20682 /* Override any gcc2 internal prototype to avoid an error. */
20687 /* We use char because int might match the return type of a gcc2
20688 builtin and then its argument prototype would still apply. */
20690 /* The GNU C library defines this for functions which it implements
20691 to always fail with ENOSYS. Some functions are actually named
20692 something starting with __ and the normal name is an alias. */
20693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20696 char (*f) () = $ac_func;
20705 return f != $ac_func;
20710 rm -f conftest.
$ac_objext conftest
$ac_exeext
20711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20712 (eval $ac_link) 2>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } &&
20716 { ac_try
='test -s conftest$ac_exeext'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; }; then
20722 eval "$as_ac_var=yes"
20724 echo "$as_me: failed program was:" >&5
20725 sed 's/^/| /' conftest.
$ac_ext >&5
20727 eval "$as_ac_var=no"
20729 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20733 if test `eval echo '${'$as_ac_var'}'` = yes; then
20734 cat >>confdefs.h
<<_ACEOF
20735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20743 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
20744 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
20745 if test x
${glibcxx_cv_func__sincosl_use+set} != xset
; then
20746 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
20747 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 ac_cpp
='$CXXCPP $CPPFLAGS'
20754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20758 cat >conftest.
$ac_ext <<_ACEOF
20759 #line $LINENO "configure"
20762 cat confdefs.h
>>conftest.
$ac_ext
20763 cat >>conftest.
$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20774 rm -f conftest.
$ac_objext
20775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20776 (eval $ac_compile) 2>&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try
='test -s conftest.$ac_objext'
20781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20782 (eval $ac_try) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); }; }; then
20786 glibcxx_cv_func__sincosl_use
=yes
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.
$ac_ext >&5
20791 glibcxx_cv_func__sincosl_use
=no
20793 rm -f conftest.
$ac_objext conftest.
$ac_ext
20795 ac_cpp
='$CPP $CPPFLAGS'
20796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20804 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
20805 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
20807 if test x
$glibcxx_cv_func__sincosl_use = x
"yes"; then
20809 for ac_func
in _sincosl
20811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20812 echo "$as_me:$LINENO: checking for $ac_func" >&5
20813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20814 if eval "test \"\${$as_ac_var+set}\" = set"; then
20815 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 cat >conftest.
$ac_ext <<_ACEOF
20818 #line $LINENO "configure"
20821 cat confdefs.h
>>conftest.
$ac_ext
20822 cat >>conftest.
$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20824 /* System header to define __stub macros and hopefully few prototypes,
20825 which can conflict with char $ac_func (); below.
20826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20827 <limits.h> exists even on freestanding compilers. */
20829 # include <limits.h>
20831 # include <assert.h>
20833 /* Override any gcc2 internal prototype to avoid an error. */
20838 /* We use char because int might match the return type of a gcc2
20839 builtin and then its argument prototype would still apply. */
20841 /* The GNU C library defines this for functions which it implements
20842 to always fail with ENOSYS. Some functions are actually named
20843 something starting with __ and the normal name is an alias. */
20844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20847 char (*f) () = $ac_func;
20856 return f != $ac_func;
20861 rm -f conftest.
$ac_objext conftest
$ac_exeext
20862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20863 (eval $ac_link) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } &&
20867 { ac_try
='test -s conftest$ac_exeext'
20868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20869 (eval $ac_try) 2>&5
20871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20872 (exit $ac_status); }; }; then
20873 eval "$as_ac_var=yes"
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.
$ac_ext >&5
20878 eval "$as_ac_var=no"
20880 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
20882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20884 if test `eval echo '${'$as_ac_var'}'` = yes; then
20885 cat >>confdefs.h
<<_ACEOF
20886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20897 echo "$as_me:$LINENO: checking for finitel declaration" >&5
20898 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
20899 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
20900 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 ac_cpp
='$CXXCPP $CPPFLAGS'
20908 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20909 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20910 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20912 cat >conftest.
$ac_ext <<_ACEOF
20913 #line $LINENO "configure"
20916 cat confdefs.h
>>conftest.
$ac_ext
20917 cat >>conftest.
$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20920 #ifdef HAVE_IEEEFP_H
20921 #include <ieeefp.h>
20932 rm -f conftest.
$ac_objext
20933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20934 (eval $ac_compile) 2>&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } &&
20938 { ac_try
='test -s conftest.$ac_objext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 glibcxx_cv_func_finitel_use
=yes
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.
$ac_ext >&5
20949 glibcxx_cv_func_finitel_use
=no
20951 rm -f conftest.
$ac_objext conftest.
$ac_ext
20953 ac_cpp
='$CPP $CPPFLAGS'
20954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20962 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
20963 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
20965 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
20967 for ac_func
in finitel
20969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20970 echo "$as_me:$LINENO: checking for $ac_func" >&5
20971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20972 if eval "test \"\${$as_ac_var+set}\" = set"; then
20973 echo $ECHO_N "(cached) $ECHO_C" >&6
20975 cat >conftest.
$ac_ext <<_ACEOF
20976 #line $LINENO "configure"
20979 cat confdefs.h
>>conftest.
$ac_ext
20980 cat >>conftest.
$ac_ext <<_ACEOF
20981 /* end confdefs.h. */
20982 /* System header to define __stub macros and hopefully few prototypes,
20983 which can conflict with char $ac_func (); below.
20984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20985 <limits.h> exists even on freestanding compilers. */
20987 # include <limits.h>
20989 # include <assert.h>
20991 /* Override any gcc2 internal prototype to avoid an error. */
20996 /* We use char because int might match the return type of a gcc2
20997 builtin and then its argument prototype would still apply. */
20999 /* The GNU C library defines this for functions which it implements
21000 to always fail with ENOSYS. Some functions are actually named
21001 something starting with __ and the normal name is an alias. */
21002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21005 char (*f) () = $ac_func;
21014 return f != $ac_func;
21019 rm -f conftest.
$ac_objext conftest
$ac_exeext
21020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21021 (eval $ac_link) 2>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } &&
21025 { ac_try
='test -s conftest$ac_exeext'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; }; then
21031 eval "$as_ac_var=yes"
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.
$ac_ext >&5
21036 eval "$as_ac_var=no"
21038 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21042 if test `eval echo '${'$as_ac_var'}'` = yes; then
21043 cat >>confdefs.h
<<_ACEOF
21044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21052 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21053 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21054 if test x
${glibcxx_cv_func__finitel_use+set} != xset
; then
21055 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21056 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 ac_cpp
='$CXXCPP $CPPFLAGS'
21063 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21067 cat >conftest.
$ac_ext <<_ACEOF
21068 #line $LINENO "configure"
21071 cat confdefs.h
>>conftest.
$ac_ext
21072 cat >>conftest.
$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21075 #ifdef HAVE_IEEEFP_H
21076 #include <ieeefp.h>
21087 rm -f conftest.
$ac_objext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21089 (eval $ac_compile) 2>&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try
='test -s conftest.$ac_objext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 glibcxx_cv_func__finitel_use
=yes
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.
$ac_ext >&5
21104 glibcxx_cv_func__finitel_use
=no
21106 rm -f conftest.
$ac_objext conftest.
$ac_ext
21108 ac_cpp
='$CPP $CPPFLAGS'
21109 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21118 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21120 if test x
$glibcxx_cv_func__finitel_use = x
"yes"; then
21122 for ac_func
in _finitel
21124 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21125 echo "$as_me:$LINENO: checking for $ac_func" >&5
21126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21127 if eval "test \"\${$as_ac_var+set}\" = set"; then
21128 echo $ECHO_N "(cached) $ECHO_C" >&6
21130 cat >conftest.
$ac_ext <<_ACEOF
21131 #line $LINENO "configure"
21134 cat confdefs.h
>>conftest.
$ac_ext
21135 cat >>conftest.
$ac_ext <<_ACEOF
21136 /* end confdefs.h. */
21137 /* System header to define __stub macros and hopefully few prototypes,
21138 which can conflict with char $ac_func (); below.
21139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21140 <limits.h> exists even on freestanding compilers. */
21142 # include <limits.h>
21144 # include <assert.h>
21146 /* Override any gcc2 internal prototype to avoid an error. */
21151 /* We use char because int might match the return type of a gcc2
21152 builtin and then its argument prototype would still apply. */
21154 /* The GNU C library defines this for functions which it implements
21155 to always fail with ENOSYS. Some functions are actually named
21156 something starting with __ and the normal name is an alias. */
21157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21160 char (*f) () = $ac_func;
21169 return f != $ac_func;
21174 rm -f conftest.
$ac_objext conftest
$ac_exeext
21175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21176 (eval $ac_link) 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } &&
21180 { ac_try
='test -s conftest$ac_exeext'
21181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21182 (eval $ac_try) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); }; }; then
21186 eval "$as_ac_var=yes"
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 eval "$as_ac_var=no"
21193 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21197 if test `eval echo '${'$as_ac_var'}'` = yes; then
21198 cat >>confdefs.h
<<_ACEOF
21199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21211 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21212 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21213 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21220 ac_cpp
='$CXXCPP $CPPFLAGS'
21221 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21222 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21223 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21225 cat >conftest.
$ac_ext <<_ACEOF
21226 #line $LINENO "configure"
21229 cat confdefs.h
>>conftest.
$ac_ext
21230 cat >>conftest.
$ac_ext <<_ACEOF
21231 /* end confdefs.h. */
21236 `for x in _acosf _asinf _atanf \
21237 _cosf _sinf _tanf \
21238 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21243 rm -f conftest.
$ac_objext
21244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21245 (eval $ac_compile) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try
='test -s conftest.$ac_objext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 glibcxx_cv_func__float_trig_use
=yes
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.
$ac_ext >&5
21260 glibcxx_cv_func__float_trig_use
=no
21262 rm -f conftest.
$ac_objext conftest.
$ac_ext
21264 ac_cpp
='$CPP $CPPFLAGS'
21265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21272 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21273 if test x
$glibcxx_cv_func__float_trig_use = x
"yes"; then
21283 for ac_func
in _acosf _asinf _atanf \
21284 _cosf _sinf _tanf \
21285 _coshf _sinhf _tanhf
21287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21288 echo "$as_me:$LINENO: checking for $ac_func" >&5
21289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21290 if eval "test \"\${$as_ac_var+set}\" = set"; then
21291 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 cat >conftest.
$ac_ext <<_ACEOF
21294 #line $LINENO "configure"
21297 cat confdefs.h
>>conftest.
$ac_ext
21298 cat >>conftest.
$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 /* System header to define __stub macros and hopefully few prototypes,
21301 which can conflict with char $ac_func (); below.
21302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21303 <limits.h> exists even on freestanding compilers. */
21305 # include <limits.h>
21307 # include <assert.h>
21309 /* Override any gcc2 internal prototype to avoid an error. */
21314 /* We use char because int might match the return type of a gcc2
21315 builtin and then its argument prototype would still apply. */
21317 /* The GNU C library defines this for functions which it implements
21318 to always fail with ENOSYS. Some functions are actually named
21319 something starting with __ and the normal name is an alias. */
21320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21323 char (*f) () = $ac_func;
21332 return f != $ac_func;
21337 rm -f conftest.
$ac_objext conftest
$ac_exeext
21338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21339 (eval $ac_link) 2>&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } &&
21343 { ac_try
='test -s conftest$ac_exeext'
21344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21345 (eval $ac_try) 2>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; }; then
21349 eval "$as_ac_var=yes"
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21354 eval "$as_ac_var=no"
21356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21360 if test `eval echo '${'$as_ac_var'}'` = yes; then
21361 cat >>confdefs.h
<<_ACEOF
21362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21371 echo "$as_me:$LINENO: checking for _float round functions" >&5
21372 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21373 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21374 echo $ECHO_N "(cached) $ECHO_C" >&6
21380 ac_cpp
='$CXXCPP $CPPFLAGS'
21381 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21385 cat >conftest.
$ac_ext <<_ACEOF
21386 #line $LINENO "configure"
21389 cat confdefs.h
>>conftest.
$ac_ext
21390 cat >>conftest.
$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21396 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21401 rm -f conftest.
$ac_objext
21402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21403 (eval $ac_compile) 2>&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try
='test -s conftest.$ac_objext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21413 glibcxx_cv_func__float_round_use
=yes
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.
$ac_ext >&5
21418 glibcxx_cv_func__float_round_use
=no
21420 rm -f conftest.
$ac_objext conftest.
$ac_ext
21422 ac_cpp
='$CPP $CPPFLAGS'
21423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21430 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21431 if test x
$glibcxx_cv_func__float_round_use = x
"yes"; then
21434 for ac_func
in _ceilf _floorf
21436 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21437 echo "$as_me:$LINENO: checking for $ac_func" >&5
21438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21439 if eval "test \"\${$as_ac_var+set}\" = set"; then
21440 echo $ECHO_N "(cached) $ECHO_C" >&6
21442 cat >conftest.
$ac_ext <<_ACEOF
21443 #line $LINENO "configure"
21446 cat confdefs.h
>>conftest.
$ac_ext
21447 cat >>conftest.
$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 /* System header to define __stub macros and hopefully few prototypes,
21450 which can conflict with char $ac_func (); below.
21451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21452 <limits.h> exists even on freestanding compilers. */
21454 # include <limits.h>
21456 # include <assert.h>
21458 /* Override any gcc2 internal prototype to avoid an error. */
21463 /* We use char because int might match the return type of a gcc2
21464 builtin and then its argument prototype would still apply. */
21466 /* The GNU C library defines this for functions which it implements
21467 to always fail with ENOSYS. Some functions are actually named
21468 something starting with __ and the normal name is an alias. */
21469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21472 char (*f) () = $ac_func;
21481 return f != $ac_func;
21486 rm -f conftest.
$ac_objext conftest
$ac_exeext
21487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21488 (eval $ac_link) 2>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } &&
21492 { ac_try
='test -s conftest$ac_exeext'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; }; then
21498 eval "$as_ac_var=yes"
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.
$ac_ext >&5
21503 eval "$as_ac_var=no"
21505 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21509 if test `eval echo '${'$as_ac_var'}'` = yes; then
21510 cat >>confdefs.h
<<_ACEOF
21511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21521 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21522 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21523 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21530 ac_cpp
='$CXXCPP $CPPFLAGS'
21531 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21532 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21533 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21535 cat >conftest.
$ac_ext <<_ACEOF
21536 #line $LINENO "configure"
21539 cat confdefs.h
>>conftest.
$ac_ext
21540 cat >>conftest.
$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21546 `for x in _acosl _asinl _atanl \
21547 _cosl _sinl _tanl \
21548 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21553 rm -f conftest.
$ac_objext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21555 (eval $ac_compile) 2>&5
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } &&
21559 { ac_try
='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 glibcxx_cv_func__long_double_trig_use
=yes
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.
$ac_ext >&5
21570 glibcxx_cv_func__long_double_trig_use
=no
21572 rm -f conftest.
$ac_objext conftest.
$ac_ext
21574 ac_cpp
='$CPP $CPPFLAGS'
21575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21582 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21583 if test x
$glibcxx_cv_func__long_double_trig_use = x
"yes"; then
21593 for ac_func
in _acosl _asinl _atanl \
21594 _cosl _sinl _tanl \
21595 _coshl _sinhl _tanhl
21597 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21598 echo "$as_me:$LINENO: checking for $ac_func" >&5
21599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21600 if eval "test \"\${$as_ac_var+set}\" = set"; then
21601 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 cat >conftest.
$ac_ext <<_ACEOF
21604 #line $LINENO "configure"
21607 cat confdefs.h
>>conftest.
$ac_ext
21608 cat >>conftest.
$ac_ext <<_ACEOF
21609 /* end confdefs.h. */
21610 /* System header to define __stub macros and hopefully few prototypes,
21611 which can conflict with char $ac_func (); below.
21612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21613 <limits.h> exists even on freestanding compilers. */
21615 # include <limits.h>
21617 # include <assert.h>
21619 /* Override any gcc2 internal prototype to avoid an error. */
21624 /* We use char because int might match the return type of a gcc2
21625 builtin and then its argument prototype would still apply. */
21627 /* The GNU C library defines this for functions which it implements
21628 to always fail with ENOSYS. Some functions are actually named
21629 something starting with __ and the normal name is an alias. */
21630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21633 char (*f) () = $ac_func;
21642 return f != $ac_func;
21647 rm -f conftest.
$ac_objext conftest
$ac_exeext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try
='test -s conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 eval "$as_ac_var=yes"
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.
$ac_ext >&5
21664 eval "$as_ac_var=no"
21666 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21670 if test `eval echo '${'$as_ac_var'}'` = yes; then
21671 cat >>confdefs.h
<<_ACEOF
21672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21681 echo "$as_me:$LINENO: checking for _long double round functions" >&5
21682 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
21683 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
21684 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 ac_cpp
='$CXXCPP $CPPFLAGS'
21691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21695 cat >conftest.
$ac_ext <<_ACEOF
21696 #line $LINENO "configure"
21699 cat confdefs.h
>>conftest.
$ac_ext
21700 cat >>conftest.
$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21706 `for x in _ceill _floorl; do echo "$x (0);"; done`
21711 rm -f conftest.
$ac_objext
21712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21713 (eval $ac_compile) 2>&5
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); } &&
21717 { ac_try
='test -s conftest.$ac_objext'
21718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719 (eval $ac_try) 2>&5
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); }; }; then
21723 glibcxx_cv_func__long_double_round_use
=yes
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.
$ac_ext >&5
21728 glibcxx_cv_func__long_double_round_use
=no
21730 rm -f conftest.
$ac_objext conftest.
$ac_ext
21732 ac_cpp
='$CPP $CPPFLAGS'
21733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
21740 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
21741 if test x
$glibcxx_cv_func__long_double_round_use = x
"yes"; then
21744 for ac_func
in _ceill _floorl
21746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21747 echo "$as_me:$LINENO: checking for $ac_func" >&5
21748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21749 if eval "test \"\${$as_ac_var+set}\" = set"; then
21750 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 cat >conftest.
$ac_ext <<_ACEOF
21753 #line $LINENO "configure"
21756 cat confdefs.h
>>conftest.
$ac_ext
21757 cat >>conftest.
$ac_ext <<_ACEOF
21758 /* end confdefs.h. */
21759 /* System header to define __stub macros and hopefully few prototypes,
21760 which can conflict with char $ac_func (); below.
21761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21762 <limits.h> exists even on freestanding compilers. */
21764 # include <limits.h>
21766 # include <assert.h>
21768 /* Override any gcc2 internal prototype to avoid an error. */
21773 /* We use char because int might match the return type of a gcc2
21774 builtin and then its argument prototype would still apply. */
21776 /* The GNU C library defines this for functions which it implements
21777 to always fail with ENOSYS. Some functions are actually named
21778 something starting with __ and the normal name is an alias. */
21779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21782 char (*f) () = $ac_func;
21791 return f != $ac_func;
21796 rm -f conftest.
$ac_objext conftest
$ac_exeext
21797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21798 (eval $ac_link) 2>&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } &&
21802 { ac_try
='test -s conftest$ac_exeext'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; }; then
21808 eval "$as_ac_var=yes"
21810 echo "$as_me: failed program was:" >&5
21811 sed 's/^/| /' conftest.
$ac_ext >&5
21813 eval "$as_ac_var=no"
21815 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21819 if test `eval echo '${'$as_ac_var'}'` = yes; then
21820 cat >>confdefs.h
<<_ACEOF
21821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21830 LIBS
="$ac_save_LIBS"
21831 CXXFLAGS
="$ac_save_CXXFLAGS"
21835 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
21836 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
21837 if test x
${glibcxx_cv_func___builtin_abs_use+set} != xset
; then
21838 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
21839 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 ac_cpp
='$CXXCPP $CPPFLAGS'
21846 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21847 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21848 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21850 cat >conftest.
$ac_ext <<_ACEOF
21851 #line $LINENO "configure"
21854 cat confdefs.h
>>conftest.
$ac_ext
21855 cat >>conftest.
$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21866 rm -f conftest.
$ac_objext
21867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21868 (eval $ac_compile) 2>&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } &&
21872 { ac_try
='test -s conftest.$ac_objext'
21873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21874 (eval $ac_try) 2>&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 glibcxx_cv_func___builtin_abs_use
=yes
21880 echo "$as_me: failed program was:" >&5
21881 sed 's/^/| /' conftest.
$ac_ext >&5
21883 glibcxx_cv_func___builtin_abs_use
=no
21885 rm -f conftest.
$ac_objext conftest.
$ac_ext
21887 ac_cpp
='$CPP $CPPFLAGS'
21888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21896 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
21897 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
21898 if test x
$glibcxx_cv_func___builtin_abs_use = x
"yes"; then
21899 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
21900 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
21901 if test x
${glibcxx_cv_func___builtin_abs_link+set} != xset
; then
21902 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
21903 echo $ECHO_N "(cached) $ECHO_C" >&6
21906 cat >conftest.
$ac_ext <<_ACEOF
21907 #line $LINENO "configure"
21910 cat confdefs.h
>>conftest.
$ac_ext
21911 cat >>conftest.
$ac_ext <<_ACEOF
21912 /* end confdefs.h. */
21922 rm -f conftest.
$ac_objext conftest
$ac_exeext
21923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21924 (eval $ac_link) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } &&
21928 { ac_try
='test -s conftest$ac_exeext'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; }; then
21934 glibcxx_cv_func___builtin_abs_link
=yes
21936 echo "$as_me: failed program was:" >&5
21937 sed 's/^/| /' conftest.
$ac_ext >&5
21939 glibcxx_cv_func___builtin_abs_link
=no
21941 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
21946 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
21947 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
21948 if test x
$glibcxx_cv_func___builtin_abs_link = x
"yes"; then
21949 ac_tr_func
=HAVE_
`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21950 cat >>confdefs.h
<<_ACEOF
21951 #define ${ac_tr_func} 1
21958 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
21959 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
21960 if test x
${glibcxx_cv_func___builtin_fabsf_use+set} != xset
; then
21961 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
21962 echo $ECHO_N "(cached) $ECHO_C" >&6
21968 ac_cpp
='$CXXCPP $CPPFLAGS'
21969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21973 cat >conftest.
$ac_ext <<_ACEOF
21974 #line $LINENO "configure"
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21984 __builtin_fabsf(0);
21989 rm -f conftest.
$ac_objext
21990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21991 (eval $ac_compile) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } &&
21995 { ac_try
='test -s conftest.$ac_objext'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22001 glibcxx_cv_func___builtin_fabsf_use
=yes
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.
$ac_ext >&5
22006 glibcxx_cv_func___builtin_fabsf_use
=no
22008 rm -f conftest.
$ac_objext conftest.
$ac_ext
22010 ac_cpp
='$CPP $CPPFLAGS'
22011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22019 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22020 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22021 if test x
$glibcxx_cv_func___builtin_fabsf_use = x
"yes"; then
22022 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22023 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22024 if test x
${glibcxx_cv_func___builtin_fabsf_link+set} != xset
; then
22025 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22026 echo $ECHO_N "(cached) $ECHO_C" >&6
22029 cat >conftest.
$ac_ext <<_ACEOF
22030 #line $LINENO "configure"
22033 cat confdefs.h
>>conftest.
$ac_ext
22034 cat >>conftest.
$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22040 __builtin_fabsf(0);
22045 rm -f conftest.
$ac_objext conftest
$ac_exeext
22046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22047 (eval $ac_link) 2>&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } &&
22051 { ac_try
='test -s conftest$ac_exeext'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; }; then
22057 glibcxx_cv_func___builtin_fabsf_link
=yes
22059 echo "$as_me: failed program was:" >&5
22060 sed 's/^/| /' conftest.
$ac_ext >&5
22062 glibcxx_cv_func___builtin_fabsf_link
=no
22064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22070 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22071 if test x
$glibcxx_cv_func___builtin_fabsf_link = x
"yes"; then
22072 ac_tr_func
=HAVE_
`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22073 cat >>confdefs.h
<<_ACEOF
22074 #define ${ac_tr_func} 1
22081 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22082 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22083 if test x
${glibcxx_cv_func___builtin_fabs_use+set} != xset
; then
22084 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 ac_cpp
='$CXXCPP $CPPFLAGS'
22092 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22096 cat >conftest.
$ac_ext <<_ACEOF
22097 #line $LINENO "configure"
22100 cat confdefs.h
>>conftest.
$ac_ext
22101 cat >>conftest.
$ac_ext <<_ACEOF
22102 /* end confdefs.h. */
22112 rm -f conftest.
$ac_objext
22113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22114 (eval $ac_compile) 2>&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } &&
22118 { ac_try
='test -s conftest.$ac_objext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 glibcxx_cv_func___builtin_fabs_use
=yes
22126 echo "$as_me: failed program was:" >&5
22127 sed 's/^/| /' conftest.
$ac_ext >&5
22129 glibcxx_cv_func___builtin_fabs_use
=no
22131 rm -f conftest.
$ac_objext conftest.
$ac_ext
22133 ac_cpp
='$CPP $CPPFLAGS'
22134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22143 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22144 if test x
$glibcxx_cv_func___builtin_fabs_use = x
"yes"; then
22145 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22146 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22147 if test x
${glibcxx_cv_func___builtin_fabs_link+set} != xset
; then
22148 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22149 echo $ECHO_N "(cached) $ECHO_C" >&6
22152 cat >conftest.
$ac_ext <<_ACEOF
22153 #line $LINENO "configure"
22156 cat confdefs.h
>>conftest.
$ac_ext
22157 cat >>conftest.
$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22168 rm -f conftest.
$ac_objext conftest
$ac_exeext
22169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22170 (eval $ac_link) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } &&
22174 { ac_try
='test -s conftest$ac_exeext'
22175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22176 (eval $ac_try) 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; }; then
22180 glibcxx_cv_func___builtin_fabs_link
=yes
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.
$ac_ext >&5
22185 glibcxx_cv_func___builtin_fabs_link
=no
22187 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22192 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22193 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22194 if test x
$glibcxx_cv_func___builtin_fabs_link = x
"yes"; then
22195 ac_tr_func
=HAVE_
`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22196 cat >>confdefs.h
<<_ACEOF
22197 #define ${ac_tr_func} 1
22204 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22205 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22206 if test x
${glibcxx_cv_func___builtin_fabsl_use+set} != xset
; then
22207 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22208 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 ac_cpp
='$CXXCPP $CPPFLAGS'
22215 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22219 cat >conftest.
$ac_ext <<_ACEOF
22220 #line $LINENO "configure"
22223 cat confdefs.h
>>conftest.
$ac_ext
22224 cat >>conftest.
$ac_ext <<_ACEOF
22225 /* end confdefs.h. */
22230 __builtin_fabsl(0);
22235 rm -f conftest.
$ac_objext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22237 (eval $ac_compile) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } &&
22241 { ac_try
='test -s conftest.$ac_objext'
22242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22243 (eval $ac_try) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); }; }; then
22247 glibcxx_cv_func___builtin_fabsl_use
=yes
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.
$ac_ext >&5
22252 glibcxx_cv_func___builtin_fabsl_use
=no
22254 rm -f conftest.
$ac_objext conftest.
$ac_ext
22256 ac_cpp
='$CPP $CPPFLAGS'
22257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22265 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22266 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22267 if test x
$glibcxx_cv_func___builtin_fabsl_use = x
"yes"; then
22268 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22269 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22270 if test x
${glibcxx_cv_func___builtin_fabsl_link+set} != xset
; then
22271 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22272 echo $ECHO_N "(cached) $ECHO_C" >&6
22275 cat >conftest.
$ac_ext <<_ACEOF
22276 #line $LINENO "configure"
22279 cat confdefs.h
>>conftest.
$ac_ext
22280 cat >>conftest.
$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22286 __builtin_fabsl(0);
22291 rm -f conftest.
$ac_objext conftest
$ac_exeext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22293 (eval $ac_link) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try
='test -s conftest$ac_exeext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 glibcxx_cv_func___builtin_fabsl_link
=yes
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.
$ac_ext >&5
22308 glibcxx_cv_func___builtin_fabsl_link
=no
22310 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22315 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22316 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22317 if test x
$glibcxx_cv_func___builtin_fabsl_link = x
"yes"; then
22318 ac_tr_func
=HAVE_
`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22319 cat >>confdefs.h
<<_ACEOF
22320 #define ${ac_tr_func} 1
22327 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22328 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22329 if test x
${glibcxx_cv_func___builtin_labs_use+set} != xset
; then
22330 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22331 echo $ECHO_N "(cached) $ECHO_C" >&6
22337 ac_cpp
='$CXXCPP $CPPFLAGS'
22338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22342 cat >conftest.
$ac_ext <<_ACEOF
22343 #line $LINENO "configure"
22346 cat confdefs.h
>>conftest.
$ac_ext
22347 cat >>conftest.
$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22358 rm -f conftest.
$ac_objext
22359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22360 (eval $ac_compile) 2>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); } &&
22364 { ac_try
='test -s conftest.$ac_objext'
22365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22366 (eval $ac_try) 2>&5
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 glibcxx_cv_func___builtin_labs_use
=yes
22372 echo "$as_me: failed program was:" >&5
22373 sed 's/^/| /' conftest.
$ac_ext >&5
22375 glibcxx_cv_func___builtin_labs_use
=no
22377 rm -f conftest.
$ac_objext conftest.
$ac_ext
22379 ac_cpp
='$CPP $CPPFLAGS'
22380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22388 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22389 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22390 if test x
$glibcxx_cv_func___builtin_labs_use = x
"yes"; then
22391 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22392 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22393 if test x
${glibcxx_cv_func___builtin_labs_link+set} != xset
; then
22394 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 cat >conftest.
$ac_ext <<_ACEOF
22399 #line $LINENO "configure"
22402 cat confdefs.h
>>conftest.
$ac_ext
22403 cat >>conftest.
$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22414 rm -f conftest.
$ac_objext conftest
$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>&5
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); } &&
22420 { ac_try
='test -s conftest$ac_exeext'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; }; then
22426 glibcxx_cv_func___builtin_labs_link
=yes
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.
$ac_ext >&5
22431 glibcxx_cv_func___builtin_labs_link
=no
22433 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22438 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22439 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22440 if test x
$glibcxx_cv_func___builtin_labs_link = x
"yes"; then
22441 ac_tr_func
=HAVE_
`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22442 cat >>confdefs.h
<<_ACEOF
22443 #define ${ac_tr_func} 1
22451 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22452 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22453 if test x
${glibcxx_cv_func___builtin_sqrtf_use+set} != xset
; then
22454 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22461 ac_cpp
='$CXXCPP $CPPFLAGS'
22462 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22463 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22464 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22466 cat >conftest.
$ac_ext <<_ACEOF
22467 #line $LINENO "configure"
22470 cat confdefs.h
>>conftest.
$ac_ext
22471 cat >>conftest.
$ac_ext <<_ACEOF
22472 /* end confdefs.h. */
22477 __builtin_sqrtf(0);
22482 rm -f conftest.
$ac_objext
22483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22484 (eval $ac_compile) 2>&5
22486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487 (exit $ac_status); } &&
22488 { ac_try
='test -s conftest.$ac_objext'
22489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22490 (eval $ac_try) 2>&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); }; }; then
22494 glibcxx_cv_func___builtin_sqrtf_use
=yes
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.
$ac_ext >&5
22499 glibcxx_cv_func___builtin_sqrtf_use
=no
22501 rm -f conftest.
$ac_objext conftest.
$ac_ext
22503 ac_cpp
='$CPP $CPPFLAGS'
22504 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22512 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22513 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22514 if test x
$glibcxx_cv_func___builtin_sqrtf_use = x
"yes"; then
22515 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22516 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22517 if test x
${glibcxx_cv_func___builtin_sqrtf_link+set} != xset
; then
22518 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22522 cat >conftest.
$ac_ext <<_ACEOF
22523 #line $LINENO "configure"
22526 cat confdefs.h
>>conftest.
$ac_ext
22527 cat >>conftest.
$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22533 __builtin_sqrtf(0);
22538 rm -f conftest.
$ac_objext conftest
$ac_exeext
22539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22540 (eval $ac_link) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); } &&
22544 { ac_try
='test -s conftest$ac_exeext'
22545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22546 (eval $ac_try) 2>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); }; }; then
22550 glibcxx_cv_func___builtin_sqrtf_link
=yes
22552 echo "$as_me: failed program was:" >&5
22553 sed 's/^/| /' conftest.
$ac_ext >&5
22555 glibcxx_cv_func___builtin_sqrtf_link
=no
22557 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22562 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
22563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
22564 if test x
$glibcxx_cv_func___builtin_sqrtf_link = x
"yes"; then
22565 ac_tr_func
=HAVE_
`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22566 cat >>confdefs.h
<<_ACEOF
22567 #define ${ac_tr_func} 1
22574 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
22575 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
22576 if test x
${glibcxx_cv_func___builtin_sqrt_use+set} != xset
; then
22577 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
22578 echo $ECHO_N "(cached) $ECHO_C" >&6
22584 ac_cpp
='$CXXCPP $CPPFLAGS'
22585 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22589 cat >conftest.
$ac_ext <<_ACEOF
22590 #line $LINENO "configure"
22593 cat confdefs.h
>>conftest.
$ac_ext
22594 cat >>conftest.
$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22605 rm -f conftest.
$ac_objext
22606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22607 (eval $ac_compile) 2>&5
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); } &&
22611 { ac_try
='test -s conftest.$ac_objext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 glibcxx_cv_func___builtin_sqrt_use
=yes
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.
$ac_ext >&5
22622 glibcxx_cv_func___builtin_sqrt_use
=no
22624 rm -f conftest.
$ac_objext conftest.
$ac_ext
22626 ac_cpp
='$CPP $CPPFLAGS'
22627 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22628 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22635 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
22636 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
22637 if test x
$glibcxx_cv_func___builtin_sqrt_use = x
"yes"; then
22638 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
22639 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
22640 if test x
${glibcxx_cv_func___builtin_sqrt_link+set} != xset
; then
22641 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
22642 echo $ECHO_N "(cached) $ECHO_C" >&6
22645 cat >conftest.
$ac_ext <<_ACEOF
22646 #line $LINENO "configure"
22649 cat confdefs.h
>>conftest.
$ac_ext
22650 cat >>conftest.
$ac_ext <<_ACEOF
22651 /* end confdefs.h. */
22661 rm -f conftest.
$ac_objext conftest
$ac_exeext
22662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22663 (eval $ac_link) 2>&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } &&
22667 { ac_try
='test -s conftest$ac_exeext'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; }; then
22673 glibcxx_cv_func___builtin_sqrt_link
=yes
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.
$ac_ext >&5
22678 glibcxx_cv_func___builtin_sqrt_link
=no
22680 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22685 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
22686 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
22687 if test x
$glibcxx_cv_func___builtin_sqrt_link = x
"yes"; then
22688 ac_tr_func
=HAVE_
`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22689 cat >>confdefs.h
<<_ACEOF
22690 #define ${ac_tr_func} 1
22697 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
22698 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
22699 if test x
${glibcxx_cv_func___builtin_sqrtl_use+set} != xset
; then
22700 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22707 ac_cpp
='$CXXCPP $CPPFLAGS'
22708 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22712 cat >conftest.
$ac_ext <<_ACEOF
22713 #line $LINENO "configure"
22716 cat confdefs.h
>>conftest.
$ac_ext
22717 cat >>conftest.
$ac_ext <<_ACEOF
22718 /* end confdefs.h. */
22723 __builtin_sqrtl(0);
22728 rm -f conftest.
$ac_objext
22729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22730 (eval $ac_compile) 2>&5
22732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22733 (exit $ac_status); } &&
22734 { ac_try
='test -s conftest.$ac_objext'
22735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 (eval $ac_try) 2>&5
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); }; }; then
22740 glibcxx_cv_func___builtin_sqrtl_use
=yes
22742 echo "$as_me: failed program was:" >&5
22743 sed 's/^/| /' conftest.
$ac_ext >&5
22745 glibcxx_cv_func___builtin_sqrtl_use
=no
22747 rm -f conftest.
$ac_objext conftest.
$ac_ext
22749 ac_cpp
='$CPP $CPPFLAGS'
22750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22758 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
22759 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
22760 if test x
$glibcxx_cv_func___builtin_sqrtl_use = x
"yes"; then
22761 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
22762 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
22763 if test x
${glibcxx_cv_func___builtin_sqrtl_link+set} != xset
; then
22764 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
22765 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 cat >conftest.
$ac_ext <<_ACEOF
22769 #line $LINENO "configure"
22772 cat confdefs.h
>>conftest.
$ac_ext
22773 cat >>conftest.
$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22779 __builtin_sqrtl(0);
22784 rm -f conftest.
$ac_objext conftest
$ac_exeext
22785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22786 (eval $ac_link) 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } &&
22790 { ac_try
='test -s conftest$ac_exeext'
22791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792 (eval $ac_try) 2>&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 glibcxx_cv_func___builtin_sqrtl_link
=yes
22798 echo "$as_me: failed program was:" >&5
22799 sed 's/^/| /' conftest.
$ac_ext >&5
22801 glibcxx_cv_func___builtin_sqrtl_link
=no
22803 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
22809 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
22810 if test x
$glibcxx_cv_func___builtin_sqrtl_link = x
"yes"; then
22811 ac_tr_func
=HAVE_
`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22812 cat >>confdefs.h
<<_ACEOF
22813 #define ${ac_tr_func} 1
22821 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
22822 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
22823 if test x
${glibcxx_cv_func___builtin_sinf_use+set} != xset
; then
22824 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
22825 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 ac_cpp
='$CXXCPP $CPPFLAGS'
22832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22836 cat >conftest.
$ac_ext <<_ACEOF
22837 #line $LINENO "configure"
22840 cat confdefs.h
>>conftest.
$ac_ext
22841 cat >>conftest.
$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22852 rm -f conftest.
$ac_objext
22853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22854 (eval $ac_compile) 2>&5
22856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22857 (exit $ac_status); } &&
22858 { ac_try
='test -s conftest.$ac_objext'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; }; then
22864 glibcxx_cv_func___builtin_sinf_use
=yes
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.
$ac_ext >&5
22869 glibcxx_cv_func___builtin_sinf_use
=no
22871 rm -f conftest.
$ac_objext conftest.
$ac_ext
22873 ac_cpp
='$CPP $CPPFLAGS'
22874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22882 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
22883 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
22884 if test x
$glibcxx_cv_func___builtin_sinf_use = x
"yes"; then
22885 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
22886 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
22887 if test x
${glibcxx_cv_func___builtin_sinf_link+set} != xset
; then
22888 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
22889 echo $ECHO_N "(cached) $ECHO_C" >&6
22892 cat >conftest.
$ac_ext <<_ACEOF
22893 #line $LINENO "configure"
22896 cat confdefs.h
>>conftest.
$ac_ext
22897 cat >>conftest.
$ac_ext <<_ACEOF
22898 /* end confdefs.h. */
22908 rm -f conftest.
$ac_objext conftest
$ac_exeext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22910 (eval $ac_link) 2>&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try
='test -s conftest$ac_exeext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 glibcxx_cv_func___builtin_sinf_link
=yes
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.
$ac_ext >&5
22925 glibcxx_cv_func___builtin_sinf_link
=no
22927 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
22932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
22933 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
22934 if test x
$glibcxx_cv_func___builtin_sinf_link = x
"yes"; then
22935 ac_tr_func
=HAVE_
`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22936 cat >>confdefs.h
<<_ACEOF
22937 #define ${ac_tr_func} 1
22944 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
22945 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
22946 if test x
${glibcxx_cv_func___builtin_sin_use+set} != xset
; then
22947 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
22948 echo $ECHO_N "(cached) $ECHO_C" >&6
22954 ac_cpp
='$CXXCPP $CPPFLAGS'
22955 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22959 cat >conftest.
$ac_ext <<_ACEOF
22960 #line $LINENO "configure"
22963 cat confdefs.h
>>conftest.
$ac_ext
22964 cat >>conftest.
$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22975 rm -f conftest.
$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } &&
22981 { ac_try
='test -s conftest.$ac_objext'
22982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983 (eval $ac_try) 2>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); }; }; then
22987 glibcxx_cv_func___builtin_sin_use
=yes
22989 echo "$as_me: failed program was:" >&5
22990 sed 's/^/| /' conftest.
$ac_ext >&5
22992 glibcxx_cv_func___builtin_sin_use
=no
22994 rm -f conftest.
$ac_objext conftest.
$ac_ext
22996 ac_cpp
='$CPP $CPPFLAGS'
22997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23006 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23007 if test x
$glibcxx_cv_func___builtin_sin_use = x
"yes"; then
23008 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23009 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23010 if test x
${glibcxx_cv_func___builtin_sin_link+set} != xset
; then
23011 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23012 echo $ECHO_N "(cached) $ECHO_C" >&6
23015 cat >conftest.
$ac_ext <<_ACEOF
23016 #line $LINENO "configure"
23019 cat confdefs.h
>>conftest.
$ac_ext
23020 cat >>conftest.
$ac_ext <<_ACEOF
23021 /* end confdefs.h. */
23031 rm -f conftest.
$ac_objext conftest
$ac_exeext
23032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23033 (eval $ac_link) 2>&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try
='test -s conftest$ac_exeext'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; }; then
23043 glibcxx_cv_func___builtin_sin_link
=yes
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.
$ac_ext >&5
23048 glibcxx_cv_func___builtin_sin_link
=no
23050 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23055 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23056 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23057 if test x
$glibcxx_cv_func___builtin_sin_link = x
"yes"; then
23058 ac_tr_func
=HAVE_
`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23059 cat >>confdefs.h
<<_ACEOF
23060 #define ${ac_tr_func} 1
23067 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23068 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23069 if test x
${glibcxx_cv_func___builtin_sinl_use+set} != xset
; then
23070 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23071 echo $ECHO_N "(cached) $ECHO_C" >&6
23077 ac_cpp
='$CXXCPP $CPPFLAGS'
23078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23082 cat >conftest.
$ac_ext <<_ACEOF
23083 #line $LINENO "configure"
23086 cat confdefs.h
>>conftest.
$ac_ext
23087 cat >>conftest.
$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23098 rm -f conftest.
$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } &&
23104 { ac_try
='test -s conftest.$ac_objext'
23105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23106 (eval $ac_try) 2>&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); }; }; then
23110 glibcxx_cv_func___builtin_sinl_use
=yes
23112 echo "$as_me: failed program was:" >&5
23113 sed 's/^/| /' conftest.
$ac_ext >&5
23115 glibcxx_cv_func___builtin_sinl_use
=no
23117 rm -f conftest.
$ac_objext conftest.
$ac_ext
23119 ac_cpp
='$CPP $CPPFLAGS'
23120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23130 if test x
$glibcxx_cv_func___builtin_sinl_use = x
"yes"; then
23131 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23132 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23133 if test x
${glibcxx_cv_func___builtin_sinl_link+set} != xset
; then
23134 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23135 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 cat >conftest.
$ac_ext <<_ACEOF
23139 #line $LINENO "configure"
23142 cat confdefs.h
>>conftest.
$ac_ext
23143 cat >>conftest.
$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23154 rm -f conftest.
$ac_objext conftest
$ac_exeext
23155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23156 (eval $ac_link) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); } &&
23160 { ac_try
='test -s conftest$ac_exeext'
23161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23162 (eval $ac_try) 2>&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); }; }; then
23166 glibcxx_cv_func___builtin_sinl_link
=yes
23168 echo "$as_me: failed program was:" >&5
23169 sed 's/^/| /' conftest.
$ac_ext >&5
23171 glibcxx_cv_func___builtin_sinl_link
=no
23173 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23178 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23179 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23180 if test x
$glibcxx_cv_func___builtin_sinl_link = x
"yes"; then
23181 ac_tr_func
=HAVE_
`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23182 cat >>confdefs.h
<<_ACEOF
23183 #define ${ac_tr_func} 1
23191 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23192 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23193 if test x
${glibcxx_cv_func___builtin_cosf_use+set} != xset
; then
23194 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23195 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 ac_cpp
='$CXXCPP $CPPFLAGS'
23202 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23206 cat >conftest.
$ac_ext <<_ACEOF
23207 #line $LINENO "configure"
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23222 rm -f conftest.
$ac_objext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23224 (eval $ac_compile) 2>&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } &&
23228 { ac_try
='test -s conftest.$ac_objext'
23229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23230 (eval $ac_try) 2>&5
23232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23233 (exit $ac_status); }; }; then
23234 glibcxx_cv_func___builtin_cosf_use
=yes
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.
$ac_ext >&5
23239 glibcxx_cv_func___builtin_cosf_use
=no
23241 rm -f conftest.
$ac_objext conftest.
$ac_ext
23243 ac_cpp
='$CPP $CPPFLAGS'
23244 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23252 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23253 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23254 if test x
$glibcxx_cv_func___builtin_cosf_use = x
"yes"; then
23255 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23256 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23257 if test x
${glibcxx_cv_func___builtin_cosf_link+set} != xset
; then
23258 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23262 cat >conftest.
$ac_ext <<_ACEOF
23263 #line $LINENO "configure"
23266 cat confdefs.h
>>conftest.
$ac_ext
23267 cat >>conftest.
$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23278 rm -f conftest.
$ac_objext conftest
$ac_exeext
23279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23280 (eval $ac_link) 2>&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } &&
23284 { ac_try
='test -s conftest$ac_exeext'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; }; then
23290 glibcxx_cv_func___builtin_cosf_link
=yes
23292 echo "$as_me: failed program was:" >&5
23293 sed 's/^/| /' conftest.
$ac_ext >&5
23295 glibcxx_cv_func___builtin_cosf_link
=no
23297 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23302 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23303 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23304 if test x
$glibcxx_cv_func___builtin_cosf_link = x
"yes"; then
23305 ac_tr_func
=HAVE_
`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23306 cat >>confdefs.h
<<_ACEOF
23307 #define ${ac_tr_func} 1
23314 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23315 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23316 if test x
${glibcxx_cv_func___builtin_cos_use+set} != xset
; then
23317 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23324 ac_cpp
='$CXXCPP $CPPFLAGS'
23325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23329 cat >conftest.
$ac_ext <<_ACEOF
23330 #line $LINENO "configure"
23333 cat confdefs.h
>>conftest.
$ac_ext
23334 cat >>conftest.
$ac_ext <<_ACEOF
23335 /* end confdefs.h. */
23345 rm -f conftest.
$ac_objext
23346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23347 (eval $ac_compile) 2>&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } &&
23351 { ac_try
='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23357 glibcxx_cv_func___builtin_cos_use
=yes
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.
$ac_ext >&5
23362 glibcxx_cv_func___builtin_cos_use
=no
23364 rm -f conftest.
$ac_objext conftest.
$ac_ext
23366 ac_cpp
='$CPP $CPPFLAGS'
23367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23376 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23377 if test x
$glibcxx_cv_func___builtin_cos_use = x
"yes"; then
23378 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23379 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23380 if test x
${glibcxx_cv_func___builtin_cos_link+set} != xset
; then
23381 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23382 echo $ECHO_N "(cached) $ECHO_C" >&6
23385 cat >conftest.
$ac_ext <<_ACEOF
23386 #line $LINENO "configure"
23389 cat confdefs.h
>>conftest.
$ac_ext
23390 cat >>conftest.
$ac_ext <<_ACEOF
23391 /* end confdefs.h. */
23401 rm -f conftest.
$ac_objext conftest
$ac_exeext
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403 (eval $ac_link) 2>&5
23405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23406 (exit $ac_status); } &&
23407 { ac_try
='test -s conftest$ac_exeext'
23408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23409 (eval $ac_try) 2>&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); }; }; then
23413 glibcxx_cv_func___builtin_cos_link
=yes
23415 echo "$as_me: failed program was:" >&5
23416 sed 's/^/| /' conftest.
$ac_ext >&5
23418 glibcxx_cv_func___builtin_cos_link
=no
23420 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23425 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23426 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23427 if test x
$glibcxx_cv_func___builtin_cos_link = x
"yes"; then
23428 ac_tr_func
=HAVE_
`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23429 cat >>confdefs.h
<<_ACEOF
23430 #define ${ac_tr_func} 1
23437 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23438 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23439 if test x
${glibcxx_cv_func___builtin_cosl_use+set} != xset
; then
23440 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23441 echo $ECHO_N "(cached) $ECHO_C" >&6
23447 ac_cpp
='$CXXCPP $CPPFLAGS'
23448 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23452 cat >conftest.
$ac_ext <<_ACEOF
23453 #line $LINENO "configure"
23456 cat confdefs.h
>>conftest.
$ac_ext
23457 cat >>conftest.
$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23468 rm -f conftest.
$ac_objext
23469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23470 (eval $ac_compile) 2>&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } &&
23474 { ac_try
='test -s conftest.$ac_objext'
23475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23476 (eval $ac_try) 2>&5
23478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23479 (exit $ac_status); }; }; then
23480 glibcxx_cv_func___builtin_cosl_use
=yes
23482 echo "$as_me: failed program was:" >&5
23483 sed 's/^/| /' conftest.
$ac_ext >&5
23485 glibcxx_cv_func___builtin_cosl_use
=no
23487 rm -f conftest.
$ac_objext conftest.
$ac_ext
23489 ac_cpp
='$CPP $CPPFLAGS'
23490 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23498 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23499 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23500 if test x
$glibcxx_cv_func___builtin_cosl_use = x
"yes"; then
23501 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23502 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23503 if test x
${glibcxx_cv_func___builtin_cosl_link+set} != xset
; then
23504 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23508 cat >conftest.
$ac_ext <<_ACEOF
23509 #line $LINENO "configure"
23512 cat confdefs.h
>>conftest.
$ac_ext
23513 cat >>conftest.
$ac_ext <<_ACEOF
23514 /* end confdefs.h. */
23524 rm -f conftest.
$ac_objext conftest
$ac_exeext
23525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23526 (eval $ac_link) 2>&5
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); } &&
23530 { ac_try
='test -s conftest$ac_exeext'
23531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532 (eval $ac_try) 2>&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); }; }; then
23536 glibcxx_cv_func___builtin_cosl_link
=yes
23538 echo "$as_me: failed program was:" >&5
23539 sed 's/^/| /' conftest.
$ac_ext >&5
23541 glibcxx_cv_func___builtin_cosl_link
=no
23543 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
23549 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
23550 if test x
$glibcxx_cv_func___builtin_cosl_link = x
"yes"; then
23551 ac_tr_func
=HAVE_
`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23552 cat >>confdefs.h
<<_ACEOF
23553 #define ${ac_tr_func} 1
23561 if test x
$dummyvar = x
"yes"; then
23562 cat >>confdefs.h
<<\_ACEOF
23563 #define HAVE___BUILTIN_ABS 1
23566 cat >>confdefs.h
<<\_ACEOF
23567 #define HAVE___BUILTIN_LABS 1
23570 cat >>confdefs.h
<<\_ACEOF
23571 #define HAVE___BUILTIN_COS 1
23574 cat >>confdefs.h
<<\_ACEOF
23575 #define HAVE___BUILTIN_COSF 1
23578 cat >>confdefs.h
<<\_ACEOF
23579 #define HAVE___BUILTIN_COSL 1
23582 cat >>confdefs.h
<<\_ACEOF
23583 #define HAVE___BUILTIN_FABS 1
23586 cat >>confdefs.h
<<\_ACEOF
23587 #define HAVE___BUILTIN_FABSF 1
23590 cat >>confdefs.h
<<\_ACEOF
23591 #define HAVE___BUILTIN_FABSL 1
23594 cat >>confdefs.h
<<\_ACEOF
23595 #define HAVE___BUILTIN_SIN 1
23598 cat >>confdefs.h
<<\_ACEOF
23599 #define HAVE___BUILTIN_SINF 1
23602 cat >>confdefs.h
<<\_ACEOF
23603 #define HAVE___BUILTIN_SINL 1
23606 cat >>confdefs.h
<<\_ACEOF
23607 #define HAVE___BUILTIN_SQRT 1
23610 cat >>confdefs.h
<<\_ACEOF
23611 #define HAVE___BUILTIN_SQRTF 1
23614 cat >>confdefs.h
<<\_ACEOF
23615 #define HAVE___BUILTIN_SQRTL 1
23622 echo "$as_me:$LINENO: checking for main in -lm" >&5
23623 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
23624 if test "${ac_cv_lib_m_main+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 ac_check_lib_save_LIBS
=$LIBS
23629 cat >conftest.
$ac_ext <<_ACEOF
23630 #line $LINENO "configure"
23633 cat confdefs.h
>>conftest.
$ac_ext
23634 cat >>conftest.
$ac_ext <<_ACEOF
23635 /* end confdefs.h. */
23646 rm -f conftest.
$ac_objext conftest
$ac_exeext
23647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23648 (eval $ac_link) 2>&5
23650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23651 (exit $ac_status); } &&
23652 { ac_try
='test -s conftest$ac_exeext'
23653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23654 (eval $ac_try) 2>&5
23656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23657 (exit $ac_status); }; }; then
23658 ac_cv_lib_m_main
=yes
23660 echo "$as_me: failed program was:" >&5
23661 sed 's/^/| /' conftest.
$ac_ext >&5
23663 ac_cv_lib_m_main
=no
23665 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23666 LIBS
=$ac_check_lib_save_LIBS
23668 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
23669 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
23670 if test $ac_cv_lib_m_main = yes; then
23671 cat >>confdefs.h
<<_ACEOF
23672 #define HAVE_LIBM 1
23681 for ac_func
in nan copysignf
23683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23684 echo "$as_me:$LINENO: checking for $ac_func" >&5
23685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23686 if eval "test \"\${$as_ac_var+set}\" = set"; then
23687 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 cat >conftest.
$ac_ext <<_ACEOF
23690 #line $LINENO "configure"
23693 cat confdefs.h
>>conftest.
$ac_ext
23694 cat >>conftest.
$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23696 /* System header to define __stub macros and hopefully few prototypes,
23697 which can conflict with char $ac_func (); below.
23698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23699 <limits.h> exists even on freestanding compilers. */
23701 # include <limits.h>
23703 # include <assert.h>
23705 /* Override any gcc2 internal prototype to avoid an error. */
23710 /* We use char because int might match the return type of a gcc2
23711 builtin and then its argument prototype would still apply. */
23713 /* The GNU C library defines this for functions which it implements
23714 to always fail with ENOSYS. Some functions are actually named
23715 something starting with __ and the normal name is an alias. */
23716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23719 char (*f) () = $ac_func;
23728 return f != $ac_func;
23733 rm -f conftest.
$ac_objext conftest
$ac_exeext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735 (eval $ac_link) 2>&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } &&
23739 { ac_try
='test -s conftest$ac_exeext'
23740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23741 (eval $ac_try) 2>&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); }; }; then
23745 eval "$as_ac_var=yes"
23747 echo "$as_me: failed program was:" >&5
23748 sed 's/^/| /' conftest.
$ac_ext >&5
23750 eval "$as_ac_var=no"
23752 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23756 if test `eval echo '${'$as_ac_var'}'` = yes; then
23757 cat >>confdefs.h
<<_ACEOF
23758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23762 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
23768 for ac_func
in __signbit
23770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23771 echo "$as_me:$LINENO: checking for $ac_func" >&5
23772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23773 if eval "test \"\${$as_ac_var+set}\" = set"; then
23774 echo $ECHO_N "(cached) $ECHO_C" >&6
23776 cat >conftest.
$ac_ext <<_ACEOF
23777 #line $LINENO "configure"
23780 cat confdefs.h
>>conftest.
$ac_ext
23781 cat >>conftest.
$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23783 /* System header to define __stub macros and hopefully few prototypes,
23784 which can conflict with char $ac_func (); below.
23785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23786 <limits.h> exists even on freestanding compilers. */
23788 # include <limits.h>
23790 # include <assert.h>
23792 /* Override any gcc2 internal prototype to avoid an error. */
23797 /* We use char because int might match the return type of a gcc2
23798 builtin and then its argument prototype would still apply. */
23800 /* The GNU C library defines this for functions which it implements
23801 to always fail with ENOSYS. Some functions are actually named
23802 something starting with __ and the normal name is an alias. */
23803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23806 char (*f) () = $ac_func;
23815 return f != $ac_func;
23820 rm -f conftest.
$ac_objext conftest
$ac_exeext
23821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23822 (eval $ac_link) 2>&5
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); } &&
23826 { ac_try
='test -s conftest$ac_exeext'
23827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23828 (eval $ac_try) 2>&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); }; }; then
23832 eval "$as_ac_var=yes"
23834 echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.
$ac_ext >&5
23837 eval "$as_ac_var=no"
23839 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23843 if test `eval echo '${'$as_ac_var'}'` = yes; then
23844 cat >>confdefs.h
<<_ACEOF
23845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23849 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
23854 for ac_func
in __signbitf
23856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23857 echo "$as_me:$LINENO: checking for $ac_func" >&5
23858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23859 if eval "test \"\${$as_ac_var+set}\" = set"; then
23860 echo $ECHO_N "(cached) $ECHO_C" >&6
23862 cat >conftest.
$ac_ext <<_ACEOF
23863 #line $LINENO "configure"
23866 cat confdefs.h
>>conftest.
$ac_ext
23867 cat >>conftest.
$ac_ext <<_ACEOF
23868 /* end confdefs.h. */
23869 /* System header to define __stub macros and hopefully few prototypes,
23870 which can conflict with char $ac_func (); below.
23871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23872 <limits.h> exists even on freestanding compilers. */
23874 # include <limits.h>
23876 # include <assert.h>
23878 /* Override any gcc2 internal prototype to avoid an error. */
23883 /* We use char because int might match the return type of a gcc2
23884 builtin and then its argument prototype would still apply. */
23886 /* The GNU C library defines this for functions which it implements
23887 to always fail with ENOSYS. Some functions are actually named
23888 something starting with __ and the normal name is an alias. */
23889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23892 char (*f) () = $ac_func;
23901 return f != $ac_func;
23906 rm -f conftest.
$ac_objext conftest
$ac_exeext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23908 (eval $ac_link) 2>&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try
='test -s conftest$ac_exeext'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; }; then
23918 eval "$as_ac_var=yes"
23920 echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.
$ac_ext >&5
23923 eval "$as_ac_var=no"
23925 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
23927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23929 if test `eval echo '${'$as_ac_var'}'` = yes; then
23930 cat >>confdefs.h
<<_ACEOF
23931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23935 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
23940 if test x
$ac_cv_func_copysignl = x
"yes"; then
23942 for ac_func
in __signbitl
23944 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23945 echo "$as_me:$LINENO: checking for $ac_func" >&5
23946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23947 if eval "test \"\${$as_ac_var+set}\" = set"; then
23948 echo $ECHO_N "(cached) $ECHO_C" >&6
23950 cat >conftest.
$ac_ext <<_ACEOF
23951 #line $LINENO "configure"
23954 cat confdefs.h
>>conftest.
$ac_ext
23955 cat >>conftest.
$ac_ext <<_ACEOF
23956 /* end confdefs.h. */
23957 /* System header to define __stub macros and hopefully few prototypes,
23958 which can conflict with char $ac_func (); below.
23959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23960 <limits.h> exists even on freestanding compilers. */
23962 # include <limits.h>
23964 # include <assert.h>
23966 /* Override any gcc2 internal prototype to avoid an error. */
23971 /* We use char because int might match the return type of a gcc2
23972 builtin and then its argument prototype would still apply. */
23974 /* The GNU C library defines this for functions which it implements
23975 to always fail with ENOSYS. Some functions are actually named
23976 something starting with __ and the normal name is an alias. */
23977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23980 char (*f) () = $ac_func;
23989 return f != $ac_func;
23994 rm -f conftest.
$ac_objext conftest
$ac_exeext
23995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23996 (eval $ac_link) 2>&5
23998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999 (exit $ac_status); } &&
24000 { ac_try
='test -s conftest$ac_exeext'
24001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24002 (eval $ac_try) 2>&5
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); }; }; then
24006 eval "$as_ac_var=yes"
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.
$ac_ext >&5
24011 eval "$as_ac_var=no"
24013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24017 if test `eval echo '${'$as_ac_var'}'` = yes; then
24018 cat >>confdefs.h
<<_ACEOF
24019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24023 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
24029 # XXX Review this. Nothing uses it.
24030 if test -n "$LIBMATHOBJS"; then
24036 # Test wchar.h for mbstate_t, which is needed for char_traits and
24037 # others even if wchar_t support is not on.
24038 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24039 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24040 cat >conftest.
$ac_ext <<_ACEOF
24041 #line $LINENO "configure"
24044 cat confdefs.h
>>conftest.
$ac_ext
24045 cat >>conftest.
$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24051 mbstate_t teststate;
24056 rm -f conftest.
$ac_objext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24058 (eval $ac_compile) 2>&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); } &&
24062 { ac_try
='test -s conftest.$ac_objext'
24063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064 (eval $ac_try) 2>&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24070 echo "$as_me: failed program was:" >&5
24071 sed 's/^/| /' conftest.
$ac_ext >&5
24075 rm -f conftest.
$ac_objext conftest.
$ac_ext
24076 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24077 echo "${ECHO_T}$have_mbstate_t" >&6
24078 if test x
"$have_mbstate_t" = xyes
; then
24079 cat >>confdefs.h
<<\_ACEOF
24080 #define HAVE_MBSTATE_T 1
24085 # Sanity check for existence of ISO C99 headers for extended encoding.
24087 for ac_header
in wchar.h
24089 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24091 echo "$as_me:$LINENO: checking for $ac_header" >&5
24092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24097 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24099 # Is the header compilable?
24100 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24101 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24102 cat >conftest.
$ac_ext <<_ACEOF
24103 #line $LINENO "configure"
24106 cat confdefs.h
>>conftest.
$ac_ext
24107 cat >>conftest.
$ac_ext <<_ACEOF
24108 /* end confdefs.h. */
24109 $ac_includes_default
24110 #include <$ac_header>
24112 rm -f conftest.
$ac_objext
24113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24114 (eval $ac_compile) 2>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } &&
24118 { ac_try
='test -s conftest.$ac_objext'
24119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24120 (eval $ac_try) 2>&5
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); }; }; then
24124 ac_header_compiler
=yes
24126 echo "$as_me: failed program was:" >&5
24127 sed 's/^/| /' conftest.
$ac_ext >&5
24129 ac_header_compiler
=no
24131 rm -f conftest.
$ac_objext conftest.
$ac_ext
24132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24133 echo "${ECHO_T}$ac_header_compiler" >&6
24135 # Is the header present?
24136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24138 cat >conftest.
$ac_ext <<_ACEOF
24139 #line $LINENO "configure"
24142 cat confdefs.h
>>conftest.
$ac_ext
24143 cat >>conftest.
$ac_ext <<_ACEOF
24144 /* end confdefs.h. */
24145 #include <$ac_header>
24147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24150 grep -v '^ *+' conftest.er1
>conftest.err
24152 cat conftest.err
>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } >/dev
/null
; then
24155 if test -s conftest.err
; then
24156 ac_cpp_err
=$ac_c_preproc_warn_flag
24163 if test -z "$ac_cpp_err"; then
24164 ac_header_preproc
=yes
24166 echo "$as_me: failed program was:" >&5
24167 sed 's/^/| /' conftest.
$ac_ext >&5
24169 ac_header_preproc
=no
24171 rm -f conftest.err conftest.
$ac_ext
24172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24173 echo "${ECHO_T}$ac_header_preproc" >&6
24175 # So? What about this header?
24176 case $ac_header_compiler:$ac_header_preproc in
24178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24184 ## ------------------------------------ ##
24185 ## Report this to bug-autoconf@gnu.org. ##
24186 ## ------------------------------------ ##
24189 sed "s/^/$as_me: WARNING: /" >&2
24192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24200 ## ------------------------------------ ##
24201 ## Report this to bug-autoconf@gnu.org. ##
24202 ## ------------------------------------ ##
24205 sed "s/^/$as_me: WARNING: /" >&2
24208 echo "$as_me:$LINENO: checking for $ac_header" >&5
24209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24211 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 eval "$as_ac_Header=$ac_header_preproc"
24215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24220 cat >>confdefs.h
<<_ACEOF
24221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24231 for ac_header
in wctype.h
24233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24235 echo "$as_me:$LINENO: checking for $ac_header" >&5
24236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24243 # Is the header compilable?
24244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24246 cat >conftest.
$ac_ext <<_ACEOF
24247 #line $LINENO "configure"
24250 cat confdefs.h
>>conftest.
$ac_ext
24251 cat >>conftest.
$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24253 $ac_includes_default
24254 #include <$ac_header>
24256 rm -f conftest.
$ac_objext
24257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24258 (eval $ac_compile) 2>&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } &&
24262 { ac_try
='test -s conftest.$ac_objext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 ac_header_compiler
=yes
24270 echo "$as_me: failed program was:" >&5
24271 sed 's/^/| /' conftest.
$ac_ext >&5
24273 ac_header_compiler
=no
24275 rm -f conftest.
$ac_objext conftest.
$ac_ext
24276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24277 echo "${ECHO_T}$ac_header_compiler" >&6
24279 # Is the header present?
24280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24282 cat >conftest.
$ac_ext <<_ACEOF
24283 #line $LINENO "configure"
24286 cat confdefs.h
>>conftest.
$ac_ext
24287 cat >>conftest.
$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289 #include <$ac_header>
24291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24292 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24294 grep -v '^ *+' conftest.er1
>conftest.err
24296 cat conftest.err
>&5
24297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298 (exit $ac_status); } >/dev
/null
; then
24299 if test -s conftest.err
; then
24300 ac_cpp_err
=$ac_c_preproc_warn_flag
24307 if test -z "$ac_cpp_err"; then
24308 ac_header_preproc
=yes
24310 echo "$as_me: failed program was:" >&5
24311 sed 's/^/| /' conftest.
$ac_ext >&5
24313 ac_header_preproc
=no
24315 rm -f conftest.err conftest.
$ac_ext
24316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24317 echo "${ECHO_T}$ac_header_preproc" >&6
24319 # So? What about this header?
24320 case $ac_header_compiler:$ac_header_preproc in
24322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24325 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24328 ## ------------------------------------ ##
24329 ## Report this to bug-autoconf@gnu.org. ##
24330 ## ------------------------------------ ##
24333 sed "s/^/$as_me: WARNING: /" >&2
24336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24344 ## ------------------------------------ ##
24345 ## Report this to bug-autoconf@gnu.org. ##
24346 ## ------------------------------------ ##
24349 sed "s/^/$as_me: WARNING: /" >&2
24352 echo "$as_me:$LINENO: checking for $ac_header" >&5
24353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24355 echo $ECHO_N "(cached) $ECHO_C" >&6
24357 eval "$as_ac_Header=$ac_header_preproc"
24359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24364 cat >>confdefs.h
<<_ACEOF
24365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24367 ac_has_wctype_h
=yes
24375 # Only continue checking if the ISO C99 headers exist and support is on.
24376 if test x
"$ac_has_wchar_h" = xyes
&&
24377 test x
"$ac_has_wctype_h" = xyes
&&
24378 test x
"$enable_c_mbchar" != xno
; then
24380 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24381 # numeric_limits can instantiate type_traits<wchar_t>
24382 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24383 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24384 cat >conftest.
$ac_ext <<_ACEOF
24385 #line $LINENO "configure"
24388 cat confdefs.h
>>conftest.
$ac_ext
24389 cat >>conftest.
$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24395 int i = WCHAR_MIN; int j = WCHAR_MAX;
24400 rm -f conftest.
$ac_objext
24401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24402 (eval $ac_compile) 2>&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); } &&
24406 { ac_try
='test -s conftest.$ac_objext'
24407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24408 (eval $ac_try) 2>&5
24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24411 (exit $ac_status); }; }; then
24412 has_wchar_minmax
=yes
24414 echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.
$ac_ext >&5
24417 has_wchar_minmax
=no
24419 rm -f conftest.
$ac_objext conftest.
$ac_ext
24420 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24421 echo "${ECHO_T}$has_wchar_minmax" >&6
24423 # Test wchar.h for WEOF, which is what we use to determine whether
24424 # to specialize for char_traits<wchar_t> or not.
24425 echo "$as_me:$LINENO: checking for WEOF" >&5
24426 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24427 cat >conftest.
$ac_ext <<_ACEOF
24428 #line $LINENO "configure"
24431 cat confdefs.h
>>conftest.
$ac_ext
24432 cat >>conftest.
$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24436 #include <stddef.h>
24445 rm -f conftest.
$ac_objext
24446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24447 (eval $ac_compile) 2>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); } &&
24451 { ac_try
='test -s conftest.$ac_objext'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; }; then
24459 echo "$as_me: failed program was:" >&5
24460 sed 's/^/| /' conftest.
$ac_ext >&5
24464 rm -f conftest.
$ac_objext conftest.
$ac_ext
24465 echo "$as_me:$LINENO: result: $has_weof" >&5
24466 echo "${ECHO_T}$has_weof" >&6
24468 # Tests for wide character functions used in char_traits<wchar_t>.
24476 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24479 echo "$as_me:$LINENO: checking for $ac_func" >&5
24480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24481 if eval "test \"\${$as_ac_var+set}\" = set"; then
24482 echo $ECHO_N "(cached) $ECHO_C" >&6
24484 cat >conftest.
$ac_ext <<_ACEOF
24485 #line $LINENO "configure"
24488 cat confdefs.h
>>conftest.
$ac_ext
24489 cat >>conftest.
$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 /* System header to define __stub macros and hopefully few prototypes,
24492 which can conflict with char $ac_func (); below.
24493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24494 <limits.h> exists even on freestanding compilers. */
24496 # include <limits.h>
24498 # include <assert.h>
24500 /* Override any gcc2 internal prototype to avoid an error. */
24505 /* We use char because int might match the return type of a gcc2
24506 builtin and then its argument prototype would still apply. */
24508 /* The GNU C library defines this for functions which it implements
24509 to always fail with ENOSYS. Some functions are actually named
24510 something starting with __ and the normal name is an alias. */
24511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24514 char (*f) () = $ac_func;
24523 return f != $ac_func;
24528 rm -f conftest.
$ac_objext conftest
$ac_exeext
24529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24530 (eval $ac_link) 2>&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try
='test -s conftest$ac_exeext'
24535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536 (eval $ac_try) 2>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; }; then
24540 eval "$as_ac_var=yes"
24542 echo "$as_me: failed program was:" >&5
24543 sed 's/^/| /' conftest.
$ac_ext >&5
24545 eval "$as_ac_var=no"
24547 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24551 if test `eval echo '${'$as_ac_var'}'` = yes; then
24552 cat >>confdefs.h
<<_ACEOF
24553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24562 # Checks for names injected into std:: by the c_std headers.
24613 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
24614 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
24615 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
24616 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
24617 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
24618 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
24620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24621 echo "$as_me:$LINENO: checking for $ac_func" >&5
24622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24623 if eval "test \"\${$as_ac_var+set}\" = set"; then
24624 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 cat >conftest.
$ac_ext <<_ACEOF
24627 #line $LINENO "configure"
24630 cat confdefs.h
>>conftest.
$ac_ext
24631 cat >>conftest.
$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24633 /* System header to define __stub macros and hopefully few prototypes,
24634 which can conflict with char $ac_func (); below.
24635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24636 <limits.h> exists even on freestanding compilers. */
24638 # include <limits.h>
24640 # include <assert.h>
24642 /* Override any gcc2 internal prototype to avoid an error. */
24647 /* We use char because int might match the return type of a gcc2
24648 builtin and then its argument prototype would still apply. */
24650 /* The GNU C library defines this for functions which it implements
24651 to always fail with ENOSYS. Some functions are actually named
24652 something starting with __ and the normal name is an alias. */
24653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24656 char (*f) () = $ac_func;
24665 return f != $ac_func;
24670 rm -f conftest.
$ac_objext conftest
$ac_exeext
24671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24672 (eval $ac_link) 2>&5
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); } &&
24676 { ac_try
='test -s conftest$ac_exeext'
24677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24678 (eval $ac_try) 2>&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; }; then
24682 eval "$as_ac_var=yes"
24684 echo "$as_me: failed program was:" >&5
24685 sed 's/^/| /' conftest.
$ac_ext >&5
24687 eval "$as_ac_var=no"
24689 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
24691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24693 if test `eval echo '${'$as_ac_var'}'` = yes; then
24694 cat >>confdefs.h
<<_ACEOF
24695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24704 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
24705 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
24706 if test x
"$has_weof" = xyes
&&
24707 test x
"$has_wchar_minmax" = xyes
&&
24708 test x
"$ac_wfuncs" = xyes
;
24710 ac_isoC99_wchar_t
=yes
24712 ac_isoC99_wchar_t
=no
24714 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
24715 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
24717 # Use iconv for wchar_t to char conversions. As such, check for
24718 # X/Open Portability Guide, version 2 features (XPG2).
24719 if test "${ac_cv_header_iconv_h+set}" = set; then
24720 echo "$as_me:$LINENO: checking for iconv.h" >&5
24721 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
24722 if test "${ac_cv_header_iconv_h+set}" = set; then
24723 echo $ECHO_N "(cached) $ECHO_C" >&6
24725 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
24726 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
24728 # Is the header compilable?
24729 echo "$as_me:$LINENO: checking iconv.h usability" >&5
24730 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
24731 cat >conftest.
$ac_ext <<_ACEOF
24732 #line $LINENO "configure"
24735 cat confdefs.h
>>conftest.
$ac_ext
24736 cat >>conftest.
$ac_ext <<_ACEOF
24737 /* end confdefs.h. */
24738 $ac_includes_default
24741 rm -f conftest.
$ac_objext
24742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24743 (eval $ac_compile) 2>&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } &&
24747 { ac_try
='test -s conftest.$ac_objext'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; }; then
24753 ac_header_compiler
=yes
24755 echo "$as_me: failed program was:" >&5
24756 sed 's/^/| /' conftest.
$ac_ext >&5
24758 ac_header_compiler
=no
24760 rm -f conftest.
$ac_objext conftest.
$ac_ext
24761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24762 echo "${ECHO_T}$ac_header_compiler" >&6
24764 # Is the header present?
24765 echo "$as_me:$LINENO: checking iconv.h presence" >&5
24766 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
24767 cat >conftest.
$ac_ext <<_ACEOF
24768 #line $LINENO "configure"
24771 cat confdefs.h
>>conftest.
$ac_ext
24772 cat >>conftest.
$ac_ext <<_ACEOF
24773 /* end confdefs.h. */
24776 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24777 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24779 grep -v '^ *+' conftest.er1
>conftest.err
24781 cat conftest.err
>&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } >/dev
/null
; then
24784 if test -s conftest.err
; then
24785 ac_cpp_err
=$ac_c_preproc_warn_flag
24792 if test -z "$ac_cpp_err"; then
24793 ac_header_preproc
=yes
24795 echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.
$ac_ext >&5
24798 ac_header_preproc
=no
24800 rm -f conftest.err conftest.
$ac_ext
24801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24802 echo "${ECHO_T}$ac_header_preproc" >&6
24804 # So? What about this header?
24805 case $ac_header_compiler:$ac_header_preproc in
24807 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
24808 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24809 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
24810 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
24813 ## ------------------------------------ ##
24814 ## Report this to bug-autoconf@gnu.org. ##
24815 ## ------------------------------------ ##
24818 sed "s/^/$as_me: WARNING: /" >&2
24821 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
24822 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
24823 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
24824 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
24825 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
24826 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
24829 ## ------------------------------------ ##
24830 ## Report this to bug-autoconf@gnu.org. ##
24831 ## ------------------------------------ ##
24834 sed "s/^/$as_me: WARNING: /" >&2
24837 echo "$as_me:$LINENO: checking for iconv.h" >&5
24838 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
24839 if test "${ac_cv_header_iconv_h+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 ac_cv_header_iconv_h
=$ac_header_preproc
24844 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
24845 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
24848 if test $ac_cv_header_iconv_h = yes; then
24855 if test "${ac_cv_header_langinfo_h+set}" = set; then
24856 echo "$as_me:$LINENO: checking for langinfo.h" >&5
24857 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
24858 if test "${ac_cv_header_langinfo_h+set}" = set; then
24859 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
24862 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
24864 # Is the header compilable?
24865 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
24866 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
24867 cat >conftest.
$ac_ext <<_ACEOF
24868 #line $LINENO "configure"
24871 cat confdefs.h
>>conftest.
$ac_ext
24872 cat >>conftest.
$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24874 $ac_includes_default
24875 #include <langinfo.h>
24877 rm -f conftest.
$ac_objext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24879 (eval $ac_compile) 2>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); } &&
24883 { ac_try
='test -s conftest.$ac_objext'
24884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24885 (eval $ac_try) 2>&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); }; }; then
24889 ac_header_compiler
=yes
24891 echo "$as_me: failed program was:" >&5
24892 sed 's/^/| /' conftest.
$ac_ext >&5
24894 ac_header_compiler
=no
24896 rm -f conftest.
$ac_objext conftest.
$ac_ext
24897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24898 echo "${ECHO_T}$ac_header_compiler" >&6
24900 # Is the header present?
24901 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
24902 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
24903 cat >conftest.
$ac_ext <<_ACEOF
24904 #line $LINENO "configure"
24907 cat confdefs.h
>>conftest.
$ac_ext
24908 cat >>conftest.
$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24910 #include <langinfo.h>
24912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
24915 grep -v '^ *+' conftest.er1
>conftest.err
24917 cat conftest.err
>&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); } >/dev
/null
; then
24920 if test -s conftest.err
; then
24921 ac_cpp_err
=$ac_c_preproc_warn_flag
24928 if test -z "$ac_cpp_err"; then
24929 ac_header_preproc
=yes
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.
$ac_ext >&5
24934 ac_header_preproc
=no
24936 rm -f conftest.err conftest.
$ac_ext
24937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24938 echo "${ECHO_T}$ac_header_preproc" >&6
24940 # So? What about this header?
24941 case $ac_header_compiler:$ac_header_preproc in
24943 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
24944 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24945 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
24946 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
24949 ## ------------------------------------ ##
24950 ## Report this to bug-autoconf@gnu.org. ##
24951 ## ------------------------------------ ##
24954 sed "s/^/$as_me: WARNING: /" >&2
24957 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
24958 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
24959 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
24960 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
24961 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
24962 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
24965 ## ------------------------------------ ##
24966 ## Report this to bug-autoconf@gnu.org. ##
24967 ## ------------------------------------ ##
24970 sed "s/^/$as_me: WARNING: /" >&2
24973 echo "$as_me:$LINENO: checking for langinfo.h" >&5
24974 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
24975 if test "${ac_cv_header_langinfo_h+set}" = set; then
24976 echo $ECHO_N "(cached) $ECHO_C" >&6
24978 ac_cv_header_langinfo_h
=$ac_header_preproc
24980 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
24981 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
24984 if test $ac_cv_header_langinfo_h = yes; then
24985 ac_has_langinfo_h
=yes
24987 ac_has_langinfo_h
=no
24992 # Check for existence of libiconv.a providing XPG2 wchar_t support.
24993 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
24994 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
24995 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 ac_check_lib_save_LIBS
=$LIBS
24999 LIBS
="-liconv $LIBS"
25000 cat >conftest.
$ac_ext <<_ACEOF
25001 #line $LINENO "configure"
25004 cat confdefs.h
>>conftest.
$ac_ext
25005 cat >>conftest.
$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25008 /* Override any gcc2 internal prototype to avoid an error. */
25012 /* We use char because int might match the return type of a gcc2
25013 builtin and then its argument prototype would still apply. */
25023 rm -f conftest.
$ac_objext conftest
$ac_exeext
25024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25025 (eval $ac_link) 2>&5
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); } &&
25029 { ac_try
='test -s conftest$ac_exeext'
25030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25031 (eval $ac_try) 2>&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); }; }; then
25035 ac_cv_lib_iconv_iconv
=yes
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.
$ac_ext >&5
25040 ac_cv_lib_iconv_iconv
=no
25042 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25043 LIBS
=$ac_check_lib_save_LIBS
25045 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25046 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25047 if test $ac_cv_lib_iconv_iconv = yes; then
25051 ac_save_LIBS
="$LIBS"
25052 LIBS
="$LIBS $libiconv"
25058 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
25060 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25061 echo "$as_me:$LINENO: checking for $ac_func" >&5
25062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25063 if eval "test \"\${$as_ac_var+set}\" = set"; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 cat >conftest.
$ac_ext <<_ACEOF
25067 #line $LINENO "configure"
25070 cat confdefs.h
>>conftest.
$ac_ext
25071 cat >>conftest.
$ac_ext <<_ACEOF
25072 /* end confdefs.h. */
25073 /* System header to define __stub macros and hopefully few prototypes,
25074 which can conflict with char $ac_func (); below.
25075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25076 <limits.h> exists even on freestanding compilers. */
25078 # include <limits.h>
25080 # include <assert.h>
25082 /* Override any gcc2 internal prototype to avoid an error. */
25087 /* We use char because int might match the return type of a gcc2
25088 builtin and then its argument prototype would still apply. */
25090 /* The GNU C library defines this for functions which it implements
25091 to always fail with ENOSYS. Some functions are actually named
25092 something starting with __ and the normal name is an alias. */
25093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25096 char (*f) () = $ac_func;
25105 return f != $ac_func;
25110 rm -f conftest.
$ac_objext conftest
$ac_exeext
25111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25112 (eval $ac_link) 2>&5
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); } &&
25116 { ac_try
='test -s conftest$ac_exeext'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; }; then
25122 eval "$as_ac_var=yes"
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.
$ac_ext >&5
25127 eval "$as_ac_var=no"
25129 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25133 if test `eval echo '${'$as_ac_var'}'` = yes; then
25134 cat >>confdefs.h
<<_ACEOF
25135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25144 LIBS
="$ac_save_LIBS"
25146 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25147 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25148 if test x
"$ac_has_iconv_h" = xyes
&&
25149 test x
"$ac_has_langinfo_h" = xyes
&&
25150 test x
"$ac_XPG2funcs" = xyes
;
25152 ac_XPG2_wchar_t
=yes
25156 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25157 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25159 # At the moment, only enable wchar_t specializations if all the
25160 # above support is present.
25161 if test x
"$ac_isoC99_wchar_t" = xyes
&&
25162 test x
"$ac_XPG2_wchar_t" = xyes
;
25164 cat >>confdefs.h
<<\_ACEOF
25165 #define _GLIBCXX_USE_WCHAR_T 1
25171 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25172 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25173 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25174 echo "${ECHO_T}$enable_wchar_t" >&6
25177 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
25178 ac_save_CXXFLAGS
="$CXXFLAGS"
25179 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
25182 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25183 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25184 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
25185 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25186 echo $ECHO_N "(cached) $ECHO_C" >&6
25192 ac_cpp
='$CXXCPP $CPPFLAGS'
25193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25197 cat >conftest.
$ac_ext <<_ACEOF
25198 #line $LINENO "configure"
25201 cat confdefs.h
>>conftest.
$ac_ext
25202 cat >>conftest.
$ac_ext <<_ACEOF
25203 /* end confdefs.h. */
25204 #include <stdlib.h>
25213 rm -f conftest.
$ac_objext
25214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25215 (eval $ac_compile) 2>&5
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); } &&
25219 { ac_try
='test -s conftest.$ac_objext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 glibcxx_cv_func_strtold_use
=yes
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.
$ac_ext >&5
25230 glibcxx_cv_func_strtold_use
=no
25232 rm -f conftest.
$ac_objext conftest.
$ac_ext
25234 ac_cpp
='$CPP $CPPFLAGS'
25235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25244 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25245 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
25247 for ac_func
in strtold
25249 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25250 echo "$as_me:$LINENO: checking for $ac_func" >&5
25251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25252 if eval "test \"\${$as_ac_var+set}\" = set"; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 cat >conftest.
$ac_ext <<_ACEOF
25256 #line $LINENO "configure"
25259 cat confdefs.h
>>conftest.
$ac_ext
25260 cat >>conftest.
$ac_ext <<_ACEOF
25261 /* end confdefs.h. */
25262 /* System header to define __stub macros and hopefully few prototypes,
25263 which can conflict with char $ac_func (); below.
25264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25265 <limits.h> exists even on freestanding compilers. */
25267 # include <limits.h>
25269 # include <assert.h>
25271 /* Override any gcc2 internal prototype to avoid an error. */
25276 /* We use char because int might match the return type of a gcc2
25277 builtin and then its argument prototype would still apply. */
25279 /* The GNU C library defines this for functions which it implements
25280 to always fail with ENOSYS. Some functions are actually named
25281 something starting with __ and the normal name is an alias. */
25282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25285 char (*f) () = $ac_func;
25294 return f != $ac_func;
25299 rm -f conftest.
$ac_objext conftest
$ac_exeext
25300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25301 (eval $ac_link) 2>&5
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); } &&
25305 { ac_try
='test -s conftest$ac_exeext'
25306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25307 (eval $ac_try) 2>&5
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); }; }; then
25311 eval "$as_ac_var=yes"
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.
$ac_ext >&5
25316 eval "$as_ac_var=no"
25318 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25322 if test `eval echo '${'$as_ac_var'}'` = yes; then
25323 cat >>confdefs.h
<<_ACEOF
25324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25333 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25334 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25335 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
25336 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25337 echo $ECHO_N "(cached) $ECHO_C" >&6
25343 ac_cpp
='$CXXCPP $CPPFLAGS'
25344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25348 cat >conftest.
$ac_ext <<_ACEOF
25349 #line $LINENO "configure"
25352 cat confdefs.h
>>conftest.
$ac_ext
25353 cat >>conftest.
$ac_ext <<_ACEOF
25354 /* end confdefs.h. */
25355 #include <stdlib.h>
25364 rm -f conftest.
$ac_objext
25365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25366 (eval $ac_compile) 2>&5
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); } &&
25370 { ac_try
='test -s conftest.$ac_objext'
25371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25372 (eval $ac_try) 2>&5
25374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25375 (exit $ac_status); }; }; then
25376 glibcxx_cv_func_strtof_use
=yes
25378 echo "$as_me: failed program was:" >&5
25379 sed 's/^/| /' conftest.
$ac_ext >&5
25381 glibcxx_cv_func_strtof_use
=no
25383 rm -f conftest.
$ac_objext conftest.
$ac_ext
25385 ac_cpp
='$CPP $CPPFLAGS'
25386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
25395 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
25396 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
25398 for ac_func
in strtof
25400 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25401 echo "$as_me:$LINENO: checking for $ac_func" >&5
25402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25403 if eval "test \"\${$as_ac_var+set}\" = set"; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25406 cat >conftest.
$ac_ext <<_ACEOF
25407 #line $LINENO "configure"
25410 cat confdefs.h
>>conftest.
$ac_ext
25411 cat >>conftest.
$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25413 /* System header to define __stub macros and hopefully few prototypes,
25414 which can conflict with char $ac_func (); below.
25415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25416 <limits.h> exists even on freestanding compilers. */
25418 # include <limits.h>
25420 # include <assert.h>
25422 /* Override any gcc2 internal prototype to avoid an error. */
25427 /* We use char because int might match the return type of a gcc2
25428 builtin and then its argument prototype would still apply. */
25430 /* The GNU C library defines this for functions which it implements
25431 to always fail with ENOSYS. Some functions are actually named
25432 something starting with __ and the normal name is an alias. */
25433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25436 char (*f) () = $ac_func;
25445 return f != $ac_func;
25450 rm -f conftest.
$ac_objext conftest
$ac_exeext
25451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25452 (eval $ac_link) 2>&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } &&
25456 { ac_try
='test -s conftest$ac_exeext'
25457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25458 (eval $ac_try) 2>&5
25460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25461 (exit $ac_status); }; }; then
25462 eval "$as_ac_var=yes"
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.
$ac_ext >&5
25467 eval "$as_ac_var=no"
25469 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25473 if test `eval echo '${'$as_ac_var'}'` = yes; then
25474 cat >>confdefs.h
<<_ACEOF
25475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25484 for ac_func
in drand48
25486 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25487 echo "$as_me:$LINENO: checking for $ac_func" >&5
25488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25489 if eval "test \"\${$as_ac_var+set}\" = set"; then
25490 echo $ECHO_N "(cached) $ECHO_C" >&6
25492 cat >conftest.
$ac_ext <<_ACEOF
25493 #line $LINENO "configure"
25496 cat confdefs.h
>>conftest.
$ac_ext
25497 cat >>conftest.
$ac_ext <<_ACEOF
25498 /* end confdefs.h. */
25499 /* System header to define __stub macros and hopefully few prototypes,
25500 which can conflict with char $ac_func (); below.
25501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25502 <limits.h> exists even on freestanding compilers. */
25504 # include <limits.h>
25506 # include <assert.h>
25508 /* Override any gcc2 internal prototype to avoid an error. */
25513 /* We use char because int might match the return type of a gcc2
25514 builtin and then its argument prototype would still apply. */
25516 /* The GNU C library defines this for functions which it implements
25517 to always fail with ENOSYS. Some functions are actually named
25518 something starting with __ and the normal name is an alias. */
25519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25522 char (*f) () = $ac_func;
25531 return f != $ac_func;
25536 rm -f conftest.
$ac_objext conftest
$ac_exeext
25537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25538 (eval $ac_link) 2>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } &&
25542 { ac_try
='test -s conftest$ac_exeext'
25543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25544 (eval $ac_try) 2>&5
25546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547 (exit $ac_status); }; }; then
25548 eval "$as_ac_var=yes"
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.
$ac_ext >&5
25553 eval "$as_ac_var=no"
25555 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25559 if test `eval echo '${'$as_ac_var'}'` = yes; then
25560 cat >>confdefs.h
<<_ACEOF
25561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25568 CXXFLAGS
="$ac_save_CXXFLAGS"
25571 # For showmanyc_helper().
25574 for ac_header
in sys
/ioctl.h sys
/filio.h
25576 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25578 echo "$as_me:$LINENO: checking for $ac_header" >&5
25579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25586 # Is the header compilable?
25587 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25589 cat >conftest.
$ac_ext <<_ACEOF
25590 #line $LINENO "configure"
25593 cat confdefs.h
>>conftest.
$ac_ext
25594 cat >>conftest.
$ac_ext <<_ACEOF
25595 /* end confdefs.h. */
25596 $ac_includes_default
25597 #include <$ac_header>
25599 rm -f conftest.
$ac_objext
25600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25601 (eval $ac_compile) 2>&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } &&
25605 { ac_try
='test -s conftest.$ac_objext'
25606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607 (eval $ac_try) 2>&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); }; }; then
25611 ac_header_compiler
=yes
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.
$ac_ext >&5
25616 ac_header_compiler
=no
25618 rm -f conftest.
$ac_objext conftest.
$ac_ext
25619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25620 echo "${ECHO_T}$ac_header_compiler" >&6
25622 # Is the header present?
25623 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25624 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25625 cat >conftest.
$ac_ext <<_ACEOF
25626 #line $LINENO "configure"
25629 cat confdefs.h
>>conftest.
$ac_ext
25630 cat >>conftest.
$ac_ext <<_ACEOF
25631 /* end confdefs.h. */
25632 #include <$ac_header>
25634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25635 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25637 grep -v '^ *+' conftest.er1
>conftest.err
25639 cat conftest.err
>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } >/dev
/null
; then
25642 if test -s conftest.err
; then
25643 ac_cpp_err
=$ac_c_preproc_warn_flag
25650 if test -z "$ac_cpp_err"; then
25651 ac_header_preproc
=yes
25653 echo "$as_me: failed program was:" >&5
25654 sed 's/^/| /' conftest.
$ac_ext >&5
25656 ac_header_preproc
=no
25658 rm -f conftest.err conftest.
$ac_ext
25659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25660 echo "${ECHO_T}$ac_header_preproc" >&6
25662 # So? What about this header?
25663 case $ac_header_compiler:$ac_header_preproc in
25665 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25671 ## ------------------------------------ ##
25672 ## Report this to bug-autoconf@gnu.org. ##
25673 ## ------------------------------------ ##
25676 sed "s/^/$as_me: WARNING: /" >&2
25679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25687 ## ------------------------------------ ##
25688 ## Report this to bug-autoconf@gnu.org. ##
25689 ## ------------------------------------ ##
25692 sed "s/^/$as_me: WARNING: /" >&2
25695 echo "$as_me:$LINENO: checking for $ac_header" >&5
25696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25700 eval "$as_ac_Header=$ac_header_preproc"
25702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25707 cat >>confdefs.h
<<_ACEOF
25708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25716 if test "${glibcxx_cv_POLL+set}" = set; then
25717 echo $ECHO_N "(cached) $ECHO_C" >&6
25720 cat >conftest.
$ac_ext <<_ACEOF
25721 #line $LINENO "configure"
25724 cat confdefs.h
>>conftest.
$ac_ext
25725 cat >>conftest.
$ac_ext <<_ACEOF
25726 /* end confdefs.h. */
25731 struct pollfd pfd[1];
25732 pfd[0].events = POLLIN;
25738 rm -f conftest.
$ac_objext
25739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25740 (eval $ac_compile) 2>&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try
='test -s conftest.$ac_objext'
25745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25746 (eval $ac_try) 2>&5
25748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25749 (exit $ac_status); }; }; then
25750 glibcxx_cv_POLL
=yes
25752 echo "$as_me: failed program was:" >&5
25753 sed 's/^/| /' conftest.
$ac_ext >&5
25757 rm -f conftest.
$ac_objext conftest.
$ac_ext
25761 if test $glibcxx_cv_POLL = yes; then
25762 cat >>confdefs.h
<<\_ACEOF
25763 #define HAVE_POLL 1
25769 if test "${glibcxx_cv_S_ISREG+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 cat >conftest.
$ac_ext <<_ACEOF
25774 #line $LINENO "configure"
25777 cat confdefs.h
>>conftest.
$ac_ext
25778 cat >>conftest.
$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780 #include <sys/stat.h>
25784 struct stat buffer;
25786 S_ISREG(buffer.st_mode);
25791 rm -f conftest.
$ac_objext conftest
$ac_exeext
25792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25793 (eval $ac_link) 2>&5
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); } &&
25797 { ac_try
='test -s conftest$ac_exeext'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; }; then
25803 glibcxx_cv_S_ISREG
=yes
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.
$ac_ext >&5
25808 glibcxx_cv_S_ISREG
=no
25810 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25814 if test "${glibcxx_cv_S_IFREG+set}" = set; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25818 cat >conftest.
$ac_ext <<_ACEOF
25819 #line $LINENO "configure"
25822 cat confdefs.h
>>conftest.
$ac_ext
25823 cat >>conftest.
$ac_ext <<_ACEOF
25824 /* end confdefs.h. */
25825 #include <sys/stat.h>
25829 struct stat buffer;
25831 S_IFREG & buffer.st_mode;
25836 rm -f conftest.
$ac_objext conftest
$ac_exeext
25837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25838 (eval $ac_link) 2>&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } &&
25842 { ac_try
='test -s conftest$ac_exeext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 glibcxx_cv_S_IFREG
=yes
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.
$ac_ext >&5
25853 glibcxx_cv_S_IFREG
=no
25855 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
25859 if test $glibcxx_cv_S_ISREG = yes; then
25860 cat >>confdefs.h
<<\_ACEOF
25861 #define HAVE_S_ISREG 1
25864 elif test $glibcxx_cv_S_IFREG = yes; then
25865 cat >>confdefs.h
<<\_ACEOF
25866 #define HAVE_S_IFREG 1
25874 for ac_header
in sys
/uio.h
25876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25878 echo "$as_me:$LINENO: checking for $ac_header" >&5
25879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25886 # Is the header compilable?
25887 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25889 cat >conftest.
$ac_ext <<_ACEOF
25890 #line $LINENO "configure"
25893 cat confdefs.h
>>conftest.
$ac_ext
25894 cat >>conftest.
$ac_ext <<_ACEOF
25895 /* end confdefs.h. */
25896 $ac_includes_default
25897 #include <$ac_header>
25899 rm -f conftest.
$ac_objext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25901 (eval $ac_compile) 2>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); } &&
25905 { ac_try
='test -s conftest.$ac_objext'
25906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25907 (eval $ac_try) 2>&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); }; }; then
25911 ac_header_compiler
=yes
25913 echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.
$ac_ext >&5
25916 ac_header_compiler
=no
25918 rm -f conftest.
$ac_objext conftest.
$ac_ext
25919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25920 echo "${ECHO_T}$ac_header_compiler" >&6
25922 # Is the header present?
25923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25925 cat >conftest.
$ac_ext <<_ACEOF
25926 #line $LINENO "configure"
25929 cat confdefs.h
>>conftest.
$ac_ext
25930 cat >>conftest.
$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932 #include <$ac_header>
25934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25935 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
25937 grep -v '^ *+' conftest.er1
>conftest.err
25939 cat conftest.err
>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } >/dev
/null
; then
25942 if test -s conftest.err
; then
25943 ac_cpp_err
=$ac_c_preproc_warn_flag
25950 if test -z "$ac_cpp_err"; then
25951 ac_header_preproc
=yes
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.
$ac_ext >&5
25956 ac_header_preproc
=no
25958 rm -f conftest.err conftest.
$ac_ext
25959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25960 echo "${ECHO_T}$ac_header_preproc" >&6
25962 # So? What about this header?
25963 case $ac_header_compiler:$ac_header_preproc in
25965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25971 ## ------------------------------------ ##
25972 ## Report this to bug-autoconf@gnu.org. ##
25973 ## ------------------------------------ ##
25976 sed "s/^/$as_me: WARNING: /" >&2
25979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25987 ## ------------------------------------ ##
25988 ## Report this to bug-autoconf@gnu.org. ##
25989 ## ------------------------------------ ##
25992 sed "s/^/$as_me: WARNING: /" >&2
25995 echo "$as_me:$LINENO: checking for $ac_header" >&5
25996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
26000 eval "$as_ac_Header=$ac_header_preproc"
26002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26007 cat >>confdefs.h
<<_ACEOF
26008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26016 if test "${glibcxx_cv_WRITEV+set}" = set; then
26017 echo $ECHO_N "(cached) $ECHO_C" >&6
26020 cat >conftest.
$ac_ext <<_ACEOF
26021 #line $LINENO "configure"
26024 cat confdefs.h
>>conftest.
$ac_ext
26025 cat >>conftest.
$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26027 #include <sys/uio.h>
26031 struct iovec iov[2];
26037 rm -f conftest.
$ac_objext
26038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26039 (eval $ac_compile) 2>&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try
='test -s conftest.$ac_objext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 glibcxx_cv_WRITEV
=yes
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.
$ac_ext >&5
26054 glibcxx_cv_WRITEV
=no
26056 rm -f conftest.
$ac_objext conftest.
$ac_ext
26060 if test $glibcxx_cv_WRITEV = yes; then
26061 cat >>confdefs.h
<<\_ACEOF
26062 #define HAVE_WRITEV 1
26069 if test "${ac_cv_header_locale_h+set}" = set; then
26070 echo "$as_me:$LINENO: checking for locale.h" >&5
26071 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26072 if test "${ac_cv_header_locale_h+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26076 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26078 # Is the header compilable?
26079 echo "$as_me:$LINENO: checking locale.h usability" >&5
26080 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26081 cat >conftest.
$ac_ext <<_ACEOF
26082 #line $LINENO "configure"
26085 cat confdefs.h
>>conftest.
$ac_ext
26086 cat >>conftest.
$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 $ac_includes_default
26089 #include <locale.h>
26091 rm -f conftest.
$ac_objext
26092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26093 (eval $ac_compile) 2>&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } &&
26097 { ac_try
='test -s conftest.$ac_objext'
26098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26099 (eval $ac_try) 2>&5
26101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102 (exit $ac_status); }; }; then
26103 ac_header_compiler
=yes
26105 echo "$as_me: failed program was:" >&5
26106 sed 's/^/| /' conftest.
$ac_ext >&5
26108 ac_header_compiler
=no
26110 rm -f conftest.
$ac_objext conftest.
$ac_ext
26111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26112 echo "${ECHO_T}$ac_header_compiler" >&6
26114 # Is the header present?
26115 echo "$as_me:$LINENO: checking locale.h presence" >&5
26116 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26117 cat >conftest.
$ac_ext <<_ACEOF
26118 #line $LINENO "configure"
26121 cat confdefs.h
>>conftest.
$ac_ext
26122 cat >>conftest.
$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124 #include <locale.h>
26126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26127 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26129 grep -v '^ *+' conftest.er1
>conftest.err
26131 cat conftest.err
>&5
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); } >/dev
/null
; then
26134 if test -s conftest.err
; then
26135 ac_cpp_err
=$ac_c_preproc_warn_flag
26142 if test -z "$ac_cpp_err"; then
26143 ac_header_preproc
=yes
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.
$ac_ext >&5
26148 ac_header_preproc
=no
26150 rm -f conftest.err conftest.
$ac_ext
26151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26152 echo "${ECHO_T}$ac_header_preproc" >&6
26154 # So? What about this header?
26155 case $ac_header_compiler:$ac_header_preproc in
26157 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26158 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26159 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26160 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26163 ## ------------------------------------ ##
26164 ## Report this to bug-autoconf@gnu.org. ##
26165 ## ------------------------------------ ##
26168 sed "s/^/$as_me: WARNING: /" >&2
26171 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26172 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26173 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26174 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26175 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26176 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26179 ## ------------------------------------ ##
26180 ## Report this to bug-autoconf@gnu.org. ##
26181 ## ------------------------------------ ##
26184 sed "s/^/$as_me: WARNING: /" >&2
26187 echo "$as_me:$LINENO: checking for locale.h" >&5
26188 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26189 if test "${ac_cv_header_locale_h+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 ac_cv_header_locale_h
=$ac_header_preproc
26194 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26195 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26198 if test $ac_cv_header_locale_h = yes; then
26200 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26201 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26202 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26205 cat >conftest.
$ac_ext <<_ACEOF
26206 #line $LINENO "configure"
26209 cat confdefs.h
>>conftest.
$ac_ext
26210 cat >>conftest.
$ac_ext <<_ACEOF
26211 /* end confdefs.h. */
26212 #include <locale.h>
26221 rm -f conftest.
$ac_objext conftest
$ac_exeext
26222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26223 (eval $ac_link) 2>&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } &&
26227 { ac_try
='test -s conftest$ac_exeext'
26228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26229 (eval $ac_try) 2>&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); }; }; then
26233 ac_cv_val_LC_MESSAGES
=yes
26235 echo "$as_me: failed program was:" >&5
26236 sed 's/^/| /' conftest.
$ac_ext >&5
26238 ac_cv_val_LC_MESSAGES
=no
26240 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26242 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26243 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26244 if test $ac_cv_val_LC_MESSAGES = yes; then
26245 cat >>confdefs.h
<<\_ACEOF
26246 #define HAVE_LC_MESSAGES 1
26256 cat >conftest.
$ac_ext <<_ACEOF
26257 #line $LINENO "configure"
26260 cat confdefs.h
>>conftest.
$ac_ext
26261 cat >>conftest.
$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 #include <setjmp.h>
26268 while (! sigsetjmp (env, 1))
26269 siglongjmp (env, 1);
26275 rm -f conftest.
$ac_objext
26276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26277 (eval $ac_compile) 2>&5
26279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26280 (exit $ac_status); } &&
26281 { ac_try
='test -s conftest.$ac_objext'
26282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26283 (eval $ac_try) 2>&5
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); }; }; then
26288 cat >>confdefs.h
<<\_ACEOF
26289 #define HAVE_SIGSETJMP 1
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.
$ac_ext >&5
26297 rm -f conftest.
$ac_objext conftest.
$ac_ext
26301 for ac_header
in stdlib.h unistd.h
26303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26305 echo "$as_me:$LINENO: checking for $ac_header" >&5
26306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26313 # Is the header compilable?
26314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26316 cat >conftest.
$ac_ext <<_ACEOF
26317 #line $LINENO "configure"
26320 cat confdefs.h
>>conftest.
$ac_ext
26321 cat >>conftest.
$ac_ext <<_ACEOF
26322 /* end confdefs.h. */
26323 $ac_includes_default
26324 #include <$ac_header>
26326 rm -f conftest.
$ac_objext
26327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26328 (eval $ac_compile) 2>&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } &&
26332 { ac_try
='test -s conftest.$ac_objext'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; }; then
26338 ac_header_compiler
=yes
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.
$ac_ext >&5
26343 ac_header_compiler
=no
26345 rm -f conftest.
$ac_objext conftest.
$ac_ext
26346 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26347 echo "${ECHO_T}$ac_header_compiler" >&6
26349 # Is the header present?
26350 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26351 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26352 cat >conftest.
$ac_ext <<_ACEOF
26353 #line $LINENO "configure"
26356 cat confdefs.h
>>conftest.
$ac_ext
26357 cat >>conftest.
$ac_ext <<_ACEOF
26358 /* end confdefs.h. */
26359 #include <$ac_header>
26361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26362 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26364 grep -v '^ *+' conftest.er1
>conftest.err
26366 cat conftest.err
>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } >/dev
/null
; then
26369 if test -s conftest.err
; then
26370 ac_cpp_err
=$ac_c_preproc_warn_flag
26377 if test -z "$ac_cpp_err"; then
26378 ac_header_preproc
=yes
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26383 ac_header_preproc
=no
26385 rm -f conftest.err conftest.
$ac_ext
26386 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26387 echo "${ECHO_T}$ac_header_preproc" >&6
26389 # So? What about this header?
26390 case $ac_header_compiler:$ac_header_preproc in
26392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26398 ## ------------------------------------ ##
26399 ## Report this to bug-autoconf@gnu.org. ##
26400 ## ------------------------------------ ##
26403 sed "s/^/$as_me: WARNING: /" >&2
26406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26410 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26411 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26414 ## ------------------------------------ ##
26415 ## Report this to bug-autoconf@gnu.org. ##
26416 ## ------------------------------------ ##
26419 sed "s/^/$as_me: WARNING: /" >&2
26422 echo "$as_me:$LINENO: checking for $ac_header" >&5
26423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26425 echo $ECHO_N "(cached) $ECHO_C" >&6
26427 eval "$as_ac_Header=$ac_header_preproc"
26429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26434 cat >>confdefs.h
<<_ACEOF
26435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26443 for ac_func
in getpagesize
26445 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26446 echo "$as_me:$LINENO: checking for $ac_func" >&5
26447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26448 if eval "test \"\${$as_ac_var+set}\" = set"; then
26449 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 cat >conftest.
$ac_ext <<_ACEOF
26452 #line $LINENO "configure"
26455 cat confdefs.h
>>conftest.
$ac_ext
26456 cat >>conftest.
$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458 /* System header to define __stub macros and hopefully few prototypes,
26459 which can conflict with char $ac_func (); below.
26460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26461 <limits.h> exists even on freestanding compilers. */
26463 # include <limits.h>
26465 # include <assert.h>
26467 /* Override any gcc2 internal prototype to avoid an error. */
26472 /* We use char because int might match the return type of a gcc2
26473 builtin and then its argument prototype would still apply. */
26475 /* The GNU C library defines this for functions which it implements
26476 to always fail with ENOSYS. Some functions are actually named
26477 something starting with __ and the normal name is an alias. */
26478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26481 char (*f) () = $ac_func;
26490 return f != $ac_func;
26495 rm -f conftest.
$ac_objext conftest
$ac_exeext
26496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26497 (eval $ac_link) 2>&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try
='test -s conftest$ac_exeext'
26502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26503 (eval $ac_try) 2>&5
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); }; }; then
26507 eval "$as_ac_var=yes"
26509 echo "$as_me: failed program was:" >&5
26510 sed 's/^/| /' conftest.
$ac_ext >&5
26512 eval "$as_ac_var=no"
26514 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
26516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26518 if test `eval echo '${'$as_ac_var'}'` = yes; then
26519 cat >>confdefs.h
<<_ACEOF
26520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26526 echo "$as_me:$LINENO: checking for working mmap" >&5
26527 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
26528 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26531 if test "$cross_compiling" = yes; then
26532 ac_cv_func_mmap_fixed_mapped
=no
26534 cat >conftest.
$ac_ext <<_ACEOF
26535 #line $LINENO "configure"
26538 cat confdefs.h
>>conftest.
$ac_ext
26539 cat >>conftest.
$ac_ext <<_ACEOF
26540 /* end confdefs.h. */
26541 $ac_includes_default
26542 /* malloc might have been renamed as rpl_malloc. */
26545 /* Thanks to Mike Haertel and Jim Avera for this test.
26546 Here is a matrix of mmap possibilities:
26547 mmap private not fixed
26548 mmap private fixed at somewhere currently unmapped
26549 mmap private fixed at somewhere already mapped
26550 mmap shared not fixed
26551 mmap shared fixed at somewhere currently unmapped
26552 mmap shared fixed at somewhere already mapped
26553 For private mappings, we should verify that changes cannot be read()
26554 back from the file, nor mmap's back from the file at a different
26555 address. (There have been systems where private was not correctly
26556 implemented like the infamous i386 svr4.0, and systems where the
26557 VM page cache was not coherent with the file system buffer cache
26558 like early versions of FreeBSD and possibly contemporary NetBSD.)
26559 For shared mappings, we should conversely verify that changes get
26560 propagated back to all the places they're supposed to be.
26562 Grep wants private fixed already mapped.
26563 The main things grep needs to know about mmap are:
26564 * does it exist and is it safe to write into the mmap'd area
26565 * how to use it (BSD variants) */
26568 #include <sys/mman.h>
26570 #if !STDC_HEADERS && !HAVE_STDLIB_H
26574 /* This mess was copied from the GNU getpagesize.h. */
26575 #if !HAVE_GETPAGESIZE
26576 /* Assume that all systems that can run configure have sys/param.h. */
26577 # if !HAVE_SYS_PARAM_H
26578 # define HAVE_SYS_PARAM_H 1
26581 # ifdef _SC_PAGESIZE
26582 # define getpagesize() sysconf(_SC_PAGESIZE)
26583 # else /* no _SC_PAGESIZE */
26584 # if HAVE_SYS_PARAM_H
26585 # include <sys/param.h>
26586 # ifdef EXEC_PAGESIZE
26587 # define getpagesize() EXEC_PAGESIZE
26588 # else /* no EXEC_PAGESIZE */
26590 # define getpagesize() NBPG * CLSIZE
26593 # endif /* no CLSIZE */
26594 # else /* no NBPG */
26596 # define getpagesize() NBPC
26597 # else /* no NBPC */
26599 # define getpagesize() PAGESIZE
26600 # endif /* PAGESIZE */
26601 # endif /* no NBPC */
26602 # endif /* no NBPG */
26603 # endif /* no EXEC_PAGESIZE */
26604 # else /* no HAVE_SYS_PARAM_H */
26605 # define getpagesize() 8192 /* punt totally */
26606 # endif /* no HAVE_SYS_PARAM_H */
26607 # endif /* no _SC_PAGESIZE */
26609 #endif /* no HAVE_GETPAGESIZE */
26614 char *data, *data2, *data3;
26618 pagesize = getpagesize ();
26620 /* First, make a file with some known garbage in it. */
26621 data = (char *) malloc (pagesize);
26624 for (i = 0; i < pagesize; ++i)
26625 *(data + i) = rand ();
26627 fd = creat ("conftest.mmap", 0600);
26630 if (write (fd, data, pagesize) != pagesize)
26634 /* Next, try to mmap the file at a fixed address which already has
26635 something else allocated at it. If we can, also make sure that
26636 we see the same garbage. */
26637 fd = open ("conftest.mmap", O_RDWR);
26640 data2 = (char *) malloc (2 * pagesize);
26643 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
26644 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
26645 MAP_PRIVATE | MAP_FIXED, fd, 0L))
26647 for (i = 0; i < pagesize; ++i)
26648 if (*(data + i) != *(data2 + i))
26651 /* Finally, make sure that changes to the mapped area do not
26652 percolate back to the file as seen by read(). (This is a bug on
26653 some variants of i386 svr4.0.) */
26654 for (i = 0; i < pagesize; ++i)
26655 *(data2 + i) = *(data2 + i) + 1;
26656 data3 = (char *) malloc (pagesize);
26659 if (read (fd, data3, pagesize) != pagesize)
26661 for (i = 0; i < pagesize; ++i)
26662 if (*(data + i) != *(data3 + i))
26668 rm -f conftest
$ac_exeext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26670 (eval $ac_link) 2>&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 ac_cv_func_mmap_fixed_mapped
=yes
26681 echo "$as_me: program exited with status $ac_status" >&5
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.
$ac_ext >&5
26685 ( exit $ac_status )
26686 ac_cv_func_mmap_fixed_mapped
=no
26688 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26691 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
26692 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
26693 if test $ac_cv_func_mmap_fixed_mapped = yes; then
26695 cat >>confdefs.h
<<\_ACEOF
26696 #define HAVE_MMAP 1
26700 rm -f conftest.mmap
26705 # This lets us hard-code the functionality we know we'll have in the cross
26706 # target environment. "Let" is a sugar-coated word placed on an especially
26707 # dull and tedious hack, actually.
26709 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26710 # that involve linking, can't be used:
26711 # "cannot open sim-crt0.o"
26712 # "cannot open crt0.o"
26713 # etc. All this is because there currently exists no unified, consistent
26714 # way for top level CC information to be passed down to target directories:
26715 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26716 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26717 # crosses can be removed.
26719 # If Canadian cross, then don't pick up tools from the build directory.
26720 # Used only in GLIBCXX_EXPORT_INCLUDES.
26721 if test -n "$with_cross_host" &&
26722 test x
"$build" != x
"$with_cross_host" &&
26723 test x
"$build" != x
"$target";
26730 # Construct crosses by hand, eliminating bits that need ld...
26731 # GLIBCXX_CHECK_COMPILER_FEATURES
26732 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
26733 # GLIBCXX_CHECK_MATH_SUPPORT
26735 # First, test for "known" system libraries. We may be using newlib even
26736 # on a hosted environment.
26737 if test "x${with_newlib}" = "xyes"; then
26738 os_include_dir
="os/newlib"
26739 cat >>confdefs.h
<<\_ACEOF
26740 #define HAVE_HYPOT 1
26744 # GLIBCXX_CHECK_STDLIB_SUPPORT
26745 cat >>confdefs.h
<<\_ACEOF
26746 #define HAVE_STRTOF 1
26749 cat >>confdefs.h
<<\_ACEOF
26750 #define HAVE_STRTOLD 1
26754 cat >>confdefs.h
<<\_ACEOF
26755 #define HAVE_MMAP 1
26759 cat >>confdefs.h
<<\_ACEOF
26760 #define HAVE_ACOSF 1
26763 cat >>confdefs.h
<<\_ACEOF
26764 #define HAVE_ASINF 1
26767 cat >>confdefs.h
<<\_ACEOF
26768 #define HAVE_ATAN2F 1
26771 cat >>confdefs.h
<<\_ACEOF
26772 #define HAVE_ATANF 1
26775 cat >>confdefs.h
<<\_ACEOF
26776 #define HAVE_CEILF 1
26779 cat >>confdefs.h
<<\_ACEOF
26780 #define HAVE_COPYSIGN 1
26783 cat >>confdefs.h
<<\_ACEOF
26784 #define HAVE_COPYSIGNF 1
26787 cat >>confdefs.h
<<\_ACEOF
26788 #define HAVE_COSF 1
26791 cat >>confdefs.h
<<\_ACEOF
26792 #define HAVE_COSHF 1
26795 cat >>confdefs.h
<<\_ACEOF
26796 #define HAVE_EXPF 1
26799 cat >>confdefs.h
<<\_ACEOF
26800 #define HAVE_FABSF 1
26803 cat >>confdefs.h
<<\_ACEOF
26804 #define HAVE_FLOORF 1
26807 cat >>confdefs.h
<<\_ACEOF
26808 #define HAVE_FMODF 1
26811 cat >>confdefs.h
<<\_ACEOF
26812 #define HAVE_FREXPF 1
26815 cat >>confdefs.h
<<\_ACEOF
26816 #define HAVE_LDEXPF 1
26819 cat >>confdefs.h
<<\_ACEOF
26820 #define HAVE_LOG10F 1
26823 cat >>confdefs.h
<<\_ACEOF
26824 #define HAVE_LOGF 1
26827 cat >>confdefs.h
<<\_ACEOF
26828 #define HAVE_MODFF 1
26831 cat >>confdefs.h
<<\_ACEOF
26832 #define HAVE_POWF 1
26835 cat >>confdefs.h
<<\_ACEOF
26836 #define HAVE_SINF 1
26839 cat >>confdefs.h
<<\_ACEOF
26840 #define HAVE_SINHF 1
26843 cat >>confdefs.h
<<\_ACEOF
26844 #define HAVE_SQRTF 1
26847 cat >>confdefs.h
<<\_ACEOF
26848 #define HAVE_TANF 1
26851 cat >>confdefs.h
<<\_ACEOF
26852 #define HAVE_TANHF 1
26857 # Base decisions on target environment.
26860 #os_include_dir="os/bsd/freebsd"
26877 for ac_header
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
26878 machine
/endian.h machine
/param.h sys
/machine.h sys
/types.h \
26879 fp.h locale.h float.h inttypes.h sys
/resource.h sys
/stat.h \
26880 sys
/time.h unistd.h
26882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26884 echo "$as_me:$LINENO: checking for $ac_header" >&5
26885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26892 # Is the header compilable?
26893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26895 cat >conftest.
$ac_ext <<_ACEOF
26896 #line $LINENO "configure"
26899 cat confdefs.h
>>conftest.
$ac_ext
26900 cat >>conftest.
$ac_ext <<_ACEOF
26901 /* end confdefs.h. */
26902 $ac_includes_default
26903 #include <$ac_header>
26905 rm -f conftest.
$ac_objext
26906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26907 (eval $ac_compile) 2>&5
26909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26910 (exit $ac_status); } &&
26911 { ac_try
='test -s conftest.$ac_objext'
26912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26913 (eval $ac_try) 2>&5
26915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26916 (exit $ac_status); }; }; then
26917 ac_header_compiler
=yes
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.
$ac_ext >&5
26922 ac_header_compiler
=no
26924 rm -f conftest.
$ac_objext conftest.
$ac_ext
26925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26926 echo "${ECHO_T}$ac_header_compiler" >&6
26928 # Is the header present?
26929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26931 cat >conftest.
$ac_ext <<_ACEOF
26932 #line $LINENO "configure"
26935 cat confdefs.h
>>conftest.
$ac_ext
26936 cat >>conftest.
$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938 #include <$ac_header>
26940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26941 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26943 grep -v '^ *+' conftest.er1
>conftest.err
26945 cat conftest.err
>&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } >/dev
/null
; then
26948 if test -s conftest.err
; then
26949 ac_cpp_err
=$ac_c_preproc_warn_flag
26956 if test -z "$ac_cpp_err"; then
26957 ac_header_preproc
=yes
26959 echo "$as_me: failed program was:" >&5
26960 sed 's/^/| /' conftest.
$ac_ext >&5
26962 ac_header_preproc
=no
26964 rm -f conftest.err conftest.
$ac_ext
26965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26966 echo "${ECHO_T}$ac_header_preproc" >&6
26968 # So? What about this header?
26969 case $ac_header_compiler:$ac_header_preproc in
26971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26977 ## ------------------------------------ ##
26978 ## Report this to bug-autoconf@gnu.org. ##
26979 ## ------------------------------------ ##
26982 sed "s/^/$as_me: WARNING: /" >&2
26985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26993 ## ------------------------------------ ##
26994 ## Report this to bug-autoconf@gnu.org. ##
26995 ## ------------------------------------ ##
26998 sed "s/^/$as_me: WARNING: /" >&2
27001 echo "$as_me:$LINENO: checking for $ac_header" >&5
27002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27004 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 eval "$as_ac_Header=$ac_header_preproc"
27008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27013 cat >>confdefs.h
<<_ACEOF
27014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27021 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
27024 # If we're not using GNU ld, then there's no point in even trying these
27025 # tests. Check for that first. We should have already tested for gld
27026 # by now (in libtool), but require it now just to be safe...
27027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
27028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
27032 # The name set by libtool depends on the version of libtool. Shame on us
27033 # for depending on an impl detail, but c'est la vie. Older versions used
27034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27037 # set (hence we're using an older libtool), then set it.
27038 if test x
${with_gnu_ld+set} != xset
; then
27039 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
27040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27043 with_gnu_ld
=$ac_cv_prog_gnu_ld
27047 # Start by getting the version number. I think the libtool test already
27048 # does some of this, but throws away the result.
27050 ldver
=`$LD --version 2>/dev/null | head -1 | \
27051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
27053 glibcxx_gnu_ld_version
=`echo $ldver | \
27054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27056 # Set --gc-sections.
27057 if test "$with_gnu_ld" = "notbroken"; then
27058 # GNU ld it is! Joy and bunny rabbits!
27060 # All these tests are for C++; save the language and the compiler flags.
27061 # Need to do this so that g++ won't try to link in libstdc++
27062 ac_test_CFLAGS
="${CFLAGS+set}"
27063 ac_save_CFLAGS
="$CFLAGS"
27064 CFLAGS
='-x c++ -Wl,--gc-sections'
27066 # Check for -Wl,--gc-sections
27067 # XXX This test is broken at the moment, as symbols required for linking
27068 # are now in libsupc++ (not built yet). In addition, this test has
27069 # cored on solaris in the past. In addition, --gc-sections doesn't
27070 # really work at the moment (keeps on discarding used sections, first
27071 # .eh_frame and now some of the glibc sections for iconv).
27072 # Bzzzzt. Thanks for playing, maybe next time.
27073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
27074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
27075 if test "$cross_compiling" = yes; then
27076 ac_sectionLDflags
=yes
27078 cat >conftest.
$ac_ext <<_ACEOF
27079 #line $LINENO "configure"
27082 cat confdefs.h
>>conftest.
$ac_ext
27083 cat >>conftest.
$ac_ext <<_ACEOF
27084 /* end confdefs.h. */
27094 rm -f conftest
$ac_exeext
27095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27096 (eval $ac_link) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; }; then
27105 ac_sectionLDflags
=yes
27107 echo "$as_me: program exited with status $ac_status" >&5
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.
$ac_ext >&5
27111 ( exit $ac_status )
27112 ac_sectionLDflags
=no
27114 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27116 if test "$ac_test_CFLAGS" = set; then
27117 CFLAGS
="$ac_save_CFLAGS"
27119 # this is the suspicious part
27122 if test "$ac_sectionLDflags" = "yes"; then
27123 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
27125 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
27126 echo "${ECHO_T}$ac_sectionLDflags" >&6
27129 # Set linker optimization flags.
27130 if test x
"$with_gnu_ld" = x
"yes"; then
27131 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
27139 echo "$as_me:$LINENO: checking for main in -lm" >&5
27140 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27141 if test "${ac_cv_lib_m_main+set}" = set; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27144 ac_check_lib_save_LIBS
=$LIBS
27146 cat >conftest.
$ac_ext <<_ACEOF
27147 #line $LINENO "configure"
27150 cat confdefs.h
>>conftest.
$ac_ext
27151 cat >>conftest.
$ac_ext <<_ACEOF
27152 /* end confdefs.h. */
27163 rm -f conftest.
$ac_objext conftest
$ac_exeext
27164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27165 (eval $ac_link) 2>&5
27167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27168 (exit $ac_status); } &&
27169 { ac_try
='test -s conftest$ac_exeext'
27170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27171 (eval $ac_try) 2>&5
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); }; }; then
27175 ac_cv_lib_m_main
=yes
27177 echo "$as_me: failed program was:" >&5
27178 sed 's/^/| /' conftest.
$ac_ext >&5
27180 ac_cv_lib_m_main
=no
27182 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27183 LIBS
=$ac_check_lib_save_LIBS
27185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27186 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27187 if test $ac_cv_lib_m_main = yes; then
27188 cat >>confdefs.h
<<_ACEOF
27189 #define HAVE_LIBM 1
27198 for ac_func
in nan copysignf
27200 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27201 echo "$as_me:$LINENO: checking for $ac_func" >&5
27202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27203 if eval "test \"\${$as_ac_var+set}\" = set"; then
27204 echo $ECHO_N "(cached) $ECHO_C" >&6
27206 cat >conftest.
$ac_ext <<_ACEOF
27207 #line $LINENO "configure"
27210 cat confdefs.h
>>conftest.
$ac_ext
27211 cat >>conftest.
$ac_ext <<_ACEOF
27212 /* end confdefs.h. */
27213 /* System header to define __stub macros and hopefully few prototypes,
27214 which can conflict with char $ac_func (); below.
27215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27216 <limits.h> exists even on freestanding compilers. */
27218 # include <limits.h>
27220 # include <assert.h>
27222 /* Override any gcc2 internal prototype to avoid an error. */
27227 /* We use char because int might match the return type of a gcc2
27228 builtin and then its argument prototype would still apply. */
27230 /* The GNU C library defines this for functions which it implements
27231 to always fail with ENOSYS. Some functions are actually named
27232 something starting with __ and the normal name is an alias. */
27233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27236 char (*f) () = $ac_func;
27245 return f != $ac_func;
27250 rm -f conftest.
$ac_objext conftest
$ac_exeext
27251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27252 (eval $ac_link) 2>&5
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); } &&
27256 { ac_try
='test -s conftest$ac_exeext'
27257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27258 (eval $ac_try) 2>&5
27260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27261 (exit $ac_status); }; }; then
27262 eval "$as_ac_var=yes"
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.
$ac_ext >&5
27267 eval "$as_ac_var=no"
27269 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27273 if test `eval echo '${'$as_ac_var'}'` = yes; then
27274 cat >>confdefs.h
<<_ACEOF
27275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27279 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
27285 for ac_func
in __signbit
27287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27288 echo "$as_me:$LINENO: checking for $ac_func" >&5
27289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27290 if eval "test \"\${$as_ac_var+set}\" = set"; then
27291 echo $ECHO_N "(cached) $ECHO_C" >&6
27293 cat >conftest.
$ac_ext <<_ACEOF
27294 #line $LINENO "configure"
27297 cat confdefs.h
>>conftest.
$ac_ext
27298 cat >>conftest.
$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27300 /* System header to define __stub macros and hopefully few prototypes,
27301 which can conflict with char $ac_func (); below.
27302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27303 <limits.h> exists even on freestanding compilers. */
27305 # include <limits.h>
27307 # include <assert.h>
27309 /* Override any gcc2 internal prototype to avoid an error. */
27314 /* We use char because int might match the return type of a gcc2
27315 builtin and then its argument prototype would still apply. */
27317 /* The GNU C library defines this for functions which it implements
27318 to always fail with ENOSYS. Some functions are actually named
27319 something starting with __ and the normal name is an alias. */
27320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27323 char (*f) () = $ac_func;
27332 return f != $ac_func;
27337 rm -f conftest.
$ac_objext conftest
$ac_exeext
27338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27339 (eval $ac_link) 2>&5
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); } &&
27343 { ac_try
='test -s conftest$ac_exeext'
27344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27345 (eval $ac_try) 2>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); }; }; then
27349 eval "$as_ac_var=yes"
27351 echo "$as_me: failed program was:" >&5
27352 sed 's/^/| /' conftest.
$ac_ext >&5
27354 eval "$as_ac_var=no"
27356 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27360 if test `eval echo '${'$as_ac_var'}'` = yes; then
27361 cat >>confdefs.h
<<_ACEOF
27362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27366 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
27371 for ac_func
in __signbitf
27373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27374 echo "$as_me:$LINENO: checking for $ac_func" >&5
27375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27376 if eval "test \"\${$as_ac_var+set}\" = set"; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 cat >conftest.
$ac_ext <<_ACEOF
27380 #line $LINENO "configure"
27383 cat confdefs.h
>>conftest.
$ac_ext
27384 cat >>conftest.
$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 /* System header to define __stub macros and hopefully few prototypes,
27387 which can conflict with char $ac_func (); below.
27388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27389 <limits.h> exists even on freestanding compilers. */
27391 # include <limits.h>
27393 # include <assert.h>
27395 /* Override any gcc2 internal prototype to avoid an error. */
27400 /* We use char because int might match the return type of a gcc2
27401 builtin and then its argument prototype would still apply. */
27403 /* The GNU C library defines this for functions which it implements
27404 to always fail with ENOSYS. Some functions are actually named
27405 something starting with __ and the normal name is an alias. */
27406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27409 char (*f) () = $ac_func;
27418 return f != $ac_func;
27423 rm -f conftest.
$ac_objext conftest
$ac_exeext
27424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27425 (eval $ac_link) 2>&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try
='test -s conftest$ac_exeext'
27430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27431 (eval $ac_try) 2>&5
27433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27434 (exit $ac_status); }; }; then
27435 eval "$as_ac_var=yes"
27437 echo "$as_me: failed program was:" >&5
27438 sed 's/^/| /' conftest.
$ac_ext >&5
27440 eval "$as_ac_var=no"
27442 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27446 if test `eval echo '${'$as_ac_var'}'` = yes; then
27447 cat >>confdefs.h
<<_ACEOF
27448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27452 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
27457 if test x
$ac_cv_func_copysignl = x
"yes"; then
27459 for ac_func
in __signbitl
27461 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27462 echo "$as_me:$LINENO: checking for $ac_func" >&5
27463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27464 if eval "test \"\${$as_ac_var+set}\" = set"; then
27465 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 cat >conftest.
$ac_ext <<_ACEOF
27468 #line $LINENO "configure"
27471 cat confdefs.h
>>conftest.
$ac_ext
27472 cat >>conftest.
$ac_ext <<_ACEOF
27473 /* end confdefs.h. */
27474 /* System header to define __stub macros and hopefully few prototypes,
27475 which can conflict with char $ac_func (); below.
27476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27477 <limits.h> exists even on freestanding compilers. */
27479 # include <limits.h>
27481 # include <assert.h>
27483 /* Override any gcc2 internal prototype to avoid an error. */
27488 /* We use char because int might match the return type of a gcc2
27489 builtin and then its argument prototype would still apply. */
27491 /* The GNU C library defines this for functions which it implements
27492 to always fail with ENOSYS. Some functions are actually named
27493 something starting with __ and the normal name is an alias. */
27494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27497 char (*f) () = $ac_func;
27506 return f != $ac_func;
27511 rm -f conftest.
$ac_objext conftest
$ac_exeext
27512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27513 (eval $ac_link) 2>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try
='test -s conftest$ac_exeext'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; }; then
27523 eval "$as_ac_var=yes"
27525 echo "$as_me: failed program was:" >&5
27526 sed 's/^/| /' conftest.
$ac_ext >&5
27528 eval "$as_ac_var=no"
27530 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
27532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27534 if test `eval echo '${'$as_ac_var'}'` = yes; then
27535 cat >>confdefs.h
<<_ACEOF
27536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27540 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
27546 # XXX Review this. Nothing uses it.
27547 if test -n "$LIBMATHOBJS"; then
27553 # Test wchar.h for mbstate_t, which is needed for char_traits and
27554 # others even if wchar_t support is not on.
27555 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27556 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27557 cat >conftest.
$ac_ext <<_ACEOF
27558 #line $LINENO "configure"
27561 cat confdefs.h
>>conftest.
$ac_ext
27562 cat >>conftest.
$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27568 mbstate_t teststate;
27573 rm -f conftest.
$ac_objext
27574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27575 (eval $ac_compile) 2>&5
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); } &&
27579 { ac_try
='test -s conftest.$ac_objext'
27580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27581 (eval $ac_try) 2>&5
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); }; }; then
27587 echo "$as_me: failed program was:" >&5
27588 sed 's/^/| /' conftest.
$ac_ext >&5
27592 rm -f conftest.
$ac_objext conftest.
$ac_ext
27593 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27594 echo "${ECHO_T}$have_mbstate_t" >&6
27595 if test x
"$have_mbstate_t" = xyes
; then
27596 cat >>confdefs.h
<<\_ACEOF
27597 #define HAVE_MBSTATE_T 1
27602 # Sanity check for existence of ISO C99 headers for extended encoding.
27604 for ac_header
in wchar.h
27606 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27608 echo "$as_me:$LINENO: checking for $ac_header" >&5
27609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27611 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27616 # Is the header compilable?
27617 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27618 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27619 cat >conftest.
$ac_ext <<_ACEOF
27620 #line $LINENO "configure"
27623 cat confdefs.h
>>conftest.
$ac_ext
27624 cat >>conftest.
$ac_ext <<_ACEOF
27625 /* end confdefs.h. */
27626 $ac_includes_default
27627 #include <$ac_header>
27629 rm -f conftest.
$ac_objext
27630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27631 (eval $ac_compile) 2>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); } &&
27635 { ac_try
='test -s conftest.$ac_objext'
27636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637 (eval $ac_try) 2>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); }; }; then
27641 ac_header_compiler
=yes
27643 echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.
$ac_ext >&5
27646 ac_header_compiler
=no
27648 rm -f conftest.
$ac_objext conftest.
$ac_ext
27649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27650 echo "${ECHO_T}$ac_header_compiler" >&6
27652 # Is the header present?
27653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27655 cat >conftest.
$ac_ext <<_ACEOF
27656 #line $LINENO "configure"
27659 cat confdefs.h
>>conftest.
$ac_ext
27660 cat >>conftest.
$ac_ext <<_ACEOF
27661 /* end confdefs.h. */
27662 #include <$ac_header>
27664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27667 grep -v '^ *+' conftest.er1
>conftest.err
27669 cat conftest.err
>&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } >/dev
/null
; then
27672 if test -s conftest.err
; then
27673 ac_cpp_err
=$ac_c_preproc_warn_flag
27680 if test -z "$ac_cpp_err"; then
27681 ac_header_preproc
=yes
27683 echo "$as_me: failed program was:" >&5
27684 sed 's/^/| /' conftest.
$ac_ext >&5
27686 ac_header_preproc
=no
27688 rm -f conftest.err conftest.
$ac_ext
27689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27690 echo "${ECHO_T}$ac_header_preproc" >&6
27692 # So? What about this header?
27693 case $ac_header_compiler:$ac_header_preproc in
27695 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27697 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27698 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27701 ## ------------------------------------ ##
27702 ## Report this to bug-autoconf@gnu.org. ##
27703 ## ------------------------------------ ##
27706 sed "s/^/$as_me: WARNING: /" >&2
27709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27717 ## ------------------------------------ ##
27718 ## Report this to bug-autoconf@gnu.org. ##
27719 ## ------------------------------------ ##
27722 sed "s/^/$as_me: WARNING: /" >&2
27725 echo "$as_me:$LINENO: checking for $ac_header" >&5
27726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27728 echo $ECHO_N "(cached) $ECHO_C" >&6
27730 eval "$as_ac_Header=$ac_header_preproc"
27732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27737 cat >>confdefs.h
<<_ACEOF
27738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27748 for ac_header
in wctype.h
27750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27752 echo "$as_me:$LINENO: checking for $ac_header" >&5
27753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27755 echo $ECHO_N "(cached) $ECHO_C" >&6
27757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27760 # Is the header compilable?
27761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27763 cat >conftest.
$ac_ext <<_ACEOF
27764 #line $LINENO "configure"
27767 cat confdefs.h
>>conftest.
$ac_ext
27768 cat >>conftest.
$ac_ext <<_ACEOF
27769 /* end confdefs.h. */
27770 $ac_includes_default
27771 #include <$ac_header>
27773 rm -f conftest.
$ac_objext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27775 (eval $ac_compile) 2>&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try
='test -s conftest.$ac_objext'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; }; then
27785 ac_header_compiler
=yes
27787 echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.
$ac_ext >&5
27790 ac_header_compiler
=no
27792 rm -f conftest.
$ac_objext conftest.
$ac_ext
27793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27794 echo "${ECHO_T}$ac_header_compiler" >&6
27796 # Is the header present?
27797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27799 cat >conftest.
$ac_ext <<_ACEOF
27800 #line $LINENO "configure"
27803 cat confdefs.h
>>conftest.
$ac_ext
27804 cat >>conftest.
$ac_ext <<_ACEOF
27805 /* end confdefs.h. */
27806 #include <$ac_header>
27808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27809 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
27811 grep -v '^ *+' conftest.er1
>conftest.err
27813 cat conftest.err
>&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); } >/dev
/null
; then
27816 if test -s conftest.err
; then
27817 ac_cpp_err
=$ac_c_preproc_warn_flag
27824 if test -z "$ac_cpp_err"; then
27825 ac_header_preproc
=yes
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.
$ac_ext >&5
27830 ac_header_preproc
=no
27832 rm -f conftest.err conftest.
$ac_ext
27833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27834 echo "${ECHO_T}$ac_header_preproc" >&6
27836 # So? What about this header?
27837 case $ac_header_compiler:$ac_header_preproc in
27839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27845 ## ------------------------------------ ##
27846 ## Report this to bug-autoconf@gnu.org. ##
27847 ## ------------------------------------ ##
27850 sed "s/^/$as_me: WARNING: /" >&2
27853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27861 ## ------------------------------------ ##
27862 ## Report this to bug-autoconf@gnu.org. ##
27863 ## ------------------------------------ ##
27866 sed "s/^/$as_me: WARNING: /" >&2
27869 echo "$as_me:$LINENO: checking for $ac_header" >&5
27870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27874 eval "$as_ac_Header=$ac_header_preproc"
27876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27881 cat >>confdefs.h
<<_ACEOF
27882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27884 ac_has_wctype_h
=yes
27892 # Only continue checking if the ISO C99 headers exist and support is on.
27893 if test x
"$ac_has_wchar_h" = xyes
&&
27894 test x
"$ac_has_wctype_h" = xyes
&&
27895 test x
"$enable_c_mbchar" != xno
; then
27897 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
27898 # numeric_limits can instantiate type_traits<wchar_t>
27899 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
27900 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
27901 cat >conftest.
$ac_ext <<_ACEOF
27902 #line $LINENO "configure"
27905 cat confdefs.h
>>conftest.
$ac_ext
27906 cat >>conftest.
$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27912 int i = WCHAR_MIN; int j = WCHAR_MAX;
27917 rm -f conftest.
$ac_objext
27918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27919 (eval $ac_compile) 2>&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } &&
27923 { ac_try
='test -s conftest.$ac_objext'
27924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27925 (eval $ac_try) 2>&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); }; }; then
27929 has_wchar_minmax
=yes
27931 echo "$as_me: failed program was:" >&5
27932 sed 's/^/| /' conftest.
$ac_ext >&5
27934 has_wchar_minmax
=no
27936 rm -f conftest.
$ac_objext conftest.
$ac_ext
27937 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
27938 echo "${ECHO_T}$has_wchar_minmax" >&6
27940 # Test wchar.h for WEOF, which is what we use to determine whether
27941 # to specialize for char_traits<wchar_t> or not.
27942 echo "$as_me:$LINENO: checking for WEOF" >&5
27943 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
27944 cat >conftest.
$ac_ext <<_ACEOF
27945 #line $LINENO "configure"
27948 cat confdefs.h
>>conftest.
$ac_ext
27949 cat >>conftest.
$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27953 #include <stddef.h>
27962 rm -f conftest.
$ac_objext
27963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27964 (eval $ac_compile) 2>&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } &&
27968 { ac_try
='test -s conftest.$ac_objext'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.
$ac_ext >&5
27981 rm -f conftest.
$ac_objext conftest.
$ac_ext
27982 echo "$as_me:$LINENO: result: $has_weof" >&5
27983 echo "${ECHO_T}$has_weof" >&6
27985 # Tests for wide character functions used in char_traits<wchar_t>.
27993 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
27995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27996 echo "$as_me:$LINENO: checking for $ac_func" >&5
27997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27998 if eval "test \"\${$as_ac_var+set}\" = set"; then
27999 echo $ECHO_N "(cached) $ECHO_C" >&6
28001 cat >conftest.
$ac_ext <<_ACEOF
28002 #line $LINENO "configure"
28005 cat confdefs.h
>>conftest.
$ac_ext
28006 cat >>conftest.
$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008 /* System header to define __stub macros and hopefully few prototypes,
28009 which can conflict with char $ac_func (); below.
28010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28011 <limits.h> exists even on freestanding compilers. */
28013 # include <limits.h>
28015 # include <assert.h>
28017 /* Override any gcc2 internal prototype to avoid an error. */
28022 /* We use char because int might match the return type of a gcc2
28023 builtin and then its argument prototype would still apply. */
28025 /* The GNU C library defines this for functions which it implements
28026 to always fail with ENOSYS. Some functions are actually named
28027 something starting with __ and the normal name is an alias. */
28028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28031 char (*f) () = $ac_func;
28040 return f != $ac_func;
28045 rm -f conftest.
$ac_objext conftest
$ac_exeext
28046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28047 (eval $ac_link) 2>&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } &&
28051 { ac_try
='test -s conftest$ac_exeext'
28052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28053 (eval $ac_try) 2>&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); }; }; then
28057 eval "$as_ac_var=yes"
28059 echo "$as_me: failed program was:" >&5
28060 sed 's/^/| /' conftest.
$ac_ext >&5
28062 eval "$as_ac_var=no"
28064 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28068 if test `eval echo '${'$as_ac_var'}'` = yes; then
28069 cat >>confdefs.h
<<_ACEOF
28070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28079 # Checks for names injected into std:: by the c_std headers.
28130 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
28131 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
28132 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28133 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
28134 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28135 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28137 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28138 echo "$as_me:$LINENO: checking for $ac_func" >&5
28139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28140 if eval "test \"\${$as_ac_var+set}\" = set"; then
28141 echo $ECHO_N "(cached) $ECHO_C" >&6
28143 cat >conftest.
$ac_ext <<_ACEOF
28144 #line $LINENO "configure"
28147 cat confdefs.h
>>conftest.
$ac_ext
28148 cat >>conftest.
$ac_ext <<_ACEOF
28149 /* end confdefs.h. */
28150 /* System header to define __stub macros and hopefully few prototypes,
28151 which can conflict with char $ac_func (); below.
28152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28153 <limits.h> exists even on freestanding compilers. */
28155 # include <limits.h>
28157 # include <assert.h>
28159 /* Override any gcc2 internal prototype to avoid an error. */
28164 /* We use char because int might match the return type of a gcc2
28165 builtin and then its argument prototype would still apply. */
28167 /* The GNU C library defines this for functions which it implements
28168 to always fail with ENOSYS. Some functions are actually named
28169 something starting with __ and the normal name is an alias. */
28170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28173 char (*f) () = $ac_func;
28182 return f != $ac_func;
28187 rm -f conftest.
$ac_objext conftest
$ac_exeext
28188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28189 (eval $ac_link) 2>&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); } &&
28193 { ac_try
='test -s conftest$ac_exeext'
28194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28195 (eval $ac_try) 2>&5
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); }; }; then
28199 eval "$as_ac_var=yes"
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.
$ac_ext >&5
28204 eval "$as_ac_var=no"
28206 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28210 if test `eval echo '${'$as_ac_var'}'` = yes; then
28211 cat >>confdefs.h
<<_ACEOF
28212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28221 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28222 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28223 if test x
"$has_weof" = xyes
&&
28224 test x
"$has_wchar_minmax" = xyes
&&
28225 test x
"$ac_wfuncs" = xyes
;
28227 ac_isoC99_wchar_t
=yes
28229 ac_isoC99_wchar_t
=no
28231 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28232 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28234 # Use iconv for wchar_t to char conversions. As such, check for
28235 # X/Open Portability Guide, version 2 features (XPG2).
28236 if test "${ac_cv_header_iconv_h+set}" = set; then
28237 echo "$as_me:$LINENO: checking for iconv.h" >&5
28238 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28239 if test "${ac_cv_header_iconv_h+set}" = set; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28243 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28245 # Is the header compilable?
28246 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28247 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28248 cat >conftest.
$ac_ext <<_ACEOF
28249 #line $LINENO "configure"
28252 cat confdefs.h
>>conftest.
$ac_ext
28253 cat >>conftest.
$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28255 $ac_includes_default
28258 rm -f conftest.
$ac_objext
28259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28260 (eval $ac_compile) 2>&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } &&
28264 { ac_try
='test -s conftest.$ac_objext'
28265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28266 (eval $ac_try) 2>&5
28268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28269 (exit $ac_status); }; }; then
28270 ac_header_compiler
=yes
28272 echo "$as_me: failed program was:" >&5
28273 sed 's/^/| /' conftest.
$ac_ext >&5
28275 ac_header_compiler
=no
28277 rm -f conftest.
$ac_objext conftest.
$ac_ext
28278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28279 echo "${ECHO_T}$ac_header_compiler" >&6
28281 # Is the header present?
28282 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28283 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28284 cat >conftest.
$ac_ext <<_ACEOF
28285 #line $LINENO "configure"
28288 cat confdefs.h
>>conftest.
$ac_ext
28289 cat >>conftest.
$ac_ext <<_ACEOF
28290 /* end confdefs.h. */
28293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28294 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28296 grep -v '^ *+' conftest.er1
>conftest.err
28298 cat conftest.err
>&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } >/dev
/null
; then
28301 if test -s conftest.err
; then
28302 ac_cpp_err
=$ac_c_preproc_warn_flag
28309 if test -z "$ac_cpp_err"; then
28310 ac_header_preproc
=yes
28312 echo "$as_me: failed program was:" >&5
28313 sed 's/^/| /' conftest.
$ac_ext >&5
28315 ac_header_preproc
=no
28317 rm -f conftest.err conftest.
$ac_ext
28318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28319 echo "${ECHO_T}$ac_header_preproc" >&6
28321 # So? What about this header?
28322 case $ac_header_compiler:$ac_header_preproc in
28324 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28325 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28326 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28327 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28330 ## ------------------------------------ ##
28331 ## Report this to bug-autoconf@gnu.org. ##
28332 ## ------------------------------------ ##
28335 sed "s/^/$as_me: WARNING: /" >&2
28338 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28339 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28340 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28341 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28342 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28343 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28346 ## ------------------------------------ ##
28347 ## Report this to bug-autoconf@gnu.org. ##
28348 ## ------------------------------------ ##
28351 sed "s/^/$as_me: WARNING: /" >&2
28354 echo "$as_me:$LINENO: checking for iconv.h" >&5
28355 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28356 if test "${ac_cv_header_iconv_h+set}" = set; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28359 ac_cv_header_iconv_h
=$ac_header_preproc
28361 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28362 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28365 if test $ac_cv_header_iconv_h = yes; then
28372 if test "${ac_cv_header_langinfo_h+set}" = set; then
28373 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28374 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28375 if test "${ac_cv_header_langinfo_h+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28379 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28381 # Is the header compilable?
28382 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28383 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28384 cat >conftest.
$ac_ext <<_ACEOF
28385 #line $LINENO "configure"
28388 cat confdefs.h
>>conftest.
$ac_ext
28389 cat >>conftest.
$ac_ext <<_ACEOF
28390 /* end confdefs.h. */
28391 $ac_includes_default
28392 #include <langinfo.h>
28394 rm -f conftest.
$ac_objext
28395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28396 (eval $ac_compile) 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } &&
28400 { ac_try
='test -s conftest.$ac_objext'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; }; then
28406 ac_header_compiler
=yes
28408 echo "$as_me: failed program was:" >&5
28409 sed 's/^/| /' conftest.
$ac_ext >&5
28411 ac_header_compiler
=no
28413 rm -f conftest.
$ac_objext conftest.
$ac_ext
28414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28415 echo "${ECHO_T}$ac_header_compiler" >&6
28417 # Is the header present?
28418 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28419 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28420 cat >conftest.
$ac_ext <<_ACEOF
28421 #line $LINENO "configure"
28424 cat confdefs.h
>>conftest.
$ac_ext
28425 cat >>conftest.
$ac_ext <<_ACEOF
28426 /* end confdefs.h. */
28427 #include <langinfo.h>
28429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28430 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28432 grep -v '^ *+' conftest.er1
>conftest.err
28434 cat conftest.err
>&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); } >/dev
/null
; then
28437 if test -s conftest.err
; then
28438 ac_cpp_err
=$ac_c_preproc_warn_flag
28445 if test -z "$ac_cpp_err"; then
28446 ac_header_preproc
=yes
28448 echo "$as_me: failed program was:" >&5
28449 sed 's/^/| /' conftest.
$ac_ext >&5
28451 ac_header_preproc
=no
28453 rm -f conftest.err conftest.
$ac_ext
28454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28455 echo "${ECHO_T}$ac_header_preproc" >&6
28457 # So? What about this header?
28458 case $ac_header_compiler:$ac_header_preproc in
28460 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28461 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28462 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28463 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28466 ## ------------------------------------ ##
28467 ## Report this to bug-autoconf@gnu.org. ##
28468 ## ------------------------------------ ##
28471 sed "s/^/$as_me: WARNING: /" >&2
28474 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28475 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28476 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28477 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28478 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28479 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28482 ## ------------------------------------ ##
28483 ## Report this to bug-autoconf@gnu.org. ##
28484 ## ------------------------------------ ##
28487 sed "s/^/$as_me: WARNING: /" >&2
28490 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28491 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28492 if test "${ac_cv_header_langinfo_h+set}" = set; then
28493 echo $ECHO_N "(cached) $ECHO_C" >&6
28495 ac_cv_header_langinfo_h
=$ac_header_preproc
28497 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28498 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28501 if test $ac_cv_header_langinfo_h = yes; then
28502 ac_has_langinfo_h
=yes
28504 ac_has_langinfo_h
=no
28509 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28510 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28511 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28512 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28513 echo $ECHO_N "(cached) $ECHO_C" >&6
28515 ac_check_lib_save_LIBS
=$LIBS
28516 LIBS
="-liconv $LIBS"
28517 cat >conftest.
$ac_ext <<_ACEOF
28518 #line $LINENO "configure"
28521 cat confdefs.h
>>conftest.
$ac_ext
28522 cat >>conftest.
$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28525 /* Override any gcc2 internal prototype to avoid an error. */
28529 /* We use char because int might match the return type of a gcc2
28530 builtin and then its argument prototype would still apply. */
28540 rm -f conftest.
$ac_objext conftest
$ac_exeext
28541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28542 (eval $ac_link) 2>&5
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); } &&
28546 { ac_try
='test -s conftest$ac_exeext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 ac_cv_lib_iconv_iconv
=yes
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.
$ac_ext >&5
28557 ac_cv_lib_iconv_iconv
=no
28559 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28560 LIBS
=$ac_check_lib_save_LIBS
28562 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28563 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28564 if test $ac_cv_lib_iconv_iconv = yes; then
28568 ac_save_LIBS
="$LIBS"
28569 LIBS
="$LIBS $libiconv"
28575 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
28577 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28578 echo "$as_me:$LINENO: checking for $ac_func" >&5
28579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28580 if eval "test \"\${$as_ac_var+set}\" = set"; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28583 cat >conftest.
$ac_ext <<_ACEOF
28584 #line $LINENO "configure"
28587 cat confdefs.h
>>conftest.
$ac_ext
28588 cat >>conftest.
$ac_ext <<_ACEOF
28589 /* end confdefs.h. */
28590 /* System header to define __stub macros and hopefully few prototypes,
28591 which can conflict with char $ac_func (); below.
28592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28593 <limits.h> exists even on freestanding compilers. */
28595 # include <limits.h>
28597 # include <assert.h>
28599 /* Override any gcc2 internal prototype to avoid an error. */
28604 /* We use char because int might match the return type of a gcc2
28605 builtin and then its argument prototype would still apply. */
28607 /* The GNU C library defines this for functions which it implements
28608 to always fail with ENOSYS. Some functions are actually named
28609 something starting with __ and the normal name is an alias. */
28610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28613 char (*f) () = $ac_func;
28622 return f != $ac_func;
28627 rm -f conftest.
$ac_objext conftest
$ac_exeext
28628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28629 (eval $ac_link) 2>&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); } &&
28633 { ac_try
='test -s conftest$ac_exeext'
28634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28635 (eval $ac_try) 2>&5
28637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638 (exit $ac_status); }; }; then
28639 eval "$as_ac_var=yes"
28641 echo "$as_me: failed program was:" >&5
28642 sed 's/^/| /' conftest.
$ac_ext >&5
28644 eval "$as_ac_var=no"
28646 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
28648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28650 if test `eval echo '${'$as_ac_var'}'` = yes; then
28651 cat >>confdefs.h
<<_ACEOF
28652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28661 LIBS
="$ac_save_LIBS"
28663 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
28664 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
28665 if test x
"$ac_has_iconv_h" = xyes
&&
28666 test x
"$ac_has_langinfo_h" = xyes
&&
28667 test x
"$ac_XPG2funcs" = xyes
;
28669 ac_XPG2_wchar_t
=yes
28673 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
28674 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
28676 # At the moment, only enable wchar_t specializations if all the
28677 # above support is present.
28678 if test x
"$ac_isoC99_wchar_t" = xyes
&&
28679 test x
"$ac_XPG2_wchar_t" = xyes
;
28681 cat >>confdefs.h
<<\_ACEOF
28682 #define _GLIBCXX_USE_WCHAR_T 1
28688 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
28689 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
28690 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
28691 echo "${ECHO_T}$enable_wchar_t" >&6
28693 cat >>confdefs.h
<<\_ACEOF
28694 #define HAVE_LC_MESSAGES 1
28697 cat >>confdefs.h
<<\_ACEOF
28698 #define HAVE_DRAND48 1
28701 cat >>confdefs.h
<<\_ACEOF
28702 #define HAVE_GETPAGESIZE 1
28705 cat >>confdefs.h
<<\_ACEOF
28706 #define HAVE_SETENV 1
28709 cat >>confdefs.h
<<\_ACEOF
28710 #define HAVE_SIGSETJMP 1
28713 cat >>confdefs.h
<<\_ACEOF
28714 #define HAVE_COPYSIGN 1
28717 cat >>confdefs.h
<<\_ACEOF
28718 #define HAVE_COPYSIGNF 1
28721 cat >>confdefs.h
<<\_ACEOF
28722 #define HAVE_FINITEF 1
28725 cat >>confdefs.h
<<\_ACEOF
28726 #define HAVE_FINITE 1
28729 cat >>confdefs.h
<<\_ACEOF
28730 #define HAVE_FREXPF 1
28733 cat >>confdefs.h
<<\_ACEOF
28734 #define HAVE_HYPOT 1
28737 cat >>confdefs.h
<<\_ACEOF
28738 #define HAVE_HYPOTF 1
28741 cat >>confdefs.h
<<\_ACEOF
28742 #define HAVE_ISINF 1
28745 cat >>confdefs.h
<<\_ACEOF
28746 #define HAVE_ISNAN 1
28749 cat >>confdefs.h
<<\_ACEOF
28750 #define HAVE_ISNANF 1
28754 cat >>confdefs.h
<<\_ACEOF
28755 #define HAVE_MMAP 1
28758 cat >>confdefs.h
<<\_ACEOF
28759 #define HAVE_ACOSF 1
28762 cat >>confdefs.h
<<\_ACEOF
28763 #define HAVE_ASINF 1
28766 cat >>confdefs.h
<<\_ACEOF
28767 #define HAVE_ATAN2F 1
28770 cat >>confdefs.h
<<\_ACEOF
28771 #define HAVE_ATANF 1
28774 cat >>confdefs.h
<<\_ACEOF
28775 #define HAVE_CEILF 1
28778 cat >>confdefs.h
<<\_ACEOF
28779 #define HAVE_COPYSIGN 1
28782 cat >>confdefs.h
<<\_ACEOF
28783 #define HAVE_COPYSIGNF 1
28786 cat >>confdefs.h
<<\_ACEOF
28787 #define HAVE_COSF 1
28790 cat >>confdefs.h
<<\_ACEOF
28791 #define HAVE_COSHF 1
28794 cat >>confdefs.h
<<\_ACEOF
28795 #define HAVE_EXPF 1
28798 cat >>confdefs.h
<<\_ACEOF
28799 #define HAVE_FABSF 1
28802 cat >>confdefs.h
<<\_ACEOF
28803 #define HAVE_FLOORF 1
28806 cat >>confdefs.h
<<\_ACEOF
28807 #define HAVE_FMODF 1
28810 cat >>confdefs.h
<<\_ACEOF
28811 #define HAVE_FREXPF 1
28814 cat >>confdefs.h
<<\_ACEOF
28815 #define HAVE_LDEXPF 1
28818 cat >>confdefs.h
<<\_ACEOF
28819 #define HAVE_LOG10F 1
28822 cat >>confdefs.h
<<\_ACEOF
28823 #define HAVE_LOGF 1
28826 cat >>confdefs.h
<<\_ACEOF
28827 #define HAVE_MODFF 1
28830 cat >>confdefs.h
<<\_ACEOF
28831 #define HAVE_POWF 1
28834 cat >>confdefs.h
<<\_ACEOF
28835 #define HAVE_SINF 1
28838 cat >>confdefs.h
<<\_ACEOF
28839 #define HAVE_SINHF 1
28842 cat >>confdefs.h
<<\_ACEOF
28843 #define HAVE_SQRTF 1
28846 cat >>confdefs.h
<<\_ACEOF
28847 #define HAVE_TANF 1
28850 cat >>confdefs.h
<<\_ACEOF
28851 #define HAVE_TANHF 1
28854 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
28855 cat >>confdefs.h
<<\_ACEOF
28856 #define HAVE_FINITEL 1
28859 cat >>confdefs.h
<<\_ACEOF
28860 #define HAVE_ISINFL 1
28863 cat >>confdefs.h
<<\_ACEOF
28864 #define HAVE_ISNANL 1
28870 #os_include_dir="os/hpux"
28883 for ac_header
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
28884 machine
/endian.h machine
/param.h sys
/machine.h sys
/types.h \
28885 fp.h locale.h float.h inttypes.h
28887 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28889 echo "$as_me:$LINENO: checking for $ac_header" >&5
28890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28892 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28897 # Is the header compilable?
28898 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28899 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28900 cat >conftest.
$ac_ext <<_ACEOF
28901 #line $LINENO "configure"
28904 cat confdefs.h
>>conftest.
$ac_ext
28905 cat >>conftest.
$ac_ext <<_ACEOF
28906 /* end confdefs.h. */
28907 $ac_includes_default
28908 #include <$ac_header>
28910 rm -f conftest.
$ac_objext
28911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28912 (eval $ac_compile) 2>&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); } &&
28916 { ac_try
='test -s conftest.$ac_objext'
28917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28918 (eval $ac_try) 2>&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); }; }; then
28922 ac_header_compiler
=yes
28924 echo "$as_me: failed program was:" >&5
28925 sed 's/^/| /' conftest.
$ac_ext >&5
28927 ac_header_compiler
=no
28929 rm -f conftest.
$ac_objext conftest.
$ac_ext
28930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28931 echo "${ECHO_T}$ac_header_compiler" >&6
28933 # Is the header present?
28934 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28936 cat >conftest.
$ac_ext <<_ACEOF
28937 #line $LINENO "configure"
28940 cat confdefs.h
>>conftest.
$ac_ext
28941 cat >>conftest.
$ac_ext <<_ACEOF
28942 /* end confdefs.h. */
28943 #include <$ac_header>
28945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28946 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
28948 grep -v '^ *+' conftest.er1
>conftest.err
28950 cat conftest.err
>&5
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); } >/dev
/null
; then
28953 if test -s conftest.err
; then
28954 ac_cpp_err
=$ac_c_preproc_warn_flag
28961 if test -z "$ac_cpp_err"; then
28962 ac_header_preproc
=yes
28964 echo "$as_me: failed program was:" >&5
28965 sed 's/^/| /' conftest.
$ac_ext >&5
28967 ac_header_preproc
=no
28969 rm -f conftest.err conftest.
$ac_ext
28970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28971 echo "${ECHO_T}$ac_header_preproc" >&6
28973 # So? What about this header?
28974 case $ac_header_compiler:$ac_header_preproc in
28976 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28982 ## ------------------------------------ ##
28983 ## Report this to bug-autoconf@gnu.org. ##
28984 ## ------------------------------------ ##
28987 sed "s/^/$as_me: WARNING: /" >&2
28990 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28991 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28992 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28993 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28998 ## ------------------------------------ ##
28999 ## Report this to bug-autoconf@gnu.org. ##
29000 ## ------------------------------------ ##
29003 sed "s/^/$as_me: WARNING: /" >&2
29006 echo "$as_me:$LINENO: checking for $ac_header" >&5
29007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29009 echo $ECHO_N "(cached) $ECHO_C" >&6
29011 eval "$as_ac_Header=$ac_header_preproc"
29013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29018 cat >>confdefs.h
<<_ACEOF
29019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29026 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
29029 # If we're not using GNU ld, then there's no point in even trying these
29030 # tests. Check for that first. We should have already tested for gld
29031 # by now (in libtool), but require it now just to be safe...
29032 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
29033 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
29037 # The name set by libtool depends on the version of libtool. Shame on us
29038 # for depending on an impl detail, but c'est la vie. Older versions used
29039 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29040 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29041 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29042 # set (hence we're using an older libtool), then set it.
29043 if test x
${with_gnu_ld+set} != xset
; then
29044 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
29045 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29048 with_gnu_ld
=$ac_cv_prog_gnu_ld
29052 # Start by getting the version number. I think the libtool test already
29053 # does some of this, but throws away the result.
29055 ldver
=`$LD --version 2>/dev/null | head -1 | \
29056 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
29058 glibcxx_gnu_ld_version
=`echo $ldver | \
29059 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29061 # Set --gc-sections.
29062 if test "$with_gnu_ld" = "notbroken"; then
29063 # GNU ld it is! Joy and bunny rabbits!
29065 # All these tests are for C++; save the language and the compiler flags.
29066 # Need to do this so that g++ won't try to link in libstdc++
29067 ac_test_CFLAGS
="${CFLAGS+set}"
29068 ac_save_CFLAGS
="$CFLAGS"
29069 CFLAGS
='-x c++ -Wl,--gc-sections'
29071 # Check for -Wl,--gc-sections
29072 # XXX This test is broken at the moment, as symbols required for linking
29073 # are now in libsupc++ (not built yet). In addition, this test has
29074 # cored on solaris in the past. In addition, --gc-sections doesn't
29075 # really work at the moment (keeps on discarding used sections, first
29076 # .eh_frame and now some of the glibc sections for iconv).
29077 # Bzzzzt. Thanks for playing, maybe next time.
29078 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
29079 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
29080 if test "$cross_compiling" = yes; then
29081 ac_sectionLDflags
=yes
29083 cat >conftest.
$ac_ext <<_ACEOF
29084 #line $LINENO "configure"
29087 cat confdefs.h
>>conftest.
$ac_ext
29088 cat >>conftest.
$ac_ext <<_ACEOF
29089 /* end confdefs.h. */
29099 rm -f conftest
$ac_exeext
29100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29101 (eval $ac_link) 2>&5
29103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29104 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29106 (eval $ac_try) 2>&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); }; }; then
29110 ac_sectionLDflags
=yes
29112 echo "$as_me: program exited with status $ac_status" >&5
29113 echo "$as_me: failed program was:" >&5
29114 sed 's/^/| /' conftest.
$ac_ext >&5
29116 ( exit $ac_status )
29117 ac_sectionLDflags
=no
29119 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
29121 if test "$ac_test_CFLAGS" = set; then
29122 CFLAGS
="$ac_save_CFLAGS"
29124 # this is the suspicious part
29127 if test "$ac_sectionLDflags" = "yes"; then
29128 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
29130 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
29131 echo "${ECHO_T}$ac_sectionLDflags" >&6
29134 # Set linker optimization flags.
29135 if test x
"$with_gnu_ld" = x
"yes"; then
29136 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
29144 echo "$as_me:$LINENO: checking for main in -lm" >&5
29145 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
29146 if test "${ac_cv_lib_m_main+set}" = set; then
29147 echo $ECHO_N "(cached) $ECHO_C" >&6
29149 ac_check_lib_save_LIBS
=$LIBS
29151 cat >conftest.
$ac_ext <<_ACEOF
29152 #line $LINENO "configure"
29155 cat confdefs.h
>>conftest.
$ac_ext
29156 cat >>conftest.
$ac_ext <<_ACEOF
29157 /* end confdefs.h. */
29168 rm -f conftest.
$ac_objext conftest
$ac_exeext
29169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29170 (eval $ac_link) 2>&5
29172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29173 (exit $ac_status); } &&
29174 { ac_try
='test -s conftest$ac_exeext'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; }; then
29180 ac_cv_lib_m_main
=yes
29182 echo "$as_me: failed program was:" >&5
29183 sed 's/^/| /' conftest.
$ac_ext >&5
29185 ac_cv_lib_m_main
=no
29187 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29188 LIBS
=$ac_check_lib_save_LIBS
29190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
29191 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
29192 if test $ac_cv_lib_m_main = yes; then
29193 cat >>confdefs.h
<<_ACEOF
29194 #define HAVE_LIBM 1
29203 for ac_func
in nan copysignf
29205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29206 echo "$as_me:$LINENO: checking for $ac_func" >&5
29207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29208 if eval "test \"\${$as_ac_var+set}\" = set"; then
29209 echo $ECHO_N "(cached) $ECHO_C" >&6
29211 cat >conftest.
$ac_ext <<_ACEOF
29212 #line $LINENO "configure"
29215 cat confdefs.h
>>conftest.
$ac_ext
29216 cat >>conftest.
$ac_ext <<_ACEOF
29217 /* end confdefs.h. */
29218 /* System header to define __stub macros and hopefully few prototypes,
29219 which can conflict with char $ac_func (); below.
29220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29221 <limits.h> exists even on freestanding compilers. */
29223 # include <limits.h>
29225 # include <assert.h>
29227 /* Override any gcc2 internal prototype to avoid an error. */
29232 /* We use char because int might match the return type of a gcc2
29233 builtin and then its argument prototype would still apply. */
29235 /* The GNU C library defines this for functions which it implements
29236 to always fail with ENOSYS. Some functions are actually named
29237 something starting with __ and the normal name is an alias. */
29238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29241 char (*f) () = $ac_func;
29250 return f != $ac_func;
29255 rm -f conftest.
$ac_objext conftest
$ac_exeext
29256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29257 (eval $ac_link) 2>&5
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); } &&
29261 { ac_try
='test -s conftest$ac_exeext'
29262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29263 (eval $ac_try) 2>&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); }; }; then
29267 eval "$as_ac_var=yes"
29269 echo "$as_me: failed program was:" >&5
29270 sed 's/^/| /' conftest.
$ac_ext >&5
29272 eval "$as_ac_var=no"
29274 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29278 if test `eval echo '${'$as_ac_var'}'` = yes; then
29279 cat >>confdefs.h
<<_ACEOF
29280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29284 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
29290 for ac_func
in __signbit
29292 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29293 echo "$as_me:$LINENO: checking for $ac_func" >&5
29294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29295 if eval "test \"\${$as_ac_var+set}\" = set"; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 cat >conftest.
$ac_ext <<_ACEOF
29299 #line $LINENO "configure"
29302 cat confdefs.h
>>conftest.
$ac_ext
29303 cat >>conftest.
$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305 /* System header to define __stub macros and hopefully few prototypes,
29306 which can conflict with char $ac_func (); below.
29307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29308 <limits.h> exists even on freestanding compilers. */
29310 # include <limits.h>
29312 # include <assert.h>
29314 /* Override any gcc2 internal prototype to avoid an error. */
29319 /* We use char because int might match the return type of a gcc2
29320 builtin and then its argument prototype would still apply. */
29322 /* The GNU C library defines this for functions which it implements
29323 to always fail with ENOSYS. Some functions are actually named
29324 something starting with __ and the normal name is an alias. */
29325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29328 char (*f) () = $ac_func;
29337 return f != $ac_func;
29342 rm -f conftest.
$ac_objext conftest
$ac_exeext
29343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29344 (eval $ac_link) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try
='test -s conftest$ac_exeext'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; }; then
29354 eval "$as_ac_var=yes"
29356 echo "$as_me: failed program was:" >&5
29357 sed 's/^/| /' conftest.
$ac_ext >&5
29359 eval "$as_ac_var=no"
29361 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29365 if test `eval echo '${'$as_ac_var'}'` = yes; then
29366 cat >>confdefs.h
<<_ACEOF
29367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29371 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
29376 for ac_func
in __signbitf
29378 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29379 echo "$as_me:$LINENO: checking for $ac_func" >&5
29380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29381 if eval "test \"\${$as_ac_var+set}\" = set"; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29384 cat >conftest.
$ac_ext <<_ACEOF
29385 #line $LINENO "configure"
29388 cat confdefs.h
>>conftest.
$ac_ext
29389 cat >>conftest.
$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29391 /* System header to define __stub macros and hopefully few prototypes,
29392 which can conflict with char $ac_func (); below.
29393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29394 <limits.h> exists even on freestanding compilers. */
29396 # include <limits.h>
29398 # include <assert.h>
29400 /* Override any gcc2 internal prototype to avoid an error. */
29405 /* We use char because int might match the return type of a gcc2
29406 builtin and then its argument prototype would still apply. */
29408 /* The GNU C library defines this for functions which it implements
29409 to always fail with ENOSYS. Some functions are actually named
29410 something starting with __ and the normal name is an alias. */
29411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29414 char (*f) () = $ac_func;
29423 return f != $ac_func;
29428 rm -f conftest.
$ac_objext conftest
$ac_exeext
29429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29430 (eval $ac_link) 2>&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); } &&
29434 { ac_try
='test -s conftest$ac_exeext'
29435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29436 (eval $ac_try) 2>&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); }; }; then
29440 eval "$as_ac_var=yes"
29442 echo "$as_me: failed program was:" >&5
29443 sed 's/^/| /' conftest.
$ac_ext >&5
29445 eval "$as_ac_var=no"
29447 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29451 if test `eval echo '${'$as_ac_var'}'` = yes; then
29452 cat >>confdefs.h
<<_ACEOF
29453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29457 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
29462 if test x
$ac_cv_func_copysignl = x
"yes"; then
29464 for ac_func
in __signbitl
29466 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29467 echo "$as_me:$LINENO: checking for $ac_func" >&5
29468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29469 if eval "test \"\${$as_ac_var+set}\" = set"; then
29470 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 cat >conftest.
$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29476 cat confdefs.h
>>conftest.
$ac_ext
29477 cat >>conftest.
$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 /* System header to define __stub macros and hopefully few prototypes,
29480 which can conflict with char $ac_func (); below.
29481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29482 <limits.h> exists even on freestanding compilers. */
29484 # include <limits.h>
29486 # include <assert.h>
29488 /* Override any gcc2 internal prototype to avoid an error. */
29493 /* We use char because int might match the return type of a gcc2
29494 builtin and then its argument prototype would still apply. */
29496 /* The GNU C library defines this for functions which it implements
29497 to always fail with ENOSYS. Some functions are actually named
29498 something starting with __ and the normal name is an alias. */
29499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29502 char (*f) () = $ac_func;
29511 return f != $ac_func;
29516 rm -f conftest.
$ac_objext conftest
$ac_exeext
29517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29518 (eval $ac_link) 2>&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } &&
29522 { ac_try
='test -s conftest$ac_exeext'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; }; then
29528 eval "$as_ac_var=yes"
29530 echo "$as_me: failed program was:" >&5
29531 sed 's/^/| /' conftest.
$ac_ext >&5
29533 eval "$as_ac_var=no"
29535 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
29537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29539 if test `eval echo '${'$as_ac_var'}'` = yes; then
29540 cat >>confdefs.h
<<_ACEOF
29541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29545 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
29551 # XXX Review this. Nothing uses it.
29552 if test -n "$LIBMATHOBJS"; then
29558 # Test wchar.h for mbstate_t, which is needed for char_traits and
29559 # others even if wchar_t support is not on.
29560 echo "$as_me:$LINENO: checking for mbstate_t" >&5
29561 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
29562 cat >conftest.
$ac_ext <<_ACEOF
29563 #line $LINENO "configure"
29566 cat confdefs.h
>>conftest.
$ac_ext
29567 cat >>conftest.
$ac_ext <<_ACEOF
29568 /* end confdefs.h. */
29573 mbstate_t teststate;
29578 rm -f conftest.
$ac_objext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29580 (eval $ac_compile) 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try
='test -s conftest.$ac_objext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29592 echo "$as_me: failed program was:" >&5
29593 sed 's/^/| /' conftest.
$ac_ext >&5
29597 rm -f conftest.
$ac_objext conftest.
$ac_ext
29598 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
29599 echo "${ECHO_T}$have_mbstate_t" >&6
29600 if test x
"$have_mbstate_t" = xyes
; then
29601 cat >>confdefs.h
<<\_ACEOF
29602 #define HAVE_MBSTATE_T 1
29607 # Sanity check for existence of ISO C99 headers for extended encoding.
29609 for ac_header
in wchar.h
29611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29613 echo "$as_me:$LINENO: checking for $ac_header" >&5
29614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29616 echo $ECHO_N "(cached) $ECHO_C" >&6
29618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29621 # Is the header compilable?
29622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29624 cat >conftest.
$ac_ext <<_ACEOF
29625 #line $LINENO "configure"
29628 cat confdefs.h
>>conftest.
$ac_ext
29629 cat >>conftest.
$ac_ext <<_ACEOF
29630 /* end confdefs.h. */
29631 $ac_includes_default
29632 #include <$ac_header>
29634 rm -f conftest.
$ac_objext
29635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29636 (eval $ac_compile) 2>&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); } &&
29640 { ac_try
='test -s conftest.$ac_objext'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; }; then
29646 ac_header_compiler
=yes
29648 echo "$as_me: failed program was:" >&5
29649 sed 's/^/| /' conftest.
$ac_ext >&5
29651 ac_header_compiler
=no
29653 rm -f conftest.
$ac_objext conftest.
$ac_ext
29654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29655 echo "${ECHO_T}$ac_header_compiler" >&6
29657 # Is the header present?
29658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29660 cat >conftest.
$ac_ext <<_ACEOF
29661 #line $LINENO "configure"
29664 cat confdefs.h
>>conftest.
$ac_ext
29665 cat >>conftest.
$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667 #include <$ac_header>
29669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29670 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29672 grep -v '^ *+' conftest.er1
>conftest.err
29674 cat conftest.err
>&5
29675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29676 (exit $ac_status); } >/dev
/null
; then
29677 if test -s conftest.err
; then
29678 ac_cpp_err
=$ac_c_preproc_warn_flag
29685 if test -z "$ac_cpp_err"; then
29686 ac_header_preproc
=yes
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.
$ac_ext >&5
29691 ac_header_preproc
=no
29693 rm -f conftest.err conftest.
$ac_ext
29694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29695 echo "${ECHO_T}$ac_header_preproc" >&6
29697 # So? What about this header?
29698 case $ac_header_compiler:$ac_header_preproc in
29700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29706 ## ------------------------------------ ##
29707 ## Report this to bug-autoconf@gnu.org. ##
29708 ## ------------------------------------ ##
29711 sed "s/^/$as_me: WARNING: /" >&2
29714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29719 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29722 ## ------------------------------------ ##
29723 ## Report this to bug-autoconf@gnu.org. ##
29724 ## ------------------------------------ ##
29727 sed "s/^/$as_me: WARNING: /" >&2
29730 echo "$as_me:$LINENO: checking for $ac_header" >&5
29731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29733 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 eval "$as_ac_Header=$ac_header_preproc"
29737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29742 cat >>confdefs.h
<<_ACEOF
29743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29753 for ac_header
in wctype.h
29755 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29757 echo "$as_me:$LINENO: checking for $ac_header" >&5
29758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29760 echo $ECHO_N "(cached) $ECHO_C" >&6
29762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29765 # Is the header compilable?
29766 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29768 cat >conftest.
$ac_ext <<_ACEOF
29769 #line $LINENO "configure"
29772 cat confdefs.h
>>conftest.
$ac_ext
29773 cat >>conftest.
$ac_ext <<_ACEOF
29774 /* end confdefs.h. */
29775 $ac_includes_default
29776 #include <$ac_header>
29778 rm -f conftest.
$ac_objext
29779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29780 (eval $ac_compile) 2>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try
='test -s conftest.$ac_objext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 ac_header_compiler
=yes
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 ac_header_compiler
=no
29797 rm -f conftest.
$ac_objext conftest.
$ac_ext
29798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29799 echo "${ECHO_T}$ac_header_compiler" >&6
29801 # Is the header present?
29802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29804 cat >conftest.
$ac_ext <<_ACEOF
29805 #line $LINENO "configure"
29808 cat confdefs.h
>>conftest.
$ac_ext
29809 cat >>conftest.
$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 #include <$ac_header>
29813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29814 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
29816 grep -v '^ *+' conftest.er1
>conftest.err
29818 cat conftest.err
>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); } >/dev
/null
; then
29821 if test -s conftest.err
; then
29822 ac_cpp_err
=$ac_c_preproc_warn_flag
29829 if test -z "$ac_cpp_err"; then
29830 ac_header_preproc
=yes
29832 echo "$as_me: failed program was:" >&5
29833 sed 's/^/| /' conftest.
$ac_ext >&5
29835 ac_header_preproc
=no
29837 rm -f conftest.err conftest.
$ac_ext
29838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29839 echo "${ECHO_T}$ac_header_preproc" >&6
29841 # So? What about this header?
29842 case $ac_header_compiler:$ac_header_preproc in
29844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29847 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29850 ## ------------------------------------ ##
29851 ## Report this to bug-autoconf@gnu.org. ##
29852 ## ------------------------------------ ##
29855 sed "s/^/$as_me: WARNING: /" >&2
29858 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29859 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29860 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29861 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29866 ## ------------------------------------ ##
29867 ## Report this to bug-autoconf@gnu.org. ##
29868 ## ------------------------------------ ##
29871 sed "s/^/$as_me: WARNING: /" >&2
29874 echo "$as_me:$LINENO: checking for $ac_header" >&5
29875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29877 echo $ECHO_N "(cached) $ECHO_C" >&6
29879 eval "$as_ac_Header=$ac_header_preproc"
29881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29886 cat >>confdefs.h
<<_ACEOF
29887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29889 ac_has_wctype_h
=yes
29897 # Only continue checking if the ISO C99 headers exist and support is on.
29898 if test x
"$ac_has_wchar_h" = xyes
&&
29899 test x
"$ac_has_wctype_h" = xyes
&&
29900 test x
"$enable_c_mbchar" != xno
; then
29902 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
29903 # numeric_limits can instantiate type_traits<wchar_t>
29904 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
29905 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
29906 cat >conftest.
$ac_ext <<_ACEOF
29907 #line $LINENO "configure"
29910 cat confdefs.h
>>conftest.
$ac_ext
29911 cat >>conftest.
$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29917 int i = WCHAR_MIN; int j = WCHAR_MAX;
29922 rm -f conftest.
$ac_objext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29924 (eval $ac_compile) 2>&5
29926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927 (exit $ac_status); } &&
29928 { ac_try
='test -s conftest.$ac_objext'
29929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29930 (eval $ac_try) 2>&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); }; }; then
29934 has_wchar_minmax
=yes
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.
$ac_ext >&5
29939 has_wchar_minmax
=no
29941 rm -f conftest.
$ac_objext conftest.
$ac_ext
29942 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
29943 echo "${ECHO_T}$has_wchar_minmax" >&6
29945 # Test wchar.h for WEOF, which is what we use to determine whether
29946 # to specialize for char_traits<wchar_t> or not.
29947 echo "$as_me:$LINENO: checking for WEOF" >&5
29948 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
29949 cat >conftest.
$ac_ext <<_ACEOF
29950 #line $LINENO "configure"
29953 cat confdefs.h
>>conftest.
$ac_ext
29954 cat >>conftest.
$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29958 #include <stddef.h>
29967 rm -f conftest.
$ac_objext
29968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29969 (eval $ac_compile) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); } &&
29973 { ac_try
='test -s conftest.$ac_objext'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; }; then
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.
$ac_ext >&5
29986 rm -f conftest.
$ac_objext conftest.
$ac_ext
29987 echo "$as_me:$LINENO: result: $has_weof" >&5
29988 echo "${ECHO_T}$has_weof" >&6
29990 # Tests for wide character functions used in char_traits<wchar_t>.
29998 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
30000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30001 echo "$as_me:$LINENO: checking for $ac_func" >&5
30002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30003 if eval "test \"\${$as_ac_var+set}\" = set"; then
30004 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 cat >conftest.
$ac_ext <<_ACEOF
30007 #line $LINENO "configure"
30010 cat confdefs.h
>>conftest.
$ac_ext
30011 cat >>conftest.
$ac_ext <<_ACEOF
30012 /* end confdefs.h. */
30013 /* System header to define __stub macros and hopefully few prototypes,
30014 which can conflict with char $ac_func (); below.
30015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30016 <limits.h> exists even on freestanding compilers. */
30018 # include <limits.h>
30020 # include <assert.h>
30022 /* Override any gcc2 internal prototype to avoid an error. */
30027 /* We use char because int might match the return type of a gcc2
30028 builtin and then its argument prototype would still apply. */
30030 /* The GNU C library defines this for functions which it implements
30031 to always fail with ENOSYS. Some functions are actually named
30032 something starting with __ and the normal name is an alias. */
30033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30036 char (*f) () = $ac_func;
30045 return f != $ac_func;
30050 rm -f conftest.
$ac_objext conftest
$ac_exeext
30051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30052 (eval $ac_link) 2>&5
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); } &&
30056 { ac_try
='test -s conftest$ac_exeext'
30057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30058 (eval $ac_try) 2>&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); }; }; then
30062 eval "$as_ac_var=yes"
30064 echo "$as_me: failed program was:" >&5
30065 sed 's/^/| /' conftest.
$ac_ext >&5
30067 eval "$as_ac_var=no"
30069 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30073 if test `eval echo '${'$as_ac_var'}'` = yes; then
30074 cat >>confdefs.h
<<_ACEOF
30075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30084 # Checks for names injected into std:: by the c_std headers.
30135 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
30136 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
30137 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
30138 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
30139 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
30140 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
30142 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30143 echo "$as_me:$LINENO: checking for $ac_func" >&5
30144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30145 if eval "test \"\${$as_ac_var+set}\" = set"; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 cat >conftest.
$ac_ext <<_ACEOF
30149 #line $LINENO "configure"
30152 cat confdefs.h
>>conftest.
$ac_ext
30153 cat >>conftest.
$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30155 /* System header to define __stub macros and hopefully few prototypes,
30156 which can conflict with char $ac_func (); below.
30157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30158 <limits.h> exists even on freestanding compilers. */
30160 # include <limits.h>
30162 # include <assert.h>
30164 /* Override any gcc2 internal prototype to avoid an error. */
30169 /* We use char because int might match the return type of a gcc2
30170 builtin and then its argument prototype would still apply. */
30172 /* The GNU C library defines this for functions which it implements
30173 to always fail with ENOSYS. Some functions are actually named
30174 something starting with __ and the normal name is an alias. */
30175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30178 char (*f) () = $ac_func;
30187 return f != $ac_func;
30192 rm -f conftest.
$ac_objext conftest
$ac_exeext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30194 (eval $ac_link) 2>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try
='test -s conftest$ac_exeext'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; }; then
30204 eval "$as_ac_var=yes"
30206 echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.
$ac_ext >&5
30209 eval "$as_ac_var=no"
30211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30215 if test `eval echo '${'$as_ac_var'}'` = yes; then
30216 cat >>confdefs.h
<<_ACEOF
30217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30226 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
30227 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
30228 if test x
"$has_weof" = xyes
&&
30229 test x
"$has_wchar_minmax" = xyes
&&
30230 test x
"$ac_wfuncs" = xyes
;
30232 ac_isoC99_wchar_t
=yes
30234 ac_isoC99_wchar_t
=no
30236 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
30237 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
30239 # Use iconv for wchar_t to char conversions. As such, check for
30240 # X/Open Portability Guide, version 2 features (XPG2).
30241 if test "${ac_cv_header_iconv_h+set}" = set; then
30242 echo "$as_me:$LINENO: checking for iconv.h" >&5
30243 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
30244 if test "${ac_cv_header_iconv_h+set}" = set; then
30245 echo $ECHO_N "(cached) $ECHO_C" >&6
30247 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
30248 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
30250 # Is the header compilable?
30251 echo "$as_me:$LINENO: checking iconv.h usability" >&5
30252 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
30253 cat >conftest.
$ac_ext <<_ACEOF
30254 #line $LINENO "configure"
30257 cat confdefs.h
>>conftest.
$ac_ext
30258 cat >>conftest.
$ac_ext <<_ACEOF
30259 /* end confdefs.h. */
30260 $ac_includes_default
30263 rm -f conftest.
$ac_objext
30264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30265 (eval $ac_compile) 2>&5
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); } &&
30269 { ac_try
='test -s conftest.$ac_objext'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; }; then
30275 ac_header_compiler
=yes
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.
$ac_ext >&5
30280 ac_header_compiler
=no
30282 rm -f conftest.
$ac_objext conftest.
$ac_ext
30283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30284 echo "${ECHO_T}$ac_header_compiler" >&6
30286 # Is the header present?
30287 echo "$as_me:$LINENO: checking iconv.h presence" >&5
30288 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
30289 cat >conftest.
$ac_ext <<_ACEOF
30290 #line $LINENO "configure"
30293 cat confdefs.h
>>conftest.
$ac_ext
30294 cat >>conftest.
$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30299 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30301 grep -v '^ *+' conftest.er1
>conftest.err
30303 cat conftest.err
>&5
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); } >/dev
/null
; then
30306 if test -s conftest.err
; then
30307 ac_cpp_err
=$ac_c_preproc_warn_flag
30314 if test -z "$ac_cpp_err"; then
30315 ac_header_preproc
=yes
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.
$ac_ext >&5
30320 ac_header_preproc
=no
30322 rm -f conftest.err conftest.
$ac_ext
30323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30324 echo "${ECHO_T}$ac_header_preproc" >&6
30326 # So? What about this header?
30327 case $ac_header_compiler:$ac_header_preproc in
30329 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
30330 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30331 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
30332 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
30335 ## ------------------------------------ ##
30336 ## Report this to bug-autoconf@gnu.org. ##
30337 ## ------------------------------------ ##
30340 sed "s/^/$as_me: WARNING: /" >&2
30343 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
30344 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
30345 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
30346 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
30347 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
30348 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
30351 ## ------------------------------------ ##
30352 ## Report this to bug-autoconf@gnu.org. ##
30353 ## ------------------------------------ ##
30356 sed "s/^/$as_me: WARNING: /" >&2
30359 echo "$as_me:$LINENO: checking for iconv.h" >&5
30360 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
30361 if test "${ac_cv_header_iconv_h+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 ac_cv_header_iconv_h
=$ac_header_preproc
30366 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
30367 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
30370 if test $ac_cv_header_iconv_h = yes; then
30377 if test "${ac_cv_header_langinfo_h+set}" = set; then
30378 echo "$as_me:$LINENO: checking for langinfo.h" >&5
30379 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
30380 if test "${ac_cv_header_langinfo_h+set}" = set; then
30381 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
30384 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
30386 # Is the header compilable?
30387 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
30388 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
30389 cat >conftest.
$ac_ext <<_ACEOF
30390 #line $LINENO "configure"
30393 cat confdefs.h
>>conftest.
$ac_ext
30394 cat >>conftest.
$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30396 $ac_includes_default
30397 #include <langinfo.h>
30399 rm -f conftest.
$ac_objext
30400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30401 (eval $ac_compile) 2>&5
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); } &&
30405 { ac_try
='test -s conftest.$ac_objext'
30406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30407 (eval $ac_try) 2>&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); }; }; then
30411 ac_header_compiler
=yes
30413 echo "$as_me: failed program was:" >&5
30414 sed 's/^/| /' conftest.
$ac_ext >&5
30416 ac_header_compiler
=no
30418 rm -f conftest.
$ac_objext conftest.
$ac_ext
30419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30420 echo "${ECHO_T}$ac_header_compiler" >&6
30422 # Is the header present?
30423 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
30424 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
30425 cat >conftest.
$ac_ext <<_ACEOF
30426 #line $LINENO "configure"
30429 cat confdefs.h
>>conftest.
$ac_ext
30430 cat >>conftest.
$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432 #include <langinfo.h>
30434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30435 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30437 grep -v '^ *+' conftest.er1
>conftest.err
30439 cat conftest.err
>&5
30440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30441 (exit $ac_status); } >/dev
/null
; then
30442 if test -s conftest.err
; then
30443 ac_cpp_err
=$ac_c_preproc_warn_flag
30450 if test -z "$ac_cpp_err"; then
30451 ac_header_preproc
=yes
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.
$ac_ext >&5
30456 ac_header_preproc
=no
30458 rm -f conftest.err conftest.
$ac_ext
30459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30460 echo "${ECHO_T}$ac_header_preproc" >&6
30462 # So? What about this header?
30463 case $ac_header_compiler:$ac_header_preproc in
30465 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
30466 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30467 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
30468 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
30471 ## ------------------------------------ ##
30472 ## Report this to bug-autoconf@gnu.org. ##
30473 ## ------------------------------------ ##
30476 sed "s/^/$as_me: WARNING: /" >&2
30479 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
30480 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
30481 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
30482 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
30483 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
30484 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
30487 ## ------------------------------------ ##
30488 ## Report this to bug-autoconf@gnu.org. ##
30489 ## ------------------------------------ ##
30492 sed "s/^/$as_me: WARNING: /" >&2
30495 echo "$as_me:$LINENO: checking for langinfo.h" >&5
30496 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
30497 if test "${ac_cv_header_langinfo_h+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30500 ac_cv_header_langinfo_h
=$ac_header_preproc
30502 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
30503 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
30506 if test $ac_cv_header_langinfo_h = yes; then
30507 ac_has_langinfo_h
=yes
30509 ac_has_langinfo_h
=no
30514 # Check for existence of libiconv.a providing XPG2 wchar_t support.
30515 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
30516 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
30517 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
30518 echo $ECHO_N "(cached) $ECHO_C" >&6
30520 ac_check_lib_save_LIBS
=$LIBS
30521 LIBS
="-liconv $LIBS"
30522 cat >conftest.
$ac_ext <<_ACEOF
30523 #line $LINENO "configure"
30526 cat confdefs.h
>>conftest.
$ac_ext
30527 cat >>conftest.
$ac_ext <<_ACEOF
30528 /* end confdefs.h. */
30530 /* Override any gcc2 internal prototype to avoid an error. */
30534 /* We use char because int might match the return type of a gcc2
30535 builtin and then its argument prototype would still apply. */
30545 rm -f conftest.
$ac_objext conftest
$ac_exeext
30546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30547 (eval $ac_link) 2>&5
30549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30550 (exit $ac_status); } &&
30551 { ac_try
='test -s conftest$ac_exeext'
30552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30553 (eval $ac_try) 2>&5
30555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30556 (exit $ac_status); }; }; then
30557 ac_cv_lib_iconv_iconv
=yes
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.
$ac_ext >&5
30562 ac_cv_lib_iconv_iconv
=no
30564 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30565 LIBS
=$ac_check_lib_save_LIBS
30567 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
30568 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
30569 if test $ac_cv_lib_iconv_iconv = yes; then
30573 ac_save_LIBS
="$LIBS"
30574 LIBS
="$LIBS $libiconv"
30580 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
30582 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30583 echo "$as_me:$LINENO: checking for $ac_func" >&5
30584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30585 if eval "test \"\${$as_ac_var+set}\" = set"; then
30586 echo $ECHO_N "(cached) $ECHO_C" >&6
30588 cat >conftest.
$ac_ext <<_ACEOF
30589 #line $LINENO "configure"
30592 cat confdefs.h
>>conftest.
$ac_ext
30593 cat >>conftest.
$ac_ext <<_ACEOF
30594 /* end confdefs.h. */
30595 /* System header to define __stub macros and hopefully few prototypes,
30596 which can conflict with char $ac_func (); below.
30597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30598 <limits.h> exists even on freestanding compilers. */
30600 # include <limits.h>
30602 # include <assert.h>
30604 /* Override any gcc2 internal prototype to avoid an error. */
30609 /* We use char because int might match the return type of a gcc2
30610 builtin and then its argument prototype would still apply. */
30612 /* The GNU C library defines this for functions which it implements
30613 to always fail with ENOSYS. Some functions are actually named
30614 something starting with __ and the normal name is an alias. */
30615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30618 char (*f) () = $ac_func;
30627 return f != $ac_func;
30632 rm -f conftest.
$ac_objext conftest
$ac_exeext
30633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30634 (eval $ac_link) 2>&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); } &&
30638 { ac_try
='test -s conftest$ac_exeext'
30639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30640 (eval $ac_try) 2>&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); }; }; then
30644 eval "$as_ac_var=yes"
30646 echo "$as_me: failed program was:" >&5
30647 sed 's/^/| /' conftest.
$ac_ext >&5
30649 eval "$as_ac_var=no"
30651 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
30653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30655 if test `eval echo '${'$as_ac_var'}'` = yes; then
30656 cat >>confdefs.h
<<_ACEOF
30657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30666 LIBS
="$ac_save_LIBS"
30668 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
30669 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
30670 if test x
"$ac_has_iconv_h" = xyes
&&
30671 test x
"$ac_has_langinfo_h" = xyes
&&
30672 test x
"$ac_XPG2funcs" = xyes
;
30674 ac_XPG2_wchar_t
=yes
30678 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
30679 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
30681 # At the moment, only enable wchar_t specializations if all the
30682 # above support is present.
30683 if test x
"$ac_isoC99_wchar_t" = xyes
&&
30684 test x
"$ac_XPG2_wchar_t" = xyes
;
30686 cat >>confdefs.h
<<\_ACEOF
30687 #define _GLIBCXX_USE_WCHAR_T 1
30693 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
30694 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
30695 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
30696 echo "${ECHO_T}$enable_wchar_t" >&6
30698 cat >>confdefs.h
<<\_ACEOF
30699 #define HAVE_COPYSIGN 1
30702 cat >>confdefs.h
<<\_ACEOF
30703 #define HAVE_COPYSIGNF 1
30706 cat >>confdefs.h
<<\_ACEOF
30707 #define HAVE_FREXPF 1
30710 cat >>confdefs.h
<<\_ACEOF
30711 #define HAVE_HYPOT 1
30716 cat >>confdefs.h
<<\_ACEOF
30717 #define HAVE_FINITE 1
30720 cat >>confdefs.h
<<\_ACEOF
30721 #define HAVE_FINITEF 1
30724 cat >>confdefs.h
<<\_ACEOF
30725 #define HAVE_ISINF 1
30728 cat >>confdefs.h
<<\_ACEOF
30729 #define HAVE_ISINFF 1
30732 cat >>confdefs.h
<<\_ACEOF
30733 #define HAVE_ISNAN 1
30736 cat >>confdefs.h
<<\_ACEOF
30737 #define HAVE_ISNANF 1
30744 #os_include_dir="os/gnu-linux"
30757 for ac_header
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
30758 machine
/endian.h machine
/param.h sys
/machine.h sys
/types.h \
30759 fp.h locale.h float.h inttypes.h
30761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30763 echo "$as_me:$LINENO: checking for $ac_header" >&5
30764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30771 # Is the header compilable?
30772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30774 cat >conftest.
$ac_ext <<_ACEOF
30775 #line $LINENO "configure"
30778 cat confdefs.h
>>conftest.
$ac_ext
30779 cat >>conftest.
$ac_ext <<_ACEOF
30780 /* end confdefs.h. */
30781 $ac_includes_default
30782 #include <$ac_header>
30784 rm -f conftest.
$ac_objext
30785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30786 (eval $ac_compile) 2>&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } &&
30790 { ac_try
='test -s conftest.$ac_objext'
30791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30792 (eval $ac_try) 2>&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); }; }; then
30796 ac_header_compiler
=yes
30798 echo "$as_me: failed program was:" >&5
30799 sed 's/^/| /' conftest.
$ac_ext >&5
30801 ac_header_compiler
=no
30803 rm -f conftest.
$ac_objext conftest.
$ac_ext
30804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30805 echo "${ECHO_T}$ac_header_compiler" >&6
30807 # Is the header present?
30808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30810 cat >conftest.
$ac_ext <<_ACEOF
30811 #line $LINENO "configure"
30814 cat confdefs.h
>>conftest.
$ac_ext
30815 cat >>conftest.
$ac_ext <<_ACEOF
30816 /* end confdefs.h. */
30817 #include <$ac_header>
30819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30820 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
30822 grep -v '^ *+' conftest.er1
>conftest.err
30824 cat conftest.err
>&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } >/dev
/null
; then
30827 if test -s conftest.err
; then
30828 ac_cpp_err
=$ac_c_preproc_warn_flag
30835 if test -z "$ac_cpp_err"; then
30836 ac_header_preproc
=yes
30838 echo "$as_me: failed program was:" >&5
30839 sed 's/^/| /' conftest.
$ac_ext >&5
30841 ac_header_preproc
=no
30843 rm -f conftest.err conftest.
$ac_ext
30844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30845 echo "${ECHO_T}$ac_header_preproc" >&6
30847 # So? What about this header?
30848 case $ac_header_compiler:$ac_header_preproc in
30850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30856 ## ------------------------------------ ##
30857 ## Report this to bug-autoconf@gnu.org. ##
30858 ## ------------------------------------ ##
30861 sed "s/^/$as_me: WARNING: /" >&2
30864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30872 ## ------------------------------------ ##
30873 ## Report this to bug-autoconf@gnu.org. ##
30874 ## ------------------------------------ ##
30877 sed "s/^/$as_me: WARNING: /" >&2
30880 echo "$as_me:$LINENO: checking for $ac_header" >&5
30881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30883 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 eval "$as_ac_Header=$ac_header_preproc"
30887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30892 cat >>confdefs.h
<<_ACEOF
30893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30900 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
30903 # If we're not using GNU ld, then there's no point in even trying these
30904 # tests. Check for that first. We should have already tested for gld
30905 # by now (in libtool), but require it now just to be safe...
30906 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
30907 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
30911 # The name set by libtool depends on the version of libtool. Shame on us
30912 # for depending on an impl detail, but c'est la vie. Older versions used
30913 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
30914 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
30915 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
30916 # set (hence we're using an older libtool), then set it.
30917 if test x
${with_gnu_ld+set} != xset
; then
30918 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
30919 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
30922 with_gnu_ld
=$ac_cv_prog_gnu_ld
30926 # Start by getting the version number. I think the libtool test already
30927 # does some of this, but throws away the result.
30929 ldver
=`$LD --version 2>/dev/null | head -1 | \
30930 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
30932 glibcxx_gnu_ld_version
=`echo $ldver | \
30933 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
30935 # Set --gc-sections.
30936 if test "$with_gnu_ld" = "notbroken"; then
30937 # GNU ld it is! Joy and bunny rabbits!
30939 # All these tests are for C++; save the language and the compiler flags.
30940 # Need to do this so that g++ won't try to link in libstdc++
30941 ac_test_CFLAGS
="${CFLAGS+set}"
30942 ac_save_CFLAGS
="$CFLAGS"
30943 CFLAGS
='-x c++ -Wl,--gc-sections'
30945 # Check for -Wl,--gc-sections
30946 # XXX This test is broken at the moment, as symbols required for linking
30947 # are now in libsupc++ (not built yet). In addition, this test has
30948 # cored on solaris in the past. In addition, --gc-sections doesn't
30949 # really work at the moment (keeps on discarding used sections, first
30950 # .eh_frame and now some of the glibc sections for iconv).
30951 # Bzzzzt. Thanks for playing, maybe next time.
30952 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
30953 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
30954 if test "$cross_compiling" = yes; then
30955 ac_sectionLDflags
=yes
30957 cat >conftest.
$ac_ext <<_ACEOF
30958 #line $LINENO "configure"
30961 cat confdefs.h
>>conftest.
$ac_ext
30962 cat >>conftest.
$ac_ext <<_ACEOF
30963 /* end confdefs.h. */
30973 rm -f conftest
$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975 (eval $ac_link) 2>&5
30977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30980 (eval $ac_try) 2>&5
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); }; }; then
30984 ac_sectionLDflags
=yes
30986 echo "$as_me: program exited with status $ac_status" >&5
30987 echo "$as_me: failed program was:" >&5
30988 sed 's/^/| /' conftest.
$ac_ext >&5
30990 ( exit $ac_status )
30991 ac_sectionLDflags
=no
30993 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30995 if test "$ac_test_CFLAGS" = set; then
30996 CFLAGS
="$ac_save_CFLAGS"
30998 # this is the suspicious part
31001 if test "$ac_sectionLDflags" = "yes"; then
31002 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
31004 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
31005 echo "${ECHO_T}$ac_sectionLDflags" >&6
31008 # Set linker optimization flags.
31009 if test x
"$with_gnu_ld" = x
"yes"; then
31010 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
31018 echo "$as_me:$LINENO: checking for main in -lm" >&5
31019 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
31020 if test "${ac_cv_lib_m_main+set}" = set; then
31021 echo $ECHO_N "(cached) $ECHO_C" >&6
31023 ac_check_lib_save_LIBS
=$LIBS
31025 cat >conftest.
$ac_ext <<_ACEOF
31026 #line $LINENO "configure"
31029 cat confdefs.h
>>conftest.
$ac_ext
31030 cat >>conftest.
$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31042 rm -f conftest.
$ac_objext conftest
$ac_exeext
31043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31044 (eval $ac_link) 2>&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); } &&
31048 { ac_try
='test -s conftest$ac_exeext'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; }; then
31054 ac_cv_lib_m_main
=yes
31056 echo "$as_me: failed program was:" >&5
31057 sed 's/^/| /' conftest.
$ac_ext >&5
31059 ac_cv_lib_m_main
=no
31061 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31062 LIBS
=$ac_check_lib_save_LIBS
31064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
31065 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
31066 if test $ac_cv_lib_m_main = yes; then
31067 cat >>confdefs.h
<<_ACEOF
31068 #define HAVE_LIBM 1
31077 for ac_func
in nan copysignf
31079 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31080 echo "$as_me:$LINENO: checking for $ac_func" >&5
31081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31082 if eval "test \"\${$as_ac_var+set}\" = set"; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 cat >conftest.
$ac_ext <<_ACEOF
31086 #line $LINENO "configure"
31089 cat confdefs.h
>>conftest.
$ac_ext
31090 cat >>conftest.
$ac_ext <<_ACEOF
31091 /* end confdefs.h. */
31092 /* System header to define __stub macros and hopefully few prototypes,
31093 which can conflict with char $ac_func (); below.
31094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31095 <limits.h> exists even on freestanding compilers. */
31097 # include <limits.h>
31099 # include <assert.h>
31101 /* Override any gcc2 internal prototype to avoid an error. */
31106 /* We use char because int might match the return type of a gcc2
31107 builtin and then its argument prototype would still apply. */
31109 /* The GNU C library defines this for functions which it implements
31110 to always fail with ENOSYS. Some functions are actually named
31111 something starting with __ and the normal name is an alias. */
31112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31115 char (*f) () = $ac_func;
31124 return f != $ac_func;
31129 rm -f conftest.
$ac_objext conftest
$ac_exeext
31130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31131 (eval $ac_link) 2>&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); } &&
31135 { ac_try
='test -s conftest$ac_exeext'
31136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137 (eval $ac_try) 2>&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; }; then
31141 eval "$as_ac_var=yes"
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.
$ac_ext >&5
31146 eval "$as_ac_var=no"
31148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31152 if test `eval echo '${'$as_ac_var'}'` = yes; then
31153 cat >>confdefs.h
<<_ACEOF
31154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31158 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
31164 for ac_func
in __signbit
31166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31167 echo "$as_me:$LINENO: checking for $ac_func" >&5
31168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31169 if eval "test \"\${$as_ac_var+set}\" = set"; then
31170 echo $ECHO_N "(cached) $ECHO_C" >&6
31172 cat >conftest.
$ac_ext <<_ACEOF
31173 #line $LINENO "configure"
31176 cat confdefs.h
>>conftest.
$ac_ext
31177 cat >>conftest.
$ac_ext <<_ACEOF
31178 /* end confdefs.h. */
31179 /* System header to define __stub macros and hopefully few prototypes,
31180 which can conflict with char $ac_func (); below.
31181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31182 <limits.h> exists even on freestanding compilers. */
31184 # include <limits.h>
31186 # include <assert.h>
31188 /* Override any gcc2 internal prototype to avoid an error. */
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31196 /* The GNU C library defines this for functions which it implements
31197 to always fail with ENOSYS. Some functions are actually named
31198 something starting with __ and the normal name is an alias. */
31199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31202 char (*f) () = $ac_func;
31211 return f != $ac_func;
31216 rm -f conftest.
$ac_objext conftest
$ac_exeext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31218 (eval $ac_link) 2>&5
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); } &&
31222 { ac_try
='test -s conftest$ac_exeext'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; }; then
31228 eval "$as_ac_var=yes"
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.
$ac_ext >&5
31233 eval "$as_ac_var=no"
31235 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31239 if test `eval echo '${'$as_ac_var'}'` = yes; then
31240 cat >>confdefs.h
<<_ACEOF
31241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31245 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
31250 for ac_func
in __signbitf
31252 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31253 echo "$as_me:$LINENO: checking for $ac_func" >&5
31254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31255 if eval "test \"\${$as_ac_var+set}\" = set"; then
31256 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 cat >conftest.
$ac_ext <<_ACEOF
31259 #line $LINENO "configure"
31262 cat confdefs.h
>>conftest.
$ac_ext
31263 cat >>conftest.
$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31265 /* System header to define __stub macros and hopefully few prototypes,
31266 which can conflict with char $ac_func (); below.
31267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31268 <limits.h> exists even on freestanding compilers. */
31270 # include <limits.h>
31272 # include <assert.h>
31274 /* Override any gcc2 internal prototype to avoid an error. */
31279 /* We use char because int might match the return type of a gcc2
31280 builtin and then its argument prototype would still apply. */
31282 /* The GNU C library defines this for functions which it implements
31283 to always fail with ENOSYS. Some functions are actually named
31284 something starting with __ and the normal name is an alias. */
31285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31288 char (*f) () = $ac_func;
31297 return f != $ac_func;
31302 rm -f conftest.
$ac_objext conftest
$ac_exeext
31303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31304 (eval $ac_link) 2>&5
31306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307 (exit $ac_status); } &&
31308 { ac_try
='test -s conftest$ac_exeext'
31309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31310 (eval $ac_try) 2>&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); }; }; then
31314 eval "$as_ac_var=yes"
31316 echo "$as_me: failed program was:" >&5
31317 sed 's/^/| /' conftest.
$ac_ext >&5
31319 eval "$as_ac_var=no"
31321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31325 if test `eval echo '${'$as_ac_var'}'` = yes; then
31326 cat >>confdefs.h
<<_ACEOF
31327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31331 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
31336 if test x
$ac_cv_func_copysignl = x
"yes"; then
31338 for ac_func
in __signbitl
31340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31341 echo "$as_me:$LINENO: checking for $ac_func" >&5
31342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31343 if eval "test \"\${$as_ac_var+set}\" = set"; then
31344 echo $ECHO_N "(cached) $ECHO_C" >&6
31346 cat >conftest.
$ac_ext <<_ACEOF
31347 #line $LINENO "configure"
31350 cat confdefs.h
>>conftest.
$ac_ext
31351 cat >>conftest.
$ac_ext <<_ACEOF
31352 /* end confdefs.h. */
31353 /* System header to define __stub macros and hopefully few prototypes,
31354 which can conflict with char $ac_func (); below.
31355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31356 <limits.h> exists even on freestanding compilers. */
31358 # include <limits.h>
31360 # include <assert.h>
31362 /* Override any gcc2 internal prototype to avoid an error. */
31367 /* We use char because int might match the return type of a gcc2
31368 builtin and then its argument prototype would still apply. */
31370 /* The GNU C library defines this for functions which it implements
31371 to always fail with ENOSYS. Some functions are actually named
31372 something starting with __ and the normal name is an alias. */
31373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31376 char (*f) () = $ac_func;
31385 return f != $ac_func;
31390 rm -f conftest.
$ac_objext conftest
$ac_exeext
31391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31392 (eval $ac_link) 2>&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } &&
31396 { ac_try
='test -s conftest$ac_exeext'
31397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31398 (eval $ac_try) 2>&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 (exit $ac_status); }; }; then
31402 eval "$as_ac_var=yes"
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.
$ac_ext >&5
31407 eval "$as_ac_var=no"
31409 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31413 if test `eval echo '${'$as_ac_var'}'` = yes; then
31414 cat >>confdefs.h
<<_ACEOF
31415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31419 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
31425 # XXX Review this. Nothing uses it.
31426 if test -n "$LIBMATHOBJS"; then
31432 # Test wchar.h for mbstate_t, which is needed for char_traits and
31433 # others even if wchar_t support is not on.
31434 echo "$as_me:$LINENO: checking for mbstate_t" >&5
31435 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
31436 cat >conftest.
$ac_ext <<_ACEOF
31437 #line $LINENO "configure"
31440 cat confdefs.h
>>conftest.
$ac_ext
31441 cat >>conftest.
$ac_ext <<_ACEOF
31442 /* end confdefs.h. */
31447 mbstate_t teststate;
31452 rm -f conftest.
$ac_objext
31453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31454 (eval $ac_compile) 2>&5
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try
='test -s conftest.$ac_objext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.
$ac_ext >&5
31471 rm -f conftest.
$ac_objext conftest.
$ac_ext
31472 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
31473 echo "${ECHO_T}$have_mbstate_t" >&6
31474 if test x
"$have_mbstate_t" = xyes
; then
31475 cat >>confdefs.h
<<\_ACEOF
31476 #define HAVE_MBSTATE_T 1
31481 # Sanity check for existence of ISO C99 headers for extended encoding.
31483 for ac_header
in wchar.h
31485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31487 echo "$as_me:$LINENO: checking for $ac_header" >&5
31488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31490 echo $ECHO_N "(cached) $ECHO_C" >&6
31492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31495 # Is the header compilable?
31496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31498 cat >conftest.
$ac_ext <<_ACEOF
31499 #line $LINENO "configure"
31502 cat confdefs.h
>>conftest.
$ac_ext
31503 cat >>conftest.
$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31505 $ac_includes_default
31506 #include <$ac_header>
31508 rm -f conftest.
$ac_objext
31509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31510 (eval $ac_compile) 2>&5
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); } &&
31514 { ac_try
='test -s conftest.$ac_objext'
31515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31516 (eval $ac_try) 2>&5
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); }; }; then
31520 ac_header_compiler
=yes
31522 echo "$as_me: failed program was:" >&5
31523 sed 's/^/| /' conftest.
$ac_ext >&5
31525 ac_header_compiler
=no
31527 rm -f conftest.
$ac_objext conftest.
$ac_ext
31528 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31529 echo "${ECHO_T}$ac_header_compiler" >&6
31531 # Is the header present?
31532 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31533 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31534 cat >conftest.
$ac_ext <<_ACEOF
31535 #line $LINENO "configure"
31538 cat confdefs.h
>>conftest.
$ac_ext
31539 cat >>conftest.
$ac_ext <<_ACEOF
31540 /* end confdefs.h. */
31541 #include <$ac_header>
31543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31544 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31546 grep -v '^ *+' conftest.er1
>conftest.err
31548 cat conftest.err
>&5
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); } >/dev
/null
; then
31551 if test -s conftest.err
; then
31552 ac_cpp_err
=$ac_c_preproc_warn_flag
31559 if test -z "$ac_cpp_err"; then
31560 ac_header_preproc
=yes
31562 echo "$as_me: failed program was:" >&5
31563 sed 's/^/| /' conftest.
$ac_ext >&5
31565 ac_header_preproc
=no
31567 rm -f conftest.err conftest.
$ac_ext
31568 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31569 echo "${ECHO_T}$ac_header_preproc" >&6
31571 # So? What about this header?
31572 case $ac_header_compiler:$ac_header_preproc in
31574 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31575 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31580 ## ------------------------------------ ##
31581 ## Report this to bug-autoconf@gnu.org. ##
31582 ## ------------------------------------ ##
31585 sed "s/^/$as_me: WARNING: /" >&2
31588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31596 ## ------------------------------------ ##
31597 ## Report this to bug-autoconf@gnu.org. ##
31598 ## ------------------------------------ ##
31601 sed "s/^/$as_me: WARNING: /" >&2
31604 echo "$as_me:$LINENO: checking for $ac_header" >&5
31605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31609 eval "$as_ac_Header=$ac_header_preproc"
31611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31616 cat >>confdefs.h
<<_ACEOF
31617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31627 for ac_header
in wctype.h
31629 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31631 echo "$as_me:$LINENO: checking for $ac_header" >&5
31632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31639 # Is the header compilable?
31640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31642 cat >conftest.
$ac_ext <<_ACEOF
31643 #line $LINENO "configure"
31646 cat confdefs.h
>>conftest.
$ac_ext
31647 cat >>conftest.
$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31649 $ac_includes_default
31650 #include <$ac_header>
31652 rm -f conftest.
$ac_objext
31653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31654 (eval $ac_compile) 2>&5
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); } &&
31658 { ac_try
='test -s conftest.$ac_objext'
31659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31660 (eval $ac_try) 2>&5
31662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31663 (exit $ac_status); }; }; then
31664 ac_header_compiler
=yes
31666 echo "$as_me: failed program was:" >&5
31667 sed 's/^/| /' conftest.
$ac_ext >&5
31669 ac_header_compiler
=no
31671 rm -f conftest.
$ac_objext conftest.
$ac_ext
31672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31673 echo "${ECHO_T}$ac_header_compiler" >&6
31675 # Is the header present?
31676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31678 cat >conftest.
$ac_ext <<_ACEOF
31679 #line $LINENO "configure"
31682 cat confdefs.h
>>conftest.
$ac_ext
31683 cat >>conftest.
$ac_ext <<_ACEOF
31684 /* end confdefs.h. */
31685 #include <$ac_header>
31687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31688 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
31690 grep -v '^ *+' conftest.er1
>conftest.err
31692 cat conftest.err
>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); } >/dev
/null
; then
31695 if test -s conftest.err
; then
31696 ac_cpp_err
=$ac_c_preproc_warn_flag
31703 if test -z "$ac_cpp_err"; then
31704 ac_header_preproc
=yes
31706 echo "$as_me: failed program was:" >&5
31707 sed 's/^/| /' conftest.
$ac_ext >&5
31709 ac_header_preproc
=no
31711 rm -f conftest.err conftest.
$ac_ext
31712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31713 echo "${ECHO_T}$ac_header_preproc" >&6
31715 # So? What about this header?
31716 case $ac_header_compiler:$ac_header_preproc in
31718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31724 ## ------------------------------------ ##
31725 ## Report this to bug-autoconf@gnu.org. ##
31726 ## ------------------------------------ ##
31729 sed "s/^/$as_me: WARNING: /" >&2
31732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31740 ## ------------------------------------ ##
31741 ## Report this to bug-autoconf@gnu.org. ##
31742 ## ------------------------------------ ##
31745 sed "s/^/$as_me: WARNING: /" >&2
31748 echo "$as_me:$LINENO: checking for $ac_header" >&5
31749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 eval "$as_ac_Header=$ac_header_preproc"
31755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31760 cat >>confdefs.h
<<_ACEOF
31761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31763 ac_has_wctype_h
=yes
31771 # Only continue checking if the ISO C99 headers exist and support is on.
31772 if test x
"$ac_has_wchar_h" = xyes
&&
31773 test x
"$ac_has_wctype_h" = xyes
&&
31774 test x
"$enable_c_mbchar" != xno
; then
31776 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
31777 # numeric_limits can instantiate type_traits<wchar_t>
31778 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
31779 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
31780 cat >conftest.
$ac_ext <<_ACEOF
31781 #line $LINENO "configure"
31784 cat confdefs.h
>>conftest.
$ac_ext
31785 cat >>conftest.
$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31791 int i = WCHAR_MIN; int j = WCHAR_MAX;
31796 rm -f conftest.
$ac_objext
31797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31798 (eval $ac_compile) 2>&5
31800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801 (exit $ac_status); } &&
31802 { ac_try
='test -s conftest.$ac_objext'
31803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31804 (eval $ac_try) 2>&5
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); }; }; then
31808 has_wchar_minmax
=yes
31810 echo "$as_me: failed program was:" >&5
31811 sed 's/^/| /' conftest.
$ac_ext >&5
31813 has_wchar_minmax
=no
31815 rm -f conftest.
$ac_objext conftest.
$ac_ext
31816 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
31817 echo "${ECHO_T}$has_wchar_minmax" >&6
31819 # Test wchar.h for WEOF, which is what we use to determine whether
31820 # to specialize for char_traits<wchar_t> or not.
31821 echo "$as_me:$LINENO: checking for WEOF" >&5
31822 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
31823 cat >conftest.
$ac_ext <<_ACEOF
31824 #line $LINENO "configure"
31827 cat confdefs.h
>>conftest.
$ac_ext
31828 cat >>conftest.
$ac_ext <<_ACEOF
31829 /* end confdefs.h. */
31832 #include <stddef.h>
31841 rm -f conftest.
$ac_objext
31842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31843 (eval $ac_compile) 2>&5
31845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31846 (exit $ac_status); } &&
31847 { ac_try
='test -s conftest.$ac_objext'
31848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31849 (eval $ac_try) 2>&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); }; }; then
31855 echo "$as_me: failed program was:" >&5
31856 sed 's/^/| /' conftest.
$ac_ext >&5
31860 rm -f conftest.
$ac_objext conftest.
$ac_ext
31861 echo "$as_me:$LINENO: result: $has_weof" >&5
31862 echo "${ECHO_T}$has_weof" >&6
31864 # Tests for wide character functions used in char_traits<wchar_t>.
31872 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
31874 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31875 echo "$as_me:$LINENO: checking for $ac_func" >&5
31876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31877 if eval "test \"\${$as_ac_var+set}\" = set"; then
31878 echo $ECHO_N "(cached) $ECHO_C" >&6
31880 cat >conftest.
$ac_ext <<_ACEOF
31881 #line $LINENO "configure"
31884 cat confdefs.h
>>conftest.
$ac_ext
31885 cat >>conftest.
$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31887 /* System header to define __stub macros and hopefully few prototypes,
31888 which can conflict with char $ac_func (); below.
31889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31890 <limits.h> exists even on freestanding compilers. */
31892 # include <limits.h>
31894 # include <assert.h>
31896 /* Override any gcc2 internal prototype to avoid an error. */
31901 /* We use char because int might match the return type of a gcc2
31902 builtin and then its argument prototype would still apply. */
31904 /* The GNU C library defines this for functions which it implements
31905 to always fail with ENOSYS. Some functions are actually named
31906 something starting with __ and the normal name is an alias. */
31907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31910 char (*f) () = $ac_func;
31919 return f != $ac_func;
31924 rm -f conftest.
$ac_objext conftest
$ac_exeext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31926 (eval $ac_link) 2>&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); } &&
31930 { ac_try
='test -s conftest$ac_exeext'
31931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932 (eval $ac_try) 2>&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); }; }; then
31936 eval "$as_ac_var=yes"
31938 echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.
$ac_ext >&5
31941 eval "$as_ac_var=no"
31943 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
31945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31947 if test `eval echo '${'$as_ac_var'}'` = yes; then
31948 cat >>confdefs.h
<<_ACEOF
31949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31958 # Checks for names injected into std:: by the c_std headers.
32009 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
32010 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
32011 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
32012 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
32013 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
32014 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
32016 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32017 echo "$as_me:$LINENO: checking for $ac_func" >&5
32018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32019 if eval "test \"\${$as_ac_var+set}\" = set"; then
32020 echo $ECHO_N "(cached) $ECHO_C" >&6
32022 cat >conftest.
$ac_ext <<_ACEOF
32023 #line $LINENO "configure"
32026 cat confdefs.h
>>conftest.
$ac_ext
32027 cat >>conftest.
$ac_ext <<_ACEOF
32028 /* end confdefs.h. */
32029 /* System header to define __stub macros and hopefully few prototypes,
32030 which can conflict with char $ac_func (); below.
32031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32032 <limits.h> exists even on freestanding compilers. */
32034 # include <limits.h>
32036 # include <assert.h>
32038 /* Override any gcc2 internal prototype to avoid an error. */
32043 /* We use char because int might match the return type of a gcc2
32044 builtin and then its argument prototype would still apply. */
32046 /* The GNU C library defines this for functions which it implements
32047 to always fail with ENOSYS. Some functions are actually named
32048 something starting with __ and the normal name is an alias. */
32049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32052 char (*f) () = $ac_func;
32061 return f != $ac_func;
32066 rm -f conftest.
$ac_objext conftest
$ac_exeext
32067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32068 (eval $ac_link) 2>&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); } &&
32072 { ac_try
='test -s conftest$ac_exeext'
32073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32074 (eval $ac_try) 2>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); }; }; then
32078 eval "$as_ac_var=yes"
32080 echo "$as_me: failed program was:" >&5
32081 sed 's/^/| /' conftest.
$ac_ext >&5
32083 eval "$as_ac_var=no"
32085 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32089 if test `eval echo '${'$as_ac_var'}'` = yes; then
32090 cat >>confdefs.h
<<_ACEOF
32091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32100 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
32101 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
32102 if test x
"$has_weof" = xyes
&&
32103 test x
"$has_wchar_minmax" = xyes
&&
32104 test x
"$ac_wfuncs" = xyes
;
32106 ac_isoC99_wchar_t
=yes
32108 ac_isoC99_wchar_t
=no
32110 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
32111 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
32113 # Use iconv for wchar_t to char conversions. As such, check for
32114 # X/Open Portability Guide, version 2 features (XPG2).
32115 if test "${ac_cv_header_iconv_h+set}" = set; then
32116 echo "$as_me:$LINENO: checking for iconv.h" >&5
32117 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
32118 if test "${ac_cv_header_iconv_h+set}" = set; then
32119 echo $ECHO_N "(cached) $ECHO_C" >&6
32121 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
32122 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
32124 # Is the header compilable?
32125 echo "$as_me:$LINENO: checking iconv.h usability" >&5
32126 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
32127 cat >conftest.
$ac_ext <<_ACEOF
32128 #line $LINENO "configure"
32131 cat confdefs.h
>>conftest.
$ac_ext
32132 cat >>conftest.
$ac_ext <<_ACEOF
32133 /* end confdefs.h. */
32134 $ac_includes_default
32137 rm -f conftest.
$ac_objext
32138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32139 (eval $ac_compile) 2>&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } &&
32143 { ac_try
='test -s conftest.$ac_objext'
32144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145 (eval $ac_try) 2>&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); }; }; then
32149 ac_header_compiler
=yes
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.
$ac_ext >&5
32154 ac_header_compiler
=no
32156 rm -f conftest.
$ac_objext conftest.
$ac_ext
32157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32158 echo "${ECHO_T}$ac_header_compiler" >&6
32160 # Is the header present?
32161 echo "$as_me:$LINENO: checking iconv.h presence" >&5
32162 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
32163 cat >conftest.
$ac_ext <<_ACEOF
32164 #line $LINENO "configure"
32167 cat confdefs.h
>>conftest.
$ac_ext
32168 cat >>conftest.
$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32173 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32175 grep -v '^ *+' conftest.er1
>conftest.err
32177 cat conftest.err
>&5
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); } >/dev
/null
; then
32180 if test -s conftest.err
; then
32181 ac_cpp_err
=$ac_c_preproc_warn_flag
32188 if test -z "$ac_cpp_err"; then
32189 ac_header_preproc
=yes
32191 echo "$as_me: failed program was:" >&5
32192 sed 's/^/| /' conftest.
$ac_ext >&5
32194 ac_header_preproc
=no
32196 rm -f conftest.err conftest.
$ac_ext
32197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32198 echo "${ECHO_T}$ac_header_preproc" >&6
32200 # So? What about this header?
32201 case $ac_header_compiler:$ac_header_preproc in
32203 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
32204 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32205 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
32206 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
32209 ## ------------------------------------ ##
32210 ## Report this to bug-autoconf@gnu.org. ##
32211 ## ------------------------------------ ##
32214 sed "s/^/$as_me: WARNING: /" >&2
32217 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
32218 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
32219 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
32220 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
32221 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
32222 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
32225 ## ------------------------------------ ##
32226 ## Report this to bug-autoconf@gnu.org. ##
32227 ## ------------------------------------ ##
32230 sed "s/^/$as_me: WARNING: /" >&2
32233 echo "$as_me:$LINENO: checking for iconv.h" >&5
32234 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
32235 if test "${ac_cv_header_iconv_h+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32238 ac_cv_header_iconv_h
=$ac_header_preproc
32240 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
32241 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
32244 if test $ac_cv_header_iconv_h = yes; then
32251 if test "${ac_cv_header_langinfo_h+set}" = set; then
32252 echo "$as_me:$LINENO: checking for langinfo.h" >&5
32253 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
32254 if test "${ac_cv_header_langinfo_h+set}" = set; then
32255 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
32258 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
32260 # Is the header compilable?
32261 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
32262 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
32263 cat >conftest.
$ac_ext <<_ACEOF
32264 #line $LINENO "configure"
32267 cat confdefs.h
>>conftest.
$ac_ext
32268 cat >>conftest.
$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270 $ac_includes_default
32271 #include <langinfo.h>
32273 rm -f conftest.
$ac_objext
32274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32275 (eval $ac_compile) 2>&5
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); } &&
32279 { ac_try
='test -s conftest.$ac_objext'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; }; then
32285 ac_header_compiler
=yes
32287 echo "$as_me: failed program was:" >&5
32288 sed 's/^/| /' conftest.
$ac_ext >&5
32290 ac_header_compiler
=no
32292 rm -f conftest.
$ac_objext conftest.
$ac_ext
32293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32294 echo "${ECHO_T}$ac_header_compiler" >&6
32296 # Is the header present?
32297 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
32298 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
32299 cat >conftest.
$ac_ext <<_ACEOF
32300 #line $LINENO "configure"
32303 cat confdefs.h
>>conftest.
$ac_ext
32304 cat >>conftest.
$ac_ext <<_ACEOF
32305 /* end confdefs.h. */
32306 #include <langinfo.h>
32308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32309 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32311 grep -v '^ *+' conftest.er1
>conftest.err
32313 cat conftest.err
>&5
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } >/dev
/null
; then
32316 if test -s conftest.err
; then
32317 ac_cpp_err
=$ac_c_preproc_warn_flag
32324 if test -z "$ac_cpp_err"; then
32325 ac_header_preproc
=yes
32327 echo "$as_me: failed program was:" >&5
32328 sed 's/^/| /' conftest.
$ac_ext >&5
32330 ac_header_preproc
=no
32332 rm -f conftest.err conftest.
$ac_ext
32333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32334 echo "${ECHO_T}$ac_header_preproc" >&6
32336 # So? What about this header?
32337 case $ac_header_compiler:$ac_header_preproc in
32339 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
32340 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32341 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
32342 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
32345 ## ------------------------------------ ##
32346 ## Report this to bug-autoconf@gnu.org. ##
32347 ## ------------------------------------ ##
32350 sed "s/^/$as_me: WARNING: /" >&2
32353 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
32354 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
32355 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
32356 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
32357 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
32358 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
32361 ## ------------------------------------ ##
32362 ## Report this to bug-autoconf@gnu.org. ##
32363 ## ------------------------------------ ##
32366 sed "s/^/$as_me: WARNING: /" >&2
32369 echo "$as_me:$LINENO: checking for langinfo.h" >&5
32370 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
32371 if test "${ac_cv_header_langinfo_h+set}" = set; then
32372 echo $ECHO_N "(cached) $ECHO_C" >&6
32374 ac_cv_header_langinfo_h
=$ac_header_preproc
32376 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
32377 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
32380 if test $ac_cv_header_langinfo_h = yes; then
32381 ac_has_langinfo_h
=yes
32383 ac_has_langinfo_h
=no
32388 # Check for existence of libiconv.a providing XPG2 wchar_t support.
32389 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
32390 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
32391 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 ac_check_lib_save_LIBS
=$LIBS
32395 LIBS
="-liconv $LIBS"
32396 cat >conftest.
$ac_ext <<_ACEOF
32397 #line $LINENO "configure"
32400 cat confdefs.h
>>conftest.
$ac_ext
32401 cat >>conftest.
$ac_ext <<_ACEOF
32402 /* end confdefs.h. */
32404 /* Override any gcc2 internal prototype to avoid an error. */
32408 /* We use char because int might match the return type of a gcc2
32409 builtin and then its argument prototype would still apply. */
32419 rm -f conftest.
$ac_objext conftest
$ac_exeext
32420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32421 (eval $ac_link) 2>&5
32423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32424 (exit $ac_status); } &&
32425 { ac_try
='test -s conftest$ac_exeext'
32426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32427 (eval $ac_try) 2>&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); }; }; then
32431 ac_cv_lib_iconv_iconv
=yes
32433 echo "$as_me: failed program was:" >&5
32434 sed 's/^/| /' conftest.
$ac_ext >&5
32436 ac_cv_lib_iconv_iconv
=no
32438 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32439 LIBS
=$ac_check_lib_save_LIBS
32441 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
32442 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
32443 if test $ac_cv_lib_iconv_iconv = yes; then
32447 ac_save_LIBS
="$LIBS"
32448 LIBS
="$LIBS $libiconv"
32454 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
32456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32457 echo "$as_me:$LINENO: checking for $ac_func" >&5
32458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32459 if eval "test \"\${$as_ac_var+set}\" = set"; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32462 cat >conftest.
$ac_ext <<_ACEOF
32463 #line $LINENO "configure"
32466 cat confdefs.h
>>conftest.
$ac_ext
32467 cat >>conftest.
$ac_ext <<_ACEOF
32468 /* end confdefs.h. */
32469 /* System header to define __stub macros and hopefully few prototypes,
32470 which can conflict with char $ac_func (); below.
32471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32472 <limits.h> exists even on freestanding compilers. */
32474 # include <limits.h>
32476 # include <assert.h>
32478 /* Override any gcc2 internal prototype to avoid an error. */
32483 /* We use char because int might match the return type of a gcc2
32484 builtin and then its argument prototype would still apply. */
32486 /* The GNU C library defines this for functions which it implements
32487 to always fail with ENOSYS. Some functions are actually named
32488 something starting with __ and the normal name is an alias. */
32489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32492 char (*f) () = $ac_func;
32501 return f != $ac_func;
32506 rm -f conftest.
$ac_objext conftest
$ac_exeext
32507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32508 (eval $ac_link) 2>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } &&
32512 { ac_try
='test -s conftest$ac_exeext'
32513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32514 (eval $ac_try) 2>&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); }; }; then
32518 eval "$as_ac_var=yes"
32520 echo "$as_me: failed program was:" >&5
32521 sed 's/^/| /' conftest.
$ac_ext >&5
32523 eval "$as_ac_var=no"
32525 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32529 if test `eval echo '${'$as_ac_var'}'` = yes; then
32530 cat >>confdefs.h
<<_ACEOF
32531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32540 LIBS
="$ac_save_LIBS"
32542 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
32543 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
32544 if test x
"$ac_has_iconv_h" = xyes
&&
32545 test x
"$ac_has_langinfo_h" = xyes
&&
32546 test x
"$ac_XPG2funcs" = xyes
;
32548 ac_XPG2_wchar_t
=yes
32552 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
32553 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
32555 # At the moment, only enable wchar_t specializations if all the
32556 # above support is present.
32557 if test x
"$ac_isoC99_wchar_t" = xyes
&&
32558 test x
"$ac_XPG2_wchar_t" = xyes
;
32560 cat >>confdefs.h
<<\_ACEOF
32561 #define _GLIBCXX_USE_WCHAR_T 1
32567 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
32568 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
32569 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
32570 echo "${ECHO_T}$enable_wchar_t" >&6
32572 cat >>confdefs.h
<<\_ACEOF
32573 #define HAVE_COPYSIGN 1
32576 cat >>confdefs.h
<<\_ACEOF
32577 #define HAVE_COPYSIGNF 1
32580 cat >>confdefs.h
<<\_ACEOF
32581 #define HAVE_FINITE 1
32584 cat >>confdefs.h
<<\_ACEOF
32585 #define HAVE_FINITEF 1
32588 cat >>confdefs.h
<<\_ACEOF
32589 #define HAVE_FREXPF 1
32592 cat >>confdefs.h
<<\_ACEOF
32593 #define HAVE_HYPOTF 1
32596 cat >>confdefs.h
<<\_ACEOF
32597 #define HAVE_ISINF 1
32600 cat >>confdefs.h
<<\_ACEOF
32601 #define HAVE_ISINFF 1
32604 cat >>confdefs.h
<<\_ACEOF
32605 #define HAVE_ISNAN 1
32608 cat >>confdefs.h
<<\_ACEOF
32609 #define HAVE_ISNANF 1
32612 cat >>confdefs.h
<<\_ACEOF
32613 #define HAVE_SINCOS 1
32616 cat >>confdefs.h
<<\_ACEOF
32617 #define HAVE_SINCOSF 1
32620 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
32621 cat >>confdefs.h
<<\_ACEOF
32622 #define HAVE_FINITEL 1
32625 cat >>confdefs.h
<<\_ACEOF
32626 #define HAVE_HYPOTL 1
32629 cat >>confdefs.h
<<\_ACEOF
32630 #define HAVE_ISINFL 1
32633 cat >>confdefs.h
<<\_ACEOF
32634 #define HAVE_ISNANL 1
32640 #os_include_dir="os/mingw32"
32644 for ac_header
in sys
/types.h locale.h float.h
32646 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32648 echo "$as_me:$LINENO: checking for $ac_header" >&5
32649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32651 echo $ECHO_N "(cached) $ECHO_C" >&6
32653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32656 # Is the header compilable?
32657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32659 cat >conftest.
$ac_ext <<_ACEOF
32660 #line $LINENO "configure"
32663 cat confdefs.h
>>conftest.
$ac_ext
32664 cat >>conftest.
$ac_ext <<_ACEOF
32665 /* end confdefs.h. */
32666 $ac_includes_default
32667 #include <$ac_header>
32669 rm -f conftest.
$ac_objext
32670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32671 (eval $ac_compile) 2>&5
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); } &&
32675 { ac_try
='test -s conftest.$ac_objext'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 ac_header_compiler
=yes
32683 echo "$as_me: failed program was:" >&5
32684 sed 's/^/| /' conftest.
$ac_ext >&5
32686 ac_header_compiler
=no
32688 rm -f conftest.
$ac_objext conftest.
$ac_ext
32689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32690 echo "${ECHO_T}$ac_header_compiler" >&6
32692 # Is the header present?
32693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32695 cat >conftest.
$ac_ext <<_ACEOF
32696 #line $LINENO "configure"
32699 cat confdefs.h
>>conftest.
$ac_ext
32700 cat >>conftest.
$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702 #include <$ac_header>
32704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32705 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
32707 grep -v '^ *+' conftest.er1
>conftest.err
32709 cat conftest.err
>&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } >/dev
/null
; then
32712 if test -s conftest.err
; then
32713 ac_cpp_err
=$ac_c_preproc_warn_flag
32720 if test -z "$ac_cpp_err"; then
32721 ac_header_preproc
=yes
32723 echo "$as_me: failed program was:" >&5
32724 sed 's/^/| /' conftest.
$ac_ext >&5
32726 ac_header_preproc
=no
32728 rm -f conftest.err conftest.
$ac_ext
32729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32730 echo "${ECHO_T}$ac_header_preproc" >&6
32732 # So? What about this header?
32733 case $ac_header_compiler:$ac_header_preproc in
32735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32741 ## ------------------------------------ ##
32742 ## Report this to bug-autoconf@gnu.org. ##
32743 ## ------------------------------------ ##
32746 sed "s/^/$as_me: WARNING: /" >&2
32749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32757 ## ------------------------------------ ##
32758 ## Report this to bug-autoconf@gnu.org. ##
32759 ## ------------------------------------ ##
32762 sed "s/^/$as_me: WARNING: /" >&2
32765 echo "$as_me:$LINENO: checking for $ac_header" >&5
32766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32768 echo $ECHO_N "(cached) $ECHO_C" >&6
32770 eval "$as_ac_Header=$ac_header_preproc"
32772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32777 cat >>confdefs.h
<<_ACEOF
32778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32786 # If we're not using GNU ld, then there's no point in even trying these
32787 # tests. Check for that first. We should have already tested for gld
32788 # by now (in libtool), but require it now just to be safe...
32789 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
32790 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
32794 # The name set by libtool depends on the version of libtool. Shame on us
32795 # for depending on an impl detail, but c'est la vie. Older versions used
32796 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32797 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32798 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32799 # set (hence we're using an older libtool), then set it.
32800 if test x
${with_gnu_ld+set} != xset
; then
32801 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
32802 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32805 with_gnu_ld
=$ac_cv_prog_gnu_ld
32809 # Start by getting the version number. I think the libtool test already
32810 # does some of this, but throws away the result.
32812 ldver
=`$LD --version 2>/dev/null | head -1 | \
32813 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
32815 glibcxx_gnu_ld_version
=`echo $ldver | \
32816 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32818 # Set --gc-sections.
32819 if test "$with_gnu_ld" = "notbroken"; then
32820 # GNU ld it is! Joy and bunny rabbits!
32822 # All these tests are for C++; save the language and the compiler flags.
32823 # Need to do this so that g++ won't try to link in libstdc++
32824 ac_test_CFLAGS
="${CFLAGS+set}"
32825 ac_save_CFLAGS
="$CFLAGS"
32826 CFLAGS
='-x c++ -Wl,--gc-sections'
32828 # Check for -Wl,--gc-sections
32829 # XXX This test is broken at the moment, as symbols required for linking
32830 # are now in libsupc++ (not built yet). In addition, this test has
32831 # cored on solaris in the past. In addition, --gc-sections doesn't
32832 # really work at the moment (keeps on discarding used sections, first
32833 # .eh_frame and now some of the glibc sections for iconv).
32834 # Bzzzzt. Thanks for playing, maybe next time.
32835 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
32836 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
32837 if test "$cross_compiling" = yes; then
32838 ac_sectionLDflags
=yes
32840 cat >conftest.
$ac_ext <<_ACEOF
32841 #line $LINENO "configure"
32844 cat confdefs.h
>>conftest.
$ac_ext
32845 cat >>conftest.
$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32856 rm -f conftest
$ac_exeext
32857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32858 (eval $ac_link) 2>&5
32860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; }; then
32867 ac_sectionLDflags
=yes
32869 echo "$as_me: program exited with status $ac_status" >&5
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.
$ac_ext >&5
32873 ( exit $ac_status )
32874 ac_sectionLDflags
=no
32876 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32878 if test "$ac_test_CFLAGS" = set; then
32879 CFLAGS
="$ac_save_CFLAGS"
32881 # this is the suspicious part
32884 if test "$ac_sectionLDflags" = "yes"; then
32885 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
32887 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
32888 echo "${ECHO_T}$ac_sectionLDflags" >&6
32891 # Set linker optimization flags.
32892 if test x
"$with_gnu_ld" = x
"yes"; then
32893 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
32901 echo "$as_me:$LINENO: checking for main in -lm" >&5
32902 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
32903 if test "${ac_cv_lib_m_main+set}" = set; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32906 ac_check_lib_save_LIBS
=$LIBS
32908 cat >conftest.
$ac_ext <<_ACEOF
32909 #line $LINENO "configure"
32912 cat confdefs.h
>>conftest.
$ac_ext
32913 cat >>conftest.
$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32925 rm -f conftest.
$ac_objext conftest
$ac_exeext
32926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32927 (eval $ac_link) 2>&5
32929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32930 (exit $ac_status); } &&
32931 { ac_try
='test -s conftest$ac_exeext'
32932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32933 (eval $ac_try) 2>&5
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; }; then
32937 ac_cv_lib_m_main
=yes
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.
$ac_ext >&5
32942 ac_cv_lib_m_main
=no
32944 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
32945 LIBS
=$ac_check_lib_save_LIBS
32947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
32948 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
32949 if test $ac_cv_lib_m_main = yes; then
32950 cat >>confdefs.h
<<_ACEOF
32951 #define HAVE_LIBM 1
32960 for ac_func
in nan copysignf
32962 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32963 echo "$as_me:$LINENO: checking for $ac_func" >&5
32964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32965 if eval "test \"\${$as_ac_var+set}\" = set"; then
32966 echo $ECHO_N "(cached) $ECHO_C" >&6
32968 cat >conftest.
$ac_ext <<_ACEOF
32969 #line $LINENO "configure"
32972 cat confdefs.h
>>conftest.
$ac_ext
32973 cat >>conftest.
$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32975 /* System header to define __stub macros and hopefully few prototypes,
32976 which can conflict with char $ac_func (); below.
32977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32978 <limits.h> exists even on freestanding compilers. */
32980 # include <limits.h>
32982 # include <assert.h>
32984 /* Override any gcc2 internal prototype to avoid an error. */
32989 /* We use char because int might match the return type of a gcc2
32990 builtin and then its argument prototype would still apply. */
32992 /* The GNU C library defines this for functions which it implements
32993 to always fail with ENOSYS. Some functions are actually named
32994 something starting with __ and the normal name is an alias. */
32995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32998 char (*f) () = $ac_func;
33007 return f != $ac_func;
33012 rm -f conftest.
$ac_objext conftest
$ac_exeext
33013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33014 (eval $ac_link) 2>&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } &&
33018 { ac_try
='test -s conftest$ac_exeext'
33019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33020 (eval $ac_try) 2>&5
33022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33023 (exit $ac_status); }; }; then
33024 eval "$as_ac_var=yes"
33026 echo "$as_me: failed program was:" >&5
33027 sed 's/^/| /' conftest.
$ac_ext >&5
33029 eval "$as_ac_var=no"
33031 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33035 if test `eval echo '${'$as_ac_var'}'` = yes; then
33036 cat >>confdefs.h
<<_ACEOF
33037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33041 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
33047 for ac_func
in __signbit
33049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33050 echo "$as_me:$LINENO: checking for $ac_func" >&5
33051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33052 if eval "test \"\${$as_ac_var+set}\" = set"; then
33053 echo $ECHO_N "(cached) $ECHO_C" >&6
33055 cat >conftest.
$ac_ext <<_ACEOF
33056 #line $LINENO "configure"
33059 cat confdefs.h
>>conftest.
$ac_ext
33060 cat >>conftest.
$ac_ext <<_ACEOF
33061 /* end confdefs.h. */
33062 /* System header to define __stub macros and hopefully few prototypes,
33063 which can conflict with char $ac_func (); below.
33064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33065 <limits.h> exists even on freestanding compilers. */
33067 # include <limits.h>
33069 # include <assert.h>
33071 /* Override any gcc2 internal prototype to avoid an error. */
33076 /* We use char because int might match the return type of a gcc2
33077 builtin and then its argument prototype would still apply. */
33079 /* The GNU C library defines this for functions which it implements
33080 to always fail with ENOSYS. Some functions are actually named
33081 something starting with __ and the normal name is an alias. */
33082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33085 char (*f) () = $ac_func;
33094 return f != $ac_func;
33099 rm -f conftest.
$ac_objext conftest
$ac_exeext
33100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33101 (eval $ac_link) 2>&5
33103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33104 (exit $ac_status); } &&
33105 { ac_try
='test -s conftest$ac_exeext'
33106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33107 (eval $ac_try) 2>&5
33109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33110 (exit $ac_status); }; }; then
33111 eval "$as_ac_var=yes"
33113 echo "$as_me: failed program was:" >&5
33114 sed 's/^/| /' conftest.
$ac_ext >&5
33116 eval "$as_ac_var=no"
33118 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33122 if test `eval echo '${'$as_ac_var'}'` = yes; then
33123 cat >>confdefs.h
<<_ACEOF
33124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33128 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
33133 for ac_func
in __signbitf
33135 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33136 echo "$as_me:$LINENO: checking for $ac_func" >&5
33137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33138 if eval "test \"\${$as_ac_var+set}\" = set"; then
33139 echo $ECHO_N "(cached) $ECHO_C" >&6
33141 cat >conftest.
$ac_ext <<_ACEOF
33142 #line $LINENO "configure"
33145 cat confdefs.h
>>conftest.
$ac_ext
33146 cat >>conftest.
$ac_ext <<_ACEOF
33147 /* end confdefs.h. */
33148 /* System header to define __stub macros and hopefully few prototypes,
33149 which can conflict with char $ac_func (); below.
33150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33151 <limits.h> exists even on freestanding compilers. */
33153 # include <limits.h>
33155 # include <assert.h>
33157 /* Override any gcc2 internal prototype to avoid an error. */
33162 /* We use char because int might match the return type of a gcc2
33163 builtin and then its argument prototype would still apply. */
33165 /* The GNU C library defines this for functions which it implements
33166 to always fail with ENOSYS. Some functions are actually named
33167 something starting with __ and the normal name is an alias. */
33168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33171 char (*f) () = $ac_func;
33180 return f != $ac_func;
33185 rm -f conftest.
$ac_objext conftest
$ac_exeext
33186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33187 (eval $ac_link) 2>&5
33189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33190 (exit $ac_status); } &&
33191 { ac_try
='test -s conftest$ac_exeext'
33192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33193 (eval $ac_try) 2>&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); }; }; then
33197 eval "$as_ac_var=yes"
33199 echo "$as_me: failed program was:" >&5
33200 sed 's/^/| /' conftest.
$ac_ext >&5
33202 eval "$as_ac_var=no"
33204 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33208 if test `eval echo '${'$as_ac_var'}'` = yes; then
33209 cat >>confdefs.h
<<_ACEOF
33210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33214 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
33219 if test x
$ac_cv_func_copysignl = x
"yes"; then
33221 for ac_func
in __signbitl
33223 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33224 echo "$as_me:$LINENO: checking for $ac_func" >&5
33225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33226 if eval "test \"\${$as_ac_var+set}\" = set"; then
33227 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 cat >conftest.
$ac_ext <<_ACEOF
33230 #line $LINENO "configure"
33233 cat confdefs.h
>>conftest.
$ac_ext
33234 cat >>conftest.
$ac_ext <<_ACEOF
33235 /* end confdefs.h. */
33236 /* System header to define __stub macros and hopefully few prototypes,
33237 which can conflict with char $ac_func (); below.
33238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33239 <limits.h> exists even on freestanding compilers. */
33241 # include <limits.h>
33243 # include <assert.h>
33245 /* Override any gcc2 internal prototype to avoid an error. */
33250 /* We use char because int might match the return type of a gcc2
33251 builtin and then its argument prototype would still apply. */
33253 /* The GNU C library defines this for functions which it implements
33254 to always fail with ENOSYS. Some functions are actually named
33255 something starting with __ and the normal name is an alias. */
33256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33259 char (*f) () = $ac_func;
33268 return f != $ac_func;
33273 rm -f conftest.
$ac_objext conftest
$ac_exeext
33274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33275 (eval $ac_link) 2>&5
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); } &&
33279 { ac_try
='test -s conftest$ac_exeext'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; }; then
33285 eval "$as_ac_var=yes"
33287 echo "$as_me: failed program was:" >&5
33288 sed 's/^/| /' conftest.
$ac_ext >&5
33290 eval "$as_ac_var=no"
33292 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33296 if test `eval echo '${'$as_ac_var'}'` = yes; then
33297 cat >>confdefs.h
<<_ACEOF
33298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33302 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
33308 # XXX Review this. Nothing uses it.
33309 if test -n "$LIBMATHOBJS"; then
33315 # Test wchar.h for mbstate_t, which is needed for char_traits and
33316 # others even if wchar_t support is not on.
33317 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33318 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33319 cat >conftest.
$ac_ext <<_ACEOF
33320 #line $LINENO "configure"
33323 cat confdefs.h
>>conftest.
$ac_ext
33324 cat >>conftest.
$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33330 mbstate_t teststate;
33335 rm -f conftest.
$ac_objext
33336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33337 (eval $ac_compile) 2>&5
33339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33340 (exit $ac_status); } &&
33341 { ac_try
='test -s conftest.$ac_objext'
33342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33343 (eval $ac_try) 2>&5
33345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33346 (exit $ac_status); }; }; then
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.
$ac_ext >&5
33354 rm -f conftest.
$ac_objext conftest.
$ac_ext
33355 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
33356 echo "${ECHO_T}$have_mbstate_t" >&6
33357 if test x
"$have_mbstate_t" = xyes
; then
33358 cat >>confdefs.h
<<\_ACEOF
33359 #define HAVE_MBSTATE_T 1
33364 # Sanity check for existence of ISO C99 headers for extended encoding.
33366 for ac_header
in wchar.h
33368 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33370 echo "$as_me:$LINENO: checking for $ac_header" >&5
33371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33378 # Is the header compilable?
33379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33381 cat >conftest.
$ac_ext <<_ACEOF
33382 #line $LINENO "configure"
33385 cat confdefs.h
>>conftest.
$ac_ext
33386 cat >>conftest.
$ac_ext <<_ACEOF
33387 /* end confdefs.h. */
33388 $ac_includes_default
33389 #include <$ac_header>
33391 rm -f conftest.
$ac_objext
33392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33393 (eval $ac_compile) 2>&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); } &&
33397 { ac_try
='test -s conftest.$ac_objext'
33398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33399 (eval $ac_try) 2>&5
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); }; }; then
33403 ac_header_compiler
=yes
33405 echo "$as_me: failed program was:" >&5
33406 sed 's/^/| /' conftest.
$ac_ext >&5
33408 ac_header_compiler
=no
33410 rm -f conftest.
$ac_objext conftest.
$ac_ext
33411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33412 echo "${ECHO_T}$ac_header_compiler" >&6
33414 # Is the header present?
33415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33417 cat >conftest.
$ac_ext <<_ACEOF
33418 #line $LINENO "configure"
33421 cat confdefs.h
>>conftest.
$ac_ext
33422 cat >>conftest.
$ac_ext <<_ACEOF
33423 /* end confdefs.h. */
33424 #include <$ac_header>
33426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33429 grep -v '^ *+' conftest.er1
>conftest.err
33431 cat conftest.err
>&5
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); } >/dev
/null
; then
33434 if test -s conftest.err
; then
33435 ac_cpp_err
=$ac_c_preproc_warn_flag
33442 if test -z "$ac_cpp_err"; then
33443 ac_header_preproc
=yes
33445 echo "$as_me: failed program was:" >&5
33446 sed 's/^/| /' conftest.
$ac_ext >&5
33448 ac_header_preproc
=no
33450 rm -f conftest.err conftest.
$ac_ext
33451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33452 echo "${ECHO_T}$ac_header_preproc" >&6
33454 # So? What about this header?
33455 case $ac_header_compiler:$ac_header_preproc in
33457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33463 ## ------------------------------------ ##
33464 ## Report this to bug-autoconf@gnu.org. ##
33465 ## ------------------------------------ ##
33468 sed "s/^/$as_me: WARNING: /" >&2
33471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33479 ## ------------------------------------ ##
33480 ## Report this to bug-autoconf@gnu.org. ##
33481 ## ------------------------------------ ##
33484 sed "s/^/$as_me: WARNING: /" >&2
33487 echo "$as_me:$LINENO: checking for $ac_header" >&5
33488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33492 eval "$as_ac_Header=$ac_header_preproc"
33494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33498 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33499 cat >>confdefs.h
<<_ACEOF
33500 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33510 for ac_header
in wctype.h
33512 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33514 echo "$as_me:$LINENO: checking for $ac_header" >&5
33515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33517 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33522 # Is the header compilable?
33523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
33524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33525 cat >conftest.
$ac_ext <<_ACEOF
33526 #line $LINENO "configure"
33529 cat confdefs.h
>>conftest.
$ac_ext
33530 cat >>conftest.
$ac_ext <<_ACEOF
33531 /* end confdefs.h. */
33532 $ac_includes_default
33533 #include <$ac_header>
33535 rm -f conftest.
$ac_objext
33536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33537 (eval $ac_compile) 2>&5
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); } &&
33541 { ac_try
='test -s conftest.$ac_objext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 ac_header_compiler
=yes
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.
$ac_ext >&5
33552 ac_header_compiler
=no
33554 rm -f conftest.
$ac_objext conftest.
$ac_ext
33555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33556 echo "${ECHO_T}$ac_header_compiler" >&6
33558 # Is the header present?
33559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
33560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33561 cat >conftest.
$ac_ext <<_ACEOF
33562 #line $LINENO "configure"
33565 cat confdefs.h
>>conftest.
$ac_ext
33566 cat >>conftest.
$ac_ext <<_ACEOF
33567 /* end confdefs.h. */
33568 #include <$ac_header>
33570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33571 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
33573 grep -v '^ *+' conftest.er1
>conftest.err
33575 cat conftest.err
>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } >/dev
/null
; then
33578 if test -s conftest.err
; then
33579 ac_cpp_err
=$ac_c_preproc_warn_flag
33586 if test -z "$ac_cpp_err"; then
33587 ac_header_preproc
=yes
33589 echo "$as_me: failed program was:" >&5
33590 sed 's/^/| /' conftest.
$ac_ext >&5
33592 ac_header_preproc
=no
33594 rm -f conftest.err conftest.
$ac_ext
33595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33596 echo "${ECHO_T}$ac_header_preproc" >&6
33598 # So? What about this header?
33599 case $ac_header_compiler:$ac_header_preproc in
33601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33607 ## ------------------------------------ ##
33608 ## Report this to bug-autoconf@gnu.org. ##
33609 ## ------------------------------------ ##
33612 sed "s/^/$as_me: WARNING: /" >&2
33615 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33616 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33617 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33618 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33623 ## ------------------------------------ ##
33624 ## Report this to bug-autoconf@gnu.org. ##
33625 ## ------------------------------------ ##
33628 sed "s/^/$as_me: WARNING: /" >&2
33631 echo "$as_me:$LINENO: checking for $ac_header" >&5
33632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33634 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 eval "$as_ac_Header=$ac_header_preproc"
33638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33642 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33643 cat >>confdefs.h
<<_ACEOF
33644 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33646 ac_has_wctype_h
=yes
33654 # Only continue checking if the ISO C99 headers exist and support is on.
33655 if test x
"$ac_has_wchar_h" = xyes
&&
33656 test x
"$ac_has_wctype_h" = xyes
&&
33657 test x
"$enable_c_mbchar" != xno
; then
33659 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
33660 # numeric_limits can instantiate type_traits<wchar_t>
33661 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
33662 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
33663 cat >conftest.
$ac_ext <<_ACEOF
33664 #line $LINENO "configure"
33667 cat confdefs.h
>>conftest.
$ac_ext
33668 cat >>conftest.
$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33674 int i = WCHAR_MIN; int j = WCHAR_MAX;
33679 rm -f conftest.
$ac_objext
33680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33681 (eval $ac_compile) 2>&5
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); } &&
33685 { ac_try
='test -s conftest.$ac_objext'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; }; then
33691 has_wchar_minmax
=yes
33693 echo "$as_me: failed program was:" >&5
33694 sed 's/^/| /' conftest.
$ac_ext >&5
33696 has_wchar_minmax
=no
33698 rm -f conftest.
$ac_objext conftest.
$ac_ext
33699 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
33700 echo "${ECHO_T}$has_wchar_minmax" >&6
33702 # Test wchar.h for WEOF, which is what we use to determine whether
33703 # to specialize for char_traits<wchar_t> or not.
33704 echo "$as_me:$LINENO: checking for WEOF" >&5
33705 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
33706 cat >conftest.
$ac_ext <<_ACEOF
33707 #line $LINENO "configure"
33710 cat confdefs.h
>>conftest.
$ac_ext
33711 cat >>conftest.
$ac_ext <<_ACEOF
33712 /* end confdefs.h. */
33715 #include <stddef.h>
33724 rm -f conftest.
$ac_objext
33725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33726 (eval $ac_compile) 2>&5
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); } &&
33730 { ac_try
='test -s conftest.$ac_objext'
33731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732 (eval $ac_try) 2>&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); }; }; then
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.
$ac_ext >&5
33743 rm -f conftest.
$ac_objext conftest.
$ac_ext
33744 echo "$as_me:$LINENO: result: $has_weof" >&5
33745 echo "${ECHO_T}$has_weof" >&6
33747 # Tests for wide character functions used in char_traits<wchar_t>.
33755 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
33757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33758 echo "$as_me:$LINENO: checking for $ac_func" >&5
33759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33760 if eval "test \"\${$as_ac_var+set}\" = set"; then
33761 echo $ECHO_N "(cached) $ECHO_C" >&6
33763 cat >conftest.
$ac_ext <<_ACEOF
33764 #line $LINENO "configure"
33767 cat confdefs.h
>>conftest.
$ac_ext
33768 cat >>conftest.
$ac_ext <<_ACEOF
33769 /* end confdefs.h. */
33770 /* System header to define __stub macros and hopefully few prototypes,
33771 which can conflict with char $ac_func (); below.
33772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33773 <limits.h> exists even on freestanding compilers. */
33775 # include <limits.h>
33777 # include <assert.h>
33779 /* Override any gcc2 internal prototype to avoid an error. */
33784 /* We use char because int might match the return type of a gcc2
33785 builtin and then its argument prototype would still apply. */
33787 /* The GNU C library defines this for functions which it implements
33788 to always fail with ENOSYS. Some functions are actually named
33789 something starting with __ and the normal name is an alias. */
33790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33793 char (*f) () = $ac_func;
33802 return f != $ac_func;
33807 rm -f conftest.
$ac_objext conftest
$ac_exeext
33808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33809 (eval $ac_link) 2>&5
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); } &&
33813 { ac_try
='test -s conftest$ac_exeext'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; }; then
33819 eval "$as_ac_var=yes"
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.
$ac_ext >&5
33824 eval "$as_ac_var=no"
33826 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33830 if test `eval echo '${'$as_ac_var'}'` = yes; then
33831 cat >>confdefs.h
<<_ACEOF
33832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33841 # Checks for names injected into std:: by the c_std headers.
33892 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
33893 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
33894 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
33895 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
33896 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
33897 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
33899 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33900 echo "$as_me:$LINENO: checking for $ac_func" >&5
33901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33902 if eval "test \"\${$as_ac_var+set}\" = set"; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 cat >conftest.
$ac_ext <<_ACEOF
33906 #line $LINENO "configure"
33909 cat confdefs.h
>>conftest.
$ac_ext
33910 cat >>conftest.
$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33912 /* System header to define __stub macros and hopefully few prototypes,
33913 which can conflict with char $ac_func (); below.
33914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33915 <limits.h> exists even on freestanding compilers. */
33917 # include <limits.h>
33919 # include <assert.h>
33921 /* Override any gcc2 internal prototype to avoid an error. */
33926 /* We use char because int might match the return type of a gcc2
33927 builtin and then its argument prototype would still apply. */
33929 /* The GNU C library defines this for functions which it implements
33930 to always fail with ENOSYS. Some functions are actually named
33931 something starting with __ and the normal name is an alias. */
33932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33935 char (*f) () = $ac_func;
33944 return f != $ac_func;
33949 rm -f conftest.
$ac_objext conftest
$ac_exeext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33951 (eval $ac_link) 2>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } &&
33955 { ac_try
='test -s conftest$ac_exeext'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; }; then
33961 eval "$as_ac_var=yes"
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.
$ac_ext >&5
33966 eval "$as_ac_var=no"
33968 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
33970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33972 if test `eval echo '${'$as_ac_var'}'` = yes; then
33973 cat >>confdefs.h
<<_ACEOF
33974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33983 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
33984 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
33985 if test x
"$has_weof" = xyes
&&
33986 test x
"$has_wchar_minmax" = xyes
&&
33987 test x
"$ac_wfuncs" = xyes
;
33989 ac_isoC99_wchar_t
=yes
33991 ac_isoC99_wchar_t
=no
33993 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
33994 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
33996 # Use iconv for wchar_t to char conversions. As such, check for
33997 # X/Open Portability Guide, version 2 features (XPG2).
33998 if test "${ac_cv_header_iconv_h+set}" = set; then
33999 echo "$as_me:$LINENO: checking for iconv.h" >&5
34000 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
34001 if test "${ac_cv_header_iconv_h+set}" = set; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
34005 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
34007 # Is the header compilable?
34008 echo "$as_me:$LINENO: checking iconv.h usability" >&5
34009 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
34010 cat >conftest.
$ac_ext <<_ACEOF
34011 #line $LINENO "configure"
34014 cat confdefs.h
>>conftest.
$ac_ext
34015 cat >>conftest.
$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017 $ac_includes_default
34020 rm -f conftest.
$ac_objext
34021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34022 (eval $ac_compile) 2>&5
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); } &&
34026 { ac_try
='test -s conftest.$ac_objext'
34027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34028 (eval $ac_try) 2>&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); }; }; then
34032 ac_header_compiler
=yes
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.
$ac_ext >&5
34037 ac_header_compiler
=no
34039 rm -f conftest.
$ac_objext conftest.
$ac_ext
34040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34041 echo "${ECHO_T}$ac_header_compiler" >&6
34043 # Is the header present?
34044 echo "$as_me:$LINENO: checking iconv.h presence" >&5
34045 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
34046 cat >conftest.
$ac_ext <<_ACEOF
34047 #line $LINENO "configure"
34050 cat confdefs.h
>>conftest.
$ac_ext
34051 cat >>conftest.
$ac_ext <<_ACEOF
34052 /* end confdefs.h. */
34055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34058 grep -v '^ *+' conftest.er1
>conftest.err
34060 cat conftest.err
>&5
34061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34062 (exit $ac_status); } >/dev
/null
; then
34063 if test -s conftest.err
; then
34064 ac_cpp_err
=$ac_c_preproc_warn_flag
34071 if test -z "$ac_cpp_err"; then
34072 ac_header_preproc
=yes
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.
$ac_ext >&5
34077 ac_header_preproc
=no
34079 rm -f conftest.err conftest.
$ac_ext
34080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34081 echo "${ECHO_T}$ac_header_preproc" >&6
34083 # So? What about this header?
34084 case $ac_header_compiler:$ac_header_preproc in
34086 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
34087 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34088 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
34089 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
34092 ## ------------------------------------ ##
34093 ## Report this to bug-autoconf@gnu.org. ##
34094 ## ------------------------------------ ##
34097 sed "s/^/$as_me: WARNING: /" >&2
34100 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
34101 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
34102 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
34103 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
34104 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
34105 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
34108 ## ------------------------------------ ##
34109 ## Report this to bug-autoconf@gnu.org. ##
34110 ## ------------------------------------ ##
34113 sed "s/^/$as_me: WARNING: /" >&2
34116 echo "$as_me:$LINENO: checking for iconv.h" >&5
34117 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
34118 if test "${ac_cv_header_iconv_h+set}" = set; then
34119 echo $ECHO_N "(cached) $ECHO_C" >&6
34121 ac_cv_header_iconv_h
=$ac_header_preproc
34123 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
34124 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
34127 if test $ac_cv_header_iconv_h = yes; then
34134 if test "${ac_cv_header_langinfo_h+set}" = set; then
34135 echo "$as_me:$LINENO: checking for langinfo.h" >&5
34136 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
34137 if test "${ac_cv_header_langinfo_h+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34140 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
34141 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
34143 # Is the header compilable?
34144 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
34145 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
34146 cat >conftest.
$ac_ext <<_ACEOF
34147 #line $LINENO "configure"
34150 cat confdefs.h
>>conftest.
$ac_ext
34151 cat >>conftest.
$ac_ext <<_ACEOF
34152 /* end confdefs.h. */
34153 $ac_includes_default
34154 #include <langinfo.h>
34156 rm -f conftest.
$ac_objext
34157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34158 (eval $ac_compile) 2>&5
34160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34161 (exit $ac_status); } &&
34162 { ac_try
='test -s conftest.$ac_objext'
34163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34164 (eval $ac_try) 2>&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); }; }; then
34168 ac_header_compiler
=yes
34170 echo "$as_me: failed program was:" >&5
34171 sed 's/^/| /' conftest.
$ac_ext >&5
34173 ac_header_compiler
=no
34175 rm -f conftest.
$ac_objext conftest.
$ac_ext
34176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34177 echo "${ECHO_T}$ac_header_compiler" >&6
34179 # Is the header present?
34180 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
34181 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
34182 cat >conftest.
$ac_ext <<_ACEOF
34183 #line $LINENO "configure"
34186 cat confdefs.h
>>conftest.
$ac_ext
34187 cat >>conftest.
$ac_ext <<_ACEOF
34188 /* end confdefs.h. */
34189 #include <langinfo.h>
34191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34192 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34194 grep -v '^ *+' conftest.er1
>conftest.err
34196 cat conftest.err
>&5
34197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198 (exit $ac_status); } >/dev
/null
; then
34199 if test -s conftest.err
; then
34200 ac_cpp_err
=$ac_c_preproc_warn_flag
34207 if test -z "$ac_cpp_err"; then
34208 ac_header_preproc
=yes
34210 echo "$as_me: failed program was:" >&5
34211 sed 's/^/| /' conftest.
$ac_ext >&5
34213 ac_header_preproc
=no
34215 rm -f conftest.err conftest.
$ac_ext
34216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34217 echo "${ECHO_T}$ac_header_preproc" >&6
34219 # So? What about this header?
34220 case $ac_header_compiler:$ac_header_preproc in
34222 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
34223 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34224 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
34225 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
34228 ## ------------------------------------ ##
34229 ## Report this to bug-autoconf@gnu.org. ##
34230 ## ------------------------------------ ##
34233 sed "s/^/$as_me: WARNING: /" >&2
34236 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
34237 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
34238 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
34239 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
34240 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
34241 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
34244 ## ------------------------------------ ##
34245 ## Report this to bug-autoconf@gnu.org. ##
34246 ## ------------------------------------ ##
34249 sed "s/^/$as_me: WARNING: /" >&2
34252 echo "$as_me:$LINENO: checking for langinfo.h" >&5
34253 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
34254 if test "${ac_cv_header_langinfo_h+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 ac_cv_header_langinfo_h
=$ac_header_preproc
34259 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
34260 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
34263 if test $ac_cv_header_langinfo_h = yes; then
34264 ac_has_langinfo_h
=yes
34266 ac_has_langinfo_h
=no
34271 # Check for existence of libiconv.a providing XPG2 wchar_t support.
34272 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
34273 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
34274 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 ac_check_lib_save_LIBS
=$LIBS
34278 LIBS
="-liconv $LIBS"
34279 cat >conftest.
$ac_ext <<_ACEOF
34280 #line $LINENO "configure"
34283 cat confdefs.h
>>conftest.
$ac_ext
34284 cat >>conftest.
$ac_ext <<_ACEOF
34285 /* end confdefs.h. */
34287 /* Override any gcc2 internal prototype to avoid an error. */
34291 /* We use char because int might match the return type of a gcc2
34292 builtin and then its argument prototype would still apply. */
34302 rm -f conftest.
$ac_objext conftest
$ac_exeext
34303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34304 (eval $ac_link) 2>&5
34306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34307 (exit $ac_status); } &&
34308 { ac_try
='test -s conftest$ac_exeext'
34309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34310 (eval $ac_try) 2>&5
34312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34313 (exit $ac_status); }; }; then
34314 ac_cv_lib_iconv_iconv
=yes
34316 echo "$as_me: failed program was:" >&5
34317 sed 's/^/| /' conftest.
$ac_ext >&5
34319 ac_cv_lib_iconv_iconv
=no
34321 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34322 LIBS
=$ac_check_lib_save_LIBS
34324 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
34325 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
34326 if test $ac_cv_lib_iconv_iconv = yes; then
34330 ac_save_LIBS
="$LIBS"
34331 LIBS
="$LIBS $libiconv"
34337 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
34339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34340 echo "$as_me:$LINENO: checking for $ac_func" >&5
34341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34342 if eval "test \"\${$as_ac_var+set}\" = set"; then
34343 echo $ECHO_N "(cached) $ECHO_C" >&6
34345 cat >conftest.
$ac_ext <<_ACEOF
34346 #line $LINENO "configure"
34349 cat confdefs.h
>>conftest.
$ac_ext
34350 cat >>conftest.
$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34352 /* System header to define __stub macros and hopefully few prototypes,
34353 which can conflict with char $ac_func (); below.
34354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34355 <limits.h> exists even on freestanding compilers. */
34357 # include <limits.h>
34359 # include <assert.h>
34361 /* Override any gcc2 internal prototype to avoid an error. */
34366 /* We use char because int might match the return type of a gcc2
34367 builtin and then its argument prototype would still apply. */
34369 /* The GNU C library defines this for functions which it implements
34370 to always fail with ENOSYS. Some functions are actually named
34371 something starting with __ and the normal name is an alias. */
34372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34375 char (*f) () = $ac_func;
34384 return f != $ac_func;
34389 rm -f conftest.
$ac_objext conftest
$ac_exeext
34390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34391 (eval $ac_link) 2>&5
34393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34394 (exit $ac_status); } &&
34395 { ac_try
='test -s conftest$ac_exeext'
34396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34397 (eval $ac_try) 2>&5
34399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34400 (exit $ac_status); }; }; then
34401 eval "$as_ac_var=yes"
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.
$ac_ext >&5
34406 eval "$as_ac_var=no"
34408 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34412 if test `eval echo '${'$as_ac_var'}'` = yes; then
34413 cat >>confdefs.h
<<_ACEOF
34414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34423 LIBS
="$ac_save_LIBS"
34425 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
34426 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
34427 if test x
"$ac_has_iconv_h" = xyes
&&
34428 test x
"$ac_has_langinfo_h" = xyes
&&
34429 test x
"$ac_XPG2funcs" = xyes
;
34431 ac_XPG2_wchar_t
=yes
34435 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
34436 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
34438 # At the moment, only enable wchar_t specializations if all the
34439 # above support is present.
34440 if test x
"$ac_isoC99_wchar_t" = xyes
&&
34441 test x
"$ac_XPG2_wchar_t" = xyes
;
34443 cat >>confdefs.h
<<\_ACEOF
34444 #define _GLIBCXX_USE_WCHAR_T 1
34450 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
34451 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
34452 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
34453 echo "${ECHO_T}$enable_wchar_t" >&6
34457 #os_include_dir="os/bsd/netbsd"
34470 for ac_header
in nan.h ieeefp.h endian.h sys
/isa_defs.h \
34471 machine
/endian.h machine
/param.h sys
/machine.h sys
/types.h \
34472 fp.h locale.h float.h inttypes.h
34474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34476 echo "$as_me:$LINENO: checking for $ac_header" >&5
34477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34484 # Is the header compilable?
34485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34487 cat >conftest.
$ac_ext <<_ACEOF
34488 #line $LINENO "configure"
34491 cat confdefs.h
>>conftest.
$ac_ext
34492 cat >>conftest.
$ac_ext <<_ACEOF
34493 /* end confdefs.h. */
34494 $ac_includes_default
34495 #include <$ac_header>
34497 rm -f conftest.
$ac_objext
34498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34499 (eval $ac_compile) 2>&5
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); } &&
34503 { ac_try
='test -s conftest.$ac_objext'
34504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34505 (eval $ac_try) 2>&5
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); }; }; then
34509 ac_header_compiler
=yes
34511 echo "$as_me: failed program was:" >&5
34512 sed 's/^/| /' conftest.
$ac_ext >&5
34514 ac_header_compiler
=no
34516 rm -f conftest.
$ac_objext conftest.
$ac_ext
34517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34518 echo "${ECHO_T}$ac_header_compiler" >&6
34520 # Is the header present?
34521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34523 cat >conftest.
$ac_ext <<_ACEOF
34524 #line $LINENO "configure"
34527 cat confdefs.h
>>conftest.
$ac_ext
34528 cat >>conftest.
$ac_ext <<_ACEOF
34529 /* end confdefs.h. */
34530 #include <$ac_header>
34532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34533 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
34535 grep -v '^ *+' conftest.er1
>conftest.err
34537 cat conftest.err
>&5
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); } >/dev
/null
; then
34540 if test -s conftest.err
; then
34541 ac_cpp_err
=$ac_c_preproc_warn_flag
34548 if test -z "$ac_cpp_err"; then
34549 ac_header_preproc
=yes
34551 echo "$as_me: failed program was:" >&5
34552 sed 's/^/| /' conftest.
$ac_ext >&5
34554 ac_header_preproc
=no
34556 rm -f conftest.err conftest.
$ac_ext
34557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34558 echo "${ECHO_T}$ac_header_preproc" >&6
34560 # So? What about this header?
34561 case $ac_header_compiler:$ac_header_preproc in
34563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34569 ## ------------------------------------ ##
34570 ## Report this to bug-autoconf@gnu.org. ##
34571 ## ------------------------------------ ##
34574 sed "s/^/$as_me: WARNING: /" >&2
34577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34585 ## ------------------------------------ ##
34586 ## Report this to bug-autoconf@gnu.org. ##
34587 ## ------------------------------------ ##
34590 sed "s/^/$as_me: WARNING: /" >&2
34593 echo "$as_me:$LINENO: checking for $ac_header" >&5
34594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 eval "$as_ac_Header=$ac_header_preproc"
34600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34605 cat >>confdefs.h
<<_ACEOF
34606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34613 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
34616 # If we're not using GNU ld, then there's no point in even trying these
34617 # tests. Check for that first. We should have already tested for gld
34618 # by now (in libtool), but require it now just to be safe...
34619 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
34620 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
34624 # The name set by libtool depends on the version of libtool. Shame on us
34625 # for depending on an impl detail, but c'est la vie. Older versions used
34626 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34627 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34628 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34629 # set (hence we're using an older libtool), then set it.
34630 if test x
${with_gnu_ld+set} != xset
; then
34631 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
34632 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34635 with_gnu_ld
=$ac_cv_prog_gnu_ld
34639 # Start by getting the version number. I think the libtool test already
34640 # does some of this, but throws away the result.
34642 ldver
=`$LD --version 2>/dev/null | head -1 | \
34643 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
34645 glibcxx_gnu_ld_version
=`echo $ldver | \
34646 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34648 # Set --gc-sections.
34649 if test "$with_gnu_ld" = "notbroken"; then
34650 # GNU ld it is! Joy and bunny rabbits!
34652 # All these tests are for C++; save the language and the compiler flags.
34653 # Need to do this so that g++ won't try to link in libstdc++
34654 ac_test_CFLAGS
="${CFLAGS+set}"
34655 ac_save_CFLAGS
="$CFLAGS"
34656 CFLAGS
='-x c++ -Wl,--gc-sections'
34658 # Check for -Wl,--gc-sections
34659 # XXX This test is broken at the moment, as symbols required for linking
34660 # are now in libsupc++ (not built yet). In addition, this test has
34661 # cored on solaris in the past. In addition, --gc-sections doesn't
34662 # really work at the moment (keeps on discarding used sections, first
34663 # .eh_frame and now some of the glibc sections for iconv).
34664 # Bzzzzt. Thanks for playing, maybe next time.
34665 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
34666 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
34667 if test "$cross_compiling" = yes; then
34668 ac_sectionLDflags
=yes
34670 cat >conftest.
$ac_ext <<_ACEOF
34671 #line $LINENO "configure"
34674 cat confdefs.h
>>conftest.
$ac_ext
34675 cat >>conftest.
$ac_ext <<_ACEOF
34676 /* end confdefs.h. */
34686 rm -f conftest
$ac_exeext
34687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34688 (eval $ac_link) 2>&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34693 (eval $ac_try) 2>&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); }; }; then
34697 ac_sectionLDflags
=yes
34699 echo "$as_me: program exited with status $ac_status" >&5
34700 echo "$as_me: failed program was:" >&5
34701 sed 's/^/| /' conftest.
$ac_ext >&5
34703 ( exit $ac_status )
34704 ac_sectionLDflags
=no
34706 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34708 if test "$ac_test_CFLAGS" = set; then
34709 CFLAGS
="$ac_save_CFLAGS"
34711 # this is the suspicious part
34714 if test "$ac_sectionLDflags" = "yes"; then
34715 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
34717 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
34718 echo "${ECHO_T}$ac_sectionLDflags" >&6
34721 # Set linker optimization flags.
34722 if test x
"$with_gnu_ld" = x
"yes"; then
34723 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
34731 echo "$as_me:$LINENO: checking for main in -lm" >&5
34732 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
34733 if test "${ac_cv_lib_m_main+set}" = set; then
34734 echo $ECHO_N "(cached) $ECHO_C" >&6
34736 ac_check_lib_save_LIBS
=$LIBS
34738 cat >conftest.
$ac_ext <<_ACEOF
34739 #line $LINENO "configure"
34742 cat confdefs.h
>>conftest.
$ac_ext
34743 cat >>conftest.
$ac_ext <<_ACEOF
34744 /* end confdefs.h. */
34755 rm -f conftest.
$ac_objext conftest
$ac_exeext
34756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34757 (eval $ac_link) 2>&5
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); } &&
34761 { ac_try
='test -s conftest$ac_exeext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 ac_cv_lib_m_main
=yes
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.
$ac_ext >&5
34772 ac_cv_lib_m_main
=no
34774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34775 LIBS
=$ac_check_lib_save_LIBS
34777 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
34778 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
34779 if test $ac_cv_lib_m_main = yes; then
34780 cat >>confdefs.h
<<_ACEOF
34781 #define HAVE_LIBM 1
34790 for ac_func
in nan copysignf
34792 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34793 echo "$as_me:$LINENO: checking for $ac_func" >&5
34794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34795 if eval "test \"\${$as_ac_var+set}\" = set"; then
34796 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 cat >conftest.
$ac_ext <<_ACEOF
34799 #line $LINENO "configure"
34802 cat confdefs.h
>>conftest.
$ac_ext
34803 cat >>conftest.
$ac_ext <<_ACEOF
34804 /* end confdefs.h. */
34805 /* System header to define __stub macros and hopefully few prototypes,
34806 which can conflict with char $ac_func (); below.
34807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34808 <limits.h> exists even on freestanding compilers. */
34810 # include <limits.h>
34812 # include <assert.h>
34814 /* Override any gcc2 internal prototype to avoid an error. */
34819 /* We use char because int might match the return type of a gcc2
34820 builtin and then its argument prototype would still apply. */
34822 /* The GNU C library defines this for functions which it implements
34823 to always fail with ENOSYS. Some functions are actually named
34824 something starting with __ and the normal name is an alias. */
34825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34828 char (*f) () = $ac_func;
34837 return f != $ac_func;
34842 rm -f conftest.
$ac_objext conftest
$ac_exeext
34843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34844 (eval $ac_link) 2>&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } &&
34848 { ac_try
='test -s conftest$ac_exeext'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; }; then
34854 eval "$as_ac_var=yes"
34856 echo "$as_me: failed program was:" >&5
34857 sed 's/^/| /' conftest.
$ac_ext >&5
34859 eval "$as_ac_var=no"
34861 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34865 if test `eval echo '${'$as_ac_var'}'` = yes; then
34866 cat >>confdefs.h
<<_ACEOF
34867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34871 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
34877 for ac_func
in __signbit
34879 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34880 echo "$as_me:$LINENO: checking for $ac_func" >&5
34881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34882 if eval "test \"\${$as_ac_var+set}\" = set"; then
34883 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 cat >conftest.
$ac_ext <<_ACEOF
34886 #line $LINENO "configure"
34889 cat confdefs.h
>>conftest.
$ac_ext
34890 cat >>conftest.
$ac_ext <<_ACEOF
34891 /* end confdefs.h. */
34892 /* System header to define __stub macros and hopefully few prototypes,
34893 which can conflict with char $ac_func (); below.
34894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34895 <limits.h> exists even on freestanding compilers. */
34897 # include <limits.h>
34899 # include <assert.h>
34901 /* Override any gcc2 internal prototype to avoid an error. */
34906 /* We use char because int might match the return type of a gcc2
34907 builtin and then its argument prototype would still apply. */
34909 /* The GNU C library defines this for functions which it implements
34910 to always fail with ENOSYS. Some functions are actually named
34911 something starting with __ and the normal name is an alias. */
34912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34915 char (*f) () = $ac_func;
34924 return f != $ac_func;
34929 rm -f conftest.
$ac_objext conftest
$ac_exeext
34930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34931 (eval $ac_link) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); } &&
34935 { ac_try
='test -s conftest$ac_exeext'
34936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34937 (eval $ac_try) 2>&5
34939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34940 (exit $ac_status); }; }; then
34941 eval "$as_ac_var=yes"
34943 echo "$as_me: failed program was:" >&5
34944 sed 's/^/| /' conftest.
$ac_ext >&5
34946 eval "$as_ac_var=no"
34948 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
34950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34952 if test `eval echo '${'$as_ac_var'}'` = yes; then
34953 cat >>confdefs.h
<<_ACEOF
34954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34958 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
34963 for ac_func
in __signbitf
34965 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34966 echo "$as_me:$LINENO: checking for $ac_func" >&5
34967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34968 if eval "test \"\${$as_ac_var+set}\" = set"; then
34969 echo $ECHO_N "(cached) $ECHO_C" >&6
34971 cat >conftest.
$ac_ext <<_ACEOF
34972 #line $LINENO "configure"
34975 cat confdefs.h
>>conftest.
$ac_ext
34976 cat >>conftest.
$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34978 /* System header to define __stub macros and hopefully few prototypes,
34979 which can conflict with char $ac_func (); below.
34980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34981 <limits.h> exists even on freestanding compilers. */
34983 # include <limits.h>
34985 # include <assert.h>
34987 /* Override any gcc2 internal prototype to avoid an error. */
34992 /* We use char because int might match the return type of a gcc2
34993 builtin and then its argument prototype would still apply. */
34995 /* The GNU C library defines this for functions which it implements
34996 to always fail with ENOSYS. Some functions are actually named
34997 something starting with __ and the normal name is an alias. */
34998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35001 char (*f) () = $ac_func;
35010 return f != $ac_func;
35015 rm -f conftest.
$ac_objext conftest
$ac_exeext
35016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35017 (eval $ac_link) 2>&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); } &&
35021 { ac_try
='test -s conftest$ac_exeext'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; }; then
35027 eval "$as_ac_var=yes"
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.
$ac_ext >&5
35032 eval "$as_ac_var=no"
35034 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35038 if test `eval echo '${'$as_ac_var'}'` = yes; then
35039 cat >>confdefs.h
<<_ACEOF
35040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35044 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
35049 if test x
$ac_cv_func_copysignl = x
"yes"; then
35051 for ac_func
in __signbitl
35053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35054 echo "$as_me:$LINENO: checking for $ac_func" >&5
35055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35056 if eval "test \"\${$as_ac_var+set}\" = set"; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 cat >conftest.
$ac_ext <<_ACEOF
35060 #line $LINENO "configure"
35063 cat confdefs.h
>>conftest.
$ac_ext
35064 cat >>conftest.
$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 /* System header to define __stub macros and hopefully few prototypes,
35067 which can conflict with char $ac_func (); below.
35068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35069 <limits.h> exists even on freestanding compilers. */
35071 # include <limits.h>
35073 # include <assert.h>
35075 /* Override any gcc2 internal prototype to avoid an error. */
35080 /* We use char because int might match the return type of a gcc2
35081 builtin and then its argument prototype would still apply. */
35083 /* The GNU C library defines this for functions which it implements
35084 to always fail with ENOSYS. Some functions are actually named
35085 something starting with __ and the normal name is an alias. */
35086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35089 char (*f) () = $ac_func;
35098 return f != $ac_func;
35103 rm -f conftest.
$ac_objext conftest
$ac_exeext
35104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35105 (eval $ac_link) 2>&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); } &&
35109 { ac_try
='test -s conftest$ac_exeext'
35110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35111 (eval $ac_try) 2>&5
35113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35114 (exit $ac_status); }; }; then
35115 eval "$as_ac_var=yes"
35117 echo "$as_me: failed program was:" >&5
35118 sed 's/^/| /' conftest.
$ac_ext >&5
35120 eval "$as_ac_var=no"
35122 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35126 if test `eval echo '${'$as_ac_var'}'` = yes; then
35127 cat >>confdefs.h
<<_ACEOF
35128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35132 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
35138 # XXX Review this. Nothing uses it.
35139 if test -n "$LIBMATHOBJS"; then
35145 # Test wchar.h for mbstate_t, which is needed for char_traits and
35146 # others even if wchar_t support is not on.
35147 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35148 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35149 cat >conftest.
$ac_ext <<_ACEOF
35150 #line $LINENO "configure"
35153 cat confdefs.h
>>conftest.
$ac_ext
35154 cat >>conftest.
$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35160 mbstate_t teststate;
35165 rm -f conftest.
$ac_objext
35166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35167 (eval $ac_compile) 2>&5
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); } &&
35171 { ac_try
='test -s conftest.$ac_objext'
35172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35173 (eval $ac_try) 2>&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); }; }; then
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.
$ac_ext >&5
35184 rm -f conftest.
$ac_objext conftest.
$ac_ext
35185 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
35186 echo "${ECHO_T}$have_mbstate_t" >&6
35187 if test x
"$have_mbstate_t" = xyes
; then
35188 cat >>confdefs.h
<<\_ACEOF
35189 #define HAVE_MBSTATE_T 1
35194 # Sanity check for existence of ISO C99 headers for extended encoding.
35196 for ac_header
in wchar.h
35198 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35200 echo "$as_me:$LINENO: checking for $ac_header" >&5
35201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35208 # Is the header compilable?
35209 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35211 cat >conftest.
$ac_ext <<_ACEOF
35212 #line $LINENO "configure"
35215 cat confdefs.h
>>conftest.
$ac_ext
35216 cat >>conftest.
$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35218 $ac_includes_default
35219 #include <$ac_header>
35221 rm -f conftest.
$ac_objext
35222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35223 (eval $ac_compile) 2>&5
35225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35226 (exit $ac_status); } &&
35227 { ac_try
='test -s conftest.$ac_objext'
35228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35229 (eval $ac_try) 2>&5
35231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35232 (exit $ac_status); }; }; then
35233 ac_header_compiler
=yes
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.
$ac_ext >&5
35238 ac_header_compiler
=no
35240 rm -f conftest.
$ac_objext conftest.
$ac_ext
35241 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35242 echo "${ECHO_T}$ac_header_compiler" >&6
35244 # Is the header present?
35245 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35246 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35247 cat >conftest.
$ac_ext <<_ACEOF
35248 #line $LINENO "configure"
35251 cat confdefs.h
>>conftest.
$ac_ext
35252 cat >>conftest.
$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35254 #include <$ac_header>
35256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35259 grep -v '^ *+' conftest.er1
>conftest.err
35261 cat conftest.err
>&5
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); } >/dev
/null
; then
35264 if test -s conftest.err
; then
35265 ac_cpp_err
=$ac_c_preproc_warn_flag
35272 if test -z "$ac_cpp_err"; then
35273 ac_header_preproc
=yes
35275 echo "$as_me: failed program was:" >&5
35276 sed 's/^/| /' conftest.
$ac_ext >&5
35278 ac_header_preproc
=no
35280 rm -f conftest.err conftest.
$ac_ext
35281 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35282 echo "${ECHO_T}$ac_header_preproc" >&6
35284 # So? What about this header?
35285 case $ac_header_compiler:$ac_header_preproc in
35287 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35288 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35293 ## ------------------------------------ ##
35294 ## Report this to bug-autoconf@gnu.org. ##
35295 ## ------------------------------------ ##
35298 sed "s/^/$as_me: WARNING: /" >&2
35301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35309 ## ------------------------------------ ##
35310 ## Report this to bug-autoconf@gnu.org. ##
35311 ## ------------------------------------ ##
35314 sed "s/^/$as_me: WARNING: /" >&2
35317 echo "$as_me:$LINENO: checking for $ac_header" >&5
35318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35322 eval "$as_ac_Header=$ac_header_preproc"
35324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35329 cat >>confdefs.h
<<_ACEOF
35330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35340 for ac_header
in wctype.h
35342 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35344 echo "$as_me:$LINENO: checking for $ac_header" >&5
35345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35347 echo $ECHO_N "(cached) $ECHO_C" >&6
35349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35352 # Is the header compilable?
35353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35355 cat >conftest.
$ac_ext <<_ACEOF
35356 #line $LINENO "configure"
35359 cat confdefs.h
>>conftest.
$ac_ext
35360 cat >>conftest.
$ac_ext <<_ACEOF
35361 /* end confdefs.h. */
35362 $ac_includes_default
35363 #include <$ac_header>
35365 rm -f conftest.
$ac_objext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35367 (eval $ac_compile) 2>&5
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); } &&
35371 { ac_try
='test -s conftest.$ac_objext'
35372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35373 (eval $ac_try) 2>&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); }; }; then
35377 ac_header_compiler
=yes
35379 echo "$as_me: failed program was:" >&5
35380 sed 's/^/| /' conftest.
$ac_ext >&5
35382 ac_header_compiler
=no
35384 rm -f conftest.
$ac_objext conftest.
$ac_ext
35385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35386 echo "${ECHO_T}$ac_header_compiler" >&6
35388 # Is the header present?
35389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
35390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
35391 cat >conftest.
$ac_ext <<_ACEOF
35392 #line $LINENO "configure"
35395 cat confdefs.h
>>conftest.
$ac_ext
35396 cat >>conftest.
$ac_ext <<_ACEOF
35397 /* end confdefs.h. */
35398 #include <$ac_header>
35400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35403 grep -v '^ *+' conftest.er1
>conftest.err
35405 cat conftest.err
>&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } >/dev
/null
; then
35408 if test -s conftest.err
; then
35409 ac_cpp_err
=$ac_c_preproc_warn_flag
35416 if test -z "$ac_cpp_err"; then
35417 ac_header_preproc
=yes
35419 echo "$as_me: failed program was:" >&5
35420 sed 's/^/| /' conftest.
$ac_ext >&5
35422 ac_header_preproc
=no
35424 rm -f conftest.err conftest.
$ac_ext
35425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35426 echo "${ECHO_T}$ac_header_preproc" >&6
35428 # So? What about this header?
35429 case $ac_header_compiler:$ac_header_preproc in
35431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
35432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
35433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35437 ## ------------------------------------ ##
35438 ## Report this to bug-autoconf@gnu.org. ##
35439 ## ------------------------------------ ##
35442 sed "s/^/$as_me: WARNING: /" >&2
35445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
35446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
35447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
35448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
35449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
35450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35453 ## ------------------------------------ ##
35454 ## Report this to bug-autoconf@gnu.org. ##
35455 ## ------------------------------------ ##
35458 sed "s/^/$as_me: WARNING: /" >&2
35461 echo "$as_me:$LINENO: checking for $ac_header" >&5
35462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35464 echo $ECHO_N "(cached) $ECHO_C" >&6
35466 eval "$as_ac_Header=$ac_header_preproc"
35468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35473 cat >>confdefs.h
<<_ACEOF
35474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35476 ac_has_wctype_h
=yes
35484 # Only continue checking if the ISO C99 headers exist and support is on.
35485 if test x
"$ac_has_wchar_h" = xyes
&&
35486 test x
"$ac_has_wctype_h" = xyes
&&
35487 test x
"$enable_c_mbchar" != xno
; then
35489 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
35490 # numeric_limits can instantiate type_traits<wchar_t>
35491 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
35492 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
35493 cat >conftest.
$ac_ext <<_ACEOF
35494 #line $LINENO "configure"
35497 cat confdefs.h
>>conftest.
$ac_ext
35498 cat >>conftest.
$ac_ext <<_ACEOF
35499 /* end confdefs.h. */
35504 int i = WCHAR_MIN; int j = WCHAR_MAX;
35509 rm -f conftest.
$ac_objext
35510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35511 (eval $ac_compile) 2>&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } &&
35515 { ac_try
='test -s conftest.$ac_objext'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; }; then
35521 has_wchar_minmax
=yes
35523 echo "$as_me: failed program was:" >&5
35524 sed 's/^/| /' conftest.
$ac_ext >&5
35526 has_wchar_minmax
=no
35528 rm -f conftest.
$ac_objext conftest.
$ac_ext
35529 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
35530 echo "${ECHO_T}$has_wchar_minmax" >&6
35532 # Test wchar.h for WEOF, which is what we use to determine whether
35533 # to specialize for char_traits<wchar_t> or not.
35534 echo "$as_me:$LINENO: checking for WEOF" >&5
35535 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
35536 cat >conftest.
$ac_ext <<_ACEOF
35537 #line $LINENO "configure"
35540 cat confdefs.h
>>conftest.
$ac_ext
35541 cat >>conftest.
$ac_ext <<_ACEOF
35542 /* end confdefs.h. */
35545 #include <stddef.h>
35554 rm -f conftest.
$ac_objext
35555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35556 (eval $ac_compile) 2>&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } &&
35560 { ac_try
='test -s conftest.$ac_objext'
35561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35562 (eval $ac_try) 2>&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); }; }; then
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.
$ac_ext >&5
35573 rm -f conftest.
$ac_objext conftest.
$ac_ext
35574 echo "$as_me:$LINENO: result: $has_weof" >&5
35575 echo "${ECHO_T}$has_weof" >&6
35577 # Tests for wide character functions used in char_traits<wchar_t>.
35585 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
35587 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35588 echo "$as_me:$LINENO: checking for $ac_func" >&5
35589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35590 if eval "test \"\${$as_ac_var+set}\" = set"; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 cat >conftest.
$ac_ext <<_ACEOF
35594 #line $LINENO "configure"
35597 cat confdefs.h
>>conftest.
$ac_ext
35598 cat >>conftest.
$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35600 /* System header to define __stub macros and hopefully few prototypes,
35601 which can conflict with char $ac_func (); below.
35602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35603 <limits.h> exists even on freestanding compilers. */
35605 # include <limits.h>
35607 # include <assert.h>
35609 /* Override any gcc2 internal prototype to avoid an error. */
35614 /* We use char because int might match the return type of a gcc2
35615 builtin and then its argument prototype would still apply. */
35617 /* The GNU C library defines this for functions which it implements
35618 to always fail with ENOSYS. Some functions are actually named
35619 something starting with __ and the normal name is an alias. */
35620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35623 char (*f) () = $ac_func;
35632 return f != $ac_func;
35637 rm -f conftest.
$ac_objext conftest
$ac_exeext
35638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35639 (eval $ac_link) 2>&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); } &&
35643 { ac_try
='test -s conftest$ac_exeext'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; }; then
35649 eval "$as_ac_var=yes"
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.
$ac_ext >&5
35654 eval "$as_ac_var=no"
35656 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35660 if test `eval echo '${'$as_ac_var'}'` = yes; then
35661 cat >>confdefs.h
<<_ACEOF
35662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35671 # Checks for names injected into std:: by the c_std headers.
35722 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
35723 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
35724 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
35725 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
35726 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
35727 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
35729 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35730 echo "$as_me:$LINENO: checking for $ac_func" >&5
35731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35732 if eval "test \"\${$as_ac_var+set}\" = set"; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 cat >conftest.
$ac_ext <<_ACEOF
35736 #line $LINENO "configure"
35739 cat confdefs.h
>>conftest.
$ac_ext
35740 cat >>conftest.
$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742 /* System header to define __stub macros and hopefully few prototypes,
35743 which can conflict with char $ac_func (); below.
35744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35745 <limits.h> exists even on freestanding compilers. */
35747 # include <limits.h>
35749 # include <assert.h>
35751 /* Override any gcc2 internal prototype to avoid an error. */
35756 /* We use char because int might match the return type of a gcc2
35757 builtin and then its argument prototype would still apply. */
35759 /* The GNU C library defines this for functions which it implements
35760 to always fail with ENOSYS. Some functions are actually named
35761 something starting with __ and the normal name is an alias. */
35762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35765 char (*f) () = $ac_func;
35774 return f != $ac_func;
35779 rm -f conftest.
$ac_objext conftest
$ac_exeext
35780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35781 (eval $ac_link) 2>&5
35783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35784 (exit $ac_status); } &&
35785 { ac_try
='test -s conftest$ac_exeext'
35786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35787 (eval $ac_try) 2>&5
35789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 (exit $ac_status); }; }; then
35791 eval "$as_ac_var=yes"
35793 echo "$as_me: failed program was:" >&5
35794 sed 's/^/| /' conftest.
$ac_ext >&5
35796 eval "$as_ac_var=no"
35798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
35800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35802 if test `eval echo '${'$as_ac_var'}'` = yes; then
35803 cat >>confdefs.h
<<_ACEOF
35804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35813 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
35814 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
35815 if test x
"$has_weof" = xyes
&&
35816 test x
"$has_wchar_minmax" = xyes
&&
35817 test x
"$ac_wfuncs" = xyes
;
35819 ac_isoC99_wchar_t
=yes
35821 ac_isoC99_wchar_t
=no
35823 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
35824 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
35826 # Use iconv for wchar_t to char conversions. As such, check for
35827 # X/Open Portability Guide, version 2 features (XPG2).
35828 if test "${ac_cv_header_iconv_h+set}" = set; then
35829 echo "$as_me:$LINENO: checking for iconv.h" >&5
35830 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
35831 if test "${ac_cv_header_iconv_h+set}" = set; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
35835 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
35837 # Is the header compilable?
35838 echo "$as_me:$LINENO: checking iconv.h usability" >&5
35839 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
35840 cat >conftest.
$ac_ext <<_ACEOF
35841 #line $LINENO "configure"
35844 cat confdefs.h
>>conftest.
$ac_ext
35845 cat >>conftest.
$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35847 $ac_includes_default
35850 rm -f conftest.
$ac_objext
35851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35852 (eval $ac_compile) 2>&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } &&
35856 { ac_try
='test -s conftest.$ac_objext'
35857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35858 (eval $ac_try) 2>&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); }; }; then
35862 ac_header_compiler
=yes
35864 echo "$as_me: failed program was:" >&5
35865 sed 's/^/| /' conftest.
$ac_ext >&5
35867 ac_header_compiler
=no
35869 rm -f conftest.
$ac_objext conftest.
$ac_ext
35870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35871 echo "${ECHO_T}$ac_header_compiler" >&6
35873 # Is the header present?
35874 echo "$as_me:$LINENO: checking iconv.h presence" >&5
35875 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
35876 cat >conftest.
$ac_ext <<_ACEOF
35877 #line $LINENO "configure"
35880 cat confdefs.h
>>conftest.
$ac_ext
35881 cat >>conftest.
$ac_ext <<_ACEOF
35882 /* end confdefs.h. */
35885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
35886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
35888 grep -v '^ *+' conftest.er1
>conftest.err
35890 cat conftest.err
>&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); } >/dev
/null
; then
35893 if test -s conftest.err
; then
35894 ac_cpp_err
=$ac_c_preproc_warn_flag
35901 if test -z "$ac_cpp_err"; then
35902 ac_header_preproc
=yes
35904 echo "$as_me: failed program was:" >&5
35905 sed 's/^/| /' conftest.
$ac_ext >&5
35907 ac_header_preproc
=no
35909 rm -f conftest.err conftest.
$ac_ext
35910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35911 echo "${ECHO_T}$ac_header_preproc" >&6
35913 # So? What about this header?
35914 case $ac_header_compiler:$ac_header_preproc in
35916 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
35917 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35918 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
35919 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
35922 ## ------------------------------------ ##
35923 ## Report this to bug-autoconf@gnu.org. ##
35924 ## ------------------------------------ ##
35927 sed "s/^/$as_me: WARNING: /" >&2
35930 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
35931 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
35932 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
35933 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
35934 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
35935 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
35938 ## ------------------------------------ ##
35939 ## Report this to bug-autoconf@gnu.org. ##
35940 ## ------------------------------------ ##
35943 sed "s/^/$as_me: WARNING: /" >&2
35946 echo "$as_me:$LINENO: checking for iconv.h" >&5
35947 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
35948 if test "${ac_cv_header_iconv_h+set}" = set; then
35949 echo $ECHO_N "(cached) $ECHO_C" >&6
35951 ac_cv_header_iconv_h
=$ac_header_preproc
35953 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
35954 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
35957 if test $ac_cv_header_iconv_h = yes; then
35964 if test "${ac_cv_header_langinfo_h+set}" = set; then
35965 echo "$as_me:$LINENO: checking for langinfo.h" >&5
35966 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
35967 if test "${ac_cv_header_langinfo_h+set}" = set; then
35968 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
35971 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
35973 # Is the header compilable?
35974 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
35975 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
35976 cat >conftest.
$ac_ext <<_ACEOF
35977 #line $LINENO "configure"
35980 cat confdefs.h
>>conftest.
$ac_ext
35981 cat >>conftest.
$ac_ext <<_ACEOF
35982 /* end confdefs.h. */
35983 $ac_includes_default
35984 #include <langinfo.h>
35986 rm -f conftest.
$ac_objext
35987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35988 (eval $ac_compile) 2>&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } &&
35992 { ac_try
='test -s conftest.$ac_objext'
35993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35994 (eval $ac_try) 2>&5
35996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35997 (exit $ac_status); }; }; then
35998 ac_header_compiler
=yes
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.
$ac_ext >&5
36003 ac_header_compiler
=no
36005 rm -f conftest.
$ac_objext conftest.
$ac_ext
36006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36007 echo "${ECHO_T}$ac_header_compiler" >&6
36009 # Is the header present?
36010 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
36011 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
36012 cat >conftest.
$ac_ext <<_ACEOF
36013 #line $LINENO "configure"
36016 cat confdefs.h
>>conftest.
$ac_ext
36017 cat >>conftest.
$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36019 #include <langinfo.h>
36021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36022 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36024 grep -v '^ *+' conftest.er1
>conftest.err
36026 cat conftest.err
>&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); } >/dev
/null
; then
36029 if test -s conftest.err
; then
36030 ac_cpp_err
=$ac_c_preproc_warn_flag
36037 if test -z "$ac_cpp_err"; then
36038 ac_header_preproc
=yes
36040 echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.
$ac_ext >&5
36043 ac_header_preproc
=no
36045 rm -f conftest.err conftest.
$ac_ext
36046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36047 echo "${ECHO_T}$ac_header_preproc" >&6
36049 # So? What about this header?
36050 case $ac_header_compiler:$ac_header_preproc in
36052 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
36053 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36054 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
36055 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
36058 ## ------------------------------------ ##
36059 ## Report this to bug-autoconf@gnu.org. ##
36060 ## ------------------------------------ ##
36063 sed "s/^/$as_me: WARNING: /" >&2
36066 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
36067 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
36068 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
36069 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
36070 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
36071 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
36074 ## ------------------------------------ ##
36075 ## Report this to bug-autoconf@gnu.org. ##
36076 ## ------------------------------------ ##
36079 sed "s/^/$as_me: WARNING: /" >&2
36082 echo "$as_me:$LINENO: checking for langinfo.h" >&5
36083 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
36084 if test "${ac_cv_header_langinfo_h+set}" = set; then
36085 echo $ECHO_N "(cached) $ECHO_C" >&6
36087 ac_cv_header_langinfo_h
=$ac_header_preproc
36089 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
36090 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
36093 if test $ac_cv_header_langinfo_h = yes; then
36094 ac_has_langinfo_h
=yes
36096 ac_has_langinfo_h
=no
36101 # Check for existence of libiconv.a providing XPG2 wchar_t support.
36102 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
36103 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
36104 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
36105 echo $ECHO_N "(cached) $ECHO_C" >&6
36107 ac_check_lib_save_LIBS
=$LIBS
36108 LIBS
="-liconv $LIBS"
36109 cat >conftest.
$ac_ext <<_ACEOF
36110 #line $LINENO "configure"
36113 cat confdefs.h
>>conftest.
$ac_ext
36114 cat >>conftest.
$ac_ext <<_ACEOF
36115 /* end confdefs.h. */
36117 /* Override any gcc2 internal prototype to avoid an error. */
36121 /* We use char because int might match the return type of a gcc2
36122 builtin and then its argument prototype would still apply. */
36132 rm -f conftest.
$ac_objext conftest
$ac_exeext
36133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36134 (eval $ac_link) 2>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try
='test -s conftest$ac_exeext'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; }; then
36144 ac_cv_lib_iconv_iconv
=yes
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.
$ac_ext >&5
36149 ac_cv_lib_iconv_iconv
=no
36151 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36152 LIBS
=$ac_check_lib_save_LIBS
36154 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
36155 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
36156 if test $ac_cv_lib_iconv_iconv = yes; then
36160 ac_save_LIBS
="$LIBS"
36161 LIBS
="$LIBS $libiconv"
36167 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
36169 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36170 echo "$as_me:$LINENO: checking for $ac_func" >&5
36171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36172 if eval "test \"\${$as_ac_var+set}\" = set"; then
36173 echo $ECHO_N "(cached) $ECHO_C" >&6
36175 cat >conftest.
$ac_ext <<_ACEOF
36176 #line $LINENO "configure"
36179 cat confdefs.h
>>conftest.
$ac_ext
36180 cat >>conftest.
$ac_ext <<_ACEOF
36181 /* end confdefs.h. */
36182 /* System header to define __stub macros and hopefully few prototypes,
36183 which can conflict with char $ac_func (); below.
36184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36185 <limits.h> exists even on freestanding compilers. */
36187 # include <limits.h>
36189 # include <assert.h>
36191 /* Override any gcc2 internal prototype to avoid an error. */
36196 /* We use char because int might match the return type of a gcc2
36197 builtin and then its argument prototype would still apply. */
36199 /* The GNU C library defines this for functions which it implements
36200 to always fail with ENOSYS. Some functions are actually named
36201 something starting with __ and the normal name is an alias. */
36202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36205 char (*f) () = $ac_func;
36214 return f != $ac_func;
36219 rm -f conftest.
$ac_objext conftest
$ac_exeext
36220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36221 (eval $ac_link) 2>&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); } &&
36225 { ac_try
='test -s conftest$ac_exeext'
36226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36227 (eval $ac_try) 2>&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); }; }; then
36231 eval "$as_ac_var=yes"
36233 echo "$as_me: failed program was:" >&5
36234 sed 's/^/| /' conftest.
$ac_ext >&5
36236 eval "$as_ac_var=no"
36238 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36242 if test `eval echo '${'$as_ac_var'}'` = yes; then
36243 cat >>confdefs.h
<<_ACEOF
36244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36253 LIBS
="$ac_save_LIBS"
36255 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
36256 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
36257 if test x
"$ac_has_iconv_h" = xyes
&&
36258 test x
"$ac_has_langinfo_h" = xyes
&&
36259 test x
"$ac_XPG2funcs" = xyes
;
36261 ac_XPG2_wchar_t
=yes
36265 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
36266 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
36268 # At the moment, only enable wchar_t specializations if all the
36269 # above support is present.
36270 if test x
"$ac_isoC99_wchar_t" = xyes
&&
36271 test x
"$ac_XPG2_wchar_t" = xyes
;
36273 cat >>confdefs.h
<<\_ACEOF
36274 #define _GLIBCXX_USE_WCHAR_T 1
36280 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
36281 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
36282 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
36283 echo "${ECHO_T}$enable_wchar_t" >&6
36285 cat >>confdefs.h
<<\_ACEOF
36286 #define HAVE_COPYSIGN 1
36289 cat >>confdefs.h
<<\_ACEOF
36290 #define HAVE_COPYSIGNF 1
36293 cat >>confdefs.h
<<\_ACEOF
36294 #define HAVE_FINITEF 1
36297 cat >>confdefs.h
<<\_ACEOF
36298 #define HAVE_FINITE 1
36301 cat >>confdefs.h
<<\_ACEOF
36302 #define HAVE_FREXPF 1
36305 cat >>confdefs.h
<<\_ACEOF
36306 #define HAVE_HYPOTF 1
36309 cat >>confdefs.h
<<\_ACEOF
36310 #define HAVE_ISINF 1
36313 cat >>confdefs.h
<<\_ACEOF
36314 #define HAVE_ISINFF 1
36317 cat >>confdefs.h
<<\_ACEOF
36318 #define HAVE_ISNAN 1
36321 cat >>confdefs.h
<<\_ACEOF
36322 #define HAVE_ISNANF 1
36325 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
36326 cat >>confdefs.h
<<\_ACEOF
36327 #define HAVE_FINITEL 1
36330 cat >>confdefs.h
<<\_ACEOF
36331 #define HAVE_ISINFL 1
36334 cat >>confdefs.h
<<\_ACEOF
36335 #define HAVE_ISNANL 1
36340 *-qnx6.1
* |
*-qnx6.2
*)
36341 #os_include_dir="os/qnx/qnx6.1"
36342 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
36345 # If we're not using GNU ld, then there's no point in even trying these
36346 # tests. Check for that first. We should have already tested for gld
36347 # by now (in libtool), but require it now just to be safe...
36348 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
36349 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
36353 # The name set by libtool depends on the version of libtool. Shame on us
36354 # for depending on an impl detail, but c'est la vie. Older versions used
36355 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
36356 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
36357 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
36358 # set (hence we're using an older libtool), then set it.
36359 if test x
${with_gnu_ld+set} != xset
; then
36360 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
36361 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
36364 with_gnu_ld
=$ac_cv_prog_gnu_ld
36368 # Start by getting the version number. I think the libtool test already
36369 # does some of this, but throws away the result.
36371 ldver
=`$LD --version 2>/dev/null | head -1 | \
36372 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
36374 glibcxx_gnu_ld_version
=`echo $ldver | \
36375 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
36377 # Set --gc-sections.
36378 if test "$with_gnu_ld" = "notbroken"; then
36379 # GNU ld it is! Joy and bunny rabbits!
36381 # All these tests are for C++; save the language and the compiler flags.
36382 # Need to do this so that g++ won't try to link in libstdc++
36383 ac_test_CFLAGS
="${CFLAGS+set}"
36384 ac_save_CFLAGS
="$CFLAGS"
36385 CFLAGS
='-x c++ -Wl,--gc-sections'
36387 # Check for -Wl,--gc-sections
36388 # XXX This test is broken at the moment, as symbols required for linking
36389 # are now in libsupc++ (not built yet). In addition, this test has
36390 # cored on solaris in the past. In addition, --gc-sections doesn't
36391 # really work at the moment (keeps on discarding used sections, first
36392 # .eh_frame and now some of the glibc sections for iconv).
36393 # Bzzzzt. Thanks for playing, maybe next time.
36394 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
36395 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
36396 if test "$cross_compiling" = yes; then
36397 ac_sectionLDflags
=yes
36399 cat >conftest.
$ac_ext <<_ACEOF
36400 #line $LINENO "configure"
36403 cat confdefs.h
>>conftest.
$ac_ext
36404 cat >>conftest.
$ac_ext <<_ACEOF
36405 /* end confdefs.h. */
36415 rm -f conftest
$ac_exeext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36417 (eval $ac_link) 2>&5
36419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36420 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; }; then
36426 ac_sectionLDflags
=yes
36428 echo "$as_me: program exited with status $ac_status" >&5
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.
$ac_ext >&5
36432 ( exit $ac_status )
36433 ac_sectionLDflags
=no
36435 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
36437 if test "$ac_test_CFLAGS" = set; then
36438 CFLAGS
="$ac_save_CFLAGS"
36440 # this is the suspicious part
36443 if test "$ac_sectionLDflags" = "yes"; then
36444 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
36446 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
36447 echo "${ECHO_T}$ac_sectionLDflags" >&6
36450 # Set linker optimization flags.
36451 if test x
"$with_gnu_ld" = x
"yes"; then
36452 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
36460 echo "$as_me:$LINENO: checking for main in -lm" >&5
36461 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
36462 if test "${ac_cv_lib_m_main+set}" = set; then
36463 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 ac_check_lib_save_LIBS
=$LIBS
36467 cat >conftest.
$ac_ext <<_ACEOF
36468 #line $LINENO "configure"
36471 cat confdefs.h
>>conftest.
$ac_ext
36472 cat >>conftest.
$ac_ext <<_ACEOF
36473 /* end confdefs.h. */
36484 rm -f conftest.
$ac_objext conftest
$ac_exeext
36485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36486 (eval $ac_link) 2>&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); } &&
36490 { ac_try
='test -s conftest$ac_exeext'
36491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36492 (eval $ac_try) 2>&5
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); }; }; then
36496 ac_cv_lib_m_main
=yes
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.
$ac_ext >&5
36501 ac_cv_lib_m_main
=no
36503 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36504 LIBS
=$ac_check_lib_save_LIBS
36506 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
36507 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
36508 if test $ac_cv_lib_m_main = yes; then
36509 cat >>confdefs.h
<<_ACEOF
36510 #define HAVE_LIBM 1
36519 for ac_func
in nan copysignf
36521 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36522 echo "$as_me:$LINENO: checking for $ac_func" >&5
36523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36524 if eval "test \"\${$as_ac_var+set}\" = set"; then
36525 echo $ECHO_N "(cached) $ECHO_C" >&6
36527 cat >conftest.
$ac_ext <<_ACEOF
36528 #line $LINENO "configure"
36531 cat confdefs.h
>>conftest.
$ac_ext
36532 cat >>conftest.
$ac_ext <<_ACEOF
36533 /* end confdefs.h. */
36534 /* System header to define __stub macros and hopefully few prototypes,
36535 which can conflict with char $ac_func (); below.
36536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36537 <limits.h> exists even on freestanding compilers. */
36539 # include <limits.h>
36541 # include <assert.h>
36543 /* Override any gcc2 internal prototype to avoid an error. */
36548 /* We use char because int might match the return type of a gcc2
36549 builtin and then its argument prototype would still apply. */
36551 /* The GNU C library defines this for functions which it implements
36552 to always fail with ENOSYS. Some functions are actually named
36553 something starting with __ and the normal name is an alias. */
36554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36557 char (*f) () = $ac_func;
36566 return f != $ac_func;
36571 rm -f conftest.
$ac_objext conftest
$ac_exeext
36572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36573 (eval $ac_link) 2>&5
36575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576 (exit $ac_status); } &&
36577 { ac_try
='test -s conftest$ac_exeext'
36578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36579 (eval $ac_try) 2>&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); }; }; then
36583 eval "$as_ac_var=yes"
36585 echo "$as_me: failed program was:" >&5
36586 sed 's/^/| /' conftest.
$ac_ext >&5
36588 eval "$as_ac_var=no"
36590 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36594 if test `eval echo '${'$as_ac_var'}'` = yes; then
36595 cat >>confdefs.h
<<_ACEOF
36596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36600 LIBMATHOBJS
="$LIBMATHOBJS ${ac_func}.lo"
36606 for ac_func
in __signbit
36608 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36609 echo "$as_me:$LINENO: checking for $ac_func" >&5
36610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36611 if eval "test \"\${$as_ac_var+set}\" = set"; then
36612 echo $ECHO_N "(cached) $ECHO_C" >&6
36614 cat >conftest.
$ac_ext <<_ACEOF
36615 #line $LINENO "configure"
36618 cat confdefs.h
>>conftest.
$ac_ext
36619 cat >>conftest.
$ac_ext <<_ACEOF
36620 /* end confdefs.h. */
36621 /* System header to define __stub macros and hopefully few prototypes,
36622 which can conflict with char $ac_func (); below.
36623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36624 <limits.h> exists even on freestanding compilers. */
36626 # include <limits.h>
36628 # include <assert.h>
36630 /* Override any gcc2 internal prototype to avoid an error. */
36635 /* We use char because int might match the return type of a gcc2
36636 builtin and then its argument prototype would still apply. */
36638 /* The GNU C library defines this for functions which it implements
36639 to always fail with ENOSYS. Some functions are actually named
36640 something starting with __ and the normal name is an alias. */
36641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36644 char (*f) () = $ac_func;
36653 return f != $ac_func;
36658 rm -f conftest.
$ac_objext conftest
$ac_exeext
36659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36660 (eval $ac_link) 2>&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } &&
36664 { ac_try
='test -s conftest$ac_exeext'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; }; then
36670 eval "$as_ac_var=yes"
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.
$ac_ext >&5
36675 eval "$as_ac_var=no"
36677 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36681 if test `eval echo '${'$as_ac_var'}'` = yes; then
36682 cat >>confdefs.h
<<_ACEOF
36683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36687 LIBMATHOBJS
="$LIBMATHOBJS signbit.lo"
36692 for ac_func
in __signbitf
36694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36695 echo "$as_me:$LINENO: checking for $ac_func" >&5
36696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36697 if eval "test \"\${$as_ac_var+set}\" = set"; then
36698 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 cat >conftest.
$ac_ext <<_ACEOF
36701 #line $LINENO "configure"
36704 cat confdefs.h
>>conftest.
$ac_ext
36705 cat >>conftest.
$ac_ext <<_ACEOF
36706 /* end confdefs.h. */
36707 /* System header to define __stub macros and hopefully few prototypes,
36708 which can conflict with char $ac_func (); below.
36709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36710 <limits.h> exists even on freestanding compilers. */
36712 # include <limits.h>
36714 # include <assert.h>
36716 /* Override any gcc2 internal prototype to avoid an error. */
36721 /* We use char because int might match the return type of a gcc2
36722 builtin and then its argument prototype would still apply. */
36724 /* The GNU C library defines this for functions which it implements
36725 to always fail with ENOSYS. Some functions are actually named
36726 something starting with __ and the normal name is an alias. */
36727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36730 char (*f) () = $ac_func;
36739 return f != $ac_func;
36744 rm -f conftest.
$ac_objext conftest
$ac_exeext
36745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36746 (eval $ac_link) 2>&5
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); } &&
36750 { ac_try
='test -s conftest$ac_exeext'
36751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36752 (eval $ac_try) 2>&5
36754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36755 (exit $ac_status); }; }; then
36756 eval "$as_ac_var=yes"
36758 echo "$as_me: failed program was:" >&5
36759 sed 's/^/| /' conftest.
$ac_ext >&5
36761 eval "$as_ac_var=no"
36763 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36767 if test `eval echo '${'$as_ac_var'}'` = yes; then
36768 cat >>confdefs.h
<<_ACEOF
36769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36773 LIBMATHOBJS
="$LIBMATHOBJS signbitf.lo"
36778 if test x
$ac_cv_func_copysignl = x
"yes"; then
36780 for ac_func
in __signbitl
36782 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36783 echo "$as_me:$LINENO: checking for $ac_func" >&5
36784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36785 if eval "test \"\${$as_ac_var+set}\" = set"; then
36786 echo $ECHO_N "(cached) $ECHO_C" >&6
36788 cat >conftest.
$ac_ext <<_ACEOF
36789 #line $LINENO "configure"
36792 cat confdefs.h
>>conftest.
$ac_ext
36793 cat >>conftest.
$ac_ext <<_ACEOF
36794 /* end confdefs.h. */
36795 /* System header to define __stub macros and hopefully few prototypes,
36796 which can conflict with char $ac_func (); below.
36797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36798 <limits.h> exists even on freestanding compilers. */
36800 # include <limits.h>
36802 # include <assert.h>
36804 /* Override any gcc2 internal prototype to avoid an error. */
36809 /* We use char because int might match the return type of a gcc2
36810 builtin and then its argument prototype would still apply. */
36812 /* The GNU C library defines this for functions which it implements
36813 to always fail with ENOSYS. Some functions are actually named
36814 something starting with __ and the normal name is an alias. */
36815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36818 char (*f) () = $ac_func;
36827 return f != $ac_func;
36832 rm -f conftest.
$ac_objext conftest
$ac_exeext
36833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36834 (eval $ac_link) 2>&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } &&
36838 { ac_try
='test -s conftest$ac_exeext'
36839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36840 (eval $ac_try) 2>&5
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); }; }; then
36844 eval "$as_ac_var=yes"
36846 echo "$as_me: failed program was:" >&5
36847 sed 's/^/| /' conftest.
$ac_ext >&5
36849 eval "$as_ac_var=no"
36851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
36853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36855 if test `eval echo '${'$as_ac_var'}'` = yes; then
36856 cat >>confdefs.h
<<_ACEOF
36857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36861 LIBMATHOBJS
="$LIBMATHOBJS signbitl.lo"
36867 # XXX Review this. Nothing uses it.
36868 if test -n "$LIBMATHOBJS"; then
36874 # Test wchar.h for mbstate_t, which is needed for char_traits and
36875 # others even if wchar_t support is not on.
36876 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36877 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36878 cat >conftest.
$ac_ext <<_ACEOF
36879 #line $LINENO "configure"
36882 cat confdefs.h
>>conftest.
$ac_ext
36883 cat >>conftest.
$ac_ext <<_ACEOF
36884 /* end confdefs.h. */
36889 mbstate_t teststate;
36894 rm -f conftest.
$ac_objext
36895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36896 (eval $ac_compile) 2>&5
36898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899 (exit $ac_status); } &&
36900 { ac_try
='test -s conftest.$ac_objext'
36901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36902 (eval $ac_try) 2>&5
36904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36905 (exit $ac_status); }; }; then
36908 echo "$as_me: failed program was:" >&5
36909 sed 's/^/| /' conftest.
$ac_ext >&5
36913 rm -f conftest.
$ac_objext conftest.
$ac_ext
36914 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
36915 echo "${ECHO_T}$have_mbstate_t" >&6
36916 if test x
"$have_mbstate_t" = xyes
; then
36917 cat >>confdefs.h
<<\_ACEOF
36918 #define HAVE_MBSTATE_T 1
36923 # Sanity check for existence of ISO C99 headers for extended encoding.
36925 for ac_header
in wchar.h
36927 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36929 echo "$as_me:$LINENO: checking for $ac_header" >&5
36930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36932 echo $ECHO_N "(cached) $ECHO_C" >&6
36934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36937 # Is the header compilable?
36938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36940 cat >conftest.
$ac_ext <<_ACEOF
36941 #line $LINENO "configure"
36944 cat confdefs.h
>>conftest.
$ac_ext
36945 cat >>conftest.
$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36947 $ac_includes_default
36948 #include <$ac_header>
36950 rm -f conftest.
$ac_objext
36951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36952 (eval $ac_compile) 2>&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } &&
36956 { ac_try
='test -s conftest.$ac_objext'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; }; then
36962 ac_header_compiler
=yes
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.
$ac_ext >&5
36967 ac_header_compiler
=no
36969 rm -f conftest.
$ac_objext conftest.
$ac_ext
36970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36971 echo "${ECHO_T}$ac_header_compiler" >&6
36973 # Is the header present?
36974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36976 cat >conftest.
$ac_ext <<_ACEOF
36977 #line $LINENO "configure"
36980 cat confdefs.h
>>conftest.
$ac_ext
36981 cat >>conftest.
$ac_ext <<_ACEOF
36982 /* end confdefs.h. */
36983 #include <$ac_header>
36985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36986 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
36988 grep -v '^ *+' conftest.er1
>conftest.err
36990 cat conftest.err
>&5
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); } >/dev
/null
; then
36993 if test -s conftest.err
; then
36994 ac_cpp_err
=$ac_c_preproc_warn_flag
37001 if test -z "$ac_cpp_err"; then
37002 ac_header_preproc
=yes
37004 echo "$as_me: failed program was:" >&5
37005 sed 's/^/| /' conftest.
$ac_ext >&5
37007 ac_header_preproc
=no
37009 rm -f conftest.err conftest.
$ac_ext
37010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37011 echo "${ECHO_T}$ac_header_preproc" >&6
37013 # So? What about this header?
37014 case $ac_header_compiler:$ac_header_preproc in
37016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37022 ## ------------------------------------ ##
37023 ## Report this to bug-autoconf@gnu.org. ##
37024 ## ------------------------------------ ##
37027 sed "s/^/$as_me: WARNING: /" >&2
37030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37038 ## ------------------------------------ ##
37039 ## Report this to bug-autoconf@gnu.org. ##
37040 ## ------------------------------------ ##
37043 sed "s/^/$as_me: WARNING: /" >&2
37046 echo "$as_me:$LINENO: checking for $ac_header" >&5
37047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37049 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 eval "$as_ac_Header=$ac_header_preproc"
37053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37058 cat >>confdefs.h
<<_ACEOF
37059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37069 for ac_header
in wctype.h
37071 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37073 echo "$as_me:$LINENO: checking for $ac_header" >&5
37074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37076 echo $ECHO_N "(cached) $ECHO_C" >&6
37078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37081 # Is the header compilable?
37082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37084 cat >conftest.
$ac_ext <<_ACEOF
37085 #line $LINENO "configure"
37088 cat confdefs.h
>>conftest.
$ac_ext
37089 cat >>conftest.
$ac_ext <<_ACEOF
37090 /* end confdefs.h. */
37091 $ac_includes_default
37092 #include <$ac_header>
37094 rm -f conftest.
$ac_objext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37096 (eval $ac_compile) 2>&5
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); } &&
37100 { ac_try
='test -s conftest.$ac_objext'
37101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102 (eval $ac_try) 2>&5
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); }; }; then
37106 ac_header_compiler
=yes
37108 echo "$as_me: failed program was:" >&5
37109 sed 's/^/| /' conftest.
$ac_ext >&5
37111 ac_header_compiler
=no
37113 rm -f conftest.
$ac_objext conftest.
$ac_ext
37114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37115 echo "${ECHO_T}$ac_header_compiler" >&6
37117 # Is the header present?
37118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37120 cat >conftest.
$ac_ext <<_ACEOF
37121 #line $LINENO "configure"
37124 cat confdefs.h
>>conftest.
$ac_ext
37125 cat >>conftest.
$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127 #include <$ac_header>
37129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37130 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37132 grep -v '^ *+' conftest.er1
>conftest.err
37134 cat conftest.err
>&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); } >/dev
/null
; then
37137 if test -s conftest.err
; then
37138 ac_cpp_err
=$ac_c_preproc_warn_flag
37145 if test -z "$ac_cpp_err"; then
37146 ac_header_preproc
=yes
37148 echo "$as_me: failed program was:" >&5
37149 sed 's/^/| /' conftest.
$ac_ext >&5
37151 ac_header_preproc
=no
37153 rm -f conftest.err conftest.
$ac_ext
37154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37155 echo "${ECHO_T}$ac_header_preproc" >&6
37157 # So? What about this header?
37158 case $ac_header_compiler:$ac_header_preproc in
37160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37166 ## ------------------------------------ ##
37167 ## Report this to bug-autoconf@gnu.org. ##
37168 ## ------------------------------------ ##
37171 sed "s/^/$as_me: WARNING: /" >&2
37174 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37175 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37176 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37177 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37182 ## ------------------------------------ ##
37183 ## Report this to bug-autoconf@gnu.org. ##
37184 ## ------------------------------------ ##
37187 sed "s/^/$as_me: WARNING: /" >&2
37190 echo "$as_me:$LINENO: checking for $ac_header" >&5
37191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37193 echo $ECHO_N "(cached) $ECHO_C" >&6
37195 eval "$as_ac_Header=$ac_header_preproc"
37197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37202 cat >>confdefs.h
<<_ACEOF
37203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37205 ac_has_wctype_h
=yes
37213 # Only continue checking if the ISO C99 headers exist and support is on.
37214 if test x
"$ac_has_wchar_h" = xyes
&&
37215 test x
"$ac_has_wctype_h" = xyes
&&
37216 test x
"$enable_c_mbchar" != xno
; then
37218 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
37219 # numeric_limits can instantiate type_traits<wchar_t>
37220 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
37221 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
37222 cat >conftest.
$ac_ext <<_ACEOF
37223 #line $LINENO "configure"
37226 cat confdefs.h
>>conftest.
$ac_ext
37227 cat >>conftest.
$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37233 int i = WCHAR_MIN; int j = WCHAR_MAX;
37238 rm -f conftest.
$ac_objext
37239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37240 (eval $ac_compile) 2>&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } &&
37244 { ac_try
='test -s conftest.$ac_objext'
37245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 (eval $ac_try) 2>&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); }; }; then
37250 has_wchar_minmax
=yes
37252 echo "$as_me: failed program was:" >&5
37253 sed 's/^/| /' conftest.
$ac_ext >&5
37255 has_wchar_minmax
=no
37257 rm -f conftest.
$ac_objext conftest.
$ac_ext
37258 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
37259 echo "${ECHO_T}$has_wchar_minmax" >&6
37261 # Test wchar.h for WEOF, which is what we use to determine whether
37262 # to specialize for char_traits<wchar_t> or not.
37263 echo "$as_me:$LINENO: checking for WEOF" >&5
37264 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
37265 cat >conftest.
$ac_ext <<_ACEOF
37266 #line $LINENO "configure"
37269 cat confdefs.h
>>conftest.
$ac_ext
37270 cat >>conftest.
$ac_ext <<_ACEOF
37271 /* end confdefs.h. */
37274 #include <stddef.h>
37283 rm -f conftest.
$ac_objext
37284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37285 (eval $ac_compile) 2>&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } &&
37289 { ac_try
='test -s conftest.$ac_objext'
37290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37291 (eval $ac_try) 2>&5
37293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37294 (exit $ac_status); }; }; then
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.
$ac_ext >&5
37302 rm -f conftest.
$ac_objext conftest.
$ac_ext
37303 echo "$as_me:$LINENO: result: $has_weof" >&5
37304 echo "${ECHO_T}$has_weof" >&6
37306 # Tests for wide character functions used in char_traits<wchar_t>.
37314 for ac_func
in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
37316 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37317 echo "$as_me:$LINENO: checking for $ac_func" >&5
37318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37319 if eval "test \"\${$as_ac_var+set}\" = set"; then
37320 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 cat >conftest.
$ac_ext <<_ACEOF
37323 #line $LINENO "configure"
37326 cat confdefs.h
>>conftest.
$ac_ext
37327 cat >>conftest.
$ac_ext <<_ACEOF
37328 /* end confdefs.h. */
37329 /* System header to define __stub macros and hopefully few prototypes,
37330 which can conflict with char $ac_func (); below.
37331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37332 <limits.h> exists even on freestanding compilers. */
37334 # include <limits.h>
37336 # include <assert.h>
37338 /* Override any gcc2 internal prototype to avoid an error. */
37343 /* We use char because int might match the return type of a gcc2
37344 builtin and then its argument prototype would still apply. */
37346 /* The GNU C library defines this for functions which it implements
37347 to always fail with ENOSYS. Some functions are actually named
37348 something starting with __ and the normal name is an alias. */
37349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37352 char (*f) () = $ac_func;
37361 return f != $ac_func;
37366 rm -f conftest.
$ac_objext conftest
$ac_exeext
37367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37368 (eval $ac_link) 2>&5
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); } &&
37372 { ac_try
='test -s conftest$ac_exeext'
37373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37374 (eval $ac_try) 2>&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); }; }; then
37378 eval "$as_ac_var=yes"
37380 echo "$as_me: failed program was:" >&5
37381 sed 's/^/| /' conftest.
$ac_ext >&5
37383 eval "$as_ac_var=no"
37385 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37389 if test `eval echo '${'$as_ac_var'}'` = yes; then
37390 cat >>confdefs.h
<<_ACEOF
37391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37400 # Checks for names injected into std:: by the c_std headers.
37451 for ac_func
in btowc wctob fgetwc fgetws fputwc fputws fwide \
37452 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
37453 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
37454 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
37455 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
37456 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
37458 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37459 echo "$as_me:$LINENO: checking for $ac_func" >&5
37460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37461 if eval "test \"\${$as_ac_var+set}\" = set"; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37464 cat >conftest.
$ac_ext <<_ACEOF
37465 #line $LINENO "configure"
37468 cat confdefs.h
>>conftest.
$ac_ext
37469 cat >>conftest.
$ac_ext <<_ACEOF
37470 /* end confdefs.h. */
37471 /* System header to define __stub macros and hopefully few prototypes,
37472 which can conflict with char $ac_func (); below.
37473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37474 <limits.h> exists even on freestanding compilers. */
37476 # include <limits.h>
37478 # include <assert.h>
37480 /* Override any gcc2 internal prototype to avoid an error. */
37485 /* We use char because int might match the return type of a gcc2
37486 builtin and then its argument prototype would still apply. */
37488 /* The GNU C library defines this for functions which it implements
37489 to always fail with ENOSYS. Some functions are actually named
37490 something starting with __ and the normal name is an alias. */
37491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37494 char (*f) () = $ac_func;
37503 return f != $ac_func;
37508 rm -f conftest.
$ac_objext conftest
$ac_exeext
37509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37510 (eval $ac_link) 2>&5
37512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37513 (exit $ac_status); } &&
37514 { ac_try
='test -s conftest$ac_exeext'
37515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37516 (eval $ac_try) 2>&5
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); }; }; then
37520 eval "$as_ac_var=yes"
37522 echo "$as_me: failed program was:" >&5
37523 sed 's/^/| /' conftest.
$ac_ext >&5
37525 eval "$as_ac_var=no"
37527 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37531 if test `eval echo '${'$as_ac_var'}'` = yes; then
37532 cat >>confdefs.h
<<_ACEOF
37533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37542 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
37543 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
37544 if test x
"$has_weof" = xyes
&&
37545 test x
"$has_wchar_minmax" = xyes
&&
37546 test x
"$ac_wfuncs" = xyes
;
37548 ac_isoC99_wchar_t
=yes
37550 ac_isoC99_wchar_t
=no
37552 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
37553 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
37555 # Use iconv for wchar_t to char conversions. As such, check for
37556 # X/Open Portability Guide, version 2 features (XPG2).
37557 if test "${ac_cv_header_iconv_h+set}" = set; then
37558 echo "$as_me:$LINENO: checking for iconv.h" >&5
37559 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
37560 if test "${ac_cv_header_iconv_h+set}" = set; then
37561 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
37564 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
37566 # Is the header compilable?
37567 echo "$as_me:$LINENO: checking iconv.h usability" >&5
37568 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
37569 cat >conftest.
$ac_ext <<_ACEOF
37570 #line $LINENO "configure"
37573 cat confdefs.h
>>conftest.
$ac_ext
37574 cat >>conftest.
$ac_ext <<_ACEOF
37575 /* end confdefs.h. */
37576 $ac_includes_default
37579 rm -f conftest.
$ac_objext
37580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37581 (eval $ac_compile) 2>&5
37583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584 (exit $ac_status); } &&
37585 { ac_try
='test -s conftest.$ac_objext'
37586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37587 (eval $ac_try) 2>&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); }; }; then
37591 ac_header_compiler
=yes
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.
$ac_ext >&5
37596 ac_header_compiler
=no
37598 rm -f conftest.
$ac_objext conftest.
$ac_ext
37599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37600 echo "${ECHO_T}$ac_header_compiler" >&6
37602 # Is the header present?
37603 echo "$as_me:$LINENO: checking iconv.h presence" >&5
37604 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
37605 cat >conftest.
$ac_ext <<_ACEOF
37606 #line $LINENO "configure"
37609 cat confdefs.h
>>conftest.
$ac_ext
37610 cat >>conftest.
$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37615 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37617 grep -v '^ *+' conftest.er1
>conftest.err
37619 cat conftest.err
>&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } >/dev
/null
; then
37622 if test -s conftest.err
; then
37623 ac_cpp_err
=$ac_c_preproc_warn_flag
37630 if test -z "$ac_cpp_err"; then
37631 ac_header_preproc
=yes
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.
$ac_ext >&5
37636 ac_header_preproc
=no
37638 rm -f conftest.err conftest.
$ac_ext
37639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37640 echo "${ECHO_T}$ac_header_preproc" >&6
37642 # So? What about this header?
37643 case $ac_header_compiler:$ac_header_preproc in
37645 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
37646 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37647 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
37648 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
37651 ## ------------------------------------ ##
37652 ## Report this to bug-autoconf@gnu.org. ##
37653 ## ------------------------------------ ##
37656 sed "s/^/$as_me: WARNING: /" >&2
37659 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
37660 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
37661 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
37662 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
37663 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
37664 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
37667 ## ------------------------------------ ##
37668 ## Report this to bug-autoconf@gnu.org. ##
37669 ## ------------------------------------ ##
37672 sed "s/^/$as_me: WARNING: /" >&2
37675 echo "$as_me:$LINENO: checking for iconv.h" >&5
37676 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
37677 if test "${ac_cv_header_iconv_h+set}" = set; then
37678 echo $ECHO_N "(cached) $ECHO_C" >&6
37680 ac_cv_header_iconv_h
=$ac_header_preproc
37682 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
37683 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
37686 if test $ac_cv_header_iconv_h = yes; then
37693 if test "${ac_cv_header_langinfo_h+set}" = set; then
37694 echo "$as_me:$LINENO: checking for langinfo.h" >&5
37695 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
37696 if test "${ac_cv_header_langinfo_h+set}" = set; then
37697 echo $ECHO_N "(cached) $ECHO_C" >&6
37699 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
37700 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
37702 # Is the header compilable?
37703 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
37704 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
37705 cat >conftest.
$ac_ext <<_ACEOF
37706 #line $LINENO "configure"
37709 cat confdefs.h
>>conftest.
$ac_ext
37710 cat >>conftest.
$ac_ext <<_ACEOF
37711 /* end confdefs.h. */
37712 $ac_includes_default
37713 #include <langinfo.h>
37715 rm -f conftest.
$ac_objext
37716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37717 (eval $ac_compile) 2>&5
37719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37720 (exit $ac_status); } &&
37721 { ac_try
='test -s conftest.$ac_objext'
37722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37723 (eval $ac_try) 2>&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); }; }; then
37727 ac_header_compiler
=yes
37729 echo "$as_me: failed program was:" >&5
37730 sed 's/^/| /' conftest.
$ac_ext >&5
37732 ac_header_compiler
=no
37734 rm -f conftest.
$ac_objext conftest.
$ac_ext
37735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37736 echo "${ECHO_T}$ac_header_compiler" >&6
37738 # Is the header present?
37739 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
37740 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
37741 cat >conftest.
$ac_ext <<_ACEOF
37742 #line $LINENO "configure"
37745 cat confdefs.h
>>conftest.
$ac_ext
37746 cat >>conftest.
$ac_ext <<_ACEOF
37747 /* end confdefs.h. */
37748 #include <langinfo.h>
37750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37751 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
37753 grep -v '^ *+' conftest.er1
>conftest.err
37755 cat conftest.err
>&5
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); } >/dev
/null
; then
37758 if test -s conftest.err
; then
37759 ac_cpp_err
=$ac_c_preproc_warn_flag
37766 if test -z "$ac_cpp_err"; then
37767 ac_header_preproc
=yes
37769 echo "$as_me: failed program was:" >&5
37770 sed 's/^/| /' conftest.
$ac_ext >&5
37772 ac_header_preproc
=no
37774 rm -f conftest.err conftest.
$ac_ext
37775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37776 echo "${ECHO_T}$ac_header_preproc" >&6
37778 # So? What about this header?
37779 case $ac_header_compiler:$ac_header_preproc in
37781 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
37782 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37783 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
37784 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
37787 ## ------------------------------------ ##
37788 ## Report this to bug-autoconf@gnu.org. ##
37789 ## ------------------------------------ ##
37792 sed "s/^/$as_me: WARNING: /" >&2
37795 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
37796 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
37797 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
37798 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
37799 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
37800 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
37803 ## ------------------------------------ ##
37804 ## Report this to bug-autoconf@gnu.org. ##
37805 ## ------------------------------------ ##
37808 sed "s/^/$as_me: WARNING: /" >&2
37811 echo "$as_me:$LINENO: checking for langinfo.h" >&5
37812 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
37813 if test "${ac_cv_header_langinfo_h+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37816 ac_cv_header_langinfo_h
=$ac_header_preproc
37818 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
37819 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
37822 if test $ac_cv_header_langinfo_h = yes; then
37823 ac_has_langinfo_h
=yes
37825 ac_has_langinfo_h
=no
37830 # Check for existence of libiconv.a providing XPG2 wchar_t support.
37831 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
37832 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
37833 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
37834 echo $ECHO_N "(cached) $ECHO_C" >&6
37836 ac_check_lib_save_LIBS
=$LIBS
37837 LIBS
="-liconv $LIBS"
37838 cat >conftest.
$ac_ext <<_ACEOF
37839 #line $LINENO "configure"
37842 cat confdefs.h
>>conftest.
$ac_ext
37843 cat >>conftest.
$ac_ext <<_ACEOF
37844 /* end confdefs.h. */
37846 /* Override any gcc2 internal prototype to avoid an error. */
37850 /* We use char because int might match the return type of a gcc2
37851 builtin and then its argument prototype would still apply. */
37861 rm -f conftest.
$ac_objext conftest
$ac_exeext
37862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37863 (eval $ac_link) 2>&5
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); } &&
37867 { ac_try
='test -s conftest$ac_exeext'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; }; then
37873 ac_cv_lib_iconv_iconv
=yes
37875 echo "$as_me: failed program was:" >&5
37876 sed 's/^/| /' conftest.
$ac_ext >&5
37878 ac_cv_lib_iconv_iconv
=no
37880 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37881 LIBS
=$ac_check_lib_save_LIBS
37883 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
37884 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
37885 if test $ac_cv_lib_iconv_iconv = yes; then
37889 ac_save_LIBS
="$LIBS"
37890 LIBS
="$LIBS $libiconv"
37896 for ac_func
in iconv_open iconv_close
iconv nl_langinfo
37898 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37899 echo "$as_me:$LINENO: checking for $ac_func" >&5
37900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37901 if eval "test \"\${$as_ac_var+set}\" = set"; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37904 cat >conftest.
$ac_ext <<_ACEOF
37905 #line $LINENO "configure"
37908 cat confdefs.h
>>conftest.
$ac_ext
37909 cat >>conftest.
$ac_ext <<_ACEOF
37910 /* end confdefs.h. */
37911 /* System header to define __stub macros and hopefully few prototypes,
37912 which can conflict with char $ac_func (); below.
37913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37914 <limits.h> exists even on freestanding compilers. */
37916 # include <limits.h>
37918 # include <assert.h>
37920 /* Override any gcc2 internal prototype to avoid an error. */
37925 /* We use char because int might match the return type of a gcc2
37926 builtin and then its argument prototype would still apply. */
37928 /* The GNU C library defines this for functions which it implements
37929 to always fail with ENOSYS. Some functions are actually named
37930 something starting with __ and the normal name is an alias. */
37931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37934 char (*f) () = $ac_func;
37943 return f != $ac_func;
37948 rm -f conftest.
$ac_objext conftest
$ac_exeext
37949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37950 (eval $ac_link) 2>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } &&
37954 { ac_try
='test -s conftest$ac_exeext'
37955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956 (eval $ac_try) 2>&5
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); }; }; then
37960 eval "$as_ac_var=yes"
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.
$ac_ext >&5
37965 eval "$as_ac_var=no"
37967 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
37969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37971 if test `eval echo '${'$as_ac_var'}'` = yes; then
37972 cat >>confdefs.h
<<_ACEOF
37973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37982 LIBS
="$ac_save_LIBS"
37984 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
37985 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
37986 if test x
"$ac_has_iconv_h" = xyes
&&
37987 test x
"$ac_has_langinfo_h" = xyes
&&
37988 test x
"$ac_XPG2funcs" = xyes
;
37990 ac_XPG2_wchar_t
=yes
37994 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
37995 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
37997 # At the moment, only enable wchar_t specializations if all the
37998 # above support is present.
37999 if test x
"$ac_isoC99_wchar_t" = xyes
&&
38000 test x
"$ac_XPG2_wchar_t" = xyes
;
38002 cat >>confdefs.h
<<\_ACEOF
38003 #define _GLIBCXX_USE_WCHAR_T 1
38009 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
38010 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
38011 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
38012 echo "${ECHO_T}$enable_wchar_t" >&6
38014 cat >>confdefs.h
<<\_ACEOF
38015 #define HAVE_COSF 1
38018 cat >>confdefs.h
<<\_ACEOF
38019 #define HAVE_COSL 1
38022 cat >>confdefs.h
<<\_ACEOF
38023 #define HAVE_COSHF 1
38026 cat >>confdefs.h
<<\_ACEOF
38027 #define HAVE_COSHL 1
38030 cat >>confdefs.h
<<\_ACEOF
38031 #define HAVE_LOGF 1
38034 cat >>confdefs.h
<<\_ACEOF
38035 #define HAVE_LOGL 1
38038 cat >>confdefs.h
<<\_ACEOF
38039 #define HAVE_LOG10F 1
38042 cat >>confdefs.h
<<\_ACEOF
38043 #define HAVE_LOG10L 1
38046 cat >>confdefs.h
<<\_ACEOF
38047 #define HAVE_SINF 1
38050 cat >>confdefs.h
<<\_ACEOF
38051 #define HAVE_SINL 1
38054 cat >>confdefs.h
<<\_ACEOF
38055 #define HAVE_SINHF 1
38058 cat >>confdefs.h
<<\_ACEOF
38059 #define HAVE_SINHL 1
38066 # os_include_dir="os/solaris/solaris2.5"
38069 # os_include_dir="os/solaris/solaris2.6"
38071 # *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
38072 # os_include_dir="os/solaris/solaris2.7"
38075 cat >>confdefs.h
<<\_ACEOF
38076 #define HAVE_STRTOF 1
38079 cat >>confdefs.h
<<\_ACEOF
38080 #define HAVE_STRTOLD 1
38083 cat >>confdefs.h
<<\_ACEOF
38084 #define HAVE_MMAP 1
38087 cat >>confdefs.h
<<\_ACEOF
38088 #define HAVE_COPYSIGN 1
38091 cat >>confdefs.h
<<\_ACEOF
38092 #define HAVE_ISNAN 1
38095 cat >>confdefs.h
<<\_ACEOF
38096 #define HAVE_ISNANF 1
38099 cat >>confdefs.h
<<\_ACEOF
38100 #define HAVE_MODFF 1
38103 cat >>confdefs.h
<<\_ACEOF
38104 #define HAVE_HYPOT 1
38109 #os_include_dir="os/windiss"
38110 cat >>confdefs.h
<<\_ACEOF
38111 #define HAVE_ACOSF 1
38114 cat >>confdefs.h
<<\_ACEOF
38115 #define HAVE_ASINF 1
38118 cat >>confdefs.h
<<\_ACEOF
38119 #define HAVE_ATAN2F 1
38122 cat >>confdefs.h
<<\_ACEOF
38123 #define HAVE_ATANF 1
38126 cat >>confdefs.h
<<\_ACEOF
38127 #define HAVE_CEILF 1
38130 cat >>confdefs.h
<<\_ACEOF
38131 #define HAVE_COPYSIGN 1
38134 cat >>confdefs.h
<<\_ACEOF
38135 #define HAVE_COPYSIGNF 1
38138 cat >>confdefs.h
<<\_ACEOF
38139 #define HAVE_COSF 1
38142 cat >>confdefs.h
<<\_ACEOF
38143 #define HAVE_COSHF 1
38146 cat >>confdefs.h
<<\_ACEOF
38147 #define HAVE_EXPF 1
38150 cat >>confdefs.h
<<\_ACEOF
38151 #define HAVE_FABSF 1
38154 cat >>confdefs.h
<<\_ACEOF
38155 #define HAVE_FLOORF 1
38158 cat >>confdefs.h
<<\_ACEOF
38159 #define HAVE_FMODF 1
38162 cat >>confdefs.h
<<\_ACEOF
38163 #define HAVE_FREXPF 1
38166 cat >>confdefs.h
<<\_ACEOF
38167 #define HAVE_LDEXPF 1
38170 cat >>confdefs.h
<<\_ACEOF
38171 #define HAVE_LOG10F 1
38174 cat >>confdefs.h
<<\_ACEOF
38175 #define HAVE_LOGF 1
38178 cat >>confdefs.h
<<\_ACEOF
38179 #define HAVE_MODFF 1
38182 cat >>confdefs.h
<<\_ACEOF
38183 #define HAVE_POWF 1
38186 cat >>confdefs.h
<<\_ACEOF
38187 #define HAVE_SINF 1
38190 cat >>confdefs.h
<<\_ACEOF
38191 #define HAVE_SINHF 1
38194 cat >>confdefs.h
<<\_ACEOF
38195 #define HAVE_SQRTF 1
38198 cat >>confdefs.h
<<\_ACEOF
38199 #define HAVE_TANF 1
38202 cat >>confdefs.h
<<\_ACEOF
38203 #define HAVE_TANHF 1
38208 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
38209 echo "$as_me: error: No support for this host/target combination." >&2;}
38210 { (exit 1); exit 1; }; }
38217 # At some point, we should differentiate between architectures
38218 # like x86, which have long double versions, and alpha/powerpc/etc.,
38219 # which don't. For the time being, punt.
38220 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
38221 cat >>confdefs.h
<<\_ACEOF
38222 #define HAVE_ACOSL 1
38225 cat >>confdefs.h
<<\_ACEOF
38226 #define HAVE_ASINL 1
38229 cat >>confdefs.h
<<\_ACEOF
38230 #define HAVE_ATAN2L 1
38233 cat >>confdefs.h
<<\_ACEOF
38234 #define HAVE_ATANL 1
38237 cat >>confdefs.h
<<\_ACEOF
38238 #define HAVE_CEILL 1
38241 cat >>confdefs.h
<<\_ACEOF
38242 #define HAVE_COPYSIGNL 1
38245 cat >>confdefs.h
<<\_ACEOF
38246 #define HAVE_COSL 1
38249 cat >>confdefs.h
<<\_ACEOF
38250 #define HAVE_COSHL 1
38253 cat >>confdefs.h
<<\_ACEOF
38254 #define HAVE_EXPL 1
38257 cat >>confdefs.h
<<\_ACEOF
38258 #define HAVE_FABSL 1
38261 cat >>confdefs.h
<<\_ACEOF
38262 #define HAVE_FLOORL 1
38265 cat >>confdefs.h
<<\_ACEOF
38266 #define HAVE_FMODL 1
38269 cat >>confdefs.h
<<\_ACEOF
38270 #define HAVE_FREXPL 1
38273 cat >>confdefs.h
<<\_ACEOF
38274 #define HAVE_LDEXPL 1
38277 cat >>confdefs.h
<<\_ACEOF
38278 #define HAVE_LOG10L 1
38281 cat >>confdefs.h
<<\_ACEOF
38282 #define HAVE_LOGL 1
38285 cat >>confdefs.h
<<\_ACEOF
38286 #define HAVE_MODFL 1
38289 cat >>confdefs.h
<<\_ACEOF
38290 #define HAVE_POWL 1
38293 cat >>confdefs.h
<<\_ACEOF
38294 #define HAVE_SINCOSL 1
38297 cat >>confdefs.h
<<\_ACEOF
38298 #define HAVE_SINL 1
38301 cat >>confdefs.h
<<\_ACEOF
38302 #define HAVE_SINHL 1
38305 cat >>confdefs.h
<<\_ACEOF
38306 #define HAVE_SQRTL 1
38309 cat >>confdefs.h
<<\_ACEOF
38310 #define HAVE_TANL 1
38313 cat >>confdefs.h
<<\_ACEOF
38314 #define HAVE_TANHL 1
38321 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
38324 # Check whether --enable-symvers or --disable-symvers was given.
38325 if test "${enable_symvers+set}" = set; then
38326 enableval
="$enable_symvers"
38328 case "$enableval" in
38330 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
38331 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
38332 { (exit 1); exit 1; }; } ;;
38340 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
38341 # don't know enough about $LD to do tricks...
38343 # FIXME The following test is too strict, in theory.
38344 if test $enable_shared = no ||
38346 test x
$glibcxx_gnu_ld_version = x
; then
38350 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
38351 if test $enable_symvers != no
; then
38352 echo "$as_me:$LINENO: checking for shared libgcc" >&5
38353 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
38354 ac_save_CFLAGS
="$CFLAGS"
38356 cat >conftest.
$ac_ext <<_ACEOF
38357 #line $LINENO "configure"
38360 cat confdefs.h
>>conftest.
$ac_ext
38361 cat >>conftest.
$ac_ext <<_ACEOF
38362 /* end confdefs.h. */
38372 rm -f conftest.
$ac_objext conftest
$ac_exeext
38373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38374 (eval $ac_link) 2>&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } &&
38378 { ac_try
='test -s conftest$ac_exeext'
38379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38380 (eval $ac_try) 2>&5
38382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38383 (exit $ac_status); }; }; then
38384 glibcxx_shared_libgcc
=yes
38386 echo "$as_me: failed program was:" >&5
38387 sed 's/^/| /' conftest.
$ac_ext >&5
38389 glibcxx_shared_libgcc
=no
38391 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
38392 CFLAGS
="$ac_save_CFLAGS"
38393 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
38394 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
38397 # For GNU ld, we need at least this version. The format is described in
38398 # GLIBCXX_CHECK_LINKER_FEATURES above.
38399 glibcxx_min_gnu_ld_version
=21400
38400 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
38402 # Check to see if unspecified "yes" value can win, given results above.
38403 # Change "yes" into either "no" or a style name.
38404 if test $enable_symvers = yes; then
38405 if test $with_gnu_ld = yes &&
38406 test $glibcxx_shared_libgcc = yes;
38408 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
38411 # The right tools, the right setup, but too old. Fallbacks?
38412 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
38413 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
38414 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
38415 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
38416 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
38417 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
38418 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
38419 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
38420 if test $glibcxx_gnu_ld_version -ge 21200 ; then
38421 # Globbing fix is present, proper block support is not.
38422 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
38423 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
38427 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
38428 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
38433 # just fail for now
38434 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
38435 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
38436 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
38437 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
38438 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
38439 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
38440 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
38441 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
38446 # Everything parsed; figure out what file to use.
38447 case $enable_symvers in
38449 SYMVER_MAP
=config
/linker-map.dummy
38452 SYMVER_MAP
=config
/linker-map.gnu
38453 cat >>confdefs.h
<<\_ACEOF
38454 #define _GLIBCXX_SYMVER 1
38464 if test $enable_symvers != no
; then
38465 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE
=
38466 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE
='#'
38468 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE
='#'
38469 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE
=
38472 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
38473 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
38476 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
38478 if $GLIBCXX_IS_NATIVE; then
38479 # Do checks for memory limit functions.
38481 setrlimit_have_headers
=yes
38485 for ac_header
in unistd.h sys
/time.h sys
/resource.h
38487 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38489 echo "$as_me:$LINENO: checking for $ac_header" >&5
38490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38492 echo $ECHO_N "(cached) $ECHO_C" >&6
38494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38497 # Is the header compilable?
38498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38500 cat >conftest.
$ac_ext <<_ACEOF
38501 #line $LINENO "configure"
38504 cat confdefs.h
>>conftest.
$ac_ext
38505 cat >>conftest.
$ac_ext <<_ACEOF
38506 /* end confdefs.h. */
38507 $ac_includes_default
38508 #include <$ac_header>
38510 rm -f conftest.
$ac_objext
38511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38512 (eval $ac_compile) 2>&5
38514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38515 (exit $ac_status); } &&
38516 { ac_try
='test -s conftest.$ac_objext'
38517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38518 (eval $ac_try) 2>&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); }; }; then
38522 ac_header_compiler
=yes
38524 echo "$as_me: failed program was:" >&5
38525 sed 's/^/| /' conftest.
$ac_ext >&5
38527 ac_header_compiler
=no
38529 rm -f conftest.
$ac_objext conftest.
$ac_ext
38530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38531 echo "${ECHO_T}$ac_header_compiler" >&6
38533 # Is the header present?
38534 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38536 cat >conftest.
$ac_ext <<_ACEOF
38537 #line $LINENO "configure"
38540 cat confdefs.h
>>conftest.
$ac_ext
38541 cat >>conftest.
$ac_ext <<_ACEOF
38542 /* end confdefs.h. */
38543 #include <$ac_header>
38545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38546 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
38548 grep -v '^ *+' conftest.er1
>conftest.err
38550 cat conftest.err
>&5
38551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38552 (exit $ac_status); } >/dev
/null
; then
38553 if test -s conftest.err
; then
38554 ac_cpp_err
=$ac_c_preproc_warn_flag
38561 if test -z "$ac_cpp_err"; then
38562 ac_header_preproc
=yes
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.
$ac_ext >&5
38567 ac_header_preproc
=no
38569 rm -f conftest.err conftest.
$ac_ext
38570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38571 echo "${ECHO_T}$ac_header_preproc" >&6
38573 # So? What about this header?
38574 case $ac_header_compiler:$ac_header_preproc in
38576 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38577 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38578 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38579 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38582 ## ------------------------------------ ##
38583 ## Report this to bug-autoconf@gnu.org. ##
38584 ## ------------------------------------ ##
38587 sed "s/^/$as_me: WARNING: /" >&2
38590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38598 ## ------------------------------------ ##
38599 ## Report this to bug-autoconf@gnu.org. ##
38600 ## ------------------------------------ ##
38603 sed "s/^/$as_me: WARNING: /" >&2
38606 echo "$as_me:$LINENO: checking for $ac_header" >&5
38607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38611 eval "$as_ac_Header=$ac_header_preproc"
38613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38618 cat >>confdefs.h
<<_ACEOF
38619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38623 setrlimit_have_headers
=no
38628 # If don't have the headers, then we can't run the tests now, and we
38629 # won't be seeing any of these during testsuite compilation.
38630 if test $setrlimit_have_headers = yes; then
38631 # Can't do these in a loop, else the resulting syntax is wrong.
38633 cat >conftest.
$ac_ext <<_ACEOF
38634 #line $LINENO "configure"
38637 cat confdefs.h
>>conftest.
$ac_ext
38638 cat >>conftest.
$ac_ext <<_ACEOF
38639 /* end confdefs.h. */
38640 #include <unistd.h>
38641 #include <sys/time.h>
38642 #include <sys/resource.h>
38647 int f = RLIMIT_DATA ;
38652 rm -f conftest.
$ac_objext
38653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38654 (eval $ac_compile) 2>&5
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); } &&
38658 { ac_try
='test -s conftest.$ac_objext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38666 echo "$as_me: failed program was:" >&5
38667 sed 's/^/| /' conftest.
$ac_ext >&5
38671 rm -f conftest.
$ac_objext conftest.
$ac_ext
38673 cat >>confdefs.h
<<_ACEOF
38674 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
38679 cat >conftest.
$ac_ext <<_ACEOF
38680 #line $LINENO "configure"
38683 cat confdefs.h
>>conftest.
$ac_ext
38684 cat >>conftest.
$ac_ext <<_ACEOF
38685 /* end confdefs.h. */
38686 #include <unistd.h>
38687 #include <sys/time.h>
38688 #include <sys/resource.h>
38693 int f = RLIMIT_RSS ;
38698 rm -f conftest.
$ac_objext
38699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38700 (eval $ac_compile) 2>&5
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); } &&
38704 { ac_try
='test -s conftest.$ac_objext'
38705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38706 (eval $ac_try) 2>&5
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); }; }; then
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.
$ac_ext >&5
38717 rm -f conftest.
$ac_objext conftest.
$ac_ext
38719 cat >>confdefs.h
<<_ACEOF
38720 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
38725 cat >conftest.
$ac_ext <<_ACEOF
38726 #line $LINENO "configure"
38729 cat confdefs.h
>>conftest.
$ac_ext
38730 cat >>conftest.
$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 #include <unistd.h>
38733 #include <sys/time.h>
38734 #include <sys/resource.h>
38739 int f = RLIMIT_VMEM ;
38744 rm -f conftest.
$ac_objext
38745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38746 (eval $ac_compile) 2>&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try
='test -s conftest.$ac_objext'
38751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38752 (eval $ac_try) 2>&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); }; }; then
38758 echo "$as_me: failed program was:" >&5
38759 sed 's/^/| /' conftest.
$ac_ext >&5
38763 rm -f conftest.
$ac_objext conftest.
$ac_ext
38765 cat >>confdefs.h
<<_ACEOF
38766 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
38771 cat >conftest.
$ac_ext <<_ACEOF
38772 #line $LINENO "configure"
38775 cat confdefs.h
>>conftest.
$ac_ext
38776 cat >>conftest.
$ac_ext <<_ACEOF
38777 /* end confdefs.h. */
38778 #include <unistd.h>
38779 #include <sys/time.h>
38780 #include <sys/resource.h>
38785 int f = RLIMIT_AS ;
38790 rm -f conftest.
$ac_objext
38791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38792 (eval $ac_compile) 2>&5
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); } &&
38796 { ac_try
='test -s conftest.$ac_objext'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.
$ac_ext >&5
38809 rm -f conftest.
$ac_objext conftest.
$ac_ext
38811 cat >>confdefs.h
<<_ACEOF
38812 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
38817 # Check for rlimit, setrlimit.
38818 if test "${ac_setrlimit+set}" = set; then
38819 echo $ECHO_N "(cached) $ECHO_C" >&6
38822 cat >conftest.
$ac_ext <<_ACEOF
38823 #line $LINENO "configure"
38826 cat confdefs.h
>>conftest.
$ac_ext
38827 cat >>conftest.
$ac_ext <<_ACEOF
38828 /* end confdefs.h. */
38829 #include <unistd.h>
38830 #include <sys/time.h>
38831 #include <sys/resource.h>
38842 rm -f conftest.
$ac_objext
38843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38844 (eval $ac_compile) 2>&5
38846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38847 (exit $ac_status); } &&
38848 { ac_try
='test -s conftest.$ac_objext'
38849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38850 (eval $ac_try) 2>&5
38852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853 (exit $ac_status); }; }; then
38856 echo "$as_me: failed program was:" >&5
38857 sed 's/^/| /' conftest.
$ac_ext >&5
38861 rm -f conftest.
$ac_objext conftest.
$ac_ext
38867 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
38868 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
38869 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
38871 cat >>confdefs.h
<<\_ACEOF
38872 #define _GLIBCXX_MEM_LIMITS 1
38878 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
38879 echo "${ECHO_T}$ac_mem_limits" >&6
38882 # Look for setenv, so that extended locale tests can be performed.
38884 echo "$as_me:$LINENO: checking for setenv declaration" >&5
38885 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
38886 if test x
${glibcxx_cv_func_setenv_use+set} != xset
; then
38887 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
38888 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 ac_cpp
='$CXXCPP $CPPFLAGS'
38895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38899 cat >conftest.
$ac_ext <<_ACEOF
38900 #line $LINENO "configure"
38903 cat confdefs.h
>>conftest.
$ac_ext
38904 cat >>conftest.
$ac_ext <<_ACEOF
38905 /* end confdefs.h. */
38906 #include <stdlib.h>
38915 rm -f conftest.
$ac_objext
38916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38917 (eval $ac_compile) 2>&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); } &&
38921 { ac_try
='test -s conftest.$ac_objext'
38922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923 (eval $ac_try) 2>&5
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); }; }; then
38927 glibcxx_cv_func_setenv_use
=yes
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.
$ac_ext >&5
38932 glibcxx_cv_func_setenv_use
=no
38934 rm -f conftest.
$ac_objext conftest.
$ac_ext
38936 ac_cpp
='$CPP $CPPFLAGS'
38937 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
38946 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
38947 if test x
$glibcxx_cv_func_setenv_use = x
"yes"; then
38949 for ac_func
in setenv
38951 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38952 echo "$as_me:$LINENO: checking for $ac_func" >&5
38953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38954 if eval "test \"\${$as_ac_var+set}\" = set"; then
38955 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 cat >conftest.
$ac_ext <<_ACEOF
38958 #line $LINENO "configure"
38961 cat confdefs.h
>>conftest.
$ac_ext
38962 cat >>conftest.
$ac_ext <<_ACEOF
38963 /* end confdefs.h. */
38964 /* System header to define __stub macros and hopefully few prototypes,
38965 which can conflict with char $ac_func (); below.
38966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38967 <limits.h> exists even on freestanding compilers. */
38969 # include <limits.h>
38971 # include <assert.h>
38973 /* Override any gcc2 internal prototype to avoid an error. */
38978 /* We use char because int might match the return type of a gcc2
38979 builtin and then its argument prototype would still apply. */
38981 /* The GNU C library defines this for functions which it implements
38982 to always fail with ENOSYS. Some functions are actually named
38983 something starting with __ and the normal name is an alias. */
38984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38987 char (*f) () = $ac_func;
38996 return f != $ac_func;
39001 rm -f conftest.
$ac_objext conftest
$ac_exeext
39002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39003 (eval $ac_link) 2>&5
39005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006 (exit $ac_status); } &&
39007 { ac_try
='test -s conftest$ac_exeext'
39008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39009 (eval $ac_try) 2>&5
39011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39012 (exit $ac_status); }; }; then
39013 eval "$as_ac_var=yes"
39015 echo "$as_me: failed program was:" >&5
39016 sed 's/^/| /' conftest.
$ac_ext >&5
39018 eval "$as_ac_var=no"
39020 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
39022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39024 if test `eval echo '${'$as_ac_var'}'` = yes; then
39025 cat >>confdefs.h
<<_ACEOF
39026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39036 # Export file names for ABI checking.
39037 baseline_dir
="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
39040 # Determine if checking the ABI is desirable.
39041 if test $enable_symvers = no
; then
39042 enable_abi_check
=no
39046 enable_abi_check
=no
;;
39048 enable_abi_check
=yes ;;
39054 if test $enable_wchar_t = yes; then
39055 GLIBCXX_TEST_WCHAR_T_TRUE
=
39056 GLIBCXX_TEST_WCHAR_T_FALSE
='#'
39058 GLIBCXX_TEST_WCHAR_T_TRUE
='#'
39059 GLIBCXX_TEST_WCHAR_T_FALSE
=
39064 if test $enable_abi_check = yes; then
39065 GLIBCXX_TEST_ABI_TRUE
=
39066 GLIBCXX_TEST_ABI_FALSE
='#'
39068 GLIBCXX_TEST_ABI_TRUE
='#'
39069 GLIBCXX_TEST_ABI_FALSE
=
39074 # Propagate the target-specific source directories through the build chain.
39075 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
39076 # uses it, and it only gets used in this file.)
39077 ATOMICITY_INC_SRCDIR
=config
/${atomicity_include_dir}
39078 OS_INC_SRCDIR
=config
/${os_include_dir}
39079 FPOS_INC_SRCDIR
=config
/${fpos_include_dir}
39084 # Determine cross-compile flags and AM_CONDITIONALs.
39085 #AC_SUBST(GLIBCXX_IS_NATIVE)
39086 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
39087 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
39088 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
39090 cat >confcache
<<\_ACEOF
39091 # This file is a shell script that caches the results of configure
39092 # tests run on this system so they can be shared between configure
39093 # scripts and configure runs, see configure's option --config-cache.
39094 # It is not useful on other systems. If it contains results you don't
39095 # want to keep, you may remove or edit it.
39097 # config.status only pays attention to the cache file if you give it
39098 # the --recheck option to rerun configure.
39100 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39101 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39102 # following values.
39106 # The following way of writing the cache mishandles newlines in values,
39107 # but we know of no workaround that is simple, portable, and efficient.
39108 # So, don't put newlines in cache variables' values.
39109 # Ultrix sh set writes to stderr and can't be redirected directly,
39110 # and sets the high bit in the cache file unless we assign to the vars.
39113 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39115 # `set' does not quote correctly, so add quotes (double-quote
39116 # substitution turns \\\\ into \\, and sed turns \\ into \).
39119 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39122 # `set' quotes correctly as required by POSIX, so do not add quotes.
39124 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39131 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39133 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39135 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39136 if test -w $cache_file; then
39137 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39138 cat confcache
>$cache_file
39140 echo "not updating unwritable cache $cache_file"
39145 if test ${multilib} = yes; then
39146 multilib_arg
="--enable-multilib"
39151 # Export all the install information.
39153 glibcxx_toolexecdir
=no
39154 glibcxx_toolexeclibdir
=no
39155 glibcxx_prefixdir
=$prefix
39157 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
39158 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
39160 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
39161 if test "${with_gxx_include_dir+set}" = set; then
39162 withval
="$with_gxx_include_dir"
39164 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
39165 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
39166 { (exit 1); exit 1; }; } ;;
39167 no
) gxx_include_dir
=no
;;
39168 *) gxx_include_dir
=$withval ;;
39173 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
39174 echo "${ECHO_T}$gxx_include_dir" >&6
39176 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
39177 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
39178 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
39179 if test "${enable_version_specific_runtime_libs+set}" = set; then
39180 enableval
="$enable_version_specific_runtime_libs"
39181 case "$enableval" in
39182 yes) version_specific_libs
=yes ;;
39183 no
) version_specific_libs
=no
;;
39184 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
39185 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
39186 { (exit 1); exit 1; }; };;
39189 version_specific_libs
=no
39191 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
39192 echo "${ECHO_T}$version_specific_libs" >&6
39194 # Default case for install directory for include files.
39195 if test $version_specific_libs = no
&& test $gxx_include_dir = no
; then
39196 gxx_include_dir
='${prefix}'/include
/c
++/${gcc_version}
39199 # Version-specific runtime libs processing.
39200 if test $version_specific_libs = yes; then
39201 # Need the gcc compiler version to know where to install libraries
39202 # and header files if --enable-version-specific-runtime-libs option
39204 if test x
"$gxx_include_dir" = x
"no"; then
39205 gxx_include_dir
='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include
/c
++
39207 glibcxx_toolexecdir
='${libdir}/gcc-lib/${host_alias}'
39208 glibcxx_toolexeclibdir
='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
39211 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
39212 # Install a library built with a cross compiler in tooldir, not libdir.
39213 if test x
"$glibcxx_toolexecdir" = x
"no"; then
39214 if test -n "$with_cross_host" &&
39215 test x
"$with_cross_host" != x
"no"; then
39216 glibcxx_toolexecdir
='${exec_prefix}/${host_alias}'
39217 glibcxx_toolexeclibdir
='${toolexecdir}/lib'
39219 glibcxx_toolexecdir
='${libdir}/gcc-lib/${host_alias}'
39220 glibcxx_toolexeclibdir
='${libdir}'
39222 multi_os_directory
=`$CXX -print-multi-os-directory`
39223 case $multi_os_directory in
39224 .
) ;; # Avoid trailing /.
39225 *) glibcxx_toolexeclibdir
=$glibcxx_toolexeclibdir/$multi_os_directory ;;
39229 echo "$as_me:$LINENO: checking for install location" >&5
39230 echo $ECHO_N "checking for install location... $ECHO_C" >&6
39231 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
39232 echo "${ECHO_T}$gxx_include_dir" >&6
39240 # Export all the include and flag information to Makefiles.
39242 # Used for every C++ compile we perform.
39243 GLIBCXX_INCLUDES
="\
39244 -I$glibcxx_builddir/include/$host_alias \
39245 -I$glibcxx_builddir/include \
39246 -I$glibcxx_srcdir/libsupc++"
39248 # For Canadian crosses, pick this up too.
39249 if test $CANADIAN = yes; then
39250 GLIBCXX_INCLUDES
="$GLIBCXX_INCLUDES '-I${includedir}'"
39253 # Stuff in the actual top level. Currently only used by libsupc++ to
39254 # get unwind* headers from the gcc dir.
39255 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
39256 TOPLEVEL_INCLUDES
='-I$(toplevel_srcdir)/gcc'
39258 # Now, export this to all the little Makefiles....
39263 # Optimization flags that are probably a good idea for thrill-seekers. Just
39264 # uncomment the lines below and make, everything else is ready to go...
39265 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
39269 WARN_FLAGS
='-Wall -Wno-format -W -Wwrite-strings'
39273 if ${CONFIG_SHELL-/bin/sh} .
/libtool
--tag CXX
--features |
39274 grep "enable shared" > /dev
/null
;
39276 LIBSUPCXX_PICFLAGS
=-prefer-pic
39278 LIBSUPCXX_PICFLAGS
=
39282 ac_config_files
="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile po/Makefile src/Makefile testsuite/Makefile"
39284 ac_config_files
="$ac_config_files scripts/check_survey"
39286 ac_config_files
="$ac_config_files scripts/testsuite_flags"
39289 ac_config_commands
="$ac_config_commands default"
39292 cat >confcache
<<\_ACEOF
39293 # This file is a shell script that caches the results of configure
39294 # tests run on this system so they can be shared between configure
39295 # scripts and configure runs, see configure's option --config-cache.
39296 # It is not useful on other systems. If it contains results you don't
39297 # want to keep, you may remove or edit it.
39299 # config.status only pays attention to the cache file if you give it
39300 # the --recheck option to rerun configure.
39302 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39303 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39304 # following values.
39308 # The following way of writing the cache mishandles newlines in values,
39309 # but we know of no workaround that is simple, portable, and efficient.
39310 # So, don't put newlines in cache variables' values.
39311 # Ultrix sh set writes to stderr and can't be redirected directly,
39312 # and sets the high bit in the cache file unless we assign to the vars.
39315 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39317 # `set' does not quote correctly, so add quotes (double-quote
39318 # substitution turns \\\\ into \\, and sed turns \\ into \).
39321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39324 # `set' quotes correctly as required by POSIX, so do not add quotes.
39326 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39335 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39337 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
39338 if test -w $cache_file; then
39339 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39340 cat confcache
>$cache_file
39342 echo "not updating unwritable cache $cache_file"
39347 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
39348 # Let make expand exec_prefix.
39349 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
39351 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39352 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39353 # trailing colons and then remove the whole line if VPATH becomes empty
39354 # (actually we leave an empty line to preserve line numbers).
39355 if test "x$srcdir" = x.
; then
39356 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
39357 s/:*\$(srcdir):*/:/;
39358 s/:*\${srcdir}:*/:/;
39360 s/^\([^=]*=[ ]*\):*/\1/;
39366 DEFS
=-DHAVE_CONFIG_H
39370 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
39371 # 1. Remove the extension, and $U if already installed.
39372 ac_i
=`echo "$ac_i" |
39373 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39375 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
39376 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
39378 LIBOBJS
=$ac_libobjs
39380 LTLIBOBJS
=$ac_ltlibobjs
39383 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
39384 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
39385 Usually this means the macro was only invoked conditionally." >&5
39386 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
39387 Usually this means the macro was only invoked conditionally." >&2;}
39388 { (exit 1); exit 1; }; }
39390 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
39391 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
39392 Usually this means the macro was only invoked conditionally." >&5
39393 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
39394 Usually this means the macro was only invoked conditionally." >&2;}
39395 { (exit 1); exit 1; }; }
39397 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
39398 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
39399 Usually this means the macro was only invoked conditionally." >&5
39400 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
39401 Usually this means the macro was only invoked conditionally." >&2;}
39402 { (exit 1); exit 1; }; }
39404 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
39405 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
39406 Usually this means the macro was only invoked conditionally." >&5
39407 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
39408 Usually this means the macro was only invoked conditionally." >&2;}
39409 { (exit 1); exit 1; }; }
39411 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
39412 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
39413 Usually this means the macro was only invoked conditionally." >&5
39414 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
39415 Usually this means the macro was only invoked conditionally." >&2;}
39416 { (exit 1); exit 1; }; }
39418 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
39419 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
39420 Usually this means the macro was only invoked conditionally." >&5
39421 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
39422 Usually this means the macro was only invoked conditionally." >&2;}
39423 { (exit 1); exit 1; }; }
39425 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
39426 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
39427 Usually this means the macro was only invoked conditionally." >&5
39428 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
39429 Usually this means the macro was only invoked conditionally." >&2;}
39430 { (exit 1); exit 1; }; }
39432 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
39433 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
39434 Usually this means the macro was only invoked conditionally." >&5
39435 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
39436 Usually this means the macro was only invoked conditionally." >&2;}
39437 { (exit 1); exit 1; }; }
39439 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
39440 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
39441 Usually this means the macro was only invoked conditionally." >&5
39442 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
39443 Usually this means the macro was only invoked conditionally." >&2;}
39444 { (exit 1); exit 1; }; }
39447 : ${CONFIG_STATUS=./config.status}
39448 ac_clean_files_save
=$ac_clean_files
39449 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
39450 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39451 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39452 cat >$CONFIG_STATUS <<_ACEOF
39454 # Generated by $as_me.
39455 # Run this file to recreate the current configuration.
39456 # Compiler output produced by configure, useful for debugging
39457 # configure, is in config.log if it exists.
39460 ac_cs_recheck=false
39462 SHELL=\${CONFIG_SHELL-$SHELL}
39465 cat >>$CONFIG_STATUS <<\_ACEOF
39466 ## --------------------- ##
39467 ## M4sh Initialization. ##
39468 ## --------------------- ##
39470 # Be Bourne compatible
39471 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
39474 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39475 # is contrary to our usage. Disable this feature.
39476 alias -g '${1+"$@"}'='"$@"'
39477 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
39481 # Support unset when possible.
39482 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
39489 # Work around bugs in pre-3.0 UWIN ksh.
39490 $as_unset ENV MAIL MAILPATH
39497 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39498 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39499 LC_TELEPHONE LC_TIME
39501 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
39502 eval $as_var=C
; export $as_var
39508 # Required to use basename.
39509 if expr a
: '\(a\)' >/dev
/null
2>&1; then
39515 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
39516 as_basename
=basename
39522 # Name of the executable.
39523 as_me
=`$as_basename "$0" ||
39524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39525 X"$0" : 'X\(//\)$' \| \
39526 X"$0" : 'X\(/\)$' \| \
39527 . : '\(.\)' 2>/dev/null ||
39529 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39530 /^X\/\(\/\/\)$/{ s//\1/; q; }
39531 /^X\/\(\/\).*/{ s//\1/; q; }
39535 # PATH needs CR, and LINENO needs CR and PATH.
39536 # Avoid depending upon Character Ranges.
39537 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
39538 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39539 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39540 as_cr_digits
='0123456789'
39541 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39543 # The user is always right.
39544 if test "${PATH_SEPARATOR+set}" != set; then
39545 echo "#! /bin/sh" >conf$$.sh
39546 echo "exit 0" >>conf$$.sh
39548 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
39557 as_lineno_1
=$LINENO
39558 as_lineno_2
=$LINENO
39559 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
39560 test "x$as_lineno_1" != "x$as_lineno_2" &&
39561 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
39562 # Find who we are. Look in the path if we contain no path at all
39565 *[\\/]* ) as_myself
=$0 ;;
39566 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39567 for as_dir
in $PATH
39570 test -z "$as_dir" && as_dir
=.
39571 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
39576 # We did not find ourselves, most probably we were run as `sh COMMAND'
39577 # in which case we are not to be found in the path.
39578 if test "x$as_myself" = x
; then
39581 if test ! -f "$as_myself"; then
39582 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39583 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39584 { (exit 1); exit 1; }; }
39586 case $CONFIG_SHELL in
39588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39589 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
39592 test -z "$as_dir" && as_dir
=.
39593 for as_base
in sh bash ksh sh5
; do
39596 if ("$as_dir/$as_base" -c '
39597 as_lineno_1=$LINENO
39598 as_lineno_2=$LINENO
39599 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39600 test "x$as_lineno_1" != "x$as_lineno_2" &&
39601 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
39602 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
39603 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
39604 CONFIG_SHELL
=$as_dir/$as_base
39605 export CONFIG_SHELL
39606 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39614 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39615 # uniformly replaced by the line number. The first 'sed' inserts a
39616 # line-number line before each line; the second 'sed' does the real
39617 # work. The second script uses 'N' to pair each line-number line
39618 # with the numbered line, and appends trailing '-' during
39619 # substitution so that $LINENO is not a special case at line end.
39620 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39621 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39622 sed '=' <$as_myself |
39627 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39630 s,^['$as_cr_digits']*\n,,
39631 ' >$as_me.lineno
&&
39632 chmod +x
$as_me.lineno ||
39633 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39634 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39635 { (exit 1); exit 1; }; }
39637 # Don't try to exec as it changes $[0], causing all sort of problems
39638 # (the dirname of $[0] is not the place where we might find the
39639 # original and so on. Autoconf is especially sensible to this).
39641 # Exit status is that of the last command.
39646 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39647 *c
*,-n*) ECHO_N
= ECHO_C
='
39649 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
39650 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
39653 if expr a
: '\(a\)' >/dev
/null
2>&1; then
39659 rm -f conf$$ conf$$.exe conf$$.
file
39661 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
39662 # We could just check for DJGPP; but this test a) works b) is more generic
39663 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39664 if test -f conf$$.exe
; then
39665 # Don't use ln at all; we don't have any links
39670 elif ln conf$$.
file conf$$
2>/dev
/null
; then
39675 rm -f conf$$ conf$$.exe conf$$.
file
39677 if mkdir
-p .
2>/dev
/null
; then
39683 as_executable_p
="test -f"
39685 # Sed expression to map a string onto a valid CPP name.
39686 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
39688 # Sed expression to map a string onto a valid variable name.
39689 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
39693 # We need space, tab and new line, in precisely that order.
39703 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39704 # report actual input values of CONFIG_FILES etc. instead of their
39705 # values after options handling. Logging --version etc. is OK.
39709 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39710 ## Running $as_me. ##
39715 This file was extended by package-unused $as_me version-unused, which was
39716 generated by GNU Autoconf 2.57. Invocation command line was
39718 CONFIG_FILES = $CONFIG_FILES
39719 CONFIG_HEADERS = $CONFIG_HEADERS
39720 CONFIG_LINKS = $CONFIG_LINKS
39721 CONFIG_COMMANDS = $CONFIG_COMMANDS
39725 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39729 # Files that config.status was made for.
39730 if test -n "$ac_config_files"; then
39731 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39734 if test -n "$ac_config_headers"; then
39735 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39738 if test -n "$ac_config_links"; then
39739 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39742 if test -n "$ac_config_commands"; then
39743 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39746 cat >>$CONFIG_STATUS <<\_ACEOF
39749 \`$as_me' instantiates files from templates according to the
39750 current configuration.
39752 Usage: $0 [OPTIONS] [FILE]...
39754 -h, --help print this help, then exit
39755 -V, --version print version number, then exit
39756 -q, --quiet do not print progress messages
39757 -d, --debug don't remove temporary files
39758 --recheck update $as_me by reconfiguring in the same conditions
39759 --file=FILE[:TEMPLATE]
39760 instantiate the configuration file FILE
39761 --header=FILE[:TEMPLATE]
39762 instantiate the configuration header FILE
39764 Configuration files:
39767 Configuration headers:
39770 Configuration commands:
39773 Report bugs to <bug-autoconf@gnu.org>."
39776 cat >>$CONFIG_STATUS <<_ACEOF
39778 package-unused config.status version-unused
39779 configured by $0, generated by GNU Autoconf 2.57,
39780 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39782 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
39783 Free Software Foundation, Inc.
39784 This config.status script is free software; the Free Software Foundation
39785 gives unlimited permission to copy, distribute and modify it."
39790 cat >>$CONFIG_STATUS <<\_ACEOF
39791 # If no file are specified by the user, then we need to provide default
39792 # value. By we need to know if files were specified by the user.
39798 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
39799 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
39807 *) # This is not an option, so the user has probably given explicit
39810 ac_need_defaults
=false
;;
39814 # Handling of the options.
39816 cat >>$CONFIG_STATUS <<\_ACEOF
39817 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
39819 --version |
--vers* |
-V )
39820 echo "$ac_cs_version"; exit 0 ;;
39822 # Conflict between --help and --header
39823 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39824 Try \`$0 --help' for more information." >&5
39825 echo "$as_me: error: ambiguous option: $1
39826 Try \`$0 --help' for more information." >&2;}
39827 { (exit 1); exit 1; }; };;
39828 --help |
--hel |
-h )
39829 echo "$ac_cs_usage"; exit 0 ;;
39830 --debug |
--d* |
-d )
39832 --file |
--fil |
--fi |
--f )
39834 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
39835 ac_need_defaults
=false
;;
39836 --header |
--heade |
--head |
--hea )
39838 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
39839 ac_need_defaults
=false
;;
39840 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
39841 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
39844 # This is an error.
39845 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39846 Try \`$0 --help' for more information." >&5
39847 echo "$as_me: error: unrecognized option: $1
39848 Try \`$0 --help' for more information." >&2;}
39849 { (exit 1); exit 1; }; } ;;
39851 *) ac_config_targets
="$ac_config_targets $1" ;;
39857 ac_configure_extra_args
=
39859 if $ac_cs_silent; then
39861 ac_configure_extra_args
="$ac_configure_extra_args --silent"
39865 cat >>$CONFIG_STATUS <<_ACEOF
39866 if \$ac_cs_recheck; then
39867 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39868 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39873 cat >>$CONFIG_STATUS <<_ACEOF
39875 # INIT-COMMANDS section.
39882 with_multisubdir="$with_multisubdir"
39883 with_multisrctop="$with_multisrctop"
39884 with_target_subdir="$with_target_subdir"
39885 ac_configure_args="${multilib_arg} ${ac_configure_args}"
39886 multi_basedir="$multi_basedir"
39887 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
39890 # No init-vars needed so far which aren't already passed by autoconf.
39897 cat >>$CONFIG_STATUS <<\_ACEOF
39898 for ac_config_target
in $ac_config_targets
39900 case "$ac_config_target" in
39901 # Handling of arguments.
39902 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
39903 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
39904 "libmath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libmath/Makefile" ;;
39905 "libsupc++/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libsupc++/Makefile" ;;
39906 "po/Makefile" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
39907 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
39908 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
39909 "scripts/check_survey" ) CONFIG_FILES
="$CONFIG_FILES scripts/check_survey" ;;
39910 "scripts/testsuite_flags" ) CONFIG_FILES
="$CONFIG_FILES scripts/testsuite_flags" ;;
39911 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
39912 "default" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default" ;;
39913 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
39914 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39915 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39916 { (exit 1); exit 1; }; };;
39920 # If the user did not use the arguments to specify the items to instantiate,
39921 # then the envvar interface is used. Set only those that are not.
39922 # We use the long form for the default assignment because of an extremely
39923 # bizarre bug on SunOS 4.1.3.
39924 if $ac_need_defaults; then
39925 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
39926 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
39927 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
39930 # Have a temporary directory for convenience. Make it in the build tree
39931 # simply because there is no reason to put it here, and in addition,
39932 # creating and moving files from /tmp can sometimes cause problems.
39933 # Create a temporary directory, and hook for its removal unless debugging.
39936 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39937 trap '{ (exit 1); exit 1; }' 1 2 13 15
39940 # Create a (secure) tmp directory for tmp files.
39943 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39944 test -n "$tmp" && test -d "$tmp"
39947 tmp
=.
/confstat$$
-$RANDOM
39948 (umask 077 && mkdir
$tmp)
39951 echo "$me: cannot create a temporary directory in ." >&2
39952 { (exit 1); exit 1; }
39957 cat >>$CONFIG_STATUS <<_ACEOF
39960 # CONFIG_FILES section.
39963 # No need to generate the scripts if there are no CONFIG_FILES.
39964 # This happens for instance when ./config.status config.h
39965 if test -n "\$CONFIG_FILES"; then
39966 # Protect against being on the right side of a sed subst in config.status.
39967 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39968 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39969 s,@SHELL@,$SHELL,;t t
39970 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39971 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39972 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39973 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39974 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39975 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39976 s,@exec_prefix@,$exec_prefix,;t t
39977 s,@prefix@,$prefix,;t t
39978 s,@program_transform_name@,$program_transform_name,;t t
39979 s,@bindir@,$bindir,;t t
39980 s,@sbindir@,$sbindir,;t t
39981 s,@libexecdir@,$libexecdir,;t t
39982 s,@datadir@,$datadir,;t t
39983 s,@sysconfdir@,$sysconfdir,;t t
39984 s,@sharedstatedir@,$sharedstatedir,;t t
39985 s,@localstatedir@,$localstatedir,;t t
39986 s,@libdir@,$libdir,;t t
39987 s,@includedir@,$includedir,;t t
39988 s,@oldincludedir@,$oldincludedir,;t t
39989 s,@infodir@,$infodir,;t t
39990 s,@mandir@,$mandir,;t t
39991 s,@build_alias@,$build_alias,;t t
39992 s,@host_alias@,$host_alias,;t t
39993 s,@target_alias@,$target_alias,;t t
39994 s,@DEFS@,$DEFS,;t t
39995 s,@ECHO_C@,$ECHO_C,;t t
39996 s,@ECHO_N@,$ECHO_N,;t t
39997 s,@ECHO_T@,$ECHO_T,;t t
39998 s,@LIBS@,$LIBS,;t t
39999 s,@libtool_VERSION@,$libtool_VERSION,;t t
40000 s,@multi_basedir@,$multi_basedir,;t t
40001 s,@build@,$build,;t t
40002 s,@build_cpu@,$build_cpu,;t t
40003 s,@build_vendor@,$build_vendor,;t t
40004 s,@build_os@,$build_os,;t t
40005 s,@host@,$host,;t t
40006 s,@host_cpu@,$host_cpu,;t t
40007 s,@host_vendor@,$host_vendor,;t t
40008 s,@host_os@,$host_os,;t t
40009 s,@target@,$target,;t t
40010 s,@target_cpu@,$target_cpu,;t t
40011 s,@target_vendor@,$target_vendor,;t t
40012 s,@target_os@,$target_os,;t t
40013 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
40014 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
40015 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
40016 s,@CYGPATH_W@,$CYGPATH_W,;t t
40017 s,@PACKAGE@,$PACKAGE,;t t
40018 s,@VERSION@,$VERSION,;t t
40019 s,@ACLOCAL@,$ACLOCAL,;t t
40020 s,@AUTOCONF@,$AUTOCONF,;t t
40021 s,@AUTOMAKE@,$AUTOMAKE,;t t
40022 s,@AUTOHEADER@,$AUTOHEADER,;t t
40023 s,@MAKEINFO@,$MAKEINFO,;t t
40024 s,@AMTAR@,$AMTAR,;t t
40025 s,@install_sh@,$install_sh,;t t
40026 s,@STRIP@,$STRIP,;t t
40027 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40028 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
40030 s,@SET_MAKE@,$SET_MAKE,;t t
40031 s,@am__leading_dot@,$am__leading_dot,;t t
40032 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
40033 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
40034 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
40036 s,@ac_ct_CC@,$ac_ct_CC,;t t
40037 s,@EXEEXT@,$EXEEXT,;t t
40038 s,@OBJEXT@,$OBJEXT,;t t
40040 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
40041 s,@CFLAGS@,$CFLAGS,;t t
40042 s,@CXXFLAGS@,$CXXFLAGS,;t t
40043 s,@LN_S@,$LN_S,;t t
40045 s,@ac_ct_AS@,$ac_ct_AS,;t t
40047 s,@ac_ct_AR@,$ac_ct_AR,;t t
40048 s,@RANLIB@,$RANLIB,;t t
40049 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
40050 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
40051 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
40052 s,@MAINT@,$MAINT,;t t
40053 s,@LIBTOOL@,$LIBTOOL,;t t
40054 s,@CXXCPP@,$CXXCPP,;t t
40055 s,@CPPFLAGS@,$CPPFLAGS,;t t
40056 s,@enable_shared@,$enable_shared,;t t
40057 s,@enable_static@,$enable_static,;t t
40058 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
40059 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
40060 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
40061 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
40062 s,@CSTDIO_H@,$CSTDIO_H,;t t
40063 s,@FPOS_H@,$FPOS_H,;t t
40064 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
40065 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
40067 s,@EGREP@,$EGREP,;t t
40068 s,@check_msgfmt@,$check_msgfmt,;t t
40069 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
40070 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
40071 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
40072 s,@USE_NLS@,$USE_NLS,;t t
40073 s,@CLOCALE_H@,$CLOCALE_H,;t t
40074 s,@CCODECVT_H@,$CCODECVT_H,;t t
40075 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
40076 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
40077 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
40078 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
40079 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
40080 s,@CMONEY_CC@,$CMONEY_CC,;t t
40081 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
40082 s,@CTIME_H@,$CTIME_H,;t t
40083 s,@CTIME_CC@,$CTIME_CC,;t t
40084 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
40085 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
40086 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
40087 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
40088 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
40089 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
40090 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
40091 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
40092 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
40093 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
40094 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
40095 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
40096 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
40097 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
40098 s,@WERROR@,$WERROR,;t t
40099 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
40100 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
40101 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
40102 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
40103 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
40104 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
40105 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
40106 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
40107 s,@baseline_dir@,$baseline_dir,;t t
40108 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
40109 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
40110 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
40111 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
40112 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
40113 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
40114 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
40115 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
40116 s,@gxx_include_dir@,$gxx_include_dir,;t t
40117 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
40118 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
40119 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
40120 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
40121 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
40122 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
40123 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
40124 s,@LIBOBJS@,$LIBOBJS,;t t
40125 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40130 cat >>$CONFIG_STATUS <<\_ACEOF
40131 # Split the substitutions into bite-sized pieces for seds with
40132 # small command number limits, like on Digital OSF/1 and HP-UX.
40133 ac_max_sed_lines
=48
40134 ac_sed_frag
=1 # Number of current file.
40135 ac_beg
=1 # First line for current file.
40136 ac_end
=$ac_max_sed_lines # Line after last line for current file.
40139 while $ac_more_lines; do
40140 if test $ac_beg -gt 1; then
40141 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40143 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
40145 if test ! -s $tmp/subs.frag
; then
40146 ac_more_lines
=false
40148 # The purpose of the label and of the branching condition is to
40149 # speed up the sed processing (if there are no `@' at all, there
40150 # is no need to browse any of the substitutions).
40151 # These are the two extra sed commands mentioned above.
40153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
40154 if test -z "$ac_sed_cmds"; then
40155 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
40157 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40159 ac_sed_frag
=`expr $ac_sed_frag + 1`
40161 ac_end
=`expr $ac_end + $ac_max_sed_lines`
40164 if test -z "$ac_sed_cmds"; then
40167 fi # test -n "$CONFIG_FILES"
40170 cat >>$CONFIG_STATUS <<\_ACEOF
40171 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
40172 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40174 - |
*:- |
*:-:* ) # input from stdin
40176 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40177 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40178 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40179 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40180 * ) ac_file_in
=$ac_file.
in ;;
40183 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40184 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40185 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40186 X"$ac_file" : 'X\(//\)[^/]' \| \
40187 X"$ac_file" : 'X\(//\)$' \| \
40188 X"$ac_file" : 'X\(/\)' \| \
40189 . : '\(.\)' 2>/dev/null ||
40191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40193 /^X\(\/\/\)$/{ s//\1/; q; }
40194 /^X\(\/\).*/{ s//\1/; q; }
40196 { if $as_mkdir_p; then
40201 while test ! -d "$as_dir"; do
40202 as_dirs
="$as_dir $as_dirs"
40203 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40204 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40205 X"$as_dir" : 'X\(//\)[^/]' \| \
40206 X"$as_dir" : 'X\(//\)$' \| \
40207 X"$as_dir" : 'X\(/\)' \| \
40208 . : '\(.\)' 2>/dev/null ||
40210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40211 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40212 /^X\(\/\/\)$/{ s//\1/; q; }
40213 /^X\(\/\).*/{ s//\1/; q; }
40216 test ! -n "$as_dirs" || mkdir
$as_dirs
40217 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40218 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40219 { (exit 1); exit 1; }; }; }
40223 if test "$ac_dir" != .
; then
40224 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40225 # A "../" for each directory in $ac_dir_suffix.
40226 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40228 ac_dir_suffix
= ac_top_builddir
=
40232 .
) # No --srcdir option. We are building in place.
40234 if test -z "$ac_top_builddir"; then
40237 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40239 [\\/]* | ?
:[\\/]* ) # Absolute path.
40240 ac_srcdir
=$srcdir$ac_dir_suffix;
40241 ac_top_srcdir
=$srcdir ;;
40242 *) # Relative path.
40243 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40244 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40246 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40248 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
40249 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40250 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40251 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40255 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
40256 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
40259 if test x
"$ac_file" != x-
; then
40260 { echo "$as_me:$LINENO: creating $ac_file" >&5
40261 echo "$as_me: creating $ac_file" >&6;}
40264 # Let's still pretend it is `configure' which instantiates (i.e., don't
40265 # use $as_me), people would be surprised to read:
40266 # /* config.h. Generated by config.status. */
40267 if test x
"$ac_file" = x-
; then
40270 configure_input
="$ac_file. "
40272 configure_input
=$configure_input"Generated from `echo $ac_file_in |
40273 sed 's,.*/,,'` by configure."
40275 # First look for the input files in the build tree, otherwise in the
40277 ac_file_inputs
=`IFS=:
40278 for f in $ac_file_in; do
40280 -) echo $tmp/stdin ;;
40282 # Absolute (can't be DOS-style, as IFS=:)
40283 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40284 echo "$as_me: error: cannot find input file: $f" >&2;}
40285 { (exit 1); exit 1; }; }
40288 if test -f "$f"; then
40291 elif test -f "$srcdir/$f"; then
40296 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40297 echo "$as_me: error: cannot find input file: $f" >&2;}
40298 { (exit 1); exit 1; }; }
40301 done` ||
{ (exit 1); exit 1; }
40303 cat >>$CONFIG_STATUS <<_ACEOF
40307 cat >>$CONFIG_STATUS <<\_ACEOF
40309 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
40310 s
,@configure_input@
,$configure_input,;t t
40311 s
,@srcdir@
,$ac_srcdir,;t t
40312 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
40313 s
,@top_srcdir@
,$ac_top_srcdir,;t t
40314 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
40315 s
,@builddir@
,$ac_builddir,;t t
40316 s
,@abs_builddir@
,$ac_abs_builddir,;t t
40317 s
,@top_builddir@
,$ac_top_builddir,;t t
40318 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
40319 s
,@INSTALL@
,$ac_INSTALL,;t t
40320 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40322 if test x"$ac_file" != x-; then
40323 mv $tmp/out $ac_file
40329 # Run the commands associated with the file.
40331 scripts/check_survey ) chmod +x scripts/check_survey ;;
40332 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
40336 cat >>$CONFIG_STATUS <<\_ACEOF
40339 # CONFIG_HEADER section.
40342 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
40343 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40345 # ac_d sets the value in "#define NAME VALUE" lines.
40346 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40347 ac_dB
='[ ].*$,\1#\2'
40350 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40351 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40352 ac_uB
='$,\1#\2define\3'
40356 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
40357 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40359 - |
*:- |
*:-:* ) # input from stdin
40361 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40362 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40363 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40364 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
40365 * ) ac_file_in
=$ac_file.
in ;;
40368 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
40369 echo "$as_me: creating $ac_file" >&6;}
40371 # First look for the input files in the build tree, otherwise in the
40373 ac_file_inputs
=`IFS=:
40374 for f in $ac_file_in; do
40376 -) echo $tmp/stdin ;;
40378 # Absolute (can't be DOS-style, as IFS=:)
40379 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40380 echo "$as_me: error: cannot find input file: $f" >&2;}
40381 { (exit 1); exit 1; }; }
40384 if test -f "$f"; then
40387 elif test -f "$srcdir/$f"; then
40392 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40393 echo "$as_me: error: cannot find input file: $f" >&2;}
40394 { (exit 1); exit 1; }; }
40397 done` ||
{ (exit 1); exit 1; }
40398 # Remove the trailing spaces.
40399 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40403 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40404 # `conftest.undefs', that substitutes the proper values into
40405 # config.h.in to produce config.h. The first handles `#define'
40406 # templates, and the second `#undef' templates.
40407 # And first: Protect against being on the right side of a sed subst in
40408 # config.status. Protect against being in an unquoted here document
40409 # in config.status.
40410 rm -f conftest.defines conftest.undefs
40411 # Using a here document instead of a string reduces the quoting nightmare.
40412 # Putting comments in sed scripts is not portable.
40414 # `end' is used to avoid that the second main sed command (meant for
40415 # 0-ary CPP macros) applies to n-ary macro definitions.
40416 # See the Autoconf documentation for `clear'.
40417 cat >confdef2sed.
sed <<\_ACEOF
40422 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40424 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40427 # If some macros were called several times there might be several times
40428 # the same #defines, which is useless. Nevertheless, we may not want to
40429 # sort them, since we want the *last* AC-DEFINE to be honored.
40430 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40431 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40432 rm -f confdef2sed.sed
40434 # This sed command replaces #undef with comments. This is necessary, for
40435 # example, in the case of _POSIX_SOURCE, which is predefined and required
40436 # on some systems where configure will not decide to define it.
40437 cat >>conftest.undefs <<\_ACEOF
40438 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40441 # Break up conftest.defines because some shells have a limit on the size
40442 # of here documents, and old seds have small limits too (100 cmds).
40443 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40444 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40445 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40446 echo ' :' >>$CONFIG_STATUS
40447 rm -f conftest.tail
40448 while grep . conftest.defines >/dev/null
40450 # Write a limited-size here document to $tmp/defines.sed.
40451 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40452 # Speed up: don't consider the non `#define' lines.
40453 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40454 # Work around the forget-to-reset-the-flag bug.
40455 echo 't clr' >>$CONFIG_STATUS
40456 echo ': clr' >>$CONFIG_STATUS
40457 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
40459 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40461 mv $tmp/out $tmp/in
40463 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
40464 rm -f conftest.defines
40465 mv conftest.
tail conftest.defines
40467 rm -f conftest.defines
40468 echo ' fi # grep' >>$CONFIG_STATUS
40469 echo >>$CONFIG_STATUS
40471 # Break up conftest.undefs because some shells have a limit on the size
40472 # of here documents, and old seds have small limits too (100 cmds).
40473 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40474 rm -f conftest.
tail
40475 while grep . conftest.undefs
>/dev
/null
40477 # Write a limited-size here document to $tmp/undefs.sed.
40478 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40479 # Speed up: don't consider the non
`#undef'
40480 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40481 # Work around the forget-to-reset-the-flag bug.
40482 echo 't clr' >>$CONFIG_STATUS
40483 echo ': clr' >>$CONFIG_STATUS
40484 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40486 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40488 mv $tmp/out $tmp/in
40490 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40491 rm -f conftest.undefs
40492 mv conftest.tail conftest.undefs
40494 rm -f conftest.undefs
40496 cat >>$CONFIG_STATUS <<\_ACEOF
40497 # Let's still pretend it is `configure
' which instantiates (i.e., don't
40498 # use $as_me), people would be surprised to read:
40499 # /* config.h. Generated by config.status. */
40500 if test x
"$ac_file" = x-
; then
40501 echo "/* Generated by configure. */" >$tmp/config.h
40503 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40505 cat $tmp/in >>$tmp/config.h
40507 if test x
"$ac_file" != x-
; then
40508 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
40509 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40510 echo "$as_me: $ac_file is unchanged" >&6;}
40512 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
40513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40514 X"$ac_file" : 'X\(//\)[^/]' \| \
40515 X"$ac_file" : 'X\(//\)$' \| \
40516 X"$ac_file" : 'X\(/\)' \| \
40517 . : '\(.\)' 2>/dev/null ||
40519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40521 /^X\(\/\/\)$/{ s//\1/; q; }
40522 /^X\(\/\).*/{ s//\1/; q; }
40524 { if $as_mkdir_p; then
40529 while test ! -d "$as_dir"; do
40530 as_dirs
="$as_dir $as_dirs"
40531 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
40532 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40533 X"$as_dir" : 'X\(//\)[^/]' \| \
40534 X"$as_dir" : 'X\(//\)$' \| \
40535 X"$as_dir" : 'X\(/\)' \| \
40536 . : '\(.\)' 2>/dev/null ||
40538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40539 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40540 /^X\(\/\/\)$/{ s//\1/; q; }
40541 /^X\(\/\).*/{ s//\1/; q; }
40544 test ! -n "$as_dirs" || mkdir
$as_dirs
40545 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40546 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40547 { (exit 1); exit 1; }; }; }
40550 mv $tmp/config.h
$ac_file
40554 rm -f $tmp/config.h
40556 # Compute $ac_file's index in $config_headers.
40558 for _am_header
in $config_headers :; do
40559 case $_am_header in
40560 $ac_file |
$ac_file:* )
40563 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
40566 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
40567 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40568 X$ac_file : 'X\(//\)[^/]' \| \
40569 X$ac_file : 'X\(//\)$' \| \
40570 X$ac_file : 'X\(/\)' \| \
40571 . : '\(.\)' 2>/dev/null ||
40573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40575 /^X\(\/\/\)$/{ s//\1/; q; }
40576 /^X\(\/\).*/{ s//\1/; q; }
40577 s/.*/./; q'`/stamp-h
$_am_stamp_count
40580 cat >>$CONFIG_STATUS <<\_ACEOF
40583 # CONFIG_COMMANDS section.
40585 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
40586 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
40587 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
40588 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
40589 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40590 X"$ac_dest" : 'X\(//\)[^/]' \| \
40591 X"$ac_dest" : 'X\(//\)$' \| \
40592 X"$ac_dest" : 'X\(/\)' \| \
40593 . : '\(.\)' 2>/dev/null ||
40595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40596 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40597 /^X\(\/\/\)$/{ s//\1/; q; }
40598 /^X\(\/\).*/{ s//\1/; q; }
40602 if test "$ac_dir" != .
; then
40603 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40604 # A "../" for each directory in $ac_dir_suffix.
40605 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40607 ac_dir_suffix
= ac_top_builddir
=
40611 .
) # No --srcdir option. We are building in place.
40613 if test -z "$ac_top_builddir"; then
40616 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
40618 [\\/]* | ?
:[\\/]* ) # Absolute path.
40619 ac_srcdir
=$srcdir$ac_dir_suffix;
40620 ac_top_srcdir
=$srcdir ;;
40621 *) # Relative path.
40622 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
40623 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
40625 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40627 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
40628 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40629 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40630 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40633 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40634 echo "$as_me: executing $ac_dest commands" >&6;}
40637 # Only add multilib support code if we just rebuilt the top-level
40639 case " $CONFIG_FILES " in
40641 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
40644 default
) if test -n "$CONFIG_FILES"; then
40645 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
40646 # that multilib installs will end up installed in the correct place.
40647 # The testsuite needs it for multilib-aware ABI baseline files.
40648 # To work around this not being passed down from config-ml.in ->
40649 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
40650 # append it here. Only modify Makefiles that have just been created.
40652 # Also, get rid of this simulated-VPATH thing that automake does.
40653 cat > vpsed
<< \_EOF
40654 s
!`test -f '$<' || echo '$(srcdir)/'`!!
40656 for i
in libmath libsupc
++ src testsuite
; do
40657 case $CONFIG_FILES in
40659 #echo "Adding MULTISUBDIR to $i/Makefile"
40660 sed -f vpsed
$i/Makefile
> tmp
40661 grep '^MULTISUBDIR =' Makefile
>> tmp
40668 (cd include
&& ${MAKE-make})
40674 cat >>$CONFIG_STATUS <<\_ACEOF
40676 { (exit 0); exit 0; }
40678 chmod +x
$CONFIG_STATUS
40679 ac_clean_files
=$ac_clean_files_save
40682 # configure is writing to config.log, and then calls config.status.
40683 # config.status does its own redirection, appending to config.log.
40684 # Unfortunately, on DOS this fails, as config.log is still kept open
40685 # by configure, so config.status won't be able to write to it; its
40686 # output is simply discarded. So we exec the FD to /dev/null,
40687 # effectively closing config.log, so it can be properly (re)opened and
40688 # appended to by config.status. When coming back to configure, we
40689 # need to make the FD available again.
40690 if test "$no_create" != yes; then
40692 ac_config_status_args
=
40693 test "$silent" = yes &&
40694 ac_config_status_args
="$ac_config_status_args --quiet"
40696 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
40698 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40699 # would make configure fail if this is the last instruction.
40700 $ac_cs_success ||
{ (exit 1); exit 1; }