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 GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE 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 --disable-hosted-libstdcxx
854 only build freestanding C++ runtime support
855 --enable-sjlj-exceptions
856 force use of builtin_setjmp for exceptions
858 --enable-libunwind-exceptions
859 force use of libunwind for exceptions
861 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
863 --enable-cstdio=PACKAGE use target-specific I/O package
865 --enable-clocale[=MODEL]
866 use MODEL for target locale package
868 --enable-nls use Native Language Support (default)
869 --enable-cheaders=KIND construct "C" headers for g++
871 --enable-c-mbchar enable multibyte (wide) characters
873 --enable-c99 turns on ISO/IEC 9899:1999 support
875 --enable-long-long enables I/O support for 'long long'
877 --enable-concept-checks use Boost-derived template checks [default=no]
878 --enable-libstdcxx-debug-flags=FLAGS
879 pass compiler FLAGS when building debug library
881 --enable-libstdcxx-debug
882 build extra debug library [default=no]
883 --enable-cxx-flags=FLAGS
884 pass compiler FLAGS when building library
886 --enable-symvers=STYLE enables symbol versioning of the shared library
888 --enable-version-specific-runtime-libs
889 Specify that runtime libraries should be installed
890 in a compiler-specific directory
893 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
894 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
895 --with-target-subdir=SUBDIR
896 configuring in a subdirectory
897 --with-cross-host=HOST configuring with a cross compiler
898 --with-newlib assume newlib as a system C library
899 --with-gnu-ld assume the C compiler uses GNU ld default=no
900 --with-pic try to use only PIC/non-PIC objects default=use both
901 --with-gxx-include-dir=DIR
902 installation directory for include files
904 Some influential environment variables:
905 CC C compiler command
906 CFLAGS C compiler flags
907 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
908 nonstandard directory <lib dir>
909 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
910 headers in a nonstandard directory <include dir>
911 CXX C++ compiler command
912 CXXFLAGS C++ compiler flags
913 CXXCPP C++ preprocessor
916 Use these variables to override the choices made by `configure' or to help
917 it to find libraries and programs with nonstandard names/locations.
922 if test "$ac_init_help" = "recursive"; then
923 # If there are subdirs, report their specific --help.
925 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
926 test -d $ac_dir || continue
929 if test "$ac_dir" != .; then
930 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
931 # A "../" for each directory in $ac_dir_suffix.
932 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 ac_dir_suffix= ac_top_builddir=
938 .) # No --srcdir option. We are building in place.
940 if test -z "$ac_top_builddir"; then
943 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945 [\\/]* | ?:[\\/]* ) # Absolute path.
946 ac_srcdir=$srcdir$ac_dir_suffix;
947 ac_top_srcdir=$srcdir ;;
949 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
950 ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
954 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
955 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
956 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
957 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
960 # Check for guested configure; otherwise get Cygnus style configure.
961 if test -f $ac_srcdir/configure.gnu; then
963 $SHELL $ac_srcdir/configure.gnu --help=recursive
964 elif test -f $ac_srcdir/configure; then
966 $SHELL $ac_srcdir/configure --help=recursive
967 elif test -f $ac_srcdir/configure.ac ||
968 test -f $ac_srcdir/configure.in; then
972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 test -n "$ac_init_help" && exit 0
979 if $ac_init_version; then
981 package-unused configure version-unused
982 generated by GNU Autoconf 2.57
984 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
985 Free Software Foundation, Inc.
986 This configure script is free software; the Free Software Foundation
987 gives unlimited permission to copy, distribute and modify it.
993 This file contains any messages produced by compilers while
994 running configure, to aid debugging if configure makes a mistake.
996 It was created by package-unused $as_me version-unused, which was
997 generated by GNU Autoconf 2.57. Invocation command line was
1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1020 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 test -z "$as_dir" && as_dir=.
1032 echo "PATH: $as_dir"
1047 # Keep a trace of the command line.
1048 # Strip out --no-create and --no-recursion so they do not pile up.
1049 # Strip out --silent because we don't want to record it for future runs.
1050 # Also quote any args containing shell meta-characters.
1051 # Make two passes to allow for proper duplicate-argument suppression.
1056 ac_must_keep_next=false
1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1073 if test $ac_must_keep_next = true; then
1074 ac_must_keep_next=false # Got value, back to normal.
1077 *=* | --config-cache | -C | -disable-* | --disable-* \
1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1080 | -with-* | --with-* | -without-* | --without-* | --x)
1081 case "$ac_configure_args0 " in
1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1085 -* ) ac_must_keep_next=true ;;
1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1089 # Get rid of the leading space.
1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1098 # When interrupted or exit'd, cleanup temporary files, and complete
1099 # config.log. We remove comments because anyway the quotes in there
1100 # would cause problems or look ugly.
1101 # WARNING: Be sure not to use single quotes in there, as some shells,
1102 # such as our DU 5.0 friend, will then `close' the trap.
1103 trap 'exit_status=$?
1104 # Save into config.log some information that might help in debugging.
1109 ## ---------------- ##
1110 ## Cache variables. ##
1111 ## ---------------- ##
1114 # The following way of writing the cache mishandles newlines in values,
1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 ## ----------------- ##
1133 ## Output variables. ##
1134 ## ----------------- ##
1137 for ac_var in $ac_subst_vars
1139 eval ac_val=$`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -n "$ac_subst_files"; then
1151 for ac_var in $ac_subst_files
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -s confdefs.h; then
1166 sed "/^$/d" confdefs.h | sort
1169 test "$ac_signal" != 0 &&
1170 echo "$as_me: caught signal $ac_signal"
1171 echo "$as_me: exit $exit_status"
1173 rm -f core *.core &&
1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1177 for ac_signal in 1 2 13 15; do
1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1183 rm -rf conftest* confdefs.h
1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1187 # Predefined preprocessor variables.
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 # Let the site file select an alternate cache file if it wants to.
1215 # Prefer explicitly selected file to automatically selected ones.
1216 if test -z "$CONFIG_SITE"; then
1217 if test "x$prefix" != xNONE; then
1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1223 for ac_site_file in $CONFIG_SITE; do
1224 if test -r "$ac_site_file"; then
1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1226 echo "$as_me: loading site script $ac_site_file" >&6;}
1227 sed 's/^/| /' "$ac_site_file" >&5
1232 if test -r "$cache_file"; then
1233 # Some versions of bash will fail to source /dev/null (special
1234 # files actually), so we avoid doing that.
1235 if test -f "$cache_file"; then
1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1237 echo "$as_me: loading cache $cache_file" >&6;}
1239 [\\/]* | ?:[\\/]* ) . $cache_file;;
1240 *) . ./$cache_file;;
1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1245 echo "$as_me: creating cache $cache_file" >&6;}
1249 # Check that the precious variables saved in the cache have kept the same
1251 ac_cache_corrupted=false
1252 for ac_var in `(set) 2>&1 |
1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1255 eval ac_new_set=\$ac_env_${ac_var}_set
1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1257 eval ac_new_val="\$ac_env_${ac_var}_value"
1258 case $ac_old_set,$ac_new_set in
1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1262 ac_cache_corrupted=: ;;
1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1266 ac_cache_corrupted=: ;;
1269 if test "x$ac_old_val" != "x$ac_new_val"; then
1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1273 echo "$as_me: former value: $ac_old_val" >&2;}
1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1275 echo "$as_me: current value: $ac_new_val" >&2;}
1276 ac_cache_corrupted=:
1279 # Pass precious variables to config.status.
1280 if test "$ac_new_set" = set; then
1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1284 *) ac_arg=$ac_var=$ac_new_val ;;
1286 case " $ac_configure_args " in
1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 if $ac_cache_corrupted; then
1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1297 { (exit 1); exit 1; }; }
1301 ac_cpp='$CPP $CPPFLAGS'
1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333 ac_config_headers="$ac_config_headers config.h"
1336 # This works around the fact that libtool configuration may change LD
1337 # for this particular configuration, but some shells, instead of
1338 # keeping the changes in LD private, export them just because LD is
1339 # exported. Only used at the end of this file.
1340 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1342 # For libtool versioning info, format is CURRENT:REVISION:AGE
1343 libtool_VERSION=6:0:0
1346 # Find the rest of the source tree framework.
1348 # Sets up multi_basedir, which is srcdir/.. plus the usual
1349 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1350 # Default to --enable-multilib
1351 # Check whether --enable-multilib or --disable-multilib was given.
1352 if test "${enable_multilib+set}" = set; then
1353 enableval="$enable_multilib"
1354 case "$enableval" in
1355 yes) multilib=yes ;;
1357 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1358 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1359 { (exit 1); exit 1; }; } ;;
1365 # We may get other options which we leave undocumented:
1366 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1367 # See config-ml.in if you want the gory details.
1369 if test "$srcdir" = "."; then
1370 if test "$with_target_subdir" != "."; then
1371 multi_basedir="$srcdir/$with_multisrctop../.."
1373 multi_basedir="$srcdir/$with_multisrctop.."
1376 multi_basedir="$srcdir/.."
1380 ac_config_commands="$ac_config_commands default-1"
1383 # The generated code is exactly the same, except that automake's looks in
1384 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1385 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1386 # know what they are or what the other differences might be (and they keep
1389 # Looking in multi_basedir seems smarter, so actually execute that branch.
1391 # this is for automake
1393 for ac_dir in .. $srcdir/..; do
1394 if test -f $ac_dir/install-sh; then
1396 ac_install_sh="$ac_aux_dir/install-sh -c"
1398 elif test -f $ac_dir/install.sh; then
1400 ac_install_sh="$ac_aux_dir/install.sh -c"
1402 elif test -f $ac_dir/shtool; then
1404 ac_install_sh="$ac_aux_dir/shtool install -c"
1408 if test -z "$ac_aux_dir"; then
1409 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1410 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1411 { (exit 1); exit 1; }; }
1413 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1414 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1415 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1418 # this is for autoconf
1420 for ac_dir in ${multi_basedir}; do
1421 if test -f $ac_dir/install-sh; then
1423 ac_install_sh="$ac_aux_dir/install-sh -c"
1425 elif test -f $ac_dir/install.sh; then
1427 ac_install_sh="$ac_aux_dir/install.sh -c"
1429 elif test -f $ac_dir/shtool; then
1431 ac_install_sh="$ac_aux_dir/shtool install -c"
1435 if test -z "$ac_aux_dir"; then
1436 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1437 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1438 { (exit 1); exit 1; }; }
1440 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1441 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1442 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1448 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1450 # You will slowly go insane if you do not grok the following fact: when
1451 # building v3 as part of the compiler, the top-level /target/ becomes the
1452 # library's /host/. configure then causes --target to default to --host,
1453 # exactly like any other package using autoconf. Therefore, 'target' and
1454 # 'host' will always be the same. This makes sense both for native and
1455 # cross compilers, just think about it for a little while. :-)
1457 # Also, if v3 is being configured as part of a cross compiler, the top-level
1458 # configure script will pass the "real" host as $with_cross_host.
1460 # Do not delete or change the following two lines. For why, see
1461 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1462 # Make sure we can run config.sub.
1463 $ac_config_sub sun4 >/dev/null 2>&1 ||
1464 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1465 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1466 { (exit 1); exit 1; }; }
1468 echo "$as_me:$LINENO: checking build system type" >&5
1469 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1470 if test "${ac_cv_build+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 ac_cv_build_alias=$build_alias
1474 test -z "$ac_cv_build_alias" &&
1475 ac_cv_build_alias=`$ac_config_guess`
1476 test -z "$ac_cv_build_alias" &&
1477 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1478 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1479 { (exit 1); exit 1; }; }
1480 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1481 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1482 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1483 { (exit 1); exit 1; }; }
1486 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1487 echo "${ECHO_T}$ac_cv_build" >&6
1489 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1490 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1491 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1494 echo "$as_me:$LINENO: checking host system type" >&5
1495 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1496 if test "${ac_cv_host+set}" = set; then
1497 echo $ECHO_N "(cached) $ECHO_C" >&6
1499 ac_cv_host_alias=$host_alias
1500 test -z "$ac_cv_host_alias" &&
1501 ac_cv_host_alias=$ac_cv_build_alias
1502 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1503 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1504 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1505 { (exit 1); exit 1; }; }
1508 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1509 echo "${ECHO_T}$ac_cv_host" >&6
1511 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1512 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1513 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1516 echo "$as_me:$LINENO: checking target system type" >&5
1517 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1518 if test "${ac_cv_target+set}" = set; then
1519 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 ac_cv_target_alias=$target_alias
1522 test "x$ac_cv_target_alias" = "x" &&
1523 ac_cv_target_alias=$ac_cv_host_alias
1524 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1525 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1526 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1527 { (exit 1); exit 1; }; }
1530 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1531 echo "${ECHO_T}$ac_cv_target" >&6
1532 target=$ac_cv_target
1533 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1534 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1535 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1538 # The aliases save the names the user supplied, while $host etc.
1539 # will get canonicalized.
1540 test -n "$target_alias" &&
1541 test "$program_prefix$program_suffix$program_transform_name" = \
1543 program_prefix=${target_alias}-
1544 target_alias=${target_alias-$host_alias}
1546 # Handy for debugging:
1547 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1549 if test "$build" != "$host"; then
1550 # We are being configured with some form of cross compiler.
1551 GLIBCXX_IS_NATIVE=false
1554 GLIBCXX_IS_NATIVE=true
1557 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1558 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1559 # 1.x: minimum required version
1560 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1561 # of other PACKAGE_* variables will, however, and there's nothing
1562 # we can do about that; they come from AC_INIT).
1563 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1564 # file in the top srcdir, etc, etc), so stop complaining.
1565 # no-dependencies: turns off auto dependency generation (just for now)
1566 # -Wall: turns on all automake warnings
1567 am__api_version="1.7"
1568 # Find a good install program. We prefer a C program (faster),
1569 # so one script is as good as another. But avoid the broken or
1570 # incompatible versions:
1571 # SysV /etc/install, /usr/sbin/install
1572 # SunOS /usr/etc/install
1573 # IRIX /sbin/install
1575 # AmigaOS /C/install, which installs bootblocks on floppy discs
1576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 # Account for people who put trailing slashes in PATH elements.
1593 ./ | .// | /cC/* | \
1594 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1600 for ac_prog in ginstall scoinst install; do
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1607 elif test $ac_prog = install &&
1608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL=$ac_cv_path_install
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL=$ac_install_sh
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1656 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1659 set X `ls -t $srcdir/configure conftest.file`
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1676 test "$2" = conftest.file
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir=`cd $ac_aux_dir && pwd`
1707 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710 am_missing_run="$MISSING --run "
1713 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1717 for ac_prog in gawk mawk nawk awk
1719 # Extract the first word of "$ac_prog", so it can be a program name with args.
1720 set dummy $ac_prog; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_AWK+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 if test -n "$AWK"; then
1727 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 ac_cv_prog_AWK="$ac_prog"
1737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 if test -n "$AWK"; then
1747 echo "$as_me:$LINENO: result: $AWK" >&5
1748 echo "${ECHO_T}$AWK" >&6
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1754 test -n "$AWK" && break
1757 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1759 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1760 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 cat >conftest.make <<\_ACEOF
1765 @echo 'ac_maketemp="$(MAKE)"'
1767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1768 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1769 if test -n "$ac_maketemp"; then
1770 eval ac_cv_prog_make_${ac_make}_set=yes
1772 eval ac_cv_prog_make_${ac_make}_set=no
1776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1777 echo "$as_me:$LINENO: result: yes" >&5
1778 echo "${ECHO_T}yes" >&6
1781 echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1783 SET_MAKE="MAKE=${MAKE-make}"
1786 rm -rf .tst 2>/dev/null
1787 mkdir .tst 2>/dev/null
1788 if test -d .tst; then
1793 rmdir .tst 2>/dev/null
1795 # test to see if srcdir already configured
1796 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1797 test -f $srcdir/config.status; then
1798 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1799 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1800 { (exit 1); exit 1; }; }
1803 # test whether we have cygpath
1804 if test -z "$CYGPATH_W"; then
1805 if (cygpath --version) >/dev/null 2>/dev/null; then
1806 CYGPATH_W='cygpath -w'
1813 # Define the identity of the package.
1815 VERSION='version-unused'
1818 # Some tools Automake needs.
1820 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1823 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1826 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1829 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1832 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1835 AMTAR=${AMTAR-"${am_missing_run}tar"}
1837 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1839 # Installed binaries are usually stripped using `strip' when the user
1840 # run `make install-strip'. However `strip' might not be the right
1841 # tool to use in cross-compilation environments, therefore Automake
1842 # will honor the `STRIP' environment variable to overrule this program.
1843 if test "$cross_compiling" != no; then
1844 if test -n "$ac_tool_prefix"; then
1845 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1846 set dummy ${ac_tool_prefix}strip; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_STRIP+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$STRIP"; then
1853 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 STRIP=$ac_cv_prog_STRIP
1872 if test -n "$STRIP"; then
1873 echo "$as_me:$LINENO: result: $STRIP" >&5
1874 echo "${ECHO_T}$STRIP" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1881 if test -z "$ac_cv_prog_STRIP"; then
1883 # Extract the first word of "strip", so it can be a program name with args.
1884 set dummy strip; ac_word=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$ac_ct_STRIP"; then
1891 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir=.
1898 for ac_exec_ext in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_ac_ct_STRIP="strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1910 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1911 if test -n "$ac_ct_STRIP"; then
1912 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1913 echo "${ECHO_T}$ac_ct_STRIP" >&6
1915 echo "$as_me:$LINENO: result: no" >&5
1916 echo "${ECHO_T}no" >&6
1921 STRIP="$ac_cv_prog_STRIP"
1925 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1927 # We need awk for the "check" target. The system "awk" is bad on
1933 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1934 # up critical shell variables.
1936 # Keep these sync'd with the list in Makefile.am. The first provides an
1937 # expandable list at autoconf time; the second provides an expandable list
1938 # (i.e., shell variable) at configure time.
1940 SUBDIRS='include libmath libsupc++ src po testsuite'
1942 # These need to be absolute paths, yet at the same time need to
1943 # canonicalize only relative paths, because then amd will not unmount
1944 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1945 glibcxx_builddir=`${PWDCMD-pwd}`
1947 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1948 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1950 toplevel_srcdir=${glibcxx_srcdir}/..
1955 # We use these options to decide which functions to include. They are
1956 # set from the top level.
1958 # Check whether --with-target-subdir or --without-target-subdir was given.
1959 if test "${with_target_subdir+set}" = set; then
1960 withval="$with_target_subdir"
1965 # Check whether --with-cross-host or --without-cross-host was given.
1966 if test "${with_cross_host+set}" = set; then
1967 withval="$with_cross_host"
1972 # Check whether --with-newlib or --without-newlib was given.
1973 if test "${with_newlib+set}" = set; then
1974 withval="$with_newlib"
1978 # We're almost certainly being configured before anything else which uses
1979 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1980 # we not cache the value of CXX that we "discover" here, because it's set
1981 # to something unique for us and libjava. Other target libraries need to
1982 # find CXX for themselves. We yank the rug out from under the normal AC_*
1983 # process by sneakily renaming the cache variable. This also lets us debug
1984 # the value of "our" CXX in postmortems.
1986 # We must also force CXX to /not/ be a precious variable, otherwise the
1987 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1988 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1989 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1990 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1992 # -fno-builtin must be present here so that a non-conflicting form of
1993 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1998 save_CXXFLAGS="$CXXFLAGS"
1999 CXXFLAGS="$CXXFLAGS -fno-builtin"
2001 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2005 if test -n "$ac_tool_prefix"; then
2006 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2007 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2008 echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC="$CC" # Let the user override the test.
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir=.
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2023 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 if test -n "$CC"; then
2034 echo "$as_me:$LINENO: result: $CC" >&5
2035 echo "${ECHO_T}$CC" >&6
2037 echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6
2042 if test -z "$ac_cv_prog_CC"; then
2044 # Extract the first word of "gcc", so it can be a program name with args.
2045 set dummy gcc; ac_word=$2
2046 echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 if test -n "$ac_ct_CC"; then
2052 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2061 ac_cv_prog_ac_ct_CC="gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2071 if test -n "$ac_ct_CC"; then
2072 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2073 echo "${ECHO_T}$ac_ct_CC" >&6
2075 echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6
2084 if test -z "$CC"; then
2085 if test -n "$ac_tool_prefix"; then
2086 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2087 set dummy ${ac_tool_prefix}cc; ac_word=$2
2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090 if test "${ac_cv_prog_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 if test -n "$CC"; then
2094 ac_cv_prog_CC="$CC" # Let the user override the test.
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_CC="${ac_tool_prefix}cc"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 if test -n "$CC"; then
2114 echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2122 if test -z "$ac_cv_prog_CC"; then
2124 # Extract the first word of "cc", so it can be a program name with args.
2125 set dummy cc; ac_word=$2
2126 echo "$as_me:$LINENO: checking for $ac_word" >&5
2127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2129 echo $ECHO_N "(cached) $ECHO_C" >&6
2131 if test -n "$ac_ct_CC"; then
2132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir=.
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141 ac_cv_prog_ac_ct_CC="cc"
2142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2151 if test -n "$ac_ct_CC"; then
2152 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153 echo "${ECHO_T}$ac_ct_CC" >&6
2155 echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2195 if test $ac_prog_rejected = yes; then
2196 # We found a bogon in the path, so make sure we never use it.
2197 set dummy $ac_cv_prog_CC
2199 if test $# != 0; then
2200 # We chose a different compiler from the bogus one.
2201 # However, it has the same basename, so the bogon will be chosen
2202 # first if we set CC to just the basename; use the full file name.
2204 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2210 if test -n "$CC"; then
2211 echo "$as_me:$LINENO: result: $CC" >&5
2212 echo "${ECHO_T}$CC" >&6
2214 echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2219 if test -z "$CC"; then
2220 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2224 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2225 echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2227 if test "${ac_cv_prog_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -n "$CC"; then
2231 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 if test -n "$CC"; then
2251 echo "$as_me:$LINENO: result: $CC" >&5
2252 echo "${ECHO_T}$CC" >&6
2254 echo "$as_me:$LINENO: result: no" >&5
2255 echo "${ECHO_T}no" >&6
2258 test -n "$CC" && break
2261 if test -z "$CC"; then
2265 # Extract the first word of "$ac_prog", so it can be a program name with args.
2266 set dummy $ac_prog; ac_word=$2
2267 echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2269 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2272 if test -n "$ac_ct_CC"; then
2273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_ac_ct_CC="$ac_prog"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2292 if test -n "$ac_ct_CC"; then
2293 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2294 echo "${ECHO_T}$ac_ct_CC" >&6
2296 echo "$as_me:$LINENO: result: no" >&5
2297 echo "${ECHO_T}no" >&6
2300 test -n "$ac_ct_CC" && break
2309 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2310 See \`config.log' for more details." >&5
2311 echo "$as_me: error: no acceptable C compiler found in \$PATH
2312 See \`config.log' for more details." >&2;}
2313 { (exit 1); exit 1; }; }
2315 # Provide some information about the compiler.
2316 echo "$as_me:$LINENO:" \
2317 "checking for C compiler version" >&5
2318 ac_compiler=`set X $ac_compile; echo $2`
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2320 (eval $ac_compiler --version </dev/null >&5) 2>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2325 (eval $ac_compiler -v </dev/null >&5) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2330 (eval $ac_compiler -V </dev/null >&5) 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2335 cat >conftest.$ac_ext <<_ACEOF
2336 #line $LINENO "configure"
2339 cat confdefs.h >>conftest.$ac_ext
2340 cat >>conftest.$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2353 (eval $ac_link) 2>&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; then
2362 if test x$gcc_no_link = xyes; then
2363 # Setting cross_compile will disable run tests; it will
2364 # also disable AC_CHECK_FILE but that's generally
2365 # correct if we can't link.
2369 cat >conftest.$ac_ext <<_ACEOF
2370 #line $LINENO "configure"
2373 cat confdefs.h >>conftest.$ac_ext
2374 cat >>conftest.$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2385 ac_clean_files_save=$ac_clean_files
2386 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2387 # Try to create an executable without -o first, disregard a.out.
2388 # It will help us diagnose broken compilers, and finding out an intuition
2390 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2391 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2392 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2394 (eval $ac_link_default) 2>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }; then
2398 # Find the output, starting from the most likely. This scheme is
2399 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2402 # Be careful to initialize this variable, since it used to be cached.
2403 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2405 # b.out is created by i960 compilers.
2406 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2408 test -f "$ac_file" || continue
2410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2413 # This is the source file.
2416 # We found the default executable, but exeext='' is most
2420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2421 # FIXME: I believe we export ac_cv_exeext for Libtool,
2422 # but it would be cool to find out if it's true. Does anybody
2423 # maintain Libtool? --akim.
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.$ac_ext >&5
2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: C compiler cannot create executables
2437 See \`config.log' for more details." >&2;}
2438 { (exit 77); exit 77; }; }
2441 ac_exeext=$ac_cv_exeext
2442 echo "$as_me:$LINENO: result: $ac_file" >&5
2443 echo "${ECHO_T}$ac_file" >&6
2445 # Check the compiler produces executables we can run. If not, either
2446 # the compiler is broken, or we cross compile.
2447 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2448 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2449 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2450 # If not cross compiling, check that we can run a simple program.
2451 if test "$cross_compiling" != yes; then
2452 if { ac_try='./$ac_file'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2460 if test "$cross_compiling" = maybe; then
2463 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: cannot run C compiled programs.
2467 If you meant to cross compile, use \`--host'.
2468 See \`config.log' for more details." >&2;}
2469 { (exit 1); exit 1; }; }
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2476 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2477 ac_clean_files=$ac_clean_files_save
2478 # Check the compiler produces executables we can run. If not, either
2479 # the compiler is broken, or we cross compile.
2480 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2481 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2482 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2483 echo "${ECHO_T}$cross_compiling" >&6
2485 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2486 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2488 (eval $ac_link) 2>&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; then
2492 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2493 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2494 # work properly (i.e., refer to `conftest.exe'), while it won't with
2496 for ac_file in conftest.exe conftest conftest.*; do
2497 test -f "$ac_file" || continue
2499 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2500 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2507 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&5
2509 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2510 See \`config.log' for more details." >&2;}
2511 { (exit 1); exit 1; }; }
2514 rm -f conftest$ac_cv_exeext
2515 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2516 echo "${ECHO_T}$ac_cv_exeext" >&6
2518 rm -f conftest.$ac_ext
2519 EXEEXT=$ac_cv_exeext
2522 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2523 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2524 if test "${ac_cv_objext+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 cat >conftest.$ac_ext <<_ACEOF
2528 #line $LINENO "configure"
2531 cat confdefs.h >>conftest.$ac_ext
2532 cat >>conftest.$ac_ext <<_ACEOF
2533 /* end confdefs.h. */
2543 rm -f conftest.o conftest.obj
2544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2545 (eval $ac_compile) 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2552 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT=$ac_cv_objext
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.$ac_ext <<_ACEOF
2579 #line $LINENO "configure"
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2597 rm -f conftest.$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2616 rm -f conftest.$ac_objext conftest.$ac_ext
2617 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2620 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2621 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2622 GCC=`test $ac_compiler_gnu = yes && echo yes`
2623 ac_test_CFLAGS=${CFLAGS+set}
2624 ac_save_CFLAGS=$CFLAGS
2626 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2628 if test "${ac_cv_prog_cc_g+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.$ac_ext <<_ACEOF
2632 #line $LINENO "configure"
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2647 rm -f conftest.$ac_objext
2648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2649 (eval $ac_compile) 2>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } &&
2653 { ac_try='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.$ac_ext >&5
2666 rm -f conftest.$ac_objext conftest.$ac_ext
2668 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2669 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2670 if test "$ac_test_CFLAGS" = set; then
2671 CFLAGS=$ac_save_CFLAGS
2672 elif test $ac_cv_prog_cc_g = yes; then
2673 if test "$GCC" = yes; then
2679 if test "$GCC" = yes; then
2685 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2686 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2687 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 ac_cv_prog_cc_stdc=no
2692 cat >conftest.$ac_ext <<_ACEOF
2693 #line $LINENO "configure"
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 #include <sys/types.h>
2702 #include <sys/stat.h>
2703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2704 struct buf { int x; };
2705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2706 static char *e (p, i)
2712 static char *f (char * (*g) (char **, int), char **p, ...)
2717 s = g (p, va_arg (v,int));
2721 int test (int i, double x);
2722 struct s1 {int (*f) (int a);};
2723 struct s2 {int (*f) (double a);};
2724 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2730 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2735 # Don't try gcc -ansi; that turns off useful extensions and
2736 # breaks some systems' header files.
2737 # AIX -qlanglvl=ansi
2738 # Ultrix and OSF/1 -std1
2739 # HP-UX 10.20 and later -Ae
2740 # HP-UX older versions -Aa -D_HPUX_SOURCE
2741 # SVR4 -Xc -D__EXTENSIONS__
2742 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2744 CC="$ac_save_CC $ac_arg"
2745 rm -f conftest.$ac_objext
2746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2747 (eval $ac_compile) 2>&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } &&
2751 { ac_try='test -s conftest.$ac_objext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2757 ac_cv_prog_cc_stdc=$ac_arg
2760 echo "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2764 rm -f conftest.$ac_objext
2766 rm -f conftest.$ac_ext conftest.$ac_objext
2771 case "x$ac_cv_prog_cc_stdc" in
2773 echo "$as_me:$LINENO: result: none needed" >&5
2774 echo "${ECHO_T}none needed" >&6 ;;
2776 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778 CC="$CC $ac_cv_prog_cc_stdc" ;;
2781 # Some people use a C++ compiler to compile C. Since we use `exit',
2782 # in C++ we need to declare it. In case someone uses the same compiler
2783 # for both compiling C and C++ we need to have the C++ compiler decide
2784 # the declaration of exit, since it's the most demanding environment.
2785 cat >conftest.$ac_ext <<_ACEOF
2790 rm -f conftest.$ac_objext
2791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792 (eval $ac_compile) 2>&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } &&
2796 { ac_try='test -s conftest.$ac_objext'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; }; then
2802 for ac_declaration in \
2804 'extern "C" void std::exit (int) throw (); using std::exit;' \
2805 'extern "C" void std::exit (int); using std::exit;' \
2806 'extern "C" void exit (int) throw ();' \
2807 'extern "C" void exit (int);' \
2810 cat >conftest.$ac_ext <<_ACEOF
2811 #line $LINENO "configure"
2814 cat confdefs.h >>conftest.$ac_ext
2815 cat >>conftest.$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2827 rm -f conftest.$ac_objext
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -s conftest.$ac_objext'
2834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; }; then
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2846 rm -f conftest.$ac_objext conftest.$ac_ext
2847 cat >conftest.$ac_ext <<_ACEOF
2848 #line $LINENO "configure"
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2863 rm -f conftest.$ac_objext
2864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2865 (eval $ac_compile) 2>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); } &&
2869 { ac_try='test -s conftest.$ac_objext'
2870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); }; }; then
2877 echo "$as_me: failed program was:" >&5
2878 sed 's/^/| /' conftest.$ac_ext >&5
2881 rm -f conftest.$ac_objext conftest.$ac_ext
2884 if test -n "$ac_declaration"; then
2885 echo '#ifdef __cplusplus' >>confdefs.h
2886 echo $ac_declaration >>confdefs.h
2887 echo '#endif' >>confdefs.h
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2895 rm -f conftest.$ac_objext conftest.$ac_ext
2897 ac_cpp='$CPP $CPPFLAGS'
2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2903 ac_cpp='$CXXCPP $CPPFLAGS'
2904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2907 if test -n "$ac_tool_prefix"; 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_tool_prefix$ac_prog", so it can be a program name with args.
2911 set dummy $ac_tool_prefix$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 "${glibcxx_cv_prog_CXX+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 if test -n "$CXX"; then
2918 glibcxx_cv_prog_CXX="$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 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 CXX=$glibcxx_cv_prog_CXX
2937 if test -n "$CXX"; then
2938 echo "$as_me:$LINENO: result: $CXX" >&5
2939 echo "${ECHO_T}$CXX" >&6
2941 echo "$as_me:$LINENO: result: no" >&5
2942 echo "${ECHO_T}no" >&6
2945 test -n "$CXX" && break
2948 if test -z "$CXX"; then
2950 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2952 # Extract the first word of "$ac_prog", so it can be a program name with args.
2953 set dummy $ac_prog; ac_word=$2
2954 echo "$as_me:$LINENO: checking for $ac_word" >&5
2955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2956 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 if test -n "$ac_ct_CXX"; then
2960 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir=.
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2969 ac_cv_prog_ac_ct_CXX="$ac_prog"
2970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2979 if test -n "$ac_ct_CXX"; then
2980 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2981 echo "${ECHO_T}$ac_ct_CXX" >&6
2983 echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6
2987 test -n "$ac_ct_CXX" && break
2989 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2995 # Provide some information about the compiler.
2996 echo "$as_me:$LINENO:" \
2997 "checking for C++ compiler version" >&5
2998 ac_compiler=`set X $ac_compile; echo $2`
2999 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3000 (eval $ac_compiler --version </dev/null >&5) 2>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }
3004 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3005 (eval $ac_compiler -v </dev/null >&5) 2>&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }
3009 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3010 (eval $ac_compiler -V </dev/null >&5) 2>&5
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }
3015 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3016 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3017 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 cat >conftest.$ac_ext <<_ACEOF
3021 #line $LINENO "configure"
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f conftest.$ac_objext conftest.$ac_ext
3059 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3062 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3063 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3064 GXX=`test $ac_compiler_gnu = yes && echo yes`
3065 ac_test_CXXFLAGS=${CXXFLAGS+set}
3066 ac_save_CXXFLAGS=$CXXFLAGS
3068 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3069 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3070 if test "${ac_cv_prog_cxx_g+set}" = set; then
3071 echo $ECHO_N "(cached) $ECHO_C" >&6
3073 cat >conftest.$ac_ext <<_ACEOF
3074 #line $LINENO "configure"
3077 cat confdefs.h >>conftest.$ac_ext
3078 cat >>conftest.$ac_ext <<_ACEOF
3079 /* end confdefs.h. */
3089 rm -f conftest.$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } &&
3095 { ac_try='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3101 ac_cv_prog_cxx_g=yes
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3108 rm -f conftest.$ac_objext conftest.$ac_ext
3110 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3111 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3112 if test "$ac_test_CXXFLAGS" = set; then
3113 CXXFLAGS=$ac_save_CXXFLAGS
3114 elif test $ac_cv_prog_cxx_g = yes; then
3115 if test "$GXX" = yes; then
3121 if test "$GXX" = yes; then
3127 for ac_declaration in \
3129 'extern "C" void std::exit (int) throw (); using std::exit;' \
3130 'extern "C" void std::exit (int); using std::exit;' \
3131 'extern "C" void exit (int) throw ();' \
3132 'extern "C" void exit (int);' \
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #line $LINENO "configure"
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3152 rm -f conftest.$ac_objext
3153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3154 (eval $ac_compile) 2>&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } &&
3158 { ac_try='test -s conftest.$ac_objext'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; }; then
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3171 rm -f conftest.$ac_objext conftest.$ac_ext
3172 cat >conftest.$ac_ext <<_ACEOF
3173 #line $LINENO "configure"
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3206 rm -f conftest.$ac_objext conftest.$ac_ext
3209 if test -n "$ac_declaration"; then
3210 echo '#ifdef __cplusplus' >>confdefs.h
3211 echo $ac_declaration >>confdefs.h
3212 echo '#endif' >>confdefs.h
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221 CXXFLAGS="$save_CXXFLAGS"
3226 # For directory versioning (e.g., headers) and other variables.
3227 echo "$as_me:$LINENO: checking for GCC version number" >&5
3228 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3229 gcc_version=`$CXX -dumpversion`
3230 echo "$as_me:$LINENO: result: $gcc_version" >&5
3231 echo "${ECHO_T}$gcc_version" >&6
3233 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3234 # available). Uncomment the next line to force a particular method.
3235 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3236 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3238 if test "$LN_S" = "ln -s"; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3242 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3243 echo "${ECHO_T}no, using $LN_S" >&6
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}as; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_AS+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$AS"; then
3257 ac_cv_prog_AS="$AS" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_AS="${ac_tool_prefix}as"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$AS"; then
3277 echo "$as_me:$LINENO: result: $AS" >&5
3278 echo "${ECHO_T}$AS" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3285 if test -z "$ac_cv_prog_AS"; then
3287 # Extract the first word of "as", so it can be a program name with args.
3288 set dummy as; ac_word=$2
3289 echo "$as_me:$LINENO: checking for $ac_word" >&5
3290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3291 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 if test -n "$ac_ct_AS"; then
3295 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir=.
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304 ac_cv_prog_ac_ct_AS="as"
3305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3314 if test -n "$ac_ct_AS"; then
3315 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3316 echo "${ECHO_T}$ac_ct_AS" >&6
3318 echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3327 if test -n "$ac_tool_prefix"; then
3328 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3329 set dummy ${ac_tool_prefix}ar; ac_word=$2
3330 echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3332 if test "${ac_cv_prog_AR+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test -n "$AR"; then
3336 ac_cv_prog_AR="$AR" # Let the user override the test.
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir=.
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345 ac_cv_prog_AR="${ac_tool_prefix}ar"
3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 if test -n "$AR"; then
3356 echo "$as_me:$LINENO: result: $AR" >&5
3357 echo "${ECHO_T}$AR" >&6
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3364 if test -z "$ac_cv_prog_AR"; then
3366 # Extract the first word of "ar", so it can be a program name with args.
3367 set dummy ar; ac_word=$2
3368 echo "$as_me:$LINENO: checking for $ac_word" >&5
3369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3370 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 if test -n "$ac_ct_AR"; then
3374 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 ac_cv_prog_ac_ct_AR="ar"
3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3393 if test -n "$ac_ct_AR"; then
3394 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3395 echo "${ECHO_T}$ac_ct_AR" >&6
3397 echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3406 if test -n "$ac_tool_prefix"; then
3407 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3408 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_RANLIB+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 if test -n "$RANLIB"; then
3415 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 RANLIB=$ac_cv_prog_RANLIB
3434 if test -n "$RANLIB"; then
3435 echo "$as_me:$LINENO: result: $RANLIB" >&5
3436 echo "${ECHO_T}$RANLIB" >&6
3438 echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6
3443 if test -z "$ac_cv_prog_RANLIB"; then
3444 ac_ct_RANLIB=$RANLIB
3445 # Extract the first word of "ranlib", so it can be a program name with args.
3446 set dummy ranlib; ac_word=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 if test -n "$ac_ct_RANLIB"; then
3453 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_ac_ct_RANLIB="ranlib"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3472 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3473 if test -n "$ac_ct_RANLIB"; then
3474 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3475 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3481 RANLIB=$ac_ct_RANLIB
3483 RANLIB="$ac_cv_prog_RANLIB"
3487 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3488 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3489 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3490 if test "${enable_maintainer_mode+set}" = set; then
3491 enableval="$enable_maintainer_mode"
3492 USE_MAINTAINER_MODE=$enableval
3494 USE_MAINTAINER_MODE=no
3496 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3497 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3500 if test $USE_MAINTAINER_MODE = yes; then
3501 MAINTAINER_MODE_TRUE=
3502 MAINTAINER_MODE_FALSE='#'
3504 MAINTAINER_MODE_TRUE='#'
3505 MAINTAINER_MODE_FALSE=
3508 MAINT=$MAINTAINER_MODE_TRUE
3512 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3513 # which are themselves conditionally expanded.
3514 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3515 ## other macros from doing the same. This should be automated.) -pme
3518 #enable_libstdcxx_debug=no
3519 #enable_libstdcxx_pch=no
3522 #enable_abi_check=no
3524 #enable_hosted_libstdcxx=yes
3526 # Find platform-specific directories containing configuration info.
3527 # Also possibly modify flags used elsewhere, as needed by the platform.
3529 . $glibcxx_srcdir/configure.host
3530 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3531 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3532 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3533 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3537 #AC_MSG_NOTICE([====== Starting libtool configuration])
3539 # Check whether --enable-shared or --disable-shared was given.
3540 if test "${enable_shared+set}" = set; then
3541 enableval="$enable_shared"
3542 p=${PACKAGE-default}
3544 yes) enable_shared=yes ;;
3545 no) enable_shared=no ;;
3548 # Look at the argument we got. We use all the common list separators.
3549 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3550 for pkg in $enableval; do
3551 if test "X$pkg" = "X$p"; then
3561 # Check whether --enable-static or --disable-static was given.
3562 if test "${enable_static+set}" = set; then
3563 enableval="$enable_static"
3564 p=${PACKAGE-default}
3566 yes) enable_static=yes ;;
3567 no) enable_static=no ;;
3570 # Look at the argument we got. We use all the common list separators.
3571 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3572 for pkg in $enableval; do
3573 if test "X$pkg" = "X$p"; then
3583 # Check whether --enable-fast-install or --disable-fast-install was given.
3584 if test "${enable_fast_install+set}" = set; then
3585 enableval="$enable_fast_install"
3586 p=${PACKAGE-default}
3588 yes) enable_fast_install=yes ;;
3589 no) enable_fast_install=no ;;
3591 enable_fast_install=no
3592 # Look at the argument we got. We use all the common list separators.
3593 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3594 for pkg in $enableval; do
3595 if test "X$pkg" = "X$p"; then
3596 enable_fast_install=yes
3603 enable_fast_install=yes
3606 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3607 if test "${with_gnu_ld+set}" = set; then
3608 withval="$with_gnu_ld"
3609 test "$withval" = no || with_gnu_ld=yes
3614 if test "$GCC" = yes; then
3615 # Check if gcc -print-prog-name=ld gives a path.
3616 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3617 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3620 # gcc leaves a trailing carriage return which upsets mingw
3621 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3623 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3626 # Accept absolute paths.
3627 [\\/]* | [A-Za-z]:[\\/]*)
3628 re_direlt='/[^/][^/]*/\.\./'
3629 # Canonicalize the path of ld
3630 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3631 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3632 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3634 test -z "$LD" && LD="$ac_prog"
3637 # If it fails, then pretend we aren't using GCC.
3641 # If it is relative, then search for the first ld in PATH.
3645 elif test "$with_gnu_ld" = yes; then
3646 echo "$as_me:$LINENO: checking for GNU ld" >&5
3647 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3649 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3650 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3652 if test "${lt_cv_path_LD+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 if test -z "$LD"; then
3656 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3657 for ac_dir in $PATH; do
3658 test -z "$ac_dir" && ac_dir=.
3659 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3660 lt_cv_path_LD="$ac_dir/$ac_prog"
3661 # Check to see if the program is GNU ld. I'd rather use --version,
3662 # but apparently some GNU ld's only accept -v.
3663 # Break only if it was the GNU/non-GNU ld that we prefer.
3664 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3665 test "$with_gnu_ld" != no && break
3667 test "$with_gnu_ld" != yes && break
3673 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3678 if test -n "$LD"; then
3679 echo "$as_me:$LINENO: result: $LD" >&5
3680 echo "${ECHO_T}$LD" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3685 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3686 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3687 { (exit 1); exit 1; }; }
3688 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3689 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3690 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3694 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3695 lt_cv_prog_gnu_ld=yes
3697 lt_cv_prog_gnu_ld=no
3700 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3701 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3702 with_gnu_ld=$lt_cv_prog_gnu_ld
3705 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3706 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3707 if test "${lt_cv_ld_reload_flag+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 lt_cv_ld_reload_flag='-r'
3712 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3713 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3714 reload_flag=$lt_cv_ld_reload_flag
3715 test -n "$reload_flag" && reload_flag=" $reload_flag"
3717 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3718 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3719 if test "${lt_cv_path_NM+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$NM"; then
3723 # Let the user override the test.
3726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3727 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3728 test -z "$ac_dir" && ac_dir=.
3729 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3730 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3731 # Check to see if the nm accepts a BSD-compat flag.
3732 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3733 # nm: unknown option "B" ignored
3734 # Tru64's nm complains that /dev/null is an invalid object file
3735 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3736 lt_cv_path_NM="$tmp_nm -B"
3738 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3739 lt_cv_path_NM="$tmp_nm -p"
3742 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3743 continue # so that we can try to find one that supports BSD flags
3748 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3753 echo "$as_me:$LINENO: result: $NM" >&5
3754 echo "${ECHO_T}$NM" >&6
3756 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3757 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3758 if test "${lt_cv_deplibs_check_method+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 lt_cv_file_magic_cmd='$MAGIC_CMD'
3762 lt_cv_file_magic_test_file=
3763 lt_cv_deplibs_check_method='unknown'
3764 # Need to set the preceding variable on all platforms that support
3765 # interlibrary dependencies.
3766 # 'none' -- dependencies not supported.
3767 # `unknown' -- same as none, but documents that we really don't know.
3768 # 'pass_all' -- all dependencies passed with no checks.
3769 # 'test_compile' -- check by making test program.
3770 # 'file_magic [regex]' -- check by looking for files in library path
3771 # which responds to the $file_magic_cmd with a given egrep regex.
3772 # If you have `file' or equivalent on your system and you're not sure
3773 # whether `pass_all' will *always* work, you probably want this one.
3777 lt_cv_deplibs_check_method=pass_all
3781 lt_cv_deplibs_check_method=pass_all
3785 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3786 lt_cv_file_magic_cmd='/usr/bin/file -L'
3787 lt_cv_file_magic_test_file=/shlib/libc.so
3790 cygwin* | mingw* |pw32*)
3791 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3792 lt_cv_file_magic_cmd='$OBJDUMP -f'
3795 darwin* | rhapsody*)
3796 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3797 lt_cv_file_magic_cmd='/usr/bin/file -L'
3799 rhapsody* | darwin1.012)
3800 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3803 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3809 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3812 # Not sure whether the presence of OpenBSD here was a mistake.
3813 # Let's accept both of them until this is cleared up.
3814 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3815 lt_cv_file_magic_cmd=/usr/bin/file
3816 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3820 lt_cv_deplibs_check_method=pass_all
3825 lt_cv_deplibs_check_method=pass_all
3831 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3832 lt_cv_file_magic_cmd=/usr/bin/file
3833 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3836 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3837 lt_cv_file_magic_cmd=/usr/bin/file
3838 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3846 # this will be overridden with pass_all, but let us keep it just in case
3847 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3851 *-32|*"-32 ") libmagic=32-bit;;
3852 *-n32|*"-n32 ") libmagic=N32;;
3853 *-64|*"-64 ") libmagic=64-bit;;
3854 *) libmagic=never-match;;
3856 # this will be overridden with pass_all, but let us keep it just in case
3857 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3860 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3861 lt_cv_deplibs_check_method=pass_all
3864 # This must be Linux ELF.
3867 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3868 lt_cv_deplibs_check_method=pass_all ;;
3870 # glibc up to 2.1.1 does not perform some relocations on ARM
3871 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3873 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3877 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3878 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3880 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3885 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3886 lt_cv_file_magic_cmd=/usr/bin/file
3887 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3890 osf3* | osf4* | osf5*)
3891 # this will be overridden with pass_all, but let us keep it just in case
3892 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3893 lt_cv_file_magic_test_file=/shlib/libc.so
3894 lt_cv_deplibs_check_method=pass_all
3898 lt_cv_deplibs_check_method=pass_all
3902 lt_cv_deplibs_check_method=pass_all
3903 lt_cv_file_magic_test_file=/lib/libc.so
3906 sysv5uw[78]* | sysv4*uw2*)
3907 lt_cv_deplibs_check_method=pass_all
3910 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3911 case $host_vendor in
3913 lt_cv_deplibs_check_method=pass_all
3916 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]'
3917 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3924 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3925 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3926 file_magic_cmd=$lt_cv_file_magic_cmd
3927 deplibs_check_method=$lt_cv_deplibs_check_method
3933 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3935 # Only perform the check for file, if the check method requires it
3936 case $deplibs_check_method in
3938 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3939 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3940 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3949 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3952 ac_save_MAGIC_CMD="$MAGIC_CMD"
3953 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3954 ac_dummy="/usr/bin:$PATH"
3955 for ac_dir in $ac_dummy; do
3956 test -z "$ac_dir" && ac_dir=.
3957 if test -f $ac_dir/${ac_tool_prefix}file; then
3958 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3959 if test -n "$file_magic_test_file"; then
3960 case $deplibs_check_method in
3962 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3963 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3964 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3965 egrep "$file_magic_regex" > /dev/null; then
3970 *** Warning: the command libtool uses to detect shared libraries,
3971 *** $file_magic_cmd, produces output that libtool cannot recognize.
3972 *** The result is that libtool may fail to recognize shared libraries
3973 *** as such. This will affect the creation of libtool libraries that
3974 *** depend on shared libraries, but programs linked with such libtool
3975 *** libraries will work regardless of this problem. Nevertheless, you
3976 *** may want to report the problem to your system manager and/or to
3977 *** bug-libtool@gnu.org
3987 MAGIC_CMD="$ac_save_MAGIC_CMD"
3992 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3993 if test -n "$MAGIC_CMD"; then
3994 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3995 echo "${ECHO_T}$MAGIC_CMD" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4001 if test -z "$lt_cv_path_MAGIC_CMD"; then
4002 if test -n "$ac_tool_prefix"; then
4003 echo "$as_me:$LINENO: checking for file" >&5
4004 echo $ECHO_N "checking for file... $ECHO_C" >&6
4005 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4013 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4016 ac_save_MAGIC_CMD="$MAGIC_CMD"
4017 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4018 ac_dummy="/usr/bin:$PATH"
4019 for ac_dir in $ac_dummy; do
4020 test -z "$ac_dir" && ac_dir=.
4021 if test -f $ac_dir/file; then
4022 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4023 if test -n "$file_magic_test_file"; then
4024 case $deplibs_check_method in
4026 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4027 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4028 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4029 egrep "$file_magic_regex" > /dev/null; then
4034 *** Warning: the command libtool uses to detect shared libraries,
4035 *** $file_magic_cmd, produces output that libtool cannot recognize.
4036 *** The result is that libtool may fail to recognize shared libraries
4037 *** as such. This will affect the creation of libtool libraries that
4038 *** depend on shared libraries, but programs linked with such libtool
4039 *** libraries will work regardless of this problem. Nevertheless, you
4040 *** may want to report the problem to your system manager and/or to
4041 *** bug-libtool@gnu.org
4051 MAGIC_CMD="$ac_save_MAGIC_CMD"
4056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4057 if test -n "$MAGIC_CMD"; then
4058 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4059 echo "${ECHO_T}$MAGIC_CMD" >&6
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4074 if test -n "$ac_tool_prefix"; then
4075 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4076 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4077 echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4079 if test "${ac_cv_prog_RANLIB+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$RANLIB"; then
4083 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir=.
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 RANLIB=$ac_cv_prog_RANLIB
4102 if test -n "$RANLIB"; then
4103 echo "$as_me:$LINENO: result: $RANLIB" >&5
4104 echo "${ECHO_T}$RANLIB" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4111 if test -z "$ac_cv_prog_RANLIB"; then
4112 ac_ct_RANLIB=$RANLIB
4113 # Extract the first word of "ranlib", so it can be a program name with args.
4114 set dummy ranlib; ac_word=$2
4115 echo "$as_me:$LINENO: checking for $ac_word" >&5
4116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 if test -n "$ac_ct_RANLIB"; then
4121 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir=.
4128 for ac_exec_ext in '' $ac_executable_extensions; do
4129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4130 ac_cv_prog_ac_ct_RANLIB="ranlib"
4131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4140 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4141 if test -n "$ac_ct_RANLIB"; then
4142 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4143 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4145 echo "$as_me:$LINENO: result: no" >&5
4146 echo "${ECHO_T}no" >&6
4149 RANLIB=$ac_ct_RANLIB
4151 RANLIB="$ac_cv_prog_RANLIB"
4154 if test -n "$ac_tool_prefix"; then
4155 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4156 set dummy ${ac_tool_prefix}strip; ac_word=$2
4157 echo "$as_me:$LINENO: checking for $ac_word" >&5
4158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4159 if test "${ac_cv_prog_STRIP+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 if test -n "$STRIP"; then
4163 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4181 STRIP=$ac_cv_prog_STRIP
4182 if test -n "$STRIP"; then
4183 echo "$as_me:$LINENO: result: $STRIP" >&5
4184 echo "${ECHO_T}$STRIP" >&6
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4191 if test -z "$ac_cv_prog_STRIP"; then
4193 # Extract the first word of "strip", so it can be a program name with args.
4194 set dummy strip; ac_word=$2
4195 echo "$as_me:$LINENO: checking for $ac_word" >&5
4196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4197 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 if test -n "$ac_ct_STRIP"; then
4201 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210 ac_cv_prog_ac_ct_STRIP="strip"
4211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4217 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4220 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4221 if test -n "$ac_ct_STRIP"; then
4222 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4223 echo "${ECHO_T}$ac_ct_STRIP" >&6
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4231 STRIP="$ac_cv_prog_STRIP"
4235 # Check for any special flags to pass to ltconfig.
4236 libtool_flags="--cache-file=$cache_file"
4237 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4238 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4239 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4240 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4241 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4244 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4245 if test "${enable_libtool_lock+set}" = set; then
4246 enableval="$enable_libtool_lock"
4249 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4250 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4253 # Check whether --with-pic or --without-pic was given.
4254 if test "${with_pic+set}" = set; then
4260 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4261 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4263 # Some flags need to be propagated to the compiler or linker for good
4267 # Find out which ABI we are using.
4268 echo '#line 4268 "configure"' > conftest.$ac_ext
4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4270 (eval $ac_compile) 2>&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; then
4274 if test "$lt_cv_prog_gnu_ld" = yes; then
4275 case `/usr/bin/file conftest.$ac_objext` in
4277 LD="${LD-ld} -melf32bsmip"
4280 LD="${LD-ld} -melf32bmipn32"
4283 LD="${LD-ld} -melf64bmip"
4287 case `/usr/bin/file conftest.$ac_objext` in
4304 # Find out which ABI we are using.
4305 echo 'int i;' > conftest.$ac_ext
4306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4307 (eval $ac_compile) 2>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; then
4311 case "`/usr/bin/file conftest.o`" in
4323 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4324 # Find out which ABI we are using.
4325 echo 'int i;' > conftest.$ac_ext
4326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4327 (eval $ac_compile) 2>&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); }; then
4331 case "`/usr/bin/file conftest.o`" in
4335 LD="${LD-ld} -m elf_i386"
4337 ppc64-*linux*|powerpc64-*linux*)
4338 LD="${LD-ld} -m elf32ppclinux"
4341 LD="${LD-ld} -m elf_s390"
4344 LD="${LD-ld} -m elf32_sparc"
4351 LD="${LD-ld} -m elf_x86_64"
4353 ppc*-*linux*|powerpc*-*linux*)
4354 LD="${LD-ld} -m elf64ppc"
4357 LD="${LD-ld} -m elf64_s390"
4360 LD="${LD-ld} -m elf64_sparc"
4370 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4371 SAVE_CFLAGS="$CFLAGS"
4372 CFLAGS="$CFLAGS -belf"
4373 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4374 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4375 if test "${lt_cv_cc_needs_belf+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4381 ac_cpp='$CPP $CPPFLAGS'
4382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4386 if test x$gcc_no_link = xyes; then
4387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4389 { (exit 1); exit 1; }; }
4391 cat >conftest.$ac_ext <<_ACEOF
4392 #line $LINENO "configure"
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4407 rm -f conftest.$ac_objext conftest$ac_exeext
4408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4409 (eval $ac_link) 2>&5
4411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } &&
4413 { ac_try='test -s conftest$ac_exeext'
4414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4418 (exit $ac_status); }; }; then
4419 lt_cv_cc_needs_belf=yes
4421 echo "$as_me: failed program was:" >&5
4422 sed 's/^/| /' conftest.$ac_ext >&5
4424 lt_cv_cc_needs_belf=no
4426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4428 ac_cpp='$CPP $CPPFLAGS'
4429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4434 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4435 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4436 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4437 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4438 CFLAGS="$SAVE_CFLAGS"
4446 # Save cache, so that ltconfig can load it
4447 cat >confcache <<\_ACEOF
4448 # This file is a shell script that caches the results of configure
4449 # tests run on this system so they can be shared between configure
4450 # scripts and configure runs, see configure's option --config-cache.
4451 # It is not useful on other systems. If it contains results you don't
4452 # want to keep, you may remove or edit it.
4454 # config.status only pays attention to the cache file if you give it
4455 # the --recheck option to rerun configure.
4457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4463 # The following way of writing the cache mishandles newlines in values,
4464 # but we know of no workaround that is simple, portable, and efficient.
4465 # So, don't put newlines in cache variables' values.
4466 # Ultrix sh set writes to stderr and can't be redirected directly,
4467 # and sets the high bit in the cache file unless we assign to the vars.
4470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4472 # `set' does not quote correctly, so add quotes (double-quote
4473 # substitution turns \\\\ into \\, and sed turns \\ into \).
4476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4479 # `set' quotes correctly as required by POSIX, so do not add quotes.
4481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4490 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4492 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4493 if test -w $cache_file; then
4494 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4495 cat confcache >$cache_file
4497 echo "not updating unwritable cache $cache_file"
4502 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4503 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4504 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4505 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4506 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4507 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4508 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4509 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4510 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4511 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4512 echo "$as_me: error: libtool configure failed" >&2;}
4513 { (exit 1); exit 1; }; }
4515 # Reload cache, that may have been modified by ltconfig
4516 if test -r "$cache_file"; then
4517 # Some versions of bash will fail to source /dev/null (special
4518 # files actually), so we avoid doing that.
4519 if test -f "$cache_file"; then
4520 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4521 echo "$as_me: loading cache $cache_file" >&6;}
4523 [\\/]* | ?:[\\/]* ) . $cache_file;;
4524 *) . ./$cache_file;;
4528 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4529 echo "$as_me: creating cache $cache_file" >&6;}
4534 # This can be used to rebuild libtool when needed
4535 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4537 # Always use our own libtool.
4538 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4540 # Redirect the config.log output again, so that the ltconfig log is not
4541 # clobbered by the next message.
4542 exec 5>>./config.log
4545 ac_cpp='$CXXCPP $CPPFLAGS'
4546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4549 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4550 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4551 if test -z "$CXXCPP"; then
4552 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 # Double quotes because CXXCPP needs to be expanded
4556 for CXXCPP in "$CXX -E" "/lib/cpp"
4559 for ac_cxx_preproc_warn_flag in '' yes
4561 # Use a header file that comes with gcc, so configuring glibc
4562 # with a fresh cross-compiler works.
4563 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4564 # <limits.h> exists even on freestanding compilers.
4565 # On the NeXT, cc -E runs the code through the compiler's parser,
4566 # not just through cpp. "Syntax error" is here to catch this case.
4567 cat >conftest.$ac_ext <<_ACEOF
4568 #line $LINENO "configure"
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h. */
4575 # include <limits.h>
4577 # include <assert.h>
4581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4584 grep -v '^ *+' conftest.er1 >conftest.err
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } >/dev/null; then
4589 if test -s conftest.err; then
4590 ac_cpp_err=$ac_cxx_preproc_warn_flag
4597 if test -z "$ac_cpp_err"; then
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.$ac_ext >&5
4603 # Broken: fails on valid input.
4606 rm -f conftest.err conftest.$ac_ext
4608 # OK, works on sane cases. Now check whether non-existent headers
4609 # can be detected and how.
4610 cat >conftest.$ac_ext <<_ACEOF
4611 #line $LINENO "configure"
4614 cat confdefs.h >>conftest.$ac_ext
4615 cat >>conftest.$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 #include <ac_nonexistent.h>
4619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4620 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4622 grep -v '^ *+' conftest.er1 >conftest.err
4624 cat conftest.err >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); } >/dev/null; then
4627 if test -s conftest.err; then
4628 ac_cpp_err=$ac_cxx_preproc_warn_flag
4635 if test -z "$ac_cpp_err"; then
4636 # Broken: success on invalid input.
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 # Passes both tests.
4646 rm -f conftest.err conftest.$ac_ext
4649 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4650 rm -f conftest.err conftest.$ac_ext
4651 if $ac_preproc_ok; then
4656 ac_cv_prog_CXXCPP=$CXXCPP
4659 CXXCPP=$ac_cv_prog_CXXCPP
4661 ac_cv_prog_CXXCPP=$CXXCPP
4663 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4664 echo "${ECHO_T}$CXXCPP" >&6
4666 for ac_cxx_preproc_warn_flag in '' yes
4668 # Use a header file that comes with gcc, so configuring glibc
4669 # with a fresh cross-compiler works.
4670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4671 # <limits.h> exists even on freestanding compilers.
4672 # On the NeXT, cc -E runs the code through the compiler's parser,
4673 # not just through cpp. "Syntax error" is here to catch this case.
4674 cat >conftest.$ac_ext <<_ACEOF
4675 #line $LINENO "configure"
4678 cat confdefs.h >>conftest.$ac_ext
4679 cat >>conftest.$ac_ext <<_ACEOF
4680 /* end confdefs.h. */
4682 # include <limits.h>
4684 # include <assert.h>
4688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4691 grep -v '^ *+' conftest.er1 >conftest.err
4693 cat conftest.err >&5
4694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695 (exit $ac_status); } >/dev/null; then
4696 if test -s conftest.err; then
4697 ac_cpp_err=$ac_cxx_preproc_warn_flag
4704 if test -z "$ac_cpp_err"; then
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.$ac_ext >&5
4710 # Broken: fails on valid input.
4713 rm -f conftest.err conftest.$ac_ext
4715 # OK, works on sane cases. Now check whether non-existent headers
4716 # can be detected and how.
4717 cat >conftest.$ac_ext <<_ACEOF
4718 #line $LINENO "configure"
4721 cat confdefs.h >>conftest.$ac_ext
4722 cat >>conftest.$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4724 #include <ac_nonexistent.h>
4726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } >/dev/null; then
4734 if test -s conftest.err; then
4735 ac_cpp_err=$ac_cxx_preproc_warn_flag
4742 if test -z "$ac_cpp_err"; then
4743 # Broken: success on invalid input.
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 # Passes both tests.
4753 rm -f conftest.err conftest.$ac_ext
4756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4757 rm -f conftest.err conftest.$ac_ext
4758 if $ac_preproc_ok; then
4761 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4762 See \`config.log' for more details." >&5
4763 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4764 See \`config.log' for more details." >&2;}
4765 { (exit 1); exit 1; }; }
4769 ac_cpp='$CPP $CPPFLAGS'
4770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4776 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4778 lt_save_CFLAGS="$CFLAGS"
4779 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4780 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4781 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4782 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4783 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4784 deplibs_check_method="$deplibs_check_method" \
4785 file_magic_cmd="$file_magic_cmd" \
4786 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4787 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4788 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4789 echo "$as_me: error: libtool tag configuration failed" >&2;}
4790 { (exit 1); exit 1; }; }
4792 CFLAGS="$lt_save_CFLAGS"
4794 # Redirect the config.log output again, so that the ltconfig log is not
4795 # clobbered by the next message.
4796 exec 5>>./config.log
4805 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4807 # Possibly disable most of the library.
4808 ## XXX Consider skipping unncessary tests altogether in this case, rather
4809 ## than just ignoring the results. Faster /and/ more correct, win win.
4811 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4812 if test "${enable_hosted_libstdcxx+set}" = set; then
4813 enableval="$enable_hosted_libstdcxx"
4816 enable_hosted_libstdcxx=yes
4818 if test "$enable_hosted_libstdcxx" = no; then
4819 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4820 echo "$as_me: Only freestanding libraries will be built" >&6;}
4824 enable_libstdcxx_pch=no
4831 cat >>confdefs.h <<_ACEOF
4832 #define _GLIBCXX_HOSTED $hosted_define
4837 # Check for support bits and g++ features that don't require linking.
4839 echo "$as_me:$LINENO: checking for exception model to use" >&5
4840 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4844 ac_cpp='$CXXCPP $CPPFLAGS'
4845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4849 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4850 if test "${enable_sjlj_exceptions+set}" = set; then
4851 enableval="$enable_sjlj_exceptions"
4853 case "$enableval" in
4855 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4856 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4857 { (exit 1); exit 1; }; } ;;
4861 enable_sjlj_exceptions=auto
4865 if test $enable_sjlj_exceptions = auto; then
4866 # Botheration. Now we've got to detect the exception model. Link tests
4867 # against libgcc.a are problematic since we've not been given proper -L
4868 # bits for single-tree newlib and libgloss.
4870 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4871 cat > conftest.$ac_ext << EOF
4872 #line 4872 "configure"
4881 old_CXXFLAGS="$CXXFLAGS"
4883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4884 (eval $ac_compile) 2>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; then
4888 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4889 enable_sjlj_exceptions=yes
4890 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4891 enable_sjlj_exceptions=no
4894 CXXFLAGS="$old_CXXFLAGS"
4898 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4899 # to two different models.
4900 case $enable_sjlj_exceptions in
4903 cat >>confdefs.h <<\_ACEOF
4904 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4907 ac_exception_model_name=sjlj
4910 ac_exception_model_name="call frame"
4913 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4914 echo "$as_me: error: unable to detect exception model" >&2;}
4915 { (exit 1); exit 1; }; }
4919 ac_cpp='$CPP $CPPFLAGS'
4920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4924 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4925 echo "${ECHO_T}$ac_exception_model_name" >&6
4928 echo "$as_me:$LINENO: checking for use of libunwind" >&5
4929 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4930 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4931 if test "${enable_libunwind_exceptions+set}" = set; then
4932 enableval="$enable_libunwind_exceptions"
4934 case "$enableval" in
4936 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4937 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4938 { (exit 1); exit 1; }; } ;;
4942 enable_libunwind_exceptions=no
4945 echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4946 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4947 if test $enable_libunwind_exceptions = yes; then
4948 LIBUNWIND_FLAG="-lunwind"
4955 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4956 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4957 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4958 if test "${enable_libstdcxx_pch+set}" = set; then
4959 enableval="$enable_libstdcxx_pch"
4961 case "$enableval" in
4963 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4964 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4965 { (exit 1); exit 1; }; } ;;
4969 enable_libstdcxx_pch=$is_hosted
4972 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4973 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4975 if test $enable_libstdcxx_pch = yes; then
4976 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4977 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4978 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4981 ac_save_CXXFLAGS="$CXXFLAGS"
4982 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4986 ac_cpp='$CXXCPP $CPPFLAGS'
4987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4991 echo '#include <math.h>' > conftest.h
4992 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4993 -o conftest.h.gch 1>&5 2>&1 &&
4994 echo '#error "pch failed"' > conftest.h &&
4995 echo '#include "conftest.h"' > conftest.cc &&
4996 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4998 glibcxx_cv_prog_CXX_pch=yes
5000 glibcxx_cv_prog_CXX_pch=no
5003 CXXFLAGS=$ac_save_CXXFLAGS
5005 ac_cpp='$CPP $CPPFLAGS'
5006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5012 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5013 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5014 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5018 if test $enable_libstdcxx_pch = yes; then
5019 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5026 # Enable all the variable C++ runtime options.
5027 # NB: C_MBCHAR must come early.
5029 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5030 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5031 # Check whether --enable-cstdio or --disable-cstdio was given.
5032 if test "${enable_cstdio+set}" = set; then
5033 enableval="$enable_cstdio"
5035 case "$enableval" in
5037 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5038 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5039 { (exit 1); exit 1; }; } ;;
5047 # Now that libio has been removed, you can have any color you want as long
5048 # as it's black. This is one big no-op until other packages are added, but
5049 # showing the framework never hurts.
5050 case ${enable_cstdio} in
5052 CSTDIO_H=config/io/c_io_stdio.h
5053 BASIC_FILE_H=config/io/basic_file_stdio.h
5054 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5055 echo "$as_me:$LINENO: result: stdio" >&5
5056 echo "${ECHO_T}stdio" >&6
5060 FPOS_H=$fpos_include_dir
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5074 # On Suns, sometimes $CPP names a directory.
5075 if test -n "$CPP" && test -d "$CPP"; then
5078 if test -z "$CPP"; then
5079 if test "${ac_cv_prog_CPP+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 # Double quotes because CPP needs to be expanded
5083 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5086 for ac_c_preproc_warn_flag in '' yes
5088 # Use a header file that comes with gcc, so configuring glibc
5089 # with a fresh cross-compiler works.
5090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5091 # <limits.h> exists even on freestanding compilers.
5092 # On the NeXT, cc -E runs the code through the compiler's parser,
5093 # not just through cpp. "Syntax error" is here to catch this case.
5094 cat >conftest.$ac_ext <<_ACEOF
5095 #line $LINENO "configure"
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5102 # include <limits.h>
5104 # include <assert.h>
5108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5111 grep -v '^ *+' conftest.er1 >conftest.err
5113 cat conftest.err >&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } >/dev/null; then
5116 if test -s conftest.err; then
5117 ac_cpp_err=$ac_c_preproc_warn_flag
5124 if test -z "$ac_cpp_err"; then
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5130 # Broken: fails on valid input.
5133 rm -f conftest.err conftest.$ac_ext
5135 # OK, works on sane cases. Now check whether non-existent headers
5136 # can be detected and how.
5137 cat >conftest.$ac_ext <<_ACEOF
5138 #line $LINENO "configure"
5141 cat confdefs.h >>conftest.$ac_ext
5142 cat >>conftest.$ac_ext <<_ACEOF
5143 /* end confdefs.h. */
5144 #include <ac_nonexistent.h>
5146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5149 grep -v '^ *+' conftest.er1 >conftest.err
5151 cat conftest.err >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } >/dev/null; then
5154 if test -s conftest.err; then
5155 ac_cpp_err=$ac_c_preproc_warn_flag
5162 if test -z "$ac_cpp_err"; then
5163 # Broken: success on invalid input.
5166 echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.$ac_ext >&5
5169 # Passes both tests.
5173 rm -f conftest.err conftest.$ac_ext
5176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5177 rm -f conftest.err conftest.$ac_ext
5178 if $ac_preproc_ok; then
5190 echo "$as_me:$LINENO: result: $CPP" >&5
5191 echo "${ECHO_T}$CPP" >&6
5193 for ac_c_preproc_warn_flag in '' yes
5195 # Use a header file that comes with gcc, so configuring glibc
5196 # with a fresh cross-compiler works.
5197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5198 # <limits.h> exists even on freestanding compilers.
5199 # On the NeXT, cc -E runs the code through the compiler's parser,
5200 # not just through cpp. "Syntax error" is here to catch this case.
5201 cat >conftest.$ac_ext <<_ACEOF
5202 #line $LINENO "configure"
5205 cat confdefs.h >>conftest.$ac_ext
5206 cat >>conftest.$ac_ext <<_ACEOF
5207 /* end confdefs.h. */
5209 # include <limits.h>
5211 # include <assert.h>
5215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5218 grep -v '^ *+' conftest.er1 >conftest.err
5220 cat conftest.err >&5
5221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222 (exit $ac_status); } >/dev/null; then
5223 if test -s conftest.err; then
5224 ac_cpp_err=$ac_c_preproc_warn_flag
5231 if test -z "$ac_cpp_err"; then
5234 echo "$as_me: failed program was:" >&5
5235 sed 's/^/| /' conftest.$ac_ext >&5
5237 # Broken: fails on valid input.
5240 rm -f conftest.err conftest.$ac_ext
5242 # OK, works on sane cases. Now check whether non-existent headers
5243 # can be detected and how.
5244 cat >conftest.$ac_ext <<_ACEOF
5245 #line $LINENO "configure"
5248 cat confdefs.h >>conftest.$ac_ext
5249 cat >>conftest.$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5251 #include <ac_nonexistent.h>
5253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5256 grep -v '^ *+' conftest.er1 >conftest.err
5258 cat conftest.err >&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } >/dev/null; then
5261 if test -s conftest.err; then
5262 ac_cpp_err=$ac_c_preproc_warn_flag
5269 if test -z "$ac_cpp_err"; then
5270 # Broken: success on invalid input.
5273 echo "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.$ac_ext >&5
5276 # Passes both tests.
5280 rm -f conftest.err conftest.$ac_ext
5283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5284 rm -f conftest.err conftest.$ac_ext
5285 if $ac_preproc_ok; then
5288 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5289 See \`config.log' for more details." >&5
5290 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5291 See \`config.log' for more details." >&2;}
5292 { (exit 1); exit 1; }; }
5296 ac_cpp='$CPP $CPPFLAGS'
5297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5302 echo "$as_me:$LINENO: checking for egrep" >&5
5303 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5304 if test "${ac_cv_prog_egrep+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5308 then ac_cv_prog_egrep='grep -E'
5309 else ac_cv_prog_egrep='egrep'
5312 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5313 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5314 EGREP=$ac_cv_prog_egrep
5317 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5318 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5319 if test "${ac_cv_header_stdc+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 cat >conftest.$ac_ext <<_ACEOF
5323 #line $LINENO "configure"
5326 cat confdefs.h >>conftest.$ac_ext
5327 cat >>conftest.$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5342 rm -f conftest.$ac_objext
5343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5344 (eval $ac_compile) 2>&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); } &&
5348 { ac_try='test -s conftest.$ac_objext'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; }; then
5354 ac_cv_header_stdc=yes
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.$ac_ext >&5
5359 ac_cv_header_stdc=no
5361 rm -f conftest.$ac_objext conftest.$ac_ext
5363 if test $ac_cv_header_stdc = yes; then
5364 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5365 cat >conftest.$ac_ext <<_ACEOF
5366 #line $LINENO "configure"
5369 cat confdefs.h >>conftest.$ac_ext
5370 cat >>conftest.$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5376 $EGREP "memchr" >/dev/null 2>&1; then
5379 ac_cv_header_stdc=no
5385 if test $ac_cv_header_stdc = yes; then
5386 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5387 cat >conftest.$ac_ext <<_ACEOF
5388 #line $LINENO "configure"
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h. */
5397 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5398 $EGREP "free" >/dev/null 2>&1; then
5401 ac_cv_header_stdc=no
5407 if test $ac_cv_header_stdc = yes; then
5408 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5409 if test "$cross_compiling" = yes; then
5412 cat >conftest.$ac_ext <<_ACEOF
5413 #line $LINENO "configure"
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5420 #if ((' ' & 0x0FF) == 0x020)
5421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5424 # define ISLOWER(c) \
5425 (('a' <= (c) && (c) <= 'i') \
5426 || ('j' <= (c) && (c) <= 'r') \
5427 || ('s' <= (c) && (c) <= 'z'))
5428 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5431 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5436 for (i = 0; i < 256; i++)
5437 if (XOR (islower (i), ISLOWER (i))
5438 || toupper (i) != TOUPPER (i))
5443 rm -f conftest$ac_exeext
5444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5445 (eval $ac_link) 2>&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }; }; then
5456 echo "$as_me: program exited with status $ac_status" >&5
5457 echo "$as_me: failed program was:" >&5
5458 sed 's/^/| /' conftest.$ac_ext >&5
5461 ac_cv_header_stdc=no
5463 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5467 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5468 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5469 if test $ac_cv_header_stdc = yes; then
5471 cat >>confdefs.h <<\_ACEOF
5472 #define STDC_HEADERS 1
5477 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5487 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5488 inttypes.h stdint.h unistd.h
5490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5491 echo "$as_me:$LINENO: checking for $ac_header" >&5
5492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 cat >conftest.$ac_ext <<_ACEOF
5497 #line $LINENO "configure"
5500 cat confdefs.h >>conftest.$ac_ext
5501 cat >>conftest.$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5503 $ac_includes_default
5505 #include <$ac_header>
5507 rm -f conftest.$ac_objext
5508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5509 (eval $ac_compile) 2>&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); } &&
5513 { ac_try='test -s conftest.$ac_objext'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; }; then
5519 eval "$as_ac_Header=yes"
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5
5524 eval "$as_ac_Header=no"
5526 rm -f conftest.$ac_objext conftest.$ac_ext
5528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5531 cat >>confdefs.h <<_ACEOF
5532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5541 echo "$as_me:$LINENO: checking for C locale to use" >&5
5542 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5543 # Check whether --enable-clocale or --disable-clocale was given.
5544 if test "${enable_clocale+set}" = set; then
5545 enableval="$enable_clocale"
5547 case "$enableval" in
5548 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5549 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5550 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5551 { (exit 1); exit 1; }; } ;;
5559 # If they didn't use this option switch, or if they specified --enable
5560 # with no specific model, we'll have to look for one. If they
5561 # specified --disable (???), do likewise.
5562 if test $enable_clocale = no || test $enable_clocale = yes; then
5566 # Either a known package, or "auto"
5567 enable_clocale_flag=$enable_clocale
5569 # Probe for locale support if no specific model is specified.
5570 # Default to "generic".
5571 if test $enable_clocale_flag = auto; then
5572 case x${target_os} in
5574 cat >conftest.$ac_ext <<_ACEOF
5575 #line $LINENO "configure"
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5582 #include <features.h>
5583 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5589 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5590 enable_clocale_flag=gnu
5592 enable_clocale_flag=generic
5597 # Test for bugs early in glibc-2.2.x series
5598 if test x$enable_clocale_flag = xgnu; then
5599 if test "$cross_compiling" = yes; then
5600 enable_clocale_flag=generic
5602 cat >conftest.$ac_ext <<_ACEOF
5603 #line $LINENO "configure"
5606 cat confdefs.h >>conftest.$ac_ext
5607 cat >>conftest.$ac_ext <<_ACEOF
5608 /* end confdefs.h. */
5610 #define _GNU_SOURCE 1
5613 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5614 extern __typeof(newlocale) __newlocale;
5615 extern __typeof(duplocale) __duplocale;
5616 extern __typeof(strcoll_l) __strcoll_l;
5620 const char __one[] = "Äuglein Augmen";
5621 const char __two[] = "Äuglein";
5626 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5627 loc_dup = __duplocale(loc);
5628 i = __strcoll_l(__one, __two, loc);
5629 j = __strcoll_l(__one, __two, loc_dup);
5634 rm -f conftest$ac_exeext
5635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5636 (eval $ac_link) 2>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; }; then
5645 enable_clocale_flag=gnu
5647 echo "$as_me: program exited with status $ac_status" >&5
5648 echo "$as_me: failed program was:" >&5
5649 sed 's/^/| /' conftest.$ac_ext >&5
5652 enable_clocale_flag=generic
5654 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5658 # ... at some point put __strxfrm_l tests in as well.
5661 enable_clocale_flag=generic
5666 # Deal with gettext issues. Default to not using it (=no) until we detect
5667 # support for it later. Let the user turn it off via --e/d, but let that
5668 # default to on for easier handling.
5670 # Check whether --enable-nls or --disable-nls was given.
5671 if test "${enable_nls+set}" = set; then
5672 enableval="$enable_nls"
5678 # Set configure bits for specified locale package
5679 case ${enable_clocale_flag} in
5681 echo "$as_me:$LINENO: result: generic" >&5
5682 echo "${ECHO_T}generic" >&6
5684 CLOCALE_H=config/locale/generic/c_locale.h
5685 CLOCALE_CC=config/locale/generic/c_locale.cc
5686 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5687 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5688 CCOLLATE_CC=config/locale/generic/collate_members.cc
5689 CCTYPE_CC=config/locale/generic/ctype_members.cc
5690 CMESSAGES_H=config/locale/generic/messages_members.h
5691 CMESSAGES_CC=config/locale/generic/messages_members.cc
5692 CMONEY_CC=config/locale/generic/monetary_members.cc
5693 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5694 CTIME_H=config/locale/generic/time_members.h
5695 CTIME_CC=config/locale/generic/time_members.cc
5696 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5699 echo "$as_me:$LINENO: result: gnu" >&5
5700 echo "${ECHO_T}gnu" >&6
5702 # Declare intention to use gettext, and add support for specific
5704 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5707 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5708 # Extract the first word of "msgfmt", so it can be a program name with args.
5709 set dummy msgfmt; ac_word=$2
5710 echo "$as_me:$LINENO: checking for $ac_word" >&5
5711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5712 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 if test -n "$check_msgfmt"; then
5716 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 test -z "$as_dir" && as_dir=.
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5725 ac_cv_prog_check_msgfmt="yes"
5726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5735 check_msgfmt=$ac_cv_prog_check_msgfmt
5736 if test -n "$check_msgfmt"; then
5737 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5738 echo "${ECHO_T}$check_msgfmt" >&6
5740 echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6
5744 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5747 # Export the build objects.
5748 for ling in $ALL_LINGUAS; do \
5749 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5750 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5755 CLOCALE_H=config/locale/gnu/c_locale.h
5756 CLOCALE_CC=config/locale/gnu/c_locale.cc
5757 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5758 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5759 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5760 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5761 CMESSAGES_H=config/locale/gnu/messages_members.h
5762 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5763 CMONEY_CC=config/locale/gnu/monetary_members.cc
5764 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5765 CTIME_H=config/locale/gnu/time_members.h
5766 CTIME_CC=config/locale/gnu/time_members.cc
5767 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5770 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5771 echo "${ECHO_T}IEEE 1003.1" >&6
5773 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5774 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5775 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5776 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5777 CCOLLATE_CC=config/locale/generic/collate_members.cc
5778 CCTYPE_CC=config/locale/generic/ctype_members.cc
5779 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5780 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5781 CMONEY_CC=config/locale/generic/monetary_members.cc
5782 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5783 CTIME_H=config/locale/generic/time_members.h
5784 CTIME_CC=config/locale/generic/time_members.cc
5785 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5789 # This is where the testsuite looks for locale catalogs, using the
5790 # -DLOCALEDIR define during testsuite compilation.
5791 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5794 # A standalone libintl (e.g., GNU libintl) may be in use.
5795 if test $USE_NLS = yes; then
5797 for ac_header in libintl.h
5799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5801 echo "$as_me:$LINENO: checking for $ac_header" >&5
5802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5809 # Is the header compilable?
5810 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5812 cat >conftest.$ac_ext <<_ACEOF
5813 #line $LINENO "configure"
5816 cat confdefs.h >>conftest.$ac_ext
5817 cat >>conftest.$ac_ext <<_ACEOF
5818 /* end confdefs.h. */
5819 $ac_includes_default
5820 #include <$ac_header>
5822 rm -f conftest.$ac_objext
5823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5824 (eval $ac_compile) 2>&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); } &&
5828 { ac_try='test -s conftest.$ac_objext'
5829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5833 (exit $ac_status); }; }; then
5834 ac_header_compiler=yes
5836 echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5839 ac_header_compiler=no
5841 rm -f conftest.$ac_objext conftest.$ac_ext
5842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5843 echo "${ECHO_T}$ac_header_compiler" >&6
5845 # Is the header present?
5846 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5848 cat >conftest.$ac_ext <<_ACEOF
5849 #line $LINENO "configure"
5852 cat confdefs.h >>conftest.$ac_ext
5853 cat >>conftest.$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5855 #include <$ac_header>
5857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5860 grep -v '^ *+' conftest.er1 >conftest.err
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } >/dev/null; then
5865 if test -s conftest.err; then
5866 ac_cpp_err=$ac_c_preproc_warn_flag
5873 if test -z "$ac_cpp_err"; then
5874 ac_header_preproc=yes
5876 echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.$ac_ext >&5
5879 ac_header_preproc=no
5881 rm -f conftest.err conftest.$ac_ext
5882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5883 echo "${ECHO_T}$ac_header_preproc" >&6
5885 # So? What about this header?
5886 case $ac_header_compiler:$ac_header_preproc in
5888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5894 ## ------------------------------------ ##
5895 ## Report this to bug-autoconf@gnu.org. ##
5896 ## ------------------------------------ ##
5899 sed "s/^/$as_me: WARNING: /" >&2
5902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5910 ## ------------------------------------ ##
5911 ## Report this to bug-autoconf@gnu.org. ##
5912 ## ------------------------------------ ##
5915 sed "s/^/$as_me: WARNING: /" >&2
5918 echo "$as_me:$LINENO: checking for $ac_header" >&5
5919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 eval "$as_ac_Header=$ac_header_preproc"
5925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5930 cat >>confdefs.h <<_ACEOF
5931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5940 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5941 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5942 if test "${ac_cv_search_gettext+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 ac_func_search_save_LIBS=$LIBS
5946 ac_cv_search_gettext=no
5947 if test x$gcc_no_link = xyes; then
5948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5950 { (exit 1); exit 1; }; }
5952 cat >conftest.$ac_ext <<_ACEOF
5953 #line $LINENO "configure"
5956 cat confdefs.h >>conftest.$ac_ext
5957 cat >>conftest.$ac_ext <<_ACEOF
5958 /* end confdefs.h. */
5960 /* Override any gcc2 internal prototype to avoid an error. */
5964 /* We use char because int might match the return type of a gcc2
5965 builtin and then its argument prototype would still apply. */
5975 rm -f conftest.$ac_objext conftest$ac_exeext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5977 (eval $ac_link) 2>&5
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5980 (exit $ac_status); } &&
5981 { ac_try='test -s conftest$ac_exeext'
5982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986 (exit $ac_status); }; }; then
5987 ac_cv_search_gettext="none required"
5989 echo "$as_me: failed program was:" >&5
5990 sed 's/^/| /' conftest.$ac_ext >&5
5993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5994 if test "$ac_cv_search_gettext" = no; then
5995 for ac_lib in intl; do
5996 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5997 if test x$gcc_no_link = xyes; then
5998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6000 { (exit 1); exit 1; }; }
6002 cat >conftest.$ac_ext <<_ACEOF
6003 #line $LINENO "configure"
6006 cat confdefs.h >>conftest.$ac_ext
6007 cat >>conftest.$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6010 /* Override any gcc2 internal prototype to avoid an error. */
6014 /* We use char because int might match the return type of a gcc2
6015 builtin and then its argument prototype would still apply. */
6025 rm -f conftest.$ac_objext conftest$ac_exeext
6026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6027 (eval $ac_link) 2>&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); } &&
6031 { ac_try='test -s conftest$ac_exeext'
6032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); }; }; then
6037 ac_cv_search_gettext="-l$ac_lib"
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.$ac_ext >&5
6044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6047 LIBS=$ac_func_search_save_LIBS
6049 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6050 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6051 if test "$ac_cv_search_gettext" != no; then
6052 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6059 if test $USE_NLS = yes; then
6060 cat >>confdefs.h <<\_ACEOF
6061 #define _GLIBCXX_USE_NLS 1
6082 # Check whether --enable-cheaders or --disable-cheaders was given.
6083 if test "${enable_cheaders+set}" = set; then
6084 enableval="$enable_cheaders"
6086 case "$enableval" in
6088 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6089 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6090 { (exit 1); exit 1; }; } ;;
6094 enable_cheaders=$c_model
6097 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6098 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6100 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6107 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6108 if test "${enable_c_mbchar+set}" = set; then
6109 enableval="$enable_c_mbchar"
6111 case "$enableval" in
6113 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6114 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6115 { (exit 1); exit 1; }; } ;;
6122 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6126 # Check whether --enable-c99 or --disable-c99 was given.
6127 if test "${enable_c99+set}" = set; then
6128 enableval="$enable_c99"
6130 case "$enableval" in
6132 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6133 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6134 { (exit 1); exit 1; }; } ;;
6145 ac_cpp='$CXXCPP $CPPFLAGS'
6146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6151 # Check for the existence of <math.h> functions used if C99 is enabled.
6153 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6154 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6155 cat >conftest.$ac_ext <<_ACEOF
6156 #line $LINENO "configure"
6159 cat confdefs.h >>conftest.$ac_ext
6160 cat >>conftest.$ac_ext <<_ACEOF
6161 /* end confdefs.h. */
6171 rm -f conftest.$ac_objext
6172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6173 (eval $ac_compile) 2>&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); } &&
6177 { ac_try='test -s conftest.$ac_objext'
6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }; }; then
6185 echo "$as_me: failed program was:" >&5
6186 sed 's/^/| /' conftest.$ac_ext >&5
6190 rm -f conftest.$ac_objext conftest.$ac_ext
6191 cat >conftest.$ac_ext <<_ACEOF
6192 #line $LINENO "configure"
6195 cat confdefs.h >>conftest.$ac_ext
6196 cat >>conftest.$ac_ext <<_ACEOF
6197 /* end confdefs.h. */
6207 rm -f conftest.$ac_objext
6208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6209 (eval $ac_compile) 2>&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); } &&
6213 { ac_try='test -s conftest.$ac_objext'
6214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; }; then
6221 echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.$ac_ext >&5
6226 rm -f conftest.$ac_objext conftest.$ac_ext
6227 cat >conftest.$ac_ext <<_ACEOF
6228 #line $LINENO "configure"
6231 cat confdefs.h >>conftest.$ac_ext
6232 cat >>conftest.$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6243 rm -f conftest.$ac_objext
6244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6245 (eval $ac_compile) 2>&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); } &&
6249 { ac_try='test -s conftest.$ac_objext'
6250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); }; }; then
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.$ac_ext >&5
6262 rm -f conftest.$ac_objext conftest.$ac_ext
6263 cat >conftest.$ac_ext <<_ACEOF
6264 #line $LINENO "configure"
6267 cat confdefs.h >>conftest.$ac_ext
6268 cat >>conftest.$ac_ext <<_ACEOF
6269 /* end confdefs.h. */
6279 rm -f conftest.$ac_objext
6280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6281 (eval $ac_compile) 2>&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } &&
6285 { ac_try='test -s conftest.$ac_objext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.$ac_ext >&5
6298 rm -f conftest.$ac_objext conftest.$ac_ext
6299 cat >conftest.$ac_ext <<_ACEOF
6300 #line $LINENO "configure"
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6315 rm -f conftest.$ac_objext
6316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6317 (eval $ac_compile) 2>&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); } &&
6321 { ac_try='test -s conftest.$ac_objext'
6322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); }; }; then
6329 echo "$as_me: failed program was:" >&5
6330 sed 's/^/| /' conftest.$ac_ext >&5
6334 rm -f conftest.$ac_objext conftest.$ac_ext
6335 cat >conftest.$ac_ext <<_ACEOF
6336 #line $LINENO "configure"
6339 cat confdefs.h >>conftest.$ac_ext
6340 cat >>conftest.$ac_ext <<_ACEOF
6341 /* end confdefs.h. */
6351 rm -f conftest.$ac_objext
6352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6353 (eval $ac_compile) 2>&5
6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6356 (exit $ac_status); } &&
6357 { ac_try='test -s conftest.$ac_objext'
6358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; }; then
6365 echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6370 rm -f conftest.$ac_objext conftest.$ac_ext
6371 cat >conftest.$ac_ext <<_ACEOF
6372 #line $LINENO "configure"
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6387 rm -f conftest.$ac_objext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6389 (eval $ac_compile) 2>&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } &&
6393 { ac_try='test -s conftest.$ac_objext'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; }; then
6401 echo "$as_me: failed program was:" >&5
6402 sed 's/^/| /' conftest.$ac_ext >&5
6406 rm -f conftest.$ac_objext conftest.$ac_ext
6407 cat >conftest.$ac_ext <<_ACEOF
6408 #line $LINENO "configure"
6411 cat confdefs.h >>conftest.$ac_ext
6412 cat >>conftest.$ac_ext <<_ACEOF
6413 /* end confdefs.h. */
6418 isgreaterequal(0.0,0.0);
6423 rm -f conftest.$ac_objext
6424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6425 (eval $ac_compile) 2>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } &&
6429 { ac_try='test -s conftest.$ac_objext'
6430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); }; }; then
6437 echo "$as_me: failed program was:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6442 rm -f conftest.$ac_objext conftest.$ac_ext
6443 cat >conftest.$ac_ext <<_ACEOF
6444 #line $LINENO "configure"
6447 cat confdefs.h >>conftest.$ac_ext
6448 cat >>conftest.$ac_ext <<_ACEOF
6449 /* end confdefs.h. */
6459 rm -f conftest.$ac_objext
6460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6461 (eval $ac_compile) 2>&5
6463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); } &&
6465 { ac_try='test -s conftest.$ac_objext'
6466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); }; }; then
6473 echo "$as_me: failed program was:" >&5
6474 sed 's/^/| /' conftest.$ac_ext >&5
6478 rm -f conftest.$ac_objext conftest.$ac_ext
6479 cat >conftest.$ac_ext <<_ACEOF
6480 #line $LINENO "configure"
6483 cat confdefs.h >>conftest.$ac_ext
6484 cat >>conftest.$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6490 islessequal(0.0,0.0);
6495 rm -f conftest.$ac_objext
6496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6497 (eval $ac_compile) 2>&5
6499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 (exit $ac_status); } &&
6501 { ac_try='test -s conftest.$ac_objext'
6502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); }; }; then
6509 echo "$as_me: failed program was:" >&5
6510 sed 's/^/| /' conftest.$ac_ext >&5
6514 rm -f conftest.$ac_objext conftest.$ac_ext
6515 cat >conftest.$ac_ext <<_ACEOF
6516 #line $LINENO "configure"
6519 cat confdefs.h >>conftest.$ac_ext
6520 cat >>conftest.$ac_ext <<_ACEOF
6521 /* end confdefs.h. */
6526 islessgreater(0.0,0.0);
6531 rm -f conftest.$ac_objext
6532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6533 (eval $ac_compile) 2>&5
6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); } &&
6537 { ac_try='test -s conftest.$ac_objext'
6538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); }; }; then
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.$ac_ext >&5
6550 rm -f conftest.$ac_objext conftest.$ac_ext
6551 cat >conftest.$ac_ext <<_ACEOF
6552 #line $LINENO "configure"
6555 cat confdefs.h >>conftest.$ac_ext
6556 cat >>conftest.$ac_ext <<_ACEOF
6557 /* end confdefs.h. */
6562 isunordered(0.0,0.0);
6567 rm -f conftest.$ac_objext
6568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6569 (eval $ac_compile) 2>&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } &&
6573 { ac_try='test -s conftest.$ac_objext'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; }; then
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6586 rm -f conftest.$ac_objext conftest.$ac_ext
6587 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6588 echo "${ECHO_T}$ac_c99_math" >&6
6590 # Check for the existence in <stdio.h> of vscanf, et. al.
6592 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6593 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6594 cat >conftest.$ac_ext <<_ACEOF
6595 #line $LINENO "configure"
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6605 snprintf("12", 0, "%i");
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>&5
6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 (exit $ac_status); } &&
6616 { ac_try='test -s conftest.$ac_objext'
6617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6624 echo "$as_me: failed program was:" >&5
6625 sed 's/^/| /' conftest.$ac_ext >&5
6629 rm -f conftest.$ac_objext conftest.$ac_ext
6630 cat >conftest.$ac_ext <<_ACEOF
6631 #line $LINENO "configure"
6634 cat confdefs.h >>conftest.$ac_ext
6635 cat >>conftest.$ac_ext <<_ACEOF
6636 /* end confdefs.h. */
6639 void foo(char* fmt, ...)
6640 {va_list args; va_start(args, fmt);
6641 vfscanf(stderr, "%i", args);}
6650 rm -f conftest.$ac_objext
6651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6652 (eval $ac_compile) 2>&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); } &&
6656 { ac_try='test -s conftest.$ac_objext'
6657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); }; }; then
6664 echo "$as_me: failed program was:" >&5
6665 sed 's/^/| /' conftest.$ac_ext >&5
6669 rm -f conftest.$ac_objext conftest.$ac_ext
6670 cat >conftest.$ac_ext <<_ACEOF
6671 #line $LINENO "configure"
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6679 void foo(char* fmt, ...)
6680 {va_list args; va_start(args, fmt);
6681 vscanf("%i", args);}
6690 rm -f conftest.$ac_objext
6691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6692 (eval $ac_compile) 2>&5
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } &&
6696 { ac_try='test -s conftest.$ac_objext'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; }; then
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.$ac_ext >&5
6709 rm -f conftest.$ac_objext conftest.$ac_ext
6710 cat >conftest.$ac_ext <<_ACEOF
6711 #line $LINENO "configure"
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6719 void foo(char* fmt, ...)
6720 {va_list args; va_start(args, fmt);
6721 vsnprintf(fmt, 0, "%i", args);}
6730 rm -f conftest.$ac_objext
6731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6732 (eval $ac_compile) 2>&5
6734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } &&
6736 { ac_try='test -s conftest.$ac_objext'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6749 rm -f conftest.$ac_objext conftest.$ac_ext
6750 cat >conftest.$ac_ext <<_ACEOF
6751 #line $LINENO "configure"
6754 cat confdefs.h >>conftest.$ac_ext
6755 cat >>conftest.$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6759 void foo(char* fmt, ...)
6760 {va_list args; va_start(args, fmt);
6761 vsscanf(fmt, "%i", args);}
6770 rm -f conftest.$ac_objext
6771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6772 (eval $ac_compile) 2>&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } &&
6776 { ac_try='test -s conftest.$ac_objext'
6777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); }; }; then
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.$ac_ext >&5
6789 rm -f conftest.$ac_objext conftest.$ac_ext
6790 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6791 echo "${ECHO_T}$ac_c99_stdio" >&6
6793 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6795 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6796 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6797 if test "${ac_c99_lldiv_t+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 cat >conftest.$ac_ext <<_ACEOF
6802 #line $LINENO "configure"
6805 cat confdefs.h >>conftest.$ac_ext
6806 cat >>conftest.$ac_ext <<_ACEOF
6807 /* end confdefs.h. */
6817 rm -f conftest.$ac_objext
6818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6819 (eval $ac_compile) 2>&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } &&
6823 { ac_try='test -s conftest.$ac_objext'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; }; then
6831 echo "$as_me: failed program was:" >&5
6832 sed 's/^/| /' conftest.$ac_ext >&5
6836 rm -f conftest.$ac_objext conftest.$ac_ext
6840 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6841 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6843 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6844 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6845 cat >conftest.$ac_ext <<_ACEOF
6846 #line $LINENO "configure"
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6856 char* tmp; strtof("gnu", &tmp);
6861 rm -f conftest.$ac_objext
6862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6863 (eval $ac_compile) 2>&5
6865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6866 (exit $ac_status); } &&
6867 { ac_try='test -s conftest.$ac_objext'
6868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); }; }; then
6875 echo "$as_me: failed program was:" >&5
6876 sed 's/^/| /' conftest.$ac_ext >&5
6880 rm -f conftest.$ac_objext conftest.$ac_ext
6881 cat >conftest.$ac_ext <<_ACEOF
6882 #line $LINENO "configure"
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6892 char* tmp; strtold("gnu", &tmp);
6897 rm -f conftest.$ac_objext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6899 (eval $ac_compile) 2>&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } &&
6903 { ac_try='test -s conftest.$ac_objext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6911 echo "$as_me: failed program was:" >&5
6912 sed 's/^/| /' conftest.$ac_ext >&5
6916 rm -f conftest.$ac_objext conftest.$ac_ext
6917 cat >conftest.$ac_ext <<_ACEOF
6918 #line $LINENO "configure"
6921 cat confdefs.h >>conftest.$ac_ext
6922 cat >>conftest.$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6933 rm -f conftest.$ac_objext
6934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6935 (eval $ac_compile) 2>&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6952 rm -f conftest.$ac_objext conftest.$ac_ext
6953 cat >conftest.$ac_ext <<_ACEOF
6954 #line $LINENO "configure"
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6969 rm -f conftest.$ac_objext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6971 (eval $ac_compile) 2>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } &&
6975 { ac_try='test -s conftest.$ac_objext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6988 rm -f conftest.$ac_objext conftest.$ac_ext
6989 cat >conftest.$ac_ext <<_ACEOF
6990 #line $LINENO "configure"
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
7005 rm -f conftest.$ac_objext
7006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7007 (eval $ac_compile) 2>&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try='test -s conftest.$ac_objext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7024 rm -f conftest.$ac_objext conftest.$ac_ext
7025 cat >conftest.$ac_ext <<_ACEOF
7026 #line $LINENO "configure"
7029 cat confdefs.h >>conftest.$ac_ext
7030 cat >>conftest.$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7041 rm -f conftest.$ac_objext
7042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7043 (eval $ac_compile) 2>&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } &&
7047 { ac_try='test -s conftest.$ac_objext'
7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); }; }; then
7055 echo "$as_me: failed program was:" >&5
7056 sed 's/^/| /' conftest.$ac_ext >&5
7060 rm -f conftest.$ac_objext conftest.$ac_ext
7061 if test x"$ac_c99_lldiv_t" = x"no"; then
7064 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7065 echo "${ECHO_T}$ac_c99_stdlib" >&6
7067 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7068 # XXX the wchar.h checks should be rolled into the general C99 bits.
7070 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7071 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7072 cat >conftest.$ac_ext <<_ACEOF
7073 #line $LINENO "configure"
7076 cat confdefs.h >>conftest.$ac_ext
7077 cat >>conftest.$ac_ext <<_ACEOF
7078 /* end confdefs.h. */
7083 wcstold(L"10.0", NULL);
7088 rm -f conftest.$ac_objext
7089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7090 (eval $ac_compile) 2>&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); } &&
7094 { ac_try='test -s conftest.$ac_objext'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; }; then
7102 echo "$as_me: failed program was:" >&5
7103 sed 's/^/| /' conftest.$ac_ext >&5
7107 rm -f conftest.$ac_objext conftest.$ac_ext
7108 cat >conftest.$ac_ext <<_ACEOF
7109 #line $LINENO "configure"
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7119 wcstoll(L"10", NULL, 10);
7124 rm -f conftest.$ac_objext
7125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7126 (eval $ac_compile) 2>&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); } &&
7130 { ac_try='test -s conftest.$ac_objext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7138 echo "$as_me: failed program was:" >&5
7139 sed 's/^/| /' conftest.$ac_ext >&5
7143 rm -f conftest.$ac_objext conftest.$ac_ext
7144 cat >conftest.$ac_ext <<_ACEOF
7145 #line $LINENO "configure"
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7155 wcstoull(L"10", NULL, 10);
7160 rm -f conftest.$ac_objext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7162 (eval $ac_compile) 2>&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); } &&
7166 { ac_try='test -s conftest.$ac_objext'
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); }; }; then
7174 echo "$as_me: failed program was:" >&5
7175 sed 's/^/| /' conftest.$ac_ext >&5
7179 rm -f conftest.$ac_objext conftest.$ac_ext
7180 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7181 echo "${ECHO_T}$ac_c99_wchar" >&6
7183 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7184 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7185 if test x"$ac_c99_math" = x"no" ||
7186 test x"$ac_c99_stdio" = x"no" ||
7187 test x"$ac_c99_stdlib" = x"no" ||
7188 test x"$ac_c99_wchar" = x"no"; then
7191 echo "$as_me:$LINENO: result: $enable_c99" >&5
7192 echo "${ECHO_T}$enable_c99" >&6
7194 # Option parsed, now set things appropriately
7195 if test x"$enable_c99" = x"yes"; then
7196 cat >>confdefs.h <<\_ACEOF
7197 #define _GLIBCXX_USE_C99 1
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7210 # Check whether --enable-long-long or --disable-long-long was given.
7211 if test "${enable_long_long+set}" = set; then
7212 enableval="$enable_long_long"
7214 case "$enableval" in
7216 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7217 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7218 { (exit 1); exit 1; }; } ;;
7222 enable_long_long=yes
7229 ac_cpp='$CXXCPP $CPPFLAGS'
7230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7235 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7236 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7237 # iostreams require strtoll, strtoull to compile
7238 cat >conftest.$ac_ext <<_ACEOF
7239 #line $LINENO "configure"
7242 cat confdefs.h >>conftest.$ac_ext
7243 cat >>conftest.$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7249 char* tmp; strtoll("gnu", &tmp, 10);
7254 rm -f conftest.$ac_objext
7255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7256 (eval $ac_compile) 2>&5
7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 (exit $ac_status); } &&
7260 { ac_try='test -s conftest.$ac_objext'
7261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 (exit $ac_status); }; }; then
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.$ac_ext >&5
7273 rm -f conftest.$ac_objext conftest.$ac_ext
7274 cat >conftest.$ac_ext <<_ACEOF
7275 #line $LINENO "configure"
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7285 char* tmp; strtoull("gnu", &tmp, 10);
7290 rm -f conftest.$ac_objext
7291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7292 (eval $ac_compile) 2>&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } &&
7296 { ac_try='test -s conftest.$ac_objext'
7297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); }; }; then
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.$ac_ext >&5
7309 rm -f conftest.$ac_objext conftest.$ac_ext
7311 # Option parsed, now set things appropriately
7312 if test $enable_long_long = yes; then
7313 cat >>confdefs.h <<\_ACEOF
7314 #define _GLIBCXX_USE_LONG_LONG 1
7318 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7319 echo "${ECHO_T}$enable_long_long" >&6
7322 ac_cpp='$CPP $CPPFLAGS'
7323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7329 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7330 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7331 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7332 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7333 echo "${ECHO_T}$target_thread_file" >&6
7335 if test $target_thread_file != single; then
7336 cat >>confdefs.h <<\_ACEOF
7337 #define HAVE_GTHR_DEFAULT 1
7340 cat >>confdefs.h <<\_ACEOF
7341 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7346 glibcxx_thread_h=gthr-$target_thread_file.h
7350 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7351 if test "${enable_concept_checks+set}" = set; then
7352 enableval="$enable_concept_checks"
7354 case "$enableval" in
7356 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7357 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7358 { (exit 1); exit 1; }; } ;;
7362 enable_concept_checks=no
7365 if test $enable_concept_checks = yes; then
7366 cat >>confdefs.h <<\_ACEOF
7367 #define _GLIBCXX_CONCEPT_CHECKS 1
7373 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7374 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7375 enableval="$enable_libstdcxx_debug_flags"
7376 case "x$enable_libstdcxx_debug_flags" in
7377 xno | x) enable_libstdcxx_debug_flags= ;;
7379 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7380 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7381 { (exit 1); exit 1; }; } ;;
7384 enable_libstdcxx_debug_flags="-g3 -O0"
7388 # Option parsed, now set things appropriately
7389 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7392 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7393 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7396 echo "$as_me:$LINENO: checking for additional debug build" >&5
7397 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7398 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7399 if test "${enable_libstdcxx_debug+set}" = set; then
7400 enableval="$enable_libstdcxx_debug"
7402 case "$enableval" in
7404 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7405 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7406 { (exit 1); exit 1; }; } ;;
7410 enable_libstdcxx_debug=no
7413 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7414 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7417 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7418 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7419 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7420 if test "${enable_cxx_flags+set}" = set; then
7421 enableval="$enable_cxx_flags"
7422 case "x$enable_cxx_flags" in
7423 xno | x) enable_cxx_flags= ;;
7425 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7426 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7427 { (exit 1); exit 1; }; } ;;
7434 # Run through flags (either default or command-line) and set anything
7435 # extra (e.g., #defines) that must accompany particular g++ options.
7436 if test -n "$enable_cxx_flags"; then
7437 for f in $enable_cxx_flags; do
7441 *) # and we're trying to pass /what/ exactly?
7442 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7443 echo "$as_me: error: compiler flags start with a -" >&2;}
7444 { (exit 1); exit 1; }; } ;;
7449 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7450 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7451 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7455 # No surprises, no surprises...
7456 if test $atomicity_include_dir = cpu/generic ; then
7457 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7458 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7459 if test $target_thread_file = single; then
7460 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7461 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7462 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7463 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7465 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7466 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7467 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7468 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7473 if $GLIBCXX_IS_NATIVE; then
7475 # We can do more elaborate tests that assume a working linker.
7478 # Check for available headers.
7492 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7493 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7498 echo "$as_me:$LINENO: checking for $ac_header" >&5
7499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7506 # Is the header compilable?
7507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7509 cat >conftest.$ac_ext <<_ACEOF
7510 #line $LINENO "configure"
7513 cat confdefs.h >>conftest.$ac_ext
7514 cat >>conftest.$ac_ext <<_ACEOF
7515 /* end confdefs.h. */
7516 $ac_includes_default
7517 #include <$ac_header>
7519 rm -f conftest.$ac_objext
7520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7521 (eval $ac_compile) 2>&5
7523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7524 (exit $ac_status); } &&
7525 { ac_try='test -s conftest.$ac_objext'
7526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); }; }; then
7531 ac_header_compiler=yes
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.$ac_ext >&5
7536 ac_header_compiler=no
7538 rm -f conftest.$ac_objext conftest.$ac_ext
7539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7540 echo "${ECHO_T}$ac_header_compiler" >&6
7542 # Is the header present?
7543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7545 cat >conftest.$ac_ext <<_ACEOF
7546 #line $LINENO "configure"
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 #include <$ac_header>
7554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7557 grep -v '^ *+' conftest.er1 >conftest.err
7559 cat conftest.err >&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); } >/dev/null; then
7562 if test -s conftest.err; then
7563 ac_cpp_err=$ac_c_preproc_warn_flag
7570 if test -z "$ac_cpp_err"; then
7571 ac_header_preproc=yes
7573 echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.$ac_ext >&5
7576 ac_header_preproc=no
7578 rm -f conftest.err conftest.$ac_ext
7579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7580 echo "${ECHO_T}$ac_header_preproc" >&6
7582 # So? What about this header?
7583 case $ac_header_compiler:$ac_header_preproc in
7585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7591 ## ------------------------------------ ##
7592 ## Report this to bug-autoconf@gnu.org. ##
7593 ## ------------------------------------ ##
7596 sed "s/^/$as_me: WARNING: /" >&2
7599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
7616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7618 echo $ECHO_N "(cached) $ECHO_C" >&6
7620 eval "$as_ac_Header=$ac_header_preproc"
7622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7623 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7627 cat >>confdefs.h <<_ACEOF
7628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7637 # All these tests are for C++; save the language and the compiler flags.
7638 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7639 # found in GLIBCXX_CONFIGURE.
7643 ac_cpp='$CXXCPP $CPPFLAGS'
7644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7648 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7649 ac_save_CXXFLAGS="$CXXFLAGS"
7651 # Check for maintainer-mode bits.
7652 if test x"$USE_MAINTAINER_MODE" = xno; then
7658 # Check for -ffunction-sections -fdata-sections
7659 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7660 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7661 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7662 cat >conftest.$ac_ext <<_ACEOF
7663 #line $LINENO "configure"
7666 cat confdefs.h >>conftest.$ac_ext
7667 cat >>conftest.$ac_ext <<_ACEOF
7668 /* end confdefs.h. */
7678 rm -f conftest.$ac_objext
7679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7680 (eval $ac_compile) 2>&5
7682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683 (exit $ac_status); } &&
7684 { ac_try='test -s conftest.$ac_objext'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; }; then
7692 echo "$as_me: failed program was:" >&5
7693 sed 's/^/| /' conftest.$ac_ext >&5
7697 rm -f conftest.$ac_objext conftest.$ac_ext
7698 if test "$ac_test_CXXFLAGS" = set; then
7699 CXXFLAGS="$ac_save_CXXFLAGS"
7701 # this is the suspicious part
7704 if test x"$ac_fdsections" = x"yes"; then
7705 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7707 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7708 echo "${ECHO_T}$ac_fdsections" >&6
7711 ac_cpp='$CPP $CPPFLAGS'
7712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7720 # If we're not using GNU ld, then there's no point in even trying these
7721 # tests. Check for that first. We should have already tested for gld
7722 # by now (in libtool), but require it now just to be safe...
7723 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7724 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7728 # The name set by libtool depends on the version of libtool. Shame on us
7729 # for depending on an impl detail, but c'est la vie. Older versions used
7730 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7731 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7732 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7733 # set (hence we're using an older libtool), then set it.
7734 if test x${with_gnu_ld+set} != xset; then
7735 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7736 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7739 with_gnu_ld=$ac_cv_prog_gnu_ld
7743 # Start by getting the version number. I think the libtool test already
7744 # does some of this, but throws away the result.
7746 ldver=`$LD --version 2>/dev/null | head -1 | \
7747 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7749 glibcxx_gnu_ld_version=`echo $ldver | \
7750 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7752 # Set --gc-sections.
7753 if test "$with_gnu_ld" = "notbroken"; then
7754 # GNU ld it is! Joy and bunny rabbits!
7756 # All these tests are for C++; save the language and the compiler flags.
7757 # Need to do this so that g++ won't try to link in libstdc++
7758 ac_test_CFLAGS="${CFLAGS+set}"
7759 ac_save_CFLAGS="$CFLAGS"
7760 CFLAGS='-x c++ -Wl,--gc-sections'
7762 # Check for -Wl,--gc-sections
7763 # XXX This test is broken at the moment, as symbols required for linking
7764 # are now in libsupc++ (not built yet). In addition, this test has
7765 # cored on solaris in the past. In addition, --gc-sections doesn't
7766 # really work at the moment (keeps on discarding used sections, first
7767 # .eh_frame and now some of the glibc sections for iconv).
7768 # Bzzzzt. Thanks for playing, maybe next time.
7769 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7770 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7771 if test "$cross_compiling" = yes; then
7772 ac_sectionLDflags=yes
7774 cat >conftest.$ac_ext <<_ACEOF
7775 #line $LINENO "configure"
7778 cat confdefs.h >>conftest.$ac_ext
7779 cat >>conftest.$ac_ext <<_ACEOF
7780 /* end confdefs.h. */
7790 rm -f conftest$ac_exeext
7791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7792 (eval $ac_link) 2>&5
7794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); }; }; then
7801 ac_sectionLDflags=yes
7803 echo "$as_me: program exited with status $ac_status" >&5
7804 echo "$as_me: failed program was:" >&5
7805 sed 's/^/| /' conftest.$ac_ext >&5
7808 ac_sectionLDflags=no
7810 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7812 if test "$ac_test_CFLAGS" = set; then
7813 CFLAGS="$ac_save_CFLAGS"
7815 # this is the suspicious part
7818 if test "$ac_sectionLDflags" = "yes"; then
7819 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7821 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7822 echo "${ECHO_T}$ac_sectionLDflags" >&6
7825 # Set linker optimization flags.
7826 if test x"$with_gnu_ld" = x"yes"; then
7827 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7834 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7835 ac_save_CXXFLAGS="$CXXFLAGS"
7836 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7838 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7839 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7840 if test "${ac_cv_lib_m_sin+set}" = set; then
7841 echo $ECHO_N "(cached) $ECHO_C" >&6
7843 ac_check_lib_save_LIBS=$LIBS
7845 if test x$gcc_no_link = xyes; then
7846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7848 { (exit 1); exit 1; }; }
7850 cat >conftest.$ac_ext <<_ACEOF
7851 #line $LINENO "configure"
7854 cat confdefs.h >>conftest.$ac_ext
7855 cat >>conftest.$ac_ext <<_ACEOF
7856 /* end confdefs.h. */
7858 /* Override any gcc2 internal prototype to avoid an error. */
7862 /* We use char because int might match the return type of a gcc2
7863 builtin and then its argument prototype would still apply. */
7873 rm -f conftest.$ac_objext conftest$ac_exeext
7874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7875 (eval $ac_link) 2>&5
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); } &&
7879 { ac_try='test -s conftest$ac_exeext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.$ac_ext >&5
7892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7893 LIBS=$ac_check_lib_save_LIBS
7895 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7896 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7897 if test $ac_cv_lib_m_sin = yes; then
7901 ac_save_LIBS="$LIBS"
7906 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7907 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7908 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7909 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7916 ac_cpp='$CXXCPP $CPPFLAGS'
7917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7921 cat >conftest.$ac_ext <<_ACEOF
7922 #line $LINENO "configure"
7925 cat confdefs.h >>conftest.$ac_ext
7926 cat >>conftest.$ac_ext <<_ACEOF
7927 /* end confdefs.h. */
7929 #ifdef HAVE_IEEEFP_H
7941 rm -f conftest.$ac_objext
7942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7943 (eval $ac_compile) 2>&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } &&
7947 { ac_try='test -s conftest.$ac_objext'
7948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); }; }; then
7953 glibcxx_cv_func_isinf_use=yes
7955 echo "$as_me: failed program was:" >&5
7956 sed 's/^/| /' conftest.$ac_ext >&5
7958 glibcxx_cv_func_isinf_use=no
7960 rm -f conftest.$ac_objext conftest.$ac_ext
7962 ac_cpp='$CPP $CPPFLAGS'
7963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7972 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7974 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7976 for ac_func in isinf
7978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7979 echo "$as_me:$LINENO: checking for $ac_func" >&5
7980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7981 if eval "test \"\${$as_ac_var+set}\" = set"; then
7982 echo $ECHO_N "(cached) $ECHO_C" >&6
7984 if test x$gcc_no_link = xyes; then
7985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7987 { (exit 1); exit 1; }; }
7989 cat >conftest.$ac_ext <<_ACEOF
7990 #line $LINENO "configure"
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
7996 /* System header to define __stub macros and hopefully few prototypes,
7997 which can conflict with char $ac_func (); below.
7998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7999 <limits.h> exists even on freestanding compilers. */
8001 # include <limits.h>
8003 # include <assert.h>
8005 /* Override any gcc2 internal prototype to avoid an error. */
8010 /* We use char because int might match the return type of a gcc2
8011 builtin and then its argument prototype would still apply. */
8013 /* The GNU C library defines this for functions which it implements
8014 to always fail with ENOSYS. Some functions are actually named
8015 something starting with __ and the normal name is an alias. */
8016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8019 char (*f) () = $ac_func;
8028 return f != $ac_func;
8033 rm -f conftest.$ac_objext conftest$ac_exeext
8034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8035 (eval $ac_link) 2>&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } &&
8039 { ac_try='test -s conftest$ac_exeext'
8040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8044 (exit $ac_status); }; }; then
8045 eval "$as_ac_var=yes"
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.$ac_ext >&5
8050 eval "$as_ac_var=no"
8052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8056 if test `eval echo '${'$as_ac_var'}'` = yes; then
8057 cat >>confdefs.h <<_ACEOF
8058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8066 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8067 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8068 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8069 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8076 ac_cpp='$CXXCPP $CPPFLAGS'
8077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8081 cat >conftest.$ac_ext <<_ACEOF
8082 #line $LINENO "configure"
8085 cat confdefs.h >>conftest.$ac_ext
8086 cat >>conftest.$ac_ext <<_ACEOF
8087 /* end confdefs.h. */
8089 #ifdef HAVE_IEEEFP_H
8101 rm -f conftest.$ac_objext
8102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8103 (eval $ac_compile) 2>&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); } &&
8107 { ac_try='test -s conftest.$ac_objext'
8108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); }; }; then
8113 glibcxx_cv_func__isinf_use=yes
8115 echo "$as_me: failed program was:" >&5
8116 sed 's/^/| /' conftest.$ac_ext >&5
8118 glibcxx_cv_func__isinf_use=no
8120 rm -f conftest.$ac_objext conftest.$ac_ext
8122 ac_cpp='$CPP $CPPFLAGS'
8123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8131 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8132 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8134 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8136 for ac_func in _isinf
8138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8139 echo "$as_me:$LINENO: checking for $ac_func" >&5
8140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8141 if eval "test \"\${$as_ac_var+set}\" = set"; then
8142 echo $ECHO_N "(cached) $ECHO_C" >&6
8144 if test x$gcc_no_link = xyes; then
8145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8147 { (exit 1); exit 1; }; }
8149 cat >conftest.$ac_ext <<_ACEOF
8150 #line $LINENO "configure"
8153 cat confdefs.h >>conftest.$ac_ext
8154 cat >>conftest.$ac_ext <<_ACEOF
8155 /* end confdefs.h. */
8156 /* System header to define __stub macros and hopefully few prototypes,
8157 which can conflict with char $ac_func (); below.
8158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8159 <limits.h> exists even on freestanding compilers. */
8161 # include <limits.h>
8163 # include <assert.h>
8165 /* Override any gcc2 internal prototype to avoid an error. */
8170 /* We use char because int might match the return type of a gcc2
8171 builtin and then its argument prototype would still apply. */
8173 /* The GNU C library defines this for functions which it implements
8174 to always fail with ENOSYS. Some functions are actually named
8175 something starting with __ and the normal name is an alias. */
8176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8179 char (*f) () = $ac_func;
8188 return f != $ac_func;
8193 rm -f conftest.$ac_objext conftest$ac_exeext
8194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8195 (eval $ac_link) 2>&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); } &&
8199 { ac_try='test -s conftest$ac_exeext'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8205 eval "$as_ac_var=yes"
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.$ac_ext >&5
8210 eval "$as_ac_var=no"
8212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8216 if test `eval echo '${'$as_ac_var'}'` = yes; then
8217 cat >>confdefs.h <<_ACEOF
8218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8229 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8230 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8231 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8232 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 ac_cpp='$CXXCPP $CPPFLAGS'
8240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8244 cat >conftest.$ac_ext <<_ACEOF
8245 #line $LINENO "configure"
8248 cat confdefs.h >>conftest.$ac_ext
8249 cat >>conftest.$ac_ext <<_ACEOF
8250 /* end confdefs.h. */
8252 #ifdef HAVE_IEEEFP_H
8264 rm -f conftest.$ac_objext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8266 (eval $ac_compile) 2>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } &&
8270 { ac_try='test -s conftest.$ac_objext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 glibcxx_cv_func_isnan_use=yes
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 glibcxx_cv_func_isnan_use=no
8283 rm -f conftest.$ac_objext conftest.$ac_ext
8285 ac_cpp='$CPP $CPPFLAGS'
8286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8295 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8297 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8299 for ac_func in isnan
8301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8302 echo "$as_me:$LINENO: checking for $ac_func" >&5
8303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8304 if eval "test \"\${$as_ac_var+set}\" = set"; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 if test x$gcc_no_link = xyes; then
8308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8310 { (exit 1); exit 1; }; }
8312 cat >conftest.$ac_ext <<_ACEOF
8313 #line $LINENO "configure"
8316 cat confdefs.h >>conftest.$ac_ext
8317 cat >>conftest.$ac_ext <<_ACEOF
8318 /* end confdefs.h. */
8319 /* System header to define __stub macros and hopefully few prototypes,
8320 which can conflict with char $ac_func (); below.
8321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8322 <limits.h> exists even on freestanding compilers. */
8324 # include <limits.h>
8326 # include <assert.h>
8328 /* Override any gcc2 internal prototype to avoid an error. */
8333 /* We use char because int might match the return type of a gcc2
8334 builtin and then its argument prototype would still apply. */
8336 /* The GNU C library defines this for functions which it implements
8337 to always fail with ENOSYS. Some functions are actually named
8338 something starting with __ and the normal name is an alias. */
8339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8342 char (*f) () = $ac_func;
8351 return f != $ac_func;
8356 rm -f conftest.$ac_objext conftest$ac_exeext
8357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8358 (eval $ac_link) 2>&5
8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8361 (exit $ac_status); } &&
8362 { ac_try='test -s conftest$ac_exeext'
8363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); }; }; then
8368 eval "$as_ac_var=yes"
8370 echo "$as_me: failed program was:" >&5
8371 sed 's/^/| /' conftest.$ac_ext >&5
8373 eval "$as_ac_var=no"
8375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8379 if test `eval echo '${'$as_ac_var'}'` = yes; then
8380 cat >>confdefs.h <<_ACEOF
8381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8389 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8390 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8391 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8392 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8393 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 ac_cpp='$CXXCPP $CPPFLAGS'
8400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8404 cat >conftest.$ac_ext <<_ACEOF
8405 #line $LINENO "configure"
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8412 #ifdef HAVE_IEEEFP_H
8424 rm -f conftest.$ac_objext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8426 (eval $ac_compile) 2>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } &&
8430 { ac_try='test -s conftest.$ac_objext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436 glibcxx_cv_func__isnan_use=yes
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 glibcxx_cv_func__isnan_use=no
8443 rm -f conftest.$ac_objext conftest.$ac_ext
8445 ac_cpp='$CPP $CPPFLAGS'
8446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8455 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8457 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8459 for ac_func in _isnan
8461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8462 echo "$as_me:$LINENO: checking for $ac_func" >&5
8463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8464 if eval "test \"\${$as_ac_var+set}\" = set"; then
8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8467 if test x$gcc_no_link = xyes; then
8468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8470 { (exit 1); exit 1; }; }
8472 cat >conftest.$ac_ext <<_ACEOF
8473 #line $LINENO "configure"
8476 cat confdefs.h >>conftest.$ac_ext
8477 cat >>conftest.$ac_ext <<_ACEOF
8478 /* end confdefs.h. */
8479 /* System header to define __stub macros and hopefully few prototypes,
8480 which can conflict with char $ac_func (); below.
8481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8482 <limits.h> exists even on freestanding compilers. */
8484 # include <limits.h>
8486 # include <assert.h>
8488 /* Override any gcc2 internal prototype to avoid an error. */
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8496 /* The GNU C library defines this for functions which it implements
8497 to always fail with ENOSYS. Some functions are actually named
8498 something starting with __ and the normal name is an alias. */
8499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8502 char (*f) () = $ac_func;
8511 return f != $ac_func;
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8518 (eval $ac_link) 2>&5
8520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521 (exit $ac_status); } &&
8522 { ac_try='test -s conftest$ac_exeext'
8523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); }; }; then
8528 eval "$as_ac_var=yes"
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8533 eval "$as_ac_var=no"
8535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8539 if test `eval echo '${'$as_ac_var'}'` = yes; then
8540 cat >>confdefs.h <<_ACEOF
8541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8552 echo "$as_me:$LINENO: checking for finite declaration" >&5
8553 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8554 if test x${glibcxx_cv_func_finite_use+set} != xset; then
8555 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8556 echo $ECHO_N "(cached) $ECHO_C" >&6
8562 ac_cpp='$CXXCPP $CPPFLAGS'
8563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8567 cat >conftest.$ac_ext <<_ACEOF
8568 #line $LINENO "configure"
8571 cat confdefs.h >>conftest.$ac_ext
8572 cat >>conftest.$ac_ext <<_ACEOF
8573 /* end confdefs.h. */
8575 #ifdef HAVE_IEEEFP_H
8587 rm -f conftest.$ac_objext
8588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8589 (eval $ac_compile) 2>&5
8591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); } &&
8593 { ac_try='test -s conftest.$ac_objext'
8594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); }; }; then
8599 glibcxx_cv_func_finite_use=yes
8601 echo "$as_me: failed program was:" >&5
8602 sed 's/^/| /' conftest.$ac_ext >&5
8604 glibcxx_cv_func_finite_use=no
8606 rm -f conftest.$ac_objext conftest.$ac_ext
8608 ac_cpp='$CPP $CPPFLAGS'
8609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8618 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8620 if test x$glibcxx_cv_func_finite_use = x"yes"; then
8622 for ac_func in finite
8624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8625 echo "$as_me:$LINENO: checking for $ac_func" >&5
8626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8627 if eval "test \"\${$as_ac_var+set}\" = set"; then
8628 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 if test x$gcc_no_link = xyes; then
8631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8633 { (exit 1); exit 1; }; }
8635 cat >conftest.$ac_ext <<_ACEOF
8636 #line $LINENO "configure"
8639 cat confdefs.h >>conftest.$ac_ext
8640 cat >>conftest.$ac_ext <<_ACEOF
8641 /* end confdefs.h. */
8642 /* System header to define __stub macros and hopefully few prototypes,
8643 which can conflict with char $ac_func (); below.
8644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8645 <limits.h> exists even on freestanding compilers. */
8647 # include <limits.h>
8649 # include <assert.h>
8651 /* Override any gcc2 internal prototype to avoid an error. */
8656 /* We use char because int might match the return type of a gcc2
8657 builtin and then its argument prototype would still apply. */
8659 /* The GNU C library defines this for functions which it implements
8660 to always fail with ENOSYS. Some functions are actually named
8661 something starting with __ and the normal name is an alias. */
8662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8665 char (*f) () = $ac_func;
8674 return f != $ac_func;
8679 rm -f conftest.$ac_objext conftest$ac_exeext
8680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8681 (eval $ac_link) 2>&5
8683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8684 (exit $ac_status); } &&
8685 { ac_try='test -s conftest$ac_exeext'
8686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); }; }; then
8691 eval "$as_ac_var=yes"
8693 echo "$as_me: failed program was:" >&5
8694 sed 's/^/| /' conftest.$ac_ext >&5
8696 eval "$as_ac_var=no"
8698 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8702 if test `eval echo '${'$as_ac_var'}'` = yes; then
8703 cat >>confdefs.h <<_ACEOF
8704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8712 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8713 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8714 if test x${glibcxx_cv_func__finite_use+set} != xset; then
8715 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8716 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 ac_cpp='$CXXCPP $CPPFLAGS'
8723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8727 cat >conftest.$ac_ext <<_ACEOF
8728 #line $LINENO "configure"
8731 cat confdefs.h >>conftest.$ac_ext
8732 cat >>conftest.$ac_ext <<_ACEOF
8733 /* end confdefs.h. */
8735 #ifdef HAVE_IEEEFP_H
8747 rm -f conftest.$ac_objext
8748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8749 (eval $ac_compile) 2>&5
8751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8752 (exit $ac_status); } &&
8753 { ac_try='test -s conftest.$ac_objext'
8754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8758 (exit $ac_status); }; }; then
8759 glibcxx_cv_func__finite_use=yes
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 glibcxx_cv_func__finite_use=no
8766 rm -f conftest.$ac_objext conftest.$ac_ext
8768 ac_cpp='$CPP $CPPFLAGS'
8769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8777 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8778 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8780 if test x$glibcxx_cv_func__finite_use = x"yes"; then
8782 for ac_func in _finite
8784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8785 echo "$as_me:$LINENO: checking for $ac_func" >&5
8786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8787 if eval "test \"\${$as_ac_var+set}\" = set"; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 if test x$gcc_no_link = xyes; then
8791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8793 { (exit 1); exit 1; }; }
8795 cat >conftest.$ac_ext <<_ACEOF
8796 #line $LINENO "configure"
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8802 /* System header to define __stub macros and hopefully few prototypes,
8803 which can conflict with char $ac_func (); below.
8804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8805 <limits.h> exists even on freestanding compilers. */
8807 # include <limits.h>
8809 # include <assert.h>
8811 /* Override any gcc2 internal prototype to avoid an error. */
8816 /* We use char because int might match the return type of a gcc2
8817 builtin and then its argument prototype would still apply. */
8819 /* The GNU C library defines this for functions which it implements
8820 to always fail with ENOSYS. Some functions are actually named
8821 something starting with __ and the normal name is an alias. */
8822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8825 char (*f) () = $ac_func;
8834 return f != $ac_func;
8839 rm -f conftest.$ac_objext conftest$ac_exeext
8840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8841 (eval $ac_link) 2>&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); } &&
8845 { ac_try='test -s conftest$ac_exeext'
8846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); }; }; then
8851 eval "$as_ac_var=yes"
8853 echo "$as_me: failed program was:" >&5
8854 sed 's/^/| /' conftest.$ac_ext >&5
8856 eval "$as_ac_var=no"
8858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8862 if test `eval echo '${'$as_ac_var'}'` = yes; then
8863 cat >>confdefs.h <<_ACEOF
8864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8875 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8876 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8877 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8878 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8879 echo $ECHO_N "(cached) $ECHO_C" >&6
8885 ac_cpp='$CXXCPP $CPPFLAGS'
8886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8890 cat >conftest.$ac_ext <<_ACEOF
8891 #line $LINENO "configure"
8894 cat confdefs.h >>conftest.$ac_ext
8895 cat >>conftest.$ac_ext <<_ACEOF
8896 /* end confdefs.h. */
8906 rm -f conftest.$ac_objext
8907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8908 (eval $ac_compile) 2>&5
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); } &&
8912 { ac_try='test -s conftest.$ac_objext'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; }; then
8918 glibcxx_cv_func_copysign_use=yes
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.$ac_ext >&5
8923 glibcxx_cv_func_copysign_use=no
8925 rm -f conftest.$ac_objext conftest.$ac_ext
8927 ac_cpp='$CPP $CPPFLAGS'
8928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8937 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8939 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8941 for ac_func in copysign
8943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8944 echo "$as_me:$LINENO: checking for $ac_func" >&5
8945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8946 if eval "test \"\${$as_ac_var+set}\" = set"; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 if test x$gcc_no_link = xyes; then
8950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8952 { (exit 1); exit 1; }; }
8954 cat >conftest.$ac_ext <<_ACEOF
8955 #line $LINENO "configure"
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 /* System header to define __stub macros and hopefully few prototypes,
8962 which can conflict with char $ac_func (); below.
8963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8964 <limits.h> exists even on freestanding compilers. */
8966 # include <limits.h>
8968 # include <assert.h>
8970 /* Override any gcc2 internal prototype to avoid an error. */
8975 /* We use char because int might match the return type of a gcc2
8976 builtin and then its argument prototype would still apply. */
8978 /* The GNU C library defines this for functions which it implements
8979 to always fail with ENOSYS. Some functions are actually named
8980 something starting with __ and the normal name is an alias. */
8981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8984 char (*f) () = $ac_func;
8993 return f != $ac_func;
8998 rm -f conftest.$ac_objext conftest$ac_exeext
8999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9000 (eval $ac_link) 2>&5
9002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9003 (exit $ac_status); } &&
9004 { ac_try='test -s conftest$ac_exeext'
9005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); }; }; then
9010 eval "$as_ac_var=yes"
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 eval "$as_ac_var=no"
9017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9021 if test `eval echo '${'$as_ac_var'}'` = yes; then
9022 cat >>confdefs.h <<_ACEOF
9023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9031 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9032 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9033 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9034 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 ac_cpp='$CXXCPP $CPPFLAGS'
9042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9046 cat >conftest.$ac_ext <<_ACEOF
9047 #line $LINENO "configure"
9050 cat confdefs.h >>conftest.$ac_ext
9051 cat >>conftest.$ac_ext <<_ACEOF
9052 /* end confdefs.h. */
9062 rm -f conftest.$ac_objext
9063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9064 (eval $ac_compile) 2>&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } &&
9068 { ac_try='test -s conftest.$ac_objext'
9069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); }; }; then
9074 glibcxx_cv_func__copysign_use=yes
9076 echo "$as_me: failed program was:" >&5
9077 sed 's/^/| /' conftest.$ac_ext >&5
9079 glibcxx_cv_func__copysign_use=no
9081 rm -f conftest.$ac_objext conftest.$ac_ext
9083 ac_cpp='$CPP $CPPFLAGS'
9084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9093 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9095 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9097 for ac_func in _copysign
9099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9100 echo "$as_me:$LINENO: checking for $ac_func" >&5
9101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9102 if eval "test \"\${$as_ac_var+set}\" = set"; then
9103 echo $ECHO_N "(cached) $ECHO_C" >&6
9105 if test x$gcc_no_link = xyes; then
9106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9108 { (exit 1); exit 1; }; }
9110 cat >conftest.$ac_ext <<_ACEOF
9111 #line $LINENO "configure"
9114 cat confdefs.h >>conftest.$ac_ext
9115 cat >>conftest.$ac_ext <<_ACEOF
9116 /* end confdefs.h. */
9117 /* System header to define __stub macros and hopefully few prototypes,
9118 which can conflict with char $ac_func (); below.
9119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9120 <limits.h> exists even on freestanding compilers. */
9122 # include <limits.h>
9124 # include <assert.h>
9126 /* Override any gcc2 internal prototype to avoid an error. */
9131 /* We use char because int might match the return type of a gcc2
9132 builtin and then its argument prototype would still apply. */
9134 /* The GNU C library defines this for functions which it implements
9135 to always fail with ENOSYS. Some functions are actually named
9136 something starting with __ and the normal name is an alias. */
9137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9140 char (*f) () = $ac_func;
9149 return f != $ac_func;
9154 rm -f conftest.$ac_objext conftest$ac_exeext
9155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9156 (eval $ac_link) 2>&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } &&
9160 { ac_try='test -s conftest$ac_exeext'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; }; then
9166 eval "$as_ac_var=yes"
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 eval "$as_ac_var=no"
9173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9177 if test `eval echo '${'$as_ac_var'}'` = yes; then
9178 cat >>confdefs.h <<_ACEOF
9179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9190 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9191 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9192 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9193 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_cpp='$CXXCPP $CPPFLAGS'
9201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9205 cat >conftest.$ac_ext <<_ACEOF
9206 #line $LINENO "configure"
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9221 rm -f conftest.$ac_objext
9222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9223 (eval $ac_compile) 2>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try='test -s conftest.$ac_objext'
9228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); }; }; then
9233 glibcxx_cv_func_sincos_use=yes
9235 echo "$as_me: failed program was:" >&5
9236 sed 's/^/| /' conftest.$ac_ext >&5
9238 glibcxx_cv_func_sincos_use=no
9240 rm -f conftest.$ac_objext conftest.$ac_ext
9242 ac_cpp='$CPP $CPPFLAGS'
9243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9252 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9254 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9256 for ac_func in sincos
9258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9259 echo "$as_me:$LINENO: checking for $ac_func" >&5
9260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9261 if eval "test \"\${$as_ac_var+set}\" = set"; then
9262 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 if test x$gcc_no_link = xyes; then
9265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9267 { (exit 1); exit 1; }; }
9269 cat >conftest.$ac_ext <<_ACEOF
9270 #line $LINENO "configure"
9273 cat confdefs.h >>conftest.$ac_ext
9274 cat >>conftest.$ac_ext <<_ACEOF
9275 /* end confdefs.h. */
9276 /* System header to define __stub macros and hopefully few prototypes,
9277 which can conflict with char $ac_func (); below.
9278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9279 <limits.h> exists even on freestanding compilers. */
9281 # include <limits.h>
9283 # include <assert.h>
9285 /* Override any gcc2 internal prototype to avoid an error. */
9290 /* We use char because int might match the return type of a gcc2
9291 builtin and then its argument prototype would still apply. */
9293 /* The GNU C library defines this for functions which it implements
9294 to always fail with ENOSYS. Some functions are actually named
9295 something starting with __ and the normal name is an alias. */
9296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9299 char (*f) () = $ac_func;
9308 return f != $ac_func;
9313 rm -f conftest.$ac_objext conftest$ac_exeext
9314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9315 (eval $ac_link) 2>&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } &&
9319 { ac_try='test -s conftest$ac_exeext'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; }; then
9325 eval "$as_ac_var=yes"
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.$ac_ext >&5
9330 eval "$as_ac_var=no"
9332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9336 if test `eval echo '${'$as_ac_var'}'` = yes; then
9337 cat >>confdefs.h <<_ACEOF
9338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9346 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9347 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9348 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9349 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 ac_cpp='$CXXCPP $CPPFLAGS'
9357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9361 cat >conftest.$ac_ext <<_ACEOF
9362 #line $LINENO "configure"
9365 cat confdefs.h >>conftest.$ac_ext
9366 cat >>conftest.$ac_ext <<_ACEOF
9367 /* end confdefs.h. */
9377 rm -f conftest.$ac_objext
9378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9379 (eval $ac_compile) 2>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); } &&
9383 { ac_try='test -s conftest.$ac_objext'
9384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); }; }; then
9389 glibcxx_cv_func__sincos_use=yes
9391 echo "$as_me: failed program was:" >&5
9392 sed 's/^/| /' conftest.$ac_ext >&5
9394 glibcxx_cv_func__sincos_use=no
9396 rm -f conftest.$ac_objext conftest.$ac_ext
9398 ac_cpp='$CPP $CPPFLAGS'
9399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9408 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9410 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9412 for ac_func in _sincos
9414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9415 echo "$as_me:$LINENO: checking for $ac_func" >&5
9416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9417 if eval "test \"\${$as_ac_var+set}\" = set"; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9420 if test x$gcc_no_link = xyes; then
9421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9423 { (exit 1); exit 1; }; }
9425 cat >conftest.$ac_ext <<_ACEOF
9426 #line $LINENO "configure"
9429 cat confdefs.h >>conftest.$ac_ext
9430 cat >>conftest.$ac_ext <<_ACEOF
9431 /* end confdefs.h. */
9432 /* System header to define __stub macros and hopefully few prototypes,
9433 which can conflict with char $ac_func (); below.
9434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9435 <limits.h> exists even on freestanding compilers. */
9437 # include <limits.h>
9439 # include <assert.h>
9441 /* Override any gcc2 internal prototype to avoid an error. */
9446 /* We use char because int might match the return type of a gcc2
9447 builtin and then its argument prototype would still apply. */
9449 /* The GNU C library defines this for functions which it implements
9450 to always fail with ENOSYS. Some functions are actually named
9451 something starting with __ and the normal name is an alias. */
9452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9455 char (*f) () = $ac_func;
9464 return f != $ac_func;
9469 rm -f conftest.$ac_objext conftest$ac_exeext
9470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9471 (eval $ac_link) 2>&5
9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } &&
9475 { ac_try='test -s conftest$ac_exeext'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; }; then
9481 eval "$as_ac_var=yes"
9483 echo "$as_me: failed program was:" >&5
9484 sed 's/^/| /' conftest.$ac_ext >&5
9486 eval "$as_ac_var=no"
9488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9492 if test `eval echo '${'$as_ac_var'}'` = yes; then
9493 cat >>confdefs.h <<_ACEOF
9494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9505 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9506 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9507 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9508 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9515 ac_cpp='$CXXCPP $CPPFLAGS'
9516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9520 cat >conftest.$ac_ext <<_ACEOF
9521 #line $LINENO "configure"
9524 cat confdefs.h >>conftest.$ac_ext
9525 cat >>conftest.$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9528 #ifdef HAVE_IEEEFP_H
9540 rm -f conftest.$ac_objext
9541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9542 (eval $ac_compile) 2>&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } &&
9546 { ac_try='test -s conftest.$ac_objext'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; }; then
9552 glibcxx_cv_func_fpclass_use=yes
9554 echo "$as_me: failed program was:" >&5
9555 sed 's/^/| /' conftest.$ac_ext >&5
9557 glibcxx_cv_func_fpclass_use=no
9559 rm -f conftest.$ac_objext conftest.$ac_ext
9561 ac_cpp='$CPP $CPPFLAGS'
9562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9571 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9573 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9575 for ac_func in fpclass
9577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9578 echo "$as_me:$LINENO: checking for $ac_func" >&5
9579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9580 if eval "test \"\${$as_ac_var+set}\" = set"; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 if test x$gcc_no_link = xyes; then
9584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9586 { (exit 1); exit 1; }; }
9588 cat >conftest.$ac_ext <<_ACEOF
9589 #line $LINENO "configure"
9592 cat confdefs.h >>conftest.$ac_ext
9593 cat >>conftest.$ac_ext <<_ACEOF
9594 /* end confdefs.h. */
9595 /* System header to define __stub macros and hopefully few prototypes,
9596 which can conflict with char $ac_func (); below.
9597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9598 <limits.h> exists even on freestanding compilers. */
9600 # include <limits.h>
9602 # include <assert.h>
9604 /* Override any gcc2 internal prototype to avoid an error. */
9609 /* We use char because int might match the return type of a gcc2
9610 builtin and then its argument prototype would still apply. */
9612 /* The GNU C library defines this for functions which it implements
9613 to always fail with ENOSYS. Some functions are actually named
9614 something starting with __ and the normal name is an alias. */
9615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9618 char (*f) () = $ac_func;
9627 return f != $ac_func;
9632 rm -f conftest.$ac_objext conftest$ac_exeext
9633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9634 (eval $ac_link) 2>&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 (exit $ac_status); } &&
9638 { ac_try='test -s conftest$ac_exeext'
9639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); }; }; then
9644 eval "$as_ac_var=yes"
9646 echo "$as_me: failed program was:" >&5
9647 sed 's/^/| /' conftest.$ac_ext >&5
9649 eval "$as_ac_var=no"
9651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9655 if test `eval echo '${'$as_ac_var'}'` = yes; then
9656 cat >>confdefs.h <<_ACEOF
9657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9665 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9666 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9667 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9668 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9675 ac_cpp='$CXXCPP $CPPFLAGS'
9676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9680 cat >conftest.$ac_ext <<_ACEOF
9681 #line $LINENO "configure"
9684 cat confdefs.h >>conftest.$ac_ext
9685 cat >>conftest.$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9688 #ifdef HAVE_IEEEFP_H
9700 rm -f conftest.$ac_objext
9701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9702 (eval $ac_compile) 2>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try='test -s conftest.$ac_objext'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; }; then
9712 glibcxx_cv_func__fpclass_use=yes
9714 echo "$as_me: failed program was:" >&5
9715 sed 's/^/| /' conftest.$ac_ext >&5
9717 glibcxx_cv_func__fpclass_use=no
9719 rm -f conftest.$ac_objext conftest.$ac_ext
9721 ac_cpp='$CPP $CPPFLAGS'
9722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9731 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9733 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9735 for ac_func in _fpclass
9737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9738 echo "$as_me:$LINENO: checking for $ac_func" >&5
9739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9740 if eval "test \"\${$as_ac_var+set}\" = set"; then
9741 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 if test x$gcc_no_link = xyes; then
9744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9746 { (exit 1); exit 1; }; }
9748 cat >conftest.$ac_ext <<_ACEOF
9749 #line $LINENO "configure"
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9755 /* System header to define __stub macros and hopefully few prototypes,
9756 which can conflict with char $ac_func (); below.
9757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9758 <limits.h> exists even on freestanding compilers. */
9760 # include <limits.h>
9762 # include <assert.h>
9764 /* Override any gcc2 internal prototype to avoid an error. */
9769 /* We use char because int might match the return type of a gcc2
9770 builtin and then its argument prototype would still apply. */
9772 /* The GNU C library defines this for functions which it implements
9773 to always fail with ENOSYS. Some functions are actually named
9774 something starting with __ and the normal name is an alias. */
9775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9778 char (*f) () = $ac_func;
9787 return f != $ac_func;
9792 rm -f conftest.$ac_objext conftest$ac_exeext
9793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9794 (eval $ac_link) 2>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try='test -s conftest$ac_exeext'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; }; then
9804 eval "$as_ac_var=yes"
9806 echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.$ac_ext >&5
9809 eval "$as_ac_var=no"
9811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9815 if test `eval echo '${'$as_ac_var'}'` = yes; then
9816 cat >>confdefs.h <<_ACEOF
9817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9828 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9829 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9830 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9831 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9832 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 ac_cpp='$CXXCPP $CPPFLAGS'
9839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9843 cat >conftest.$ac_ext <<_ACEOF
9844 #line $LINENO "configure"
9847 cat confdefs.h >>conftest.$ac_ext
9848 cat >>conftest.$ac_ext <<_ACEOF
9849 /* end confdefs.h. */
9851 #ifdef HAVE_IEEEFP_H
9863 rm -f conftest.$ac_objext
9864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9865 (eval $ac_compile) 2>&5
9867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9868 (exit $ac_status); } &&
9869 { ac_try='test -s conftest.$ac_objext'
9870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); }; }; then
9875 glibcxx_cv_func_qfpclass_use=yes
9877 echo "$as_me: failed program was:" >&5
9878 sed 's/^/| /' conftest.$ac_ext >&5
9880 glibcxx_cv_func_qfpclass_use=no
9882 rm -f conftest.$ac_objext conftest.$ac_ext
9884 ac_cpp='$CPP $CPPFLAGS'
9885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9893 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9894 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9896 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9898 for ac_func in qfpclass
9900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9901 echo "$as_me:$LINENO: checking for $ac_func" >&5
9902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9903 if eval "test \"\${$as_ac_var+set}\" = set"; then
9904 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 if test x$gcc_no_link = xyes; then
9907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9909 { (exit 1); exit 1; }; }
9911 cat >conftest.$ac_ext <<_ACEOF
9912 #line $LINENO "configure"
9915 cat confdefs.h >>conftest.$ac_ext
9916 cat >>conftest.$ac_ext <<_ACEOF
9917 /* end confdefs.h. */
9918 /* System header to define __stub macros and hopefully few prototypes,
9919 which can conflict with char $ac_func (); below.
9920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9921 <limits.h> exists even on freestanding compilers. */
9923 # include <limits.h>
9925 # include <assert.h>
9927 /* Override any gcc2 internal prototype to avoid an error. */
9932 /* We use char because int might match the return type of a gcc2
9933 builtin and then its argument prototype would still apply. */
9935 /* The GNU C library defines this for functions which it implements
9936 to always fail with ENOSYS. Some functions are actually named
9937 something starting with __ and the normal name is an alias. */
9938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9941 char (*f) () = $ac_func;
9950 return f != $ac_func;
9955 rm -f conftest.$ac_objext conftest$ac_exeext
9956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9957 (eval $ac_link) 2>&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } &&
9961 { ac_try='test -s conftest$ac_exeext'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; }; then
9967 eval "$as_ac_var=yes"
9969 echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.$ac_ext >&5
9972 eval "$as_ac_var=no"
9974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9978 if test `eval echo '${'$as_ac_var'}'` = yes; then
9979 cat >>confdefs.h <<_ACEOF
9980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9988 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9989 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 ac_cpp='$CXXCPP $CPPFLAGS'
9999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10003 cat >conftest.$ac_ext <<_ACEOF
10004 #line $LINENO "configure"
10007 cat confdefs.h >>conftest.$ac_ext
10008 cat >>conftest.$ac_ext <<_ACEOF
10009 /* end confdefs.h. */
10011 #ifdef HAVE_IEEEFP_H
10012 #include <ieeefp.h>
10023 rm -f conftest.$ac_objext
10024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10025 (eval $ac_compile) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } &&
10029 { ac_try='test -s conftest.$ac_objext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; }; then
10035 glibcxx_cv_func__qfpclass_use=yes
10037 echo "$as_me: failed program was:" >&5
10038 sed 's/^/| /' conftest.$ac_ext >&5
10040 glibcxx_cv_func__qfpclass_use=no
10042 rm -f conftest.$ac_objext conftest.$ac_ext
10044 ac_cpp='$CPP $CPPFLAGS'
10045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10054 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10056 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10058 for ac_func in _qfpclass
10060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10061 echo "$as_me:$LINENO: checking for $ac_func" >&5
10062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10063 if eval "test \"\${$as_ac_var+set}\" = set"; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 if test x$gcc_no_link = xyes; then
10067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10069 { (exit 1); exit 1; }; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 #line $LINENO "configure"
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h. */
10078 /* System header to define __stub macros and hopefully few prototypes,
10079 which can conflict with char $ac_func (); below.
10080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10081 <limits.h> exists even on freestanding compilers. */
10083 # include <limits.h>
10085 # include <assert.h>
10087 /* Override any gcc2 internal prototype to avoid an error. */
10092 /* We use char because int might match the return type of a gcc2
10093 builtin and then its argument prototype would still apply. */
10095 /* The GNU C library defines this for functions which it implements
10096 to always fail with ENOSYS. Some functions are actually named
10097 something starting with __ and the normal name is an alias. */
10098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10101 char (*f) () = $ac_func;
10110 return f != $ac_func;
10115 rm -f conftest.$ac_objext conftest$ac_exeext
10116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10117 (eval $ac_link) 2>&5
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); } &&
10121 { ac_try='test -s conftest$ac_exeext'
10122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10123 (eval $ac_try) 2>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); }; }; then
10127 eval "$as_ac_var=yes"
10129 echo "$as_me: failed program was:" >&5
10130 sed 's/^/| /' conftest.$ac_ext >&5
10132 eval "$as_ac_var=no"
10134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10138 if test `eval echo '${'$as_ac_var'}'` = yes; then
10139 cat >>confdefs.h <<_ACEOF
10140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10151 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10152 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10153 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10154 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10161 ac_cpp='$CXXCPP $CPPFLAGS'
10162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
10182 rm -f conftest.$ac_objext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10184 (eval $ac_compile) 2>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try='test -s conftest.$ac_objext'
10189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10190 (eval $ac_try) 2>&5
10192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193 (exit $ac_status); }; }; then
10194 glibcxx_cv_func_hypot_use=yes
10196 echo "$as_me: failed program was:" >&5
10197 sed 's/^/| /' conftest.$ac_ext >&5
10199 glibcxx_cv_func_hypot_use=no
10201 rm -f conftest.$ac_objext conftest.$ac_ext
10203 ac_cpp='$CPP $CPPFLAGS'
10204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10213 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10215 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10217 for ac_func in hypot
10219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10220 echo "$as_me:$LINENO: checking for $ac_func" >&5
10221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10222 if eval "test \"\${$as_ac_var+set}\" = set"; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 if test x$gcc_no_link = xyes; then
10226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10228 { (exit 1); exit 1; }; }
10230 cat >conftest.$ac_ext <<_ACEOF
10231 #line $LINENO "configure"
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237 /* System header to define __stub macros and hopefully few prototypes,
10238 which can conflict with char $ac_func (); below.
10239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10240 <limits.h> exists even on freestanding compilers. */
10242 # include <limits.h>
10244 # include <assert.h>
10246 /* Override any gcc2 internal prototype to avoid an error. */
10251 /* We use char because int might match the return type of a gcc2
10252 builtin and then its argument prototype would still apply. */
10254 /* The GNU C library defines this for functions which it implements
10255 to always fail with ENOSYS. Some functions are actually named
10256 something starting with __ and the normal name is an alias. */
10257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10260 char (*f) () = $ac_func;
10269 return f != $ac_func;
10274 rm -f conftest.$ac_objext conftest$ac_exeext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10276 (eval $ac_link) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); } &&
10280 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.$ac_ext >&5
10291 eval "$as_ac_var=no"
10293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10297 if test `eval echo '${'$as_ac_var'}'` = yes; then
10298 cat >>confdefs.h <<_ACEOF
10299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10307 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10308 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10309 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10310 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 ac_cpp='$CXXCPP $CPPFLAGS'
10318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10322 cat >conftest.$ac_ext <<_ACEOF
10323 #line $LINENO "configure"
10326 cat confdefs.h >>conftest.$ac_ext
10327 cat >>conftest.$ac_ext <<_ACEOF
10328 /* end confdefs.h. */
10338 rm -f conftest.$ac_objext
10339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10340 (eval $ac_compile) 2>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 (exit $ac_status); } &&
10344 { ac_try='test -s conftest.$ac_objext'
10345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10346 (eval $ac_try) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; }; then
10350 glibcxx_cv_func__hypot_use=yes
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.$ac_ext >&5
10355 glibcxx_cv_func__hypot_use=no
10357 rm -f conftest.$ac_objext conftest.$ac_ext
10359 ac_cpp='$CPP $CPPFLAGS'
10360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10369 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10371 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10373 for ac_func in _hypot
10375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10376 echo "$as_me:$LINENO: checking for $ac_func" >&5
10377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10378 if eval "test \"\${$as_ac_var+set}\" = set"; then
10379 echo $ECHO_N "(cached) $ECHO_C" >&6
10381 if test x$gcc_no_link = xyes; then
10382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10384 { (exit 1); exit 1; }; }
10386 cat >conftest.$ac_ext <<_ACEOF
10387 #line $LINENO "configure"
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10393 /* System header to define __stub macros and hopefully few prototypes,
10394 which can conflict with char $ac_func (); below.
10395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10396 <limits.h> exists even on freestanding compilers. */
10398 # include <limits.h>
10400 # include <assert.h>
10402 /* Override any gcc2 internal prototype to avoid an error. */
10407 /* We use char because int might match the return type of a gcc2
10408 builtin and then its argument prototype would still apply. */
10410 /* The GNU C library defines this for functions which it implements
10411 to always fail with ENOSYS. Some functions are actually named
10412 something starting with __ and the normal name is an alias. */
10413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10416 char (*f) () = $ac_func;
10425 return f != $ac_func;
10430 rm -f conftest.$ac_objext conftest$ac_exeext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10432 (eval $ac_link) 2>&5
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try='test -s conftest$ac_exeext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 eval "$as_ac_var=yes"
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.$ac_ext >&5
10447 eval "$as_ac_var=no"
10449 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10453 if test `eval echo '${'$as_ac_var'}'` = yes; then
10454 cat >>confdefs.h <<_ACEOF
10455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10466 echo "$as_me:$LINENO: checking for float trig functions" >&5
10467 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10468 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10469 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 ac_cpp='$CXXCPP $CPPFLAGS'
10476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10480 cat >conftest.$ac_ext <<_ACEOF
10481 #line $LINENO "configure"
10484 cat confdefs.h >>conftest.$ac_ext
10485 cat >>conftest.$ac_ext <<_ACEOF
10486 /* end confdefs.h. */
10491 `for x in acosf asinf atanf \
10493 coshf sinhf tanhf; do echo "$x (0);"; done`
10498 rm -f conftest.$ac_objext
10499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10500 (eval $ac_compile) 2>&5
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); } &&
10504 { ac_try='test -s conftest.$ac_objext'
10505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506 (eval $ac_try) 2>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }; }; then
10510 glibcxx_cv_func_float_trig_use=yes
10512 echo "$as_me: failed program was:" >&5
10513 sed 's/^/| /' conftest.$ac_ext >&5
10515 glibcxx_cv_func_float_trig_use=no
10517 rm -f conftest.$ac_objext conftest.$ac_ext
10519 ac_cpp='$CPP $CPPFLAGS'
10520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10527 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10528 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10538 for ac_func in acosf asinf atanf \
10542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10543 echo "$as_me:$LINENO: checking for $ac_func" >&5
10544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10545 if eval "test \"\${$as_ac_var+set}\" = set"; then
10546 echo $ECHO_N "(cached) $ECHO_C" >&6
10548 if test x$gcc_no_link = xyes; then
10549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10551 { (exit 1); exit 1; }; }
10553 cat >conftest.$ac_ext <<_ACEOF
10554 #line $LINENO "configure"
10557 cat confdefs.h >>conftest.$ac_ext
10558 cat >>conftest.$ac_ext <<_ACEOF
10559 /* end confdefs.h. */
10560 /* System header to define __stub macros and hopefully few prototypes,
10561 which can conflict with char $ac_func (); below.
10562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10563 <limits.h> exists even on freestanding compilers. */
10565 # include <limits.h>
10567 # include <assert.h>
10569 /* Override any gcc2 internal prototype to avoid an error. */
10574 /* We use char because int might match the return type of a gcc2
10575 builtin and then its argument prototype would still apply. */
10577 /* The GNU C library defines this for functions which it implements
10578 to always fail with ENOSYS. Some functions are actually named
10579 something starting with __ and the normal name is an alias. */
10580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10583 char (*f) () = $ac_func;
10592 return f != $ac_func;
10597 rm -f conftest.$ac_objext conftest$ac_exeext
10598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10599 (eval $ac_link) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } &&
10603 { ac_try='test -s conftest$ac_exeext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 eval "$as_ac_var=yes"
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10614 eval "$as_ac_var=no"
10616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10620 if test `eval echo '${'$as_ac_var'}'` = yes; then
10621 cat >>confdefs.h <<_ACEOF
10622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10631 echo "$as_me:$LINENO: checking for float round functions" >&5
10632 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10633 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 ac_cpp='$CXXCPP $CPPFLAGS'
10641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10645 cat >conftest.$ac_ext <<_ACEOF
10646 #line $LINENO "configure"
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10656 `for x in ceilf floorf; do echo "$x (0);"; done`
10661 rm -f conftest.$ac_objext
10662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10663 (eval $ac_compile) 2>&5
10665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10666 (exit $ac_status); } &&
10667 { ac_try='test -s conftest.$ac_objext'
10668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669 (eval $ac_try) 2>&5
10671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672 (exit $ac_status); }; }; then
10673 glibcxx_cv_func_float_round_use=yes
10675 echo "$as_me: failed program was:" >&5
10676 sed 's/^/| /' conftest.$ac_ext >&5
10678 glibcxx_cv_func_float_round_use=no
10680 rm -f conftest.$ac_objext conftest.$ac_ext
10682 ac_cpp='$CPP $CPPFLAGS'
10683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10690 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10691 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10694 for ac_func in ceilf floorf
10696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10697 echo "$as_me:$LINENO: checking for $ac_func" >&5
10698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10699 if eval "test \"\${$as_ac_var+set}\" = set"; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 if test x$gcc_no_link = xyes; then
10703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10705 { (exit 1); exit 1; }; }
10707 cat >conftest.$ac_ext <<_ACEOF
10708 #line $LINENO "configure"
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 /* System header to define __stub macros and hopefully few prototypes,
10715 which can conflict with char $ac_func (); below.
10716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10717 <limits.h> exists even on freestanding compilers. */
10719 # include <limits.h>
10721 # include <assert.h>
10723 /* Override any gcc2 internal prototype to avoid an error. */
10728 /* We use char because int might match the return type of a gcc2
10729 builtin and then its argument prototype would still apply. */
10731 /* The GNU C library defines this for functions which it implements
10732 to always fail with ENOSYS. Some functions are actually named
10733 something starting with __ and the normal name is an alias. */
10734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10737 char (*f) () = $ac_func;
10746 return f != $ac_func;
10751 rm -f conftest.$ac_objext conftest$ac_exeext
10752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10753 (eval $ac_link) 2>&5
10755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 (exit $ac_status); } &&
10757 { ac_try='test -s conftest$ac_exeext'
10758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 (eval $ac_try) 2>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); }; }; then
10763 eval "$as_ac_var=yes"
10765 echo "$as_me: failed program was:" >&5
10766 sed 's/^/| /' conftest.$ac_ext >&5
10768 eval "$as_ac_var=no"
10770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10774 if test `eval echo '${'$as_ac_var'}'` = yes; then
10775 cat >>confdefs.h <<_ACEOF
10776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10786 echo "$as_me:$LINENO: checking for expf declaration" >&5
10787 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10788 if test x${glibcxx_cv_func_expf_use+set} != xset; then
10789 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 ac_cpp='$CXXCPP $CPPFLAGS'
10797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10801 cat >conftest.$ac_ext <<_ACEOF
10802 #line $LINENO "configure"
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10809 #ifdef HAVE_IEEEFP_H
10810 #include <ieeefp.h>
10821 rm -f conftest.$ac_objext
10822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10823 (eval $ac_compile) 2>&5
10825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826 (exit $ac_status); } &&
10827 { ac_try='test -s conftest.$ac_objext'
10828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10829 (eval $ac_try) 2>&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); }; }; then
10833 glibcxx_cv_func_expf_use=yes
10835 echo "$as_me: failed program was:" >&5
10836 sed 's/^/| /' conftest.$ac_ext >&5
10838 glibcxx_cv_func_expf_use=no
10840 rm -f conftest.$ac_objext conftest.$ac_ext
10842 ac_cpp='$CPP $CPPFLAGS'
10843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10852 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10854 if test x$glibcxx_cv_func_expf_use = x"yes"; then
10856 for ac_func in expf
10858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10859 echo "$as_me:$LINENO: checking for $ac_func" >&5
10860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10861 if eval "test \"\${$as_ac_var+set}\" = set"; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 if test x$gcc_no_link = xyes; then
10865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10867 { (exit 1); exit 1; }; }
10869 cat >conftest.$ac_ext <<_ACEOF
10870 #line $LINENO "configure"
10873 cat confdefs.h >>conftest.$ac_ext
10874 cat >>conftest.$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 /* System header to define __stub macros and hopefully few prototypes,
10877 which can conflict with char $ac_func (); below.
10878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10879 <limits.h> exists even on freestanding compilers. */
10881 # include <limits.h>
10883 # include <assert.h>
10885 /* Override any gcc2 internal prototype to avoid an error. */
10890 /* We use char because int might match the return type of a gcc2
10891 builtin and then its argument prototype would still apply. */
10893 /* The GNU C library defines this for functions which it implements
10894 to always fail with ENOSYS. Some functions are actually named
10895 something starting with __ and the normal name is an alias. */
10896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10899 char (*f) () = $ac_func;
10908 return f != $ac_func;
10913 rm -f conftest.$ac_objext conftest$ac_exeext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10915 (eval $ac_link) 2>&5
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } &&
10919 { ac_try='test -s conftest$ac_exeext'
10920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 (eval $ac_try) 2>&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); }; }; then
10925 eval "$as_ac_var=yes"
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 eval "$as_ac_var=no"
10932 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10936 if test `eval echo '${'$as_ac_var'}'` = yes; then
10937 cat >>confdefs.h <<_ACEOF
10938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10946 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10947 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10948 if test x${glibcxx_cv_func__expf_use+set} != xset; then
10949 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10956 ac_cpp='$CXXCPP $CPPFLAGS'
10957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10961 cat >conftest.$ac_ext <<_ACEOF
10962 #line $LINENO "configure"
10965 cat confdefs.h >>conftest.$ac_ext
10966 cat >>conftest.$ac_ext <<_ACEOF
10967 /* end confdefs.h. */
10969 #ifdef HAVE_IEEEFP_H
10970 #include <ieeefp.h>
10981 rm -f conftest.$ac_objext
10982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10983 (eval $ac_compile) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } &&
10987 { ac_try='test -s conftest.$ac_objext'
10988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10989 (eval $ac_try) 2>&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 (exit $ac_status); }; }; then
10993 glibcxx_cv_func__expf_use=yes
10995 echo "$as_me: failed program was:" >&5
10996 sed 's/^/| /' conftest.$ac_ext >&5
10998 glibcxx_cv_func__expf_use=no
11000 rm -f conftest.$ac_objext conftest.$ac_ext
11002 ac_cpp='$CPP $CPPFLAGS'
11003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11012 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11014 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11016 for ac_func in _expf
11018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11019 echo "$as_me:$LINENO: checking for $ac_func" >&5
11020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11021 if eval "test \"\${$as_ac_var+set}\" = set"; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 if test x$gcc_no_link = xyes; then
11025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11027 { (exit 1); exit 1; }; }
11029 cat >conftest.$ac_ext <<_ACEOF
11030 #line $LINENO "configure"
11033 cat confdefs.h >>conftest.$ac_ext
11034 cat >>conftest.$ac_ext <<_ACEOF
11035 /* end confdefs.h. */
11036 /* System header to define __stub macros and hopefully few prototypes,
11037 which can conflict with char $ac_func (); below.
11038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11039 <limits.h> exists even on freestanding compilers. */
11041 # include <limits.h>
11043 # include <assert.h>
11045 /* Override any gcc2 internal prototype to avoid an error. */
11050 /* We use char because int might match the return type of a gcc2
11051 builtin and then its argument prototype would still apply. */
11053 /* The GNU C library defines this for functions which it implements
11054 to always fail with ENOSYS. Some functions are actually named
11055 something starting with __ and the normal name is an alias. */
11056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11059 char (*f) () = $ac_func;
11068 return f != $ac_func;
11073 rm -f conftest.$ac_objext conftest$ac_exeext
11074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11075 (eval $ac_link) 2>&5
11077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11078 (exit $ac_status); } &&
11079 { ac_try='test -s conftest$ac_exeext'
11080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11081 (eval $ac_try) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }; }; then
11085 eval "$as_ac_var=yes"
11087 echo "$as_me: failed program was:" >&5
11088 sed 's/^/| /' conftest.$ac_ext >&5
11090 eval "$as_ac_var=no"
11092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11096 if test `eval echo '${'$as_ac_var'}'` = yes; then
11097 cat >>confdefs.h <<_ACEOF
11098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11109 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11110 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11111 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11112 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 ac_cpp='$CXXCPP $CPPFLAGS'
11120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11124 cat >conftest.$ac_ext <<_ACEOF
11125 #line $LINENO "configure"
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11132 #ifdef HAVE_IEEEFP_H
11133 #include <ieeefp.h>
11144 rm -f conftest.$ac_objext
11145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11146 (eval $ac_compile) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } &&
11150 { ac_try='test -s conftest.$ac_objext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 glibcxx_cv_func_isnanf_use=yes
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11161 glibcxx_cv_func_isnanf_use=no
11163 rm -f conftest.$ac_objext conftest.$ac_ext
11165 ac_cpp='$CPP $CPPFLAGS'
11166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11174 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11175 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11177 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11179 for ac_func in isnanf
11181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11182 echo "$as_me:$LINENO: checking for $ac_func" >&5
11183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11184 if eval "test \"\${$as_ac_var+set}\" = set"; then
11185 echo $ECHO_N "(cached) $ECHO_C" >&6
11187 if test x$gcc_no_link = xyes; then
11188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11190 { (exit 1); exit 1; }; }
11192 cat >conftest.$ac_ext <<_ACEOF
11193 #line $LINENO "configure"
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199 /* System header to define __stub macros and hopefully few prototypes,
11200 which can conflict with char $ac_func (); below.
11201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11202 <limits.h> exists even on freestanding compilers. */
11204 # include <limits.h>
11206 # include <assert.h>
11208 /* Override any gcc2 internal prototype to avoid an error. */
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11216 /* The GNU C library defines this for functions which it implements
11217 to always fail with ENOSYS. Some functions are actually named
11218 something starting with __ and the normal name is an alias. */
11219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11222 char (*f) () = $ac_func;
11231 return f != $ac_func;
11236 rm -f conftest.$ac_objext conftest$ac_exeext
11237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11238 (eval $ac_link) 2>&5
11240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241 (exit $ac_status); } &&
11242 { ac_try='test -s conftest$ac_exeext'
11243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244 (eval $ac_try) 2>&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); }; }; then
11248 eval "$as_ac_var=yes"
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.$ac_ext >&5
11253 eval "$as_ac_var=no"
11255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11259 if test `eval echo '${'$as_ac_var'}'` = yes; then
11260 cat >>confdefs.h <<_ACEOF
11261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11269 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11270 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11271 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11272 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11273 echo $ECHO_N "(cached) $ECHO_C" >&6
11279 ac_cpp='$CXXCPP $CPPFLAGS'
11280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11284 cat >conftest.$ac_ext <<_ACEOF
11285 #line $LINENO "configure"
11288 cat confdefs.h >>conftest.$ac_ext
11289 cat >>conftest.$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11292 #ifdef HAVE_IEEEFP_H
11293 #include <ieeefp.h>
11304 rm -f conftest.$ac_objext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11306 (eval $ac_compile) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } &&
11310 { ac_try='test -s conftest.$ac_objext'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; }; then
11316 glibcxx_cv_func__isnanf_use=yes
11318 echo "$as_me: failed program was:" >&5
11319 sed 's/^/| /' conftest.$ac_ext >&5
11321 glibcxx_cv_func__isnanf_use=no
11323 rm -f conftest.$ac_objext conftest.$ac_ext
11325 ac_cpp='$CPP $CPPFLAGS'
11326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11335 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11337 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11339 for ac_func in _isnanf
11341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11342 echo "$as_me:$LINENO: checking for $ac_func" >&5
11343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11344 if eval "test \"\${$as_ac_var+set}\" = set"; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11347 if test x$gcc_no_link = xyes; then
11348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11350 { (exit 1); exit 1; }; }
11352 cat >conftest.$ac_ext <<_ACEOF
11353 #line $LINENO "configure"
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11359 /* System header to define __stub macros and hopefully few prototypes,
11360 which can conflict with char $ac_func (); below.
11361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11362 <limits.h> exists even on freestanding compilers. */
11364 # include <limits.h>
11366 # include <assert.h>
11368 /* Override any gcc2 internal prototype to avoid an error. */
11373 /* We use char because int might match the return type of a gcc2
11374 builtin and then its argument prototype would still apply. */
11376 /* The GNU C library defines this for functions which it implements
11377 to always fail with ENOSYS. Some functions are actually named
11378 something starting with __ and the normal name is an alias. */
11379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11382 char (*f) () = $ac_func;
11391 return f != $ac_func;
11396 rm -f conftest.$ac_objext conftest$ac_exeext
11397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11398 (eval $ac_link) 2>&5
11400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11401 (exit $ac_status); } &&
11402 { ac_try='test -s conftest$ac_exeext'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; }; then
11408 eval "$as_ac_var=yes"
11410 echo "$as_me: failed program was:" >&5
11411 sed 's/^/| /' conftest.$ac_ext >&5
11413 eval "$as_ac_var=no"
11415 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11419 if test `eval echo '${'$as_ac_var'}'` = yes; then
11420 cat >>confdefs.h <<_ACEOF
11421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11432 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11433 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11434 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11435 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11442 ac_cpp='$CXXCPP $CPPFLAGS'
11443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11447 cat >conftest.$ac_ext <<_ACEOF
11448 #line $LINENO "configure"
11451 cat confdefs.h >>conftest.$ac_ext
11452 cat >>conftest.$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11455 #ifdef HAVE_IEEEFP_H
11456 #include <ieeefp.h>
11467 rm -f conftest.$ac_objext
11468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11469 (eval $ac_compile) 2>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); } &&
11473 { ac_try='test -s conftest.$ac_objext'
11474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11475 (eval $ac_try) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; }; then
11479 glibcxx_cv_func_isinff_use=yes
11481 echo "$as_me: failed program was:" >&5
11482 sed 's/^/| /' conftest.$ac_ext >&5
11484 glibcxx_cv_func_isinff_use=no
11486 rm -f conftest.$ac_objext conftest.$ac_ext
11488 ac_cpp='$CPP $CPPFLAGS'
11489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11497 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11498 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11500 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11502 for ac_func in isinff
11504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11505 echo "$as_me:$LINENO: checking for $ac_func" >&5
11506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11507 if eval "test \"\${$as_ac_var+set}\" = set"; then
11508 echo $ECHO_N "(cached) $ECHO_C" >&6
11510 if test x$gcc_no_link = xyes; then
11511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11513 { (exit 1); exit 1; }; }
11515 cat >conftest.$ac_ext <<_ACEOF
11516 #line $LINENO "configure"
11519 cat confdefs.h >>conftest.$ac_ext
11520 cat >>conftest.$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11522 /* System header to define __stub macros and hopefully few prototypes,
11523 which can conflict with char $ac_func (); below.
11524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11525 <limits.h> exists even on freestanding compilers. */
11527 # include <limits.h>
11529 # include <assert.h>
11531 /* Override any gcc2 internal prototype to avoid an error. */
11536 /* We use char because int might match the return type of a gcc2
11537 builtin and then its argument prototype would still apply. */
11539 /* The GNU C library defines this for functions which it implements
11540 to always fail with ENOSYS. Some functions are actually named
11541 something starting with __ and the normal name is an alias. */
11542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11545 char (*f) () = $ac_func;
11554 return f != $ac_func;
11559 rm -f conftest.$ac_objext conftest$ac_exeext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11561 (eval $ac_link) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); } &&
11565 { ac_try='test -s conftest$ac_exeext'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; }; then
11571 eval "$as_ac_var=yes"
11573 echo "$as_me: failed program was:" >&5
11574 sed 's/^/| /' conftest.$ac_ext >&5
11576 eval "$as_ac_var=no"
11578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11582 if test `eval echo '${'$as_ac_var'}'` = yes; then
11583 cat >>confdefs.h <<_ACEOF
11584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11592 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11593 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11594 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11595 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 ac_cpp='$CXXCPP $CPPFLAGS'
11603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11607 cat >conftest.$ac_ext <<_ACEOF
11608 #line $LINENO "configure"
11611 cat confdefs.h >>conftest.$ac_ext
11612 cat >>conftest.$ac_ext <<_ACEOF
11613 /* end confdefs.h. */
11615 #ifdef HAVE_IEEEFP_H
11616 #include <ieeefp.h>
11627 rm -f conftest.$ac_objext
11628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11629 (eval $ac_compile) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); } &&
11633 { ac_try='test -s conftest.$ac_objext'
11634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11635 (eval $ac_try) 2>&5
11637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11638 (exit $ac_status); }; }; then
11639 glibcxx_cv_func__isinff_use=yes
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11644 glibcxx_cv_func__isinff_use=no
11646 rm -f conftest.$ac_objext conftest.$ac_ext
11648 ac_cpp='$CPP $CPPFLAGS'
11649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11658 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11660 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11662 for ac_func in _isinff
11664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11665 echo "$as_me:$LINENO: checking for $ac_func" >&5
11666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11667 if eval "test \"\${$as_ac_var+set}\" = set"; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11670 if test x$gcc_no_link = xyes; then
11671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11673 { (exit 1); exit 1; }; }
11675 cat >conftest.$ac_ext <<_ACEOF
11676 #line $LINENO "configure"
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11682 /* System header to define __stub macros and hopefully few prototypes,
11683 which can conflict with char $ac_func (); below.
11684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11685 <limits.h> exists even on freestanding compilers. */
11687 # include <limits.h>
11689 # include <assert.h>
11691 /* Override any gcc2 internal prototype to avoid an error. */
11696 /* We use char because int might match the return type of a gcc2
11697 builtin and then its argument prototype would still apply. */
11699 /* The GNU C library defines this for functions which it implements
11700 to always fail with ENOSYS. Some functions are actually named
11701 something starting with __ and the normal name is an alias. */
11702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11705 char (*f) () = $ac_func;
11714 return f != $ac_func;
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11721 (eval $ac_link) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } &&
11725 { ac_try='test -s conftest$ac_exeext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 eval "$as_ac_var=yes"
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11736 eval "$as_ac_var=no"
11738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11742 if test `eval echo '${'$as_ac_var'}'` = yes; then
11743 cat >>confdefs.h <<_ACEOF
11744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11755 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11756 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11757 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11758 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11759 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 ac_cpp='$CXXCPP $CPPFLAGS'
11766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11770 cat >conftest.$ac_ext <<_ACEOF
11771 #line $LINENO "configure"
11774 cat confdefs.h >>conftest.$ac_ext
11775 cat >>conftest.$ac_ext <<_ACEOF
11776 /* end confdefs.h. */
11786 rm -f conftest.$ac_objext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11788 (eval $ac_compile) 2>&5
11790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } &&
11792 { ac_try='test -s conftest.$ac_objext'
11793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11794 (eval $ac_try) 2>&5
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); }; }; then
11798 glibcxx_cv_func_atan2f_use=yes
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.$ac_ext >&5
11803 glibcxx_cv_func_atan2f_use=no
11805 rm -f conftest.$ac_objext conftest.$ac_ext
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11816 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11817 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11819 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11821 for ac_func in atan2f
11823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11824 echo "$as_me:$LINENO: checking for $ac_func" >&5
11825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11826 if eval "test \"\${$as_ac_var+set}\" = set"; then
11827 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 if test x$gcc_no_link = xyes; then
11830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11832 { (exit 1); exit 1; }; }
11834 cat >conftest.$ac_ext <<_ACEOF
11835 #line $LINENO "configure"
11838 cat confdefs.h >>conftest.$ac_ext
11839 cat >>conftest.$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11841 /* System header to define __stub macros and hopefully few prototypes,
11842 which can conflict with char $ac_func (); below.
11843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11844 <limits.h> exists even on freestanding compilers. */
11846 # include <limits.h>
11848 # include <assert.h>
11850 /* Override any gcc2 internal prototype to avoid an error. */
11855 /* We use char because int might match the return type of a gcc2
11856 builtin and then its argument prototype would still apply. */
11858 /* The GNU C library defines this for functions which it implements
11859 to always fail with ENOSYS. Some functions are actually named
11860 something starting with __ and the normal name is an alias. */
11861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11864 char (*f) () = $ac_func;
11873 return f != $ac_func;
11878 rm -f conftest.$ac_objext conftest$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try='test -s conftest$ac_exeext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 eval "$as_ac_var=yes"
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.$ac_ext >&5
11895 eval "$as_ac_var=no"
11897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11901 if test `eval echo '${'$as_ac_var'}'` = yes; then
11902 cat >>confdefs.h <<_ACEOF
11903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11911 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11912 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11913 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11914 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 ac_cpp='$CXXCPP $CPPFLAGS'
11922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11926 cat >conftest.$ac_ext <<_ACEOF
11927 #line $LINENO "configure"
11930 cat confdefs.h >>conftest.$ac_ext
11931 cat >>conftest.$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11942 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try='test -s conftest.$ac_objext'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then
11954 glibcxx_cv_func__atan2f_use=yes
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 glibcxx_cv_func__atan2f_use=no
11961 rm -f conftest.$ac_objext conftest.$ac_ext
11963 ac_cpp='$CPP $CPPFLAGS'
11964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11973 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11975 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11977 for ac_func in _atan2f
11979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11980 echo "$as_me:$LINENO: checking for $ac_func" >&5
11981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11982 if eval "test \"\${$as_ac_var+set}\" = set"; then
11983 echo $ECHO_N "(cached) $ECHO_C" >&6
11985 if test x$gcc_no_link = xyes; then
11986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11988 { (exit 1); exit 1; }; }
11990 cat >conftest.$ac_ext <<_ACEOF
11991 #line $LINENO "configure"
11994 cat confdefs.h >>conftest.$ac_ext
11995 cat >>conftest.$ac_ext <<_ACEOF
11996 /* end confdefs.h. */
11997 /* System header to define __stub macros and hopefully few prototypes,
11998 which can conflict with char $ac_func (); below.
11999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12000 <limits.h> exists even on freestanding compilers. */
12002 # include <limits.h>
12004 # include <assert.h>
12006 /* Override any gcc2 internal prototype to avoid an error. */
12011 /* We use char because int might match the return type of a gcc2
12012 builtin and then its argument prototype would still apply. */
12014 /* The GNU C library defines this for functions which it implements
12015 to always fail with ENOSYS. Some functions are actually named
12016 something starting with __ and the normal name is an alias. */
12017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12020 char (*f) () = $ac_func;
12029 return f != $ac_func;
12034 rm -f conftest.$ac_objext conftest$ac_exeext
12035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12036 (eval $ac_link) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); } &&
12040 { ac_try='test -s conftest$ac_exeext'
12041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12042 (eval $ac_try) 2>&5
12044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045 (exit $ac_status); }; }; then
12046 eval "$as_ac_var=yes"
12048 echo "$as_me: failed program was:" >&5
12049 sed 's/^/| /' conftest.$ac_ext >&5
12051 eval "$as_ac_var=no"
12053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12057 if test `eval echo '${'$as_ac_var'}'` = yes; then
12058 cat >>confdefs.h <<_ACEOF
12059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12070 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12071 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12072 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12073 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 ac_cpp='$CXXCPP $CPPFLAGS'
12081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12085 cat >conftest.$ac_ext <<_ACEOF
12086 #line $LINENO "configure"
12089 cat confdefs.h >>conftest.$ac_ext
12090 cat >>conftest.$ac_ext <<_ACEOF
12091 /* end confdefs.h. */
12093 #ifdef HAVE_IEEEFP_H
12094 #include <ieeefp.h>
12105 rm -f conftest.$ac_objext
12106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12107 (eval $ac_compile) 2>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -s conftest.$ac_objext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 glibcxx_cv_func_fabsf_use=yes
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.$ac_ext >&5
12122 glibcxx_cv_func_fabsf_use=no
12124 rm -f conftest.$ac_objext conftest.$ac_ext
12126 ac_cpp='$CPP $CPPFLAGS'
12127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12136 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12138 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12140 for ac_func in fabsf
12142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12143 echo "$as_me:$LINENO: checking for $ac_func" >&5
12144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12145 if eval "test \"\${$as_ac_var+set}\" = set"; then
12146 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 if test x$gcc_no_link = xyes; then
12149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12151 { (exit 1); exit 1; }; }
12153 cat >conftest.$ac_ext <<_ACEOF
12154 #line $LINENO "configure"
12157 cat confdefs.h >>conftest.$ac_ext
12158 cat >>conftest.$ac_ext <<_ACEOF
12159 /* end confdefs.h. */
12160 /* System header to define __stub macros and hopefully few prototypes,
12161 which can conflict with char $ac_func (); below.
12162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12163 <limits.h> exists even on freestanding compilers. */
12165 # include <limits.h>
12167 # include <assert.h>
12169 /* Override any gcc2 internal prototype to avoid an error. */
12174 /* We use char because int might match the return type of a gcc2
12175 builtin and then its argument prototype would still apply. */
12177 /* The GNU C library defines this for functions which it implements
12178 to always fail with ENOSYS. Some functions are actually named
12179 something starting with __ and the normal name is an alias. */
12180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12183 char (*f) () = $ac_func;
12192 return f != $ac_func;
12197 rm -f conftest.$ac_objext conftest$ac_exeext
12198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12199 (eval $ac_link) 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); } &&
12203 { ac_try='test -s conftest$ac_exeext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 eval "$as_ac_var=yes"
12211 echo "$as_me: failed program was:" >&5
12212 sed 's/^/| /' conftest.$ac_ext >&5
12214 eval "$as_ac_var=no"
12216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12220 if test `eval echo '${'$as_ac_var'}'` = yes; then
12221 cat >>confdefs.h <<_ACEOF
12222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12230 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12231 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12232 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12233 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 ac_cpp='$CXXCPP $CPPFLAGS'
12241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12245 cat >conftest.$ac_ext <<_ACEOF
12246 #line $LINENO "configure"
12249 cat confdefs.h >>conftest.$ac_ext
12250 cat >>conftest.$ac_ext <<_ACEOF
12251 /* end confdefs.h. */
12253 #ifdef HAVE_IEEEFP_H
12254 #include <ieeefp.h>
12265 rm -f conftest.$ac_objext
12266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12267 (eval $ac_compile) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } &&
12271 { ac_try='test -s conftest.$ac_objext'
12272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12273 (eval $ac_try) 2>&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); }; }; then
12277 glibcxx_cv_func__fabsf_use=yes
12279 echo "$as_me: failed program was:" >&5
12280 sed 's/^/| /' conftest.$ac_ext >&5
12282 glibcxx_cv_func__fabsf_use=no
12284 rm -f conftest.$ac_objext conftest.$ac_ext
12286 ac_cpp='$CPP $CPPFLAGS'
12287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12296 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12298 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12300 for ac_func in _fabsf
12302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12303 echo "$as_me:$LINENO: checking for $ac_func" >&5
12304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12305 if eval "test \"\${$as_ac_var+set}\" = set"; then
12306 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 if test x$gcc_no_link = xyes; then
12309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12311 { (exit 1); exit 1; }; }
12313 cat >conftest.$ac_ext <<_ACEOF
12314 #line $LINENO "configure"
12317 cat confdefs.h >>conftest.$ac_ext
12318 cat >>conftest.$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 /* System header to define __stub macros and hopefully few prototypes,
12321 which can conflict with char $ac_func (); below.
12322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12323 <limits.h> exists even on freestanding compilers. */
12325 # include <limits.h>
12327 # include <assert.h>
12329 /* Override any gcc2 internal prototype to avoid an error. */
12334 /* We use char because int might match the return type of a gcc2
12335 builtin and then its argument prototype would still apply. */
12337 /* The GNU C library defines this for functions which it implements
12338 to always fail with ENOSYS. Some functions are actually named
12339 something starting with __ and the normal name is an alias. */
12340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12343 char (*f) () = $ac_func;
12352 return f != $ac_func;
12357 rm -f conftest.$ac_objext conftest$ac_exeext
12358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12359 (eval $ac_link) 2>&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try='test -s conftest$ac_exeext'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; }; then
12369 eval "$as_ac_var=yes"
12371 echo "$as_me: failed program was:" >&5
12372 sed 's/^/| /' conftest.$ac_ext >&5
12374 eval "$as_ac_var=no"
12376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12380 if test `eval echo '${'$as_ac_var'}'` = yes; then
12381 cat >>confdefs.h <<_ACEOF
12382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12393 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12394 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12395 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12396 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12403 ac_cpp='$CXXCPP $CPPFLAGS'
12404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12408 cat >conftest.$ac_ext <<_ACEOF
12409 #line $LINENO "configure"
12412 cat confdefs.h >>conftest.$ac_ext
12413 cat >>conftest.$ac_ext <<_ACEOF
12414 /* end confdefs.h. */
12424 rm -f conftest.$ac_objext
12425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12426 (eval $ac_compile) 2>&5
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } &&
12430 { ac_try='test -s conftest.$ac_objext'
12431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 (eval $ac_try) 2>&5
12434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12435 (exit $ac_status); }; }; then
12436 glibcxx_cv_func_fmodf_use=yes
12438 echo "$as_me: failed program was:" >&5
12439 sed 's/^/| /' conftest.$ac_ext >&5
12441 glibcxx_cv_func_fmodf_use=no
12443 rm -f conftest.$ac_objext conftest.$ac_ext
12445 ac_cpp='$CPP $CPPFLAGS'
12446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12454 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12455 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12457 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12459 for ac_func in fmodf
12461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12462 echo "$as_me:$LINENO: checking for $ac_func" >&5
12463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12464 if eval "test \"\${$as_ac_var+set}\" = set"; then
12465 echo $ECHO_N "(cached) $ECHO_C" >&6
12467 if test x$gcc_no_link = xyes; then
12468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12470 { (exit 1); exit 1; }; }
12472 cat >conftest.$ac_ext <<_ACEOF
12473 #line $LINENO "configure"
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479 /* System header to define __stub macros and hopefully few prototypes,
12480 which can conflict with char $ac_func (); below.
12481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12482 <limits.h> exists even on freestanding compilers. */
12484 # include <limits.h>
12486 # include <assert.h>
12488 /* Override any gcc2 internal prototype to avoid an error. */
12493 /* We use char because int might match the return type of a gcc2
12494 builtin and then its argument prototype would still apply. */
12496 /* The GNU C library defines this for functions which it implements
12497 to always fail with ENOSYS. Some functions are actually named
12498 something starting with __ and the normal name is an alias. */
12499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12502 char (*f) () = $ac_func;
12511 return f != $ac_func;
12516 rm -f conftest.$ac_objext conftest$ac_exeext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518 (eval $ac_link) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } &&
12522 { ac_try='test -s conftest$ac_exeext'
12523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12524 (eval $ac_try) 2>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); }; }; then
12528 eval "$as_ac_var=yes"
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12533 eval "$as_ac_var=no"
12535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12539 if test `eval echo '${'$as_ac_var'}'` = yes; then
12540 cat >>confdefs.h <<_ACEOF
12541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12549 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12550 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12551 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12552 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 ac_cpp='$CXXCPP $CPPFLAGS'
12560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12564 cat >conftest.$ac_ext <<_ACEOF
12565 #line $LINENO "configure"
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12580 rm -f conftest.$ac_objext
12581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12582 (eval $ac_compile) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } &&
12586 { ac_try='test -s conftest.$ac_objext'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; }; then
12592 glibcxx_cv_func__fmodf_use=yes
12594 echo "$as_me: failed program was:" >&5
12595 sed 's/^/| /' conftest.$ac_ext >&5
12597 glibcxx_cv_func__fmodf_use=no
12599 rm -f conftest.$ac_objext conftest.$ac_ext
12601 ac_cpp='$CPP $CPPFLAGS'
12602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12611 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12613 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12615 for ac_func in _fmodf
12617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12618 echo "$as_me:$LINENO: checking for $ac_func" >&5
12619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12620 if eval "test \"\${$as_ac_var+set}\" = set"; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 if test x$gcc_no_link = xyes; then
12624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12626 { (exit 1); exit 1; }; }
12628 cat >conftest.$ac_ext <<_ACEOF
12629 #line $LINENO "configure"
12632 cat confdefs.h >>conftest.$ac_ext
12633 cat >>conftest.$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 /* System header to define __stub macros and hopefully few prototypes,
12636 which can conflict with char $ac_func (); below.
12637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12638 <limits.h> exists even on freestanding compilers. */
12640 # include <limits.h>
12642 # include <assert.h>
12644 /* Override any gcc2 internal prototype to avoid an error. */
12649 /* We use char because int might match the return type of a gcc2
12650 builtin and then its argument prototype would still apply. */
12652 /* The GNU C library defines this for functions which it implements
12653 to always fail with ENOSYS. Some functions are actually named
12654 something starting with __ and the normal name is an alias. */
12655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12658 char (*f) () = $ac_func;
12667 return f != $ac_func;
12672 rm -f conftest.$ac_objext conftest$ac_exeext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12674 (eval $ac_link) 2>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try='test -s conftest$ac_exeext'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; }; then
12684 eval "$as_ac_var=yes"
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12689 eval "$as_ac_var=no"
12691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12695 if test `eval echo '${'$as_ac_var'}'` = yes; then
12696 cat >>confdefs.h <<_ACEOF
12697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12708 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12709 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12710 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12711 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12718 ac_cpp='$CXXCPP $CPPFLAGS'
12719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12723 cat >conftest.$ac_ext <<_ACEOF
12724 #line $LINENO "configure"
12727 cat confdefs.h >>conftest.$ac_ext
12728 cat >>conftest.$ac_ext <<_ACEOF
12729 /* end confdefs.h. */
12739 rm -f conftest.$ac_objext
12740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12741 (eval $ac_compile) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try='test -s conftest.$ac_objext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12751 glibcxx_cv_func_frexpf_use=yes
12753 echo "$as_me: failed program was:" >&5
12754 sed 's/^/| /' conftest.$ac_ext >&5
12756 glibcxx_cv_func_frexpf_use=no
12758 rm -f conftest.$ac_objext conftest.$ac_ext
12760 ac_cpp='$CPP $CPPFLAGS'
12761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12770 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12772 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12774 for ac_func in frexpf
12776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12777 echo "$as_me:$LINENO: checking for $ac_func" >&5
12778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12779 if eval "test \"\${$as_ac_var+set}\" = set"; then
12780 echo $ECHO_N "(cached) $ECHO_C" >&6
12782 if test x$gcc_no_link = xyes; then
12783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12785 { (exit 1); exit 1; }; }
12787 cat >conftest.$ac_ext <<_ACEOF
12788 #line $LINENO "configure"
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 /* System header to define __stub macros and hopefully few prototypes,
12795 which can conflict with char $ac_func (); below.
12796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12797 <limits.h> exists even on freestanding compilers. */
12799 # include <limits.h>
12801 # include <assert.h>
12803 /* Override any gcc2 internal prototype to avoid an error. */
12808 /* We use char because int might match the return type of a gcc2
12809 builtin and then its argument prototype would still apply. */
12811 /* The GNU C library defines this for functions which it implements
12812 to always fail with ENOSYS. Some functions are actually named
12813 something starting with __ and the normal name is an alias. */
12814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12817 char (*f) () = $ac_func;
12826 return f != $ac_func;
12831 rm -f conftest.$ac_objext conftest$ac_exeext
12832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12833 (eval $ac_link) 2>&5
12835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12836 (exit $ac_status); } &&
12837 { ac_try='test -s conftest$ac_exeext'
12838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839 (eval $ac_try) 2>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; }; then
12843 eval "$as_ac_var=yes"
12845 echo "$as_me: failed program was:" >&5
12846 sed 's/^/| /' conftest.$ac_ext >&5
12848 eval "$as_ac_var=no"
12850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12854 if test `eval echo '${'$as_ac_var'}'` = yes; then
12855 cat >>confdefs.h <<_ACEOF
12856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12864 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12865 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12866 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12867 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12868 echo $ECHO_N "(cached) $ECHO_C" >&6
12874 ac_cpp='$CXXCPP $CPPFLAGS'
12875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12879 cat >conftest.$ac_ext <<_ACEOF
12880 #line $LINENO "configure"
12883 cat confdefs.h >>conftest.$ac_ext
12884 cat >>conftest.$ac_ext <<_ACEOF
12885 /* end confdefs.h. */
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } &&
12901 { ac_try='test -s conftest.$ac_objext'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; }; then
12907 glibcxx_cv_func__frexpf_use=yes
12909 echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.$ac_ext >&5
12912 glibcxx_cv_func__frexpf_use=no
12914 rm -f conftest.$ac_objext conftest.$ac_ext
12916 ac_cpp='$CPP $CPPFLAGS'
12917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12926 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12928 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12930 for ac_func in _frexpf
12932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12933 echo "$as_me:$LINENO: checking for $ac_func" >&5
12934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_var+set}\" = set"; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 if test x$gcc_no_link = xyes; then
12939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12941 { (exit 1); exit 1; }; }
12943 cat >conftest.$ac_ext <<_ACEOF
12944 #line $LINENO "configure"
12947 cat confdefs.h >>conftest.$ac_ext
12948 cat >>conftest.$ac_ext <<_ACEOF
12949 /* end confdefs.h. */
12950 /* System header to define __stub macros and hopefully few prototypes,
12951 which can conflict with char $ac_func (); below.
12952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12953 <limits.h> exists even on freestanding compilers. */
12955 # include <limits.h>
12957 # include <assert.h>
12959 /* Override any gcc2 internal prototype to avoid an error. */
12964 /* We use char because int might match the return type of a gcc2
12965 builtin and then its argument prototype would still apply. */
12967 /* The GNU C library defines this for functions which it implements
12968 to always fail with ENOSYS. Some functions are actually named
12969 something starting with __ and the normal name is an alias. */
12970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12973 char (*f) () = $ac_func;
12982 return f != $ac_func;
12987 rm -f conftest.$ac_objext conftest$ac_exeext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12989 (eval $ac_link) 2>&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try='test -s conftest$ac_exeext'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 eval "$as_ac_var=yes"
13001 echo "$as_me: failed program was:" >&5
13002 sed 's/^/| /' conftest.$ac_ext >&5
13004 eval "$as_ac_var=no"
13006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13010 if test `eval echo '${'$as_ac_var'}'` = yes; then
13011 cat >>confdefs.h <<_ACEOF
13012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13023 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13024 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13025 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13026 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 ac_cpp='$CXXCPP $CPPFLAGS'
13034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13038 cat >conftest.$ac_ext <<_ACEOF
13039 #line $LINENO "configure"
13042 cat confdefs.h >>conftest.$ac_ext
13043 cat >>conftest.$ac_ext <<_ACEOF
13044 /* end confdefs.h. */
13054 rm -f conftest.$ac_objext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13056 (eval $ac_compile) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try='test -s conftest.$ac_objext'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; }; then
13066 glibcxx_cv_func_hypotf_use=yes
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.$ac_ext >&5
13071 glibcxx_cv_func_hypotf_use=no
13073 rm -f conftest.$ac_objext conftest.$ac_ext
13075 ac_cpp='$CPP $CPPFLAGS'
13076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13085 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13087 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13089 for ac_func in hypotf
13091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13092 echo "$as_me:$LINENO: checking for $ac_func" >&5
13093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13094 if eval "test \"\${$as_ac_var+set}\" = set"; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 if test x$gcc_no_link = xyes; then
13098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13100 { (exit 1); exit 1; }; }
13102 cat >conftest.$ac_ext <<_ACEOF
13103 #line $LINENO "configure"
13106 cat confdefs.h >>conftest.$ac_ext
13107 cat >>conftest.$ac_ext <<_ACEOF
13108 /* end confdefs.h. */
13109 /* System header to define __stub macros and hopefully few prototypes,
13110 which can conflict with char $ac_func (); below.
13111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13112 <limits.h> exists even on freestanding compilers. */
13114 # include <limits.h>
13116 # include <assert.h>
13118 /* Override any gcc2 internal prototype to avoid an error. */
13123 /* We use char because int might match the return type of a gcc2
13124 builtin and then its argument prototype would still apply. */
13126 /* The GNU C library defines this for functions which it implements
13127 to always fail with ENOSYS. Some functions are actually named
13128 something starting with __ and the normal name is an alias. */
13129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13132 char (*f) () = $ac_func;
13141 return f != $ac_func;
13146 rm -f conftest.$ac_objext conftest$ac_exeext
13147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13148 (eval $ac_link) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); } &&
13152 { ac_try='test -s conftest$ac_exeext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 eval "$as_ac_var=yes"
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13163 eval "$as_ac_var=no"
13165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13169 if test `eval echo '${'$as_ac_var'}'` = yes; then
13170 cat >>confdefs.h <<_ACEOF
13171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13179 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13180 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13181 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13182 if test "${glibcxx_cv_func__hypotf_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__hypotf_use=yes
13224 echo "$as_me: failed program was:" >&5
13225 sed 's/^/| /' conftest.$ac_ext >&5
13227 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
13241 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13243 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13245 for ac_func in _hypotf
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 if test x$gcc_no_link = xyes; then
13254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13256 { (exit 1); exit 1; }; }
13258 cat >conftest.$ac_ext <<_ACEOF
13259 #line $LINENO "configure"
13262 cat confdefs.h >>conftest.$ac_ext
13263 cat >>conftest.$ac_ext <<_ACEOF
13264 /* end confdefs.h. */
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char $ac_func (); below.
13267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13268 <limits.h> exists even on freestanding compilers. */
13270 # include <limits.h>
13272 # include <assert.h>
13274 /* Override any gcc2 internal prototype to avoid an error. */
13279 /* We use char because int might match the return type of a gcc2
13280 builtin and then its argument prototype would still apply. */
13282 /* The GNU C library defines this for functions which it implements
13283 to always fail with ENOSYS. Some functions are actually named
13284 something starting with __ and the normal name is an alias. */
13285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13288 char (*f) () = $ac_func;
13297 return f != $ac_func;
13302 rm -f conftest.$ac_objext conftest$ac_exeext
13303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13304 (eval $ac_link) 2>&5
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); } &&
13308 { ac_try='test -s conftest$ac_exeext'
13309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13310 (eval $ac_try) 2>&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); }; }; then
13314 eval "$as_ac_var=yes"
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13319 eval "$as_ac_var=no"
13321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13325 if test `eval echo '${'$as_ac_var'}'` = yes; then
13326 cat >>confdefs.h <<_ACEOF
13327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13338 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13339 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13340 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13341 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13342 echo $ECHO_N "(cached) $ECHO_C" >&6
13348 ac_cpp='$CXXCPP $CPPFLAGS'
13349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13353 cat >conftest.$ac_ext <<_ACEOF
13354 #line $LINENO "configure"
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13369 rm -f conftest.$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } &&
13375 { ac_try='test -s conftest.$ac_objext'
13376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377 (eval $ac_try) 2>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); }; }; then
13381 glibcxx_cv_func_ldexpf_use=yes
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13386 glibcxx_cv_func_ldexpf_use=no
13388 rm -f conftest.$ac_objext conftest.$ac_ext
13390 ac_cpp='$CPP $CPPFLAGS'
13391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13400 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13402 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13404 for ac_func in ldexpf
13406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13407 echo "$as_me:$LINENO: checking for $ac_func" >&5
13408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13409 if eval "test \"\${$as_ac_var+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 if test x$gcc_no_link = xyes; then
13413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13415 { (exit 1); exit 1; }; }
13417 cat >conftest.$ac_ext <<_ACEOF
13418 #line $LINENO "configure"
13421 cat confdefs.h >>conftest.$ac_ext
13422 cat >>conftest.$ac_ext <<_ACEOF
13423 /* end confdefs.h. */
13424 /* System header to define __stub macros and hopefully few prototypes,
13425 which can conflict with char $ac_func (); below.
13426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13427 <limits.h> exists even on freestanding compilers. */
13429 # include <limits.h>
13431 # include <assert.h>
13433 /* Override any gcc2 internal prototype to avoid an error. */
13438 /* We use char because int might match the return type of a gcc2
13439 builtin and then its argument prototype would still apply. */
13441 /* The GNU C library defines this for functions which it implements
13442 to always fail with ENOSYS. Some functions are actually named
13443 something starting with __ and the normal name is an alias. */
13444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13447 char (*f) () = $ac_func;
13456 return f != $ac_func;
13461 rm -f conftest.$ac_objext conftest$ac_exeext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13463 (eval $ac_link) 2>&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } &&
13467 { ac_try='test -s conftest$ac_exeext'
13468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13469 (eval $ac_try) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); }; }; then
13473 eval "$as_ac_var=yes"
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13478 eval "$as_ac_var=no"
13480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13484 if test `eval echo '${'$as_ac_var'}'` = yes; then
13485 cat >>confdefs.h <<_ACEOF
13486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13494 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13495 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13496 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13497 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 ac_cpp='$CXXCPP $CPPFLAGS'
13505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13509 cat >conftest.$ac_ext <<_ACEOF
13510 #line $LINENO "configure"
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13525 rm -f conftest.$ac_objext
13526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13527 (eval $ac_compile) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } &&
13531 { ac_try='test -s conftest.$ac_objext'
13532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13533 (eval $ac_try) 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; }; then
13537 glibcxx_cv_func__ldexpf_use=yes
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13542 glibcxx_cv_func__ldexpf_use=no
13544 rm -f conftest.$ac_objext conftest.$ac_ext
13546 ac_cpp='$CPP $CPPFLAGS'
13547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13556 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13558 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13560 for ac_func in _ldexpf
13562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13563 echo "$as_me:$LINENO: checking for $ac_func" >&5
13564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13565 if eval "test \"\${$as_ac_var+set}\" = set"; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 if test x$gcc_no_link = xyes; then
13569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13571 { (exit 1); exit 1; }; }
13573 cat >conftest.$ac_ext <<_ACEOF
13574 #line $LINENO "configure"
13577 cat confdefs.h >>conftest.$ac_ext
13578 cat >>conftest.$ac_ext <<_ACEOF
13579 /* end confdefs.h. */
13580 /* System header to define __stub macros and hopefully few prototypes,
13581 which can conflict with char $ac_func (); below.
13582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13583 <limits.h> exists even on freestanding compilers. */
13585 # include <limits.h>
13587 # include <assert.h>
13589 /* Override any gcc2 internal prototype to avoid an error. */
13594 /* We use char because int might match the return type of a gcc2
13595 builtin and then its argument prototype would still apply. */
13597 /* The GNU C library defines this for functions which it implements
13598 to always fail with ENOSYS. Some functions are actually named
13599 something starting with __ and the normal name is an alias. */
13600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13603 char (*f) () = $ac_func;
13612 return f != $ac_func;
13617 rm -f conftest.$ac_objext conftest$ac_exeext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13619 (eval $ac_link) 2>&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } &&
13623 { ac_try='test -s conftest$ac_exeext'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; }; then
13629 eval "$as_ac_var=yes"
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13634 eval "$as_ac_var=no"
13636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13640 if test `eval echo '${'$as_ac_var'}'` = yes; then
13641 cat >>confdefs.h <<_ACEOF
13642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13653 echo "$as_me:$LINENO: checking for logf declaration" >&5
13654 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13655 if test x${glibcxx_cv_func_logf_use+set} != xset; then
13656 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13657 echo $ECHO_N "(cached) $ECHO_C" >&6
13663 ac_cpp='$CXXCPP $CPPFLAGS'
13664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13668 cat >conftest.$ac_ext <<_ACEOF
13669 #line $LINENO "configure"
13672 cat confdefs.h >>conftest.$ac_ext
13673 cat >>conftest.$ac_ext <<_ACEOF
13674 /* end confdefs.h. */
13676 #ifdef HAVE_IEEEFP_H
13677 #include <ieeefp.h>
13688 rm -f conftest.$ac_objext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13690 (eval $ac_compile) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } &&
13694 { ac_try='test -s conftest.$ac_objext'
13695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13696 (eval $ac_try) 2>&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }; }; then
13700 glibcxx_cv_func_logf_use=yes
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.$ac_ext >&5
13705 glibcxx_cv_func_logf_use=no
13707 rm -f conftest.$ac_objext conftest.$ac_ext
13709 ac_cpp='$CPP $CPPFLAGS'
13710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13719 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13721 if test x$glibcxx_cv_func_logf_use = x"yes"; then
13723 for ac_func in logf
13725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13726 echo "$as_me:$LINENO: checking for $ac_func" >&5
13727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13728 if eval "test \"\${$as_ac_var+set}\" = set"; then
13729 echo $ECHO_N "(cached) $ECHO_C" >&6
13731 if test x$gcc_no_link = xyes; then
13732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13734 { (exit 1); exit 1; }; }
13736 cat >conftest.$ac_ext <<_ACEOF
13737 #line $LINENO "configure"
13740 cat confdefs.h >>conftest.$ac_ext
13741 cat >>conftest.$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13743 /* System header to define __stub macros and hopefully few prototypes,
13744 which can conflict with char $ac_func (); below.
13745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13746 <limits.h> exists even on freestanding compilers. */
13748 # include <limits.h>
13750 # include <assert.h>
13752 /* Override any gcc2 internal prototype to avoid an error. */
13757 /* We use char because int might match the return type of a gcc2
13758 builtin and then its argument prototype would still apply. */
13760 /* The GNU C library defines this for functions which it implements
13761 to always fail with ENOSYS. Some functions are actually named
13762 something starting with __ and the normal name is an alias. */
13763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13766 char (*f) () = $ac_func;
13775 return f != $ac_func;
13780 rm -f conftest.$ac_objext conftest$ac_exeext
13781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13782 (eval $ac_link) 2>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try='test -s conftest$ac_exeext'
13787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13788 (eval $ac_try) 2>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); }; }; then
13792 eval "$as_ac_var=yes"
13794 echo "$as_me: failed program was:" >&5
13795 sed 's/^/| /' conftest.$ac_ext >&5
13797 eval "$as_ac_var=no"
13799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13803 if test `eval echo '${'$as_ac_var'}'` = yes; then
13804 cat >>confdefs.h <<_ACEOF
13805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13813 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13814 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13815 if test x${glibcxx_cv_func__logf_use+set} != xset; then
13816 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13817 echo $ECHO_N "(cached) $ECHO_C" >&6
13823 ac_cpp='$CXXCPP $CPPFLAGS'
13824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13828 cat >conftest.$ac_ext <<_ACEOF
13829 #line $LINENO "configure"
13832 cat confdefs.h >>conftest.$ac_ext
13833 cat >>conftest.$ac_ext <<_ACEOF
13834 /* end confdefs.h. */
13836 #ifdef HAVE_IEEEFP_H
13837 #include <ieeefp.h>
13848 rm -f conftest.$ac_objext
13849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13850 (eval $ac_compile) 2>&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } &&
13854 { ac_try='test -s conftest.$ac_objext'
13855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856 (eval $ac_try) 2>&5
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; }; then
13860 glibcxx_cv_func__logf_use=yes
13862 echo "$as_me: failed program was:" >&5
13863 sed 's/^/| /' conftest.$ac_ext >&5
13865 glibcxx_cv_func__logf_use=no
13867 rm -f conftest.$ac_objext conftest.$ac_ext
13869 ac_cpp='$CPP $CPPFLAGS'
13870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13879 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13881 if test x$glibcxx_cv_func__logf_use = x"yes"; then
13883 for ac_func in _logf
13885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13886 echo "$as_me:$LINENO: checking for $ac_func" >&5
13887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13888 if eval "test \"\${$as_ac_var+set}\" = set"; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 if test x$gcc_no_link = xyes; then
13892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13894 { (exit 1); exit 1; }; }
13896 cat >conftest.$ac_ext <<_ACEOF
13897 #line $LINENO "configure"
13900 cat confdefs.h >>conftest.$ac_ext
13901 cat >>conftest.$ac_ext <<_ACEOF
13902 /* end confdefs.h. */
13903 /* System header to define __stub macros and hopefully few prototypes,
13904 which can conflict with char $ac_func (); below.
13905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13906 <limits.h> exists even on freestanding compilers. */
13908 # include <limits.h>
13910 # include <assert.h>
13912 /* Override any gcc2 internal prototype to avoid an error. */
13917 /* We use char because int might match the return type of a gcc2
13918 builtin and then its argument prototype would still apply. */
13920 /* The GNU C library defines this for functions which it implements
13921 to always fail with ENOSYS. Some functions are actually named
13922 something starting with __ and the normal name is an alias. */
13923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13926 char (*f) () = $ac_func;
13935 return f != $ac_func;
13940 rm -f conftest.$ac_objext conftest$ac_exeext
13941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13942 (eval $ac_link) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } &&
13946 { ac_try='test -s conftest$ac_exeext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 eval "$as_ac_var=yes"
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13957 eval "$as_ac_var=no"
13959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13963 if test `eval echo '${'$as_ac_var'}'` = yes; then
13964 cat >>confdefs.h <<_ACEOF
13965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13976 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13977 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13978 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13979 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13986 ac_cpp='$CXXCPP $CPPFLAGS'
13987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13991 cat >conftest.$ac_ext <<_ACEOF
13992 #line $LINENO "configure"
13995 cat confdefs.h >>conftest.$ac_ext
13996 cat >>conftest.$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
13999 #ifdef HAVE_IEEEFP_H
14000 #include <ieeefp.h>
14011 rm -f conftest.$ac_objext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14013 (eval $ac_compile) 2>&5
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try='test -s conftest.$ac_objext'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; }; then
14023 glibcxx_cv_func_log10f_use=yes
14025 echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.$ac_ext >&5
14028 glibcxx_cv_func_log10f_use=no
14030 rm -f conftest.$ac_objext conftest.$ac_ext
14032 ac_cpp='$CPP $CPPFLAGS'
14033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14042 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14044 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14046 for ac_func in log10f
14048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14049 echo "$as_me:$LINENO: checking for $ac_func" >&5
14050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14051 if eval "test \"\${$as_ac_var+set}\" = set"; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 if test x$gcc_no_link = xyes; then
14055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14057 { (exit 1); exit 1; }; }
14059 cat >conftest.$ac_ext <<_ACEOF
14060 #line $LINENO "configure"
14063 cat confdefs.h >>conftest.$ac_ext
14064 cat >>conftest.$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14066 /* System header to define __stub macros and hopefully few prototypes,
14067 which can conflict with char $ac_func (); below.
14068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14069 <limits.h> exists even on freestanding compilers. */
14071 # include <limits.h>
14073 # include <assert.h>
14075 /* Override any gcc2 internal prototype to avoid an error. */
14080 /* We use char because int might match the return type of a gcc2
14081 builtin and then its argument prototype would still apply. */
14083 /* The GNU C library defines this for functions which it implements
14084 to always fail with ENOSYS. Some functions are actually named
14085 something starting with __ and the normal name is an alias. */
14086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14089 char (*f) () = $ac_func;
14098 return f != $ac_func;
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14105 (eval $ac_link) 2>&5
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try='test -s conftest$ac_exeext'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; }; then
14115 eval "$as_ac_var=yes"
14117 echo "$as_me: failed program was:" >&5
14118 sed 's/^/| /' conftest.$ac_ext >&5
14120 eval "$as_ac_var=no"
14122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14126 if test `eval echo '${'$as_ac_var'}'` = yes; then
14127 cat >>confdefs.h <<_ACEOF
14128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14136 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14137 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14138 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14139 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 ac_cpp='$CXXCPP $CPPFLAGS'
14147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14151 cat >conftest.$ac_ext <<_ACEOF
14152 #line $LINENO "configure"
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14159 #ifdef HAVE_IEEEFP_H
14160 #include <ieeefp.h>
14171 rm -f conftest.$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } &&
14177 { ac_try='test -s conftest.$ac_objext'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; }; then
14183 glibcxx_cv_func__log10f_use=yes
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14188 glibcxx_cv_func__log10f_use=no
14190 rm -f conftest.$ac_objext conftest.$ac_ext
14192 ac_cpp='$CPP $CPPFLAGS'
14193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14202 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14204 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14206 for ac_func in _log10f
14208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14209 echo "$as_me:$LINENO: checking for $ac_func" >&5
14210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14211 if eval "test \"\${$as_ac_var+set}\" = set"; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14214 if test x$gcc_no_link = xyes; then
14215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14217 { (exit 1); exit 1; }; }
14219 cat >conftest.$ac_ext <<_ACEOF
14220 #line $LINENO "configure"
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14226 /* System header to define __stub macros and hopefully few prototypes,
14227 which can conflict with char $ac_func (); below.
14228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14229 <limits.h> exists even on freestanding compilers. */
14231 # include <limits.h>
14233 # include <assert.h>
14235 /* Override any gcc2 internal prototype to avoid an error. */
14240 /* We use char because int might match the return type of a gcc2
14241 builtin and then its argument prototype would still apply. */
14243 /* The GNU C library defines this for functions which it implements
14244 to always fail with ENOSYS. Some functions are actually named
14245 something starting with __ and the normal name is an alias. */
14246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14249 char (*f) () = $ac_func;
14258 return f != $ac_func;
14263 rm -f conftest.$ac_objext conftest$ac_exeext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14265 (eval $ac_link) 2>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -s conftest$ac_exeext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 eval "$as_ac_var=yes"
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.$ac_ext >&5
14280 eval "$as_ac_var=no"
14282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14286 if test `eval echo '${'$as_ac_var'}'` = yes; then
14287 cat >>confdefs.h <<_ACEOF
14288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14299 echo "$as_me:$LINENO: checking for modff declaration" >&5
14300 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14301 if test x${glibcxx_cv_func_modff_use+set} != xset; then
14302 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14303 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 ac_cpp='$CXXCPP $CPPFLAGS'
14310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14314 cat >conftest.$ac_ext <<_ACEOF
14315 #line $LINENO "configure"
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14330 rm -f conftest.$ac_objext
14331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14332 (eval $ac_compile) 2>&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); } &&
14336 { ac_try='test -s conftest.$ac_objext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 glibcxx_cv_func_modff_use=yes
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14347 glibcxx_cv_func_modff_use=no
14349 rm -f conftest.$ac_objext conftest.$ac_ext
14351 ac_cpp='$CPP $CPPFLAGS'
14352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14361 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14363 if test x$glibcxx_cv_func_modff_use = x"yes"; then
14365 for ac_func in modff
14367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14368 echo "$as_me:$LINENO: checking for $ac_func" >&5
14369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14370 if eval "test \"\${$as_ac_var+set}\" = set"; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14373 if test x$gcc_no_link = xyes; then
14374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14376 { (exit 1); exit 1; }; }
14378 cat >conftest.$ac_ext <<_ACEOF
14379 #line $LINENO "configure"
14382 cat confdefs.h >>conftest.$ac_ext
14383 cat >>conftest.$ac_ext <<_ACEOF
14384 /* end confdefs.h. */
14385 /* System header to define __stub macros and hopefully few prototypes,
14386 which can conflict with char $ac_func (); below.
14387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14388 <limits.h> exists even on freestanding compilers. */
14390 # include <limits.h>
14392 # include <assert.h>
14394 /* Override any gcc2 internal prototype to avoid an error. */
14399 /* We use char because int might match the return type of a gcc2
14400 builtin and then its argument prototype would still apply. */
14402 /* The GNU C library defines this for functions which it implements
14403 to always fail with ENOSYS. Some functions are actually named
14404 something starting with __ and the normal name is an alias. */
14405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14408 char (*f) () = $ac_func;
14417 return f != $ac_func;
14422 rm -f conftest.$ac_objext conftest$ac_exeext
14423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14424 (eval $ac_link) 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try='test -s conftest$ac_exeext'
14429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14430 (eval $ac_try) 2>&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; }; then
14434 eval "$as_ac_var=yes"
14436 echo "$as_me: failed program was:" >&5
14437 sed 's/^/| /' conftest.$ac_ext >&5
14439 eval "$as_ac_var=no"
14441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14445 if test `eval echo '${'$as_ac_var'}'` = yes; then
14446 cat >>confdefs.h <<_ACEOF
14447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14455 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14456 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14457 if test x${glibcxx_cv_func__modff_use+set} != xset; then
14458 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14459 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 ac_cpp='$CXXCPP $CPPFLAGS'
14466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14470 cat >conftest.$ac_ext <<_ACEOF
14471 #line $LINENO "configure"
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14486 rm -f conftest.$ac_objext
14487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14488 (eval $ac_compile) 2>&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try='test -s conftest.$ac_objext'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; }; then
14498 glibcxx_cv_func__modff_use=yes
14500 echo "$as_me: failed program was:" >&5
14501 sed 's/^/| /' conftest.$ac_ext >&5
14503 glibcxx_cv_func__modff_use=no
14505 rm -f conftest.$ac_objext conftest.$ac_ext
14507 ac_cpp='$CPP $CPPFLAGS'
14508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14517 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14519 if test x$glibcxx_cv_func__modff_use = x"yes"; then
14521 for ac_func in _modff
14523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14524 echo "$as_me:$LINENO: checking for $ac_func" >&5
14525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14526 if eval "test \"\${$as_ac_var+set}\" = set"; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 if test x$gcc_no_link = xyes; then
14530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14532 { (exit 1); exit 1; }; }
14534 cat >conftest.$ac_ext <<_ACEOF
14535 #line $LINENO "configure"
14538 cat confdefs.h >>conftest.$ac_ext
14539 cat >>conftest.$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14541 /* System header to define __stub macros and hopefully few prototypes,
14542 which can conflict with char $ac_func (); below.
14543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14544 <limits.h> exists even on freestanding compilers. */
14546 # include <limits.h>
14548 # include <assert.h>
14550 /* Override any gcc2 internal prototype to avoid an error. */
14555 /* We use char because int might match the return type of a gcc2
14556 builtin and then its argument prototype would still apply. */
14558 /* The GNU C library defines this for functions which it implements
14559 to always fail with ENOSYS. Some functions are actually named
14560 something starting with __ and the normal name is an alias. */
14561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14564 char (*f) () = $ac_func;
14573 return f != $ac_func;
14578 rm -f conftest.$ac_objext conftest$ac_exeext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14580 (eval $ac_link) 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); } &&
14584 { ac_try='test -s conftest$ac_exeext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 eval "$as_ac_var=yes"
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 eval "$as_ac_var=no"
14597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14601 if test `eval echo '${'$as_ac_var'}'` = yes; then
14602 cat >>confdefs.h <<_ACEOF
14603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14614 echo "$as_me:$LINENO: checking for powf declaration" >&5
14615 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14616 if test x${glibcxx_cv_func_powf_use+set} != xset; then
14617 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14624 ac_cpp='$CXXCPP $CPPFLAGS'
14625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14629 cat >conftest.$ac_ext <<_ACEOF
14630 #line $LINENO "configure"
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14645 rm -f conftest.$ac_objext
14646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14647 (eval $ac_compile) 2>&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -s conftest.$ac_objext'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; }; then
14657 glibcxx_cv_func_powf_use=yes
14659 echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14662 glibcxx_cv_func_powf_use=no
14664 rm -f conftest.$ac_objext conftest.$ac_ext
14666 ac_cpp='$CPP $CPPFLAGS'
14667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14676 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14678 if test x$glibcxx_cv_func_powf_use = x"yes"; then
14680 for ac_func in powf
14682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14683 echo "$as_me:$LINENO: checking for $ac_func" >&5
14684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14685 if eval "test \"\${$as_ac_var+set}\" = set"; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14688 if test x$gcc_no_link = xyes; then
14689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14691 { (exit 1); exit 1; }; }
14693 cat >conftest.$ac_ext <<_ACEOF
14694 #line $LINENO "configure"
14697 cat confdefs.h >>conftest.$ac_ext
14698 cat >>conftest.$ac_ext <<_ACEOF
14699 /* end confdefs.h. */
14700 /* System header to define __stub macros and hopefully few prototypes,
14701 which can conflict with char $ac_func (); below.
14702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14703 <limits.h> exists even on freestanding compilers. */
14705 # include <limits.h>
14707 # include <assert.h>
14709 /* Override any gcc2 internal prototype to avoid an error. */
14714 /* We use char because int might match the return type of a gcc2
14715 builtin and then its argument prototype would still apply. */
14717 /* The GNU C library defines this for functions which it implements
14718 to always fail with ENOSYS. Some functions are actually named
14719 something starting with __ and the normal name is an alias. */
14720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14723 char (*f) () = $ac_func;
14732 return f != $ac_func;
14737 rm -f conftest.$ac_objext conftest$ac_exeext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14739 (eval $ac_link) 2>&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try='test -s conftest$ac_exeext'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; }; then
14749 eval "$as_ac_var=yes"
14751 echo "$as_me: failed program was:" >&5
14752 sed 's/^/| /' conftest.$ac_ext >&5
14754 eval "$as_ac_var=no"
14756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14760 if test `eval echo '${'$as_ac_var'}'` = yes; then
14761 cat >>confdefs.h <<_ACEOF
14762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14770 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14771 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14772 if test x${glibcxx_cv_func__powf_use+set} != xset; then
14773 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 ac_cpp='$CXXCPP $CPPFLAGS'
14781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14785 cat >conftest.$ac_ext <<_ACEOF
14786 #line $LINENO "configure"
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14801 rm -f conftest.$ac_objext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14803 (eval $ac_compile) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -s conftest.$ac_objext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 glibcxx_cv_func__powf_use=yes
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.$ac_ext >&5
14818 glibcxx_cv_func__powf_use=no
14820 rm -f conftest.$ac_objext conftest.$ac_ext
14822 ac_cpp='$CPP $CPPFLAGS'
14823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14831 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14832 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14834 if test x$glibcxx_cv_func__powf_use = x"yes"; then
14836 for ac_func in _powf
14838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14839 echo "$as_me:$LINENO: checking for $ac_func" >&5
14840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14841 if eval "test \"\${$as_ac_var+set}\" = set"; then
14842 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 if test x$gcc_no_link = xyes; then
14845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14847 { (exit 1); exit 1; }; }
14849 cat >conftest.$ac_ext <<_ACEOF
14850 #line $LINENO "configure"
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 /* System header to define __stub macros and hopefully few prototypes,
14857 which can conflict with char $ac_func (); below.
14858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14859 <limits.h> exists even on freestanding compilers. */
14861 # include <limits.h>
14863 # include <assert.h>
14865 /* Override any gcc2 internal prototype to avoid an error. */
14870 /* We use char because int might match the return type of a gcc2
14871 builtin and then its argument prototype would still apply. */
14873 /* The GNU C library defines this for functions which it implements
14874 to always fail with ENOSYS. Some functions are actually named
14875 something starting with __ and the normal name is an alias. */
14876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14879 char (*f) () = $ac_func;
14888 return f != $ac_func;
14893 rm -f conftest.$ac_objext conftest$ac_exeext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14895 (eval $ac_link) 2>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); } &&
14899 { ac_try='test -s conftest$ac_exeext'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; }; then
14905 eval "$as_ac_var=yes"
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14910 eval "$as_ac_var=no"
14912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14916 if test `eval echo '${'$as_ac_var'}'` = yes; then
14917 cat >>confdefs.h <<_ACEOF
14918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14929 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14930 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14931 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14932 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 ac_cpp='$CXXCPP $CPPFLAGS'
14940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14944 cat >conftest.$ac_ext <<_ACEOF
14945 #line $LINENO "configure"
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14952 #ifdef HAVE_IEEEFP_H
14953 #include <ieeefp.h>
14964 rm -f conftest.$ac_objext
14965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14966 (eval $ac_compile) 2>&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } &&
14970 { ac_try='test -s conftest.$ac_objext'
14971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 (eval $ac_try) 2>&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); }; }; then
14976 glibcxx_cv_func_sqrtf_use=yes
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.$ac_ext >&5
14981 glibcxx_cv_func_sqrtf_use=no
14983 rm -f conftest.$ac_objext conftest.$ac_ext
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14995 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14997 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14999 for ac_func in sqrtf
15001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15002 echo "$as_me:$LINENO: checking for $ac_func" >&5
15003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15004 if eval "test \"\${$as_ac_var+set}\" = set"; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15007 if test x$gcc_no_link = xyes; then
15008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15010 { (exit 1); exit 1; }; }
15012 cat >conftest.$ac_ext <<_ACEOF
15013 #line $LINENO "configure"
15016 cat confdefs.h >>conftest.$ac_ext
15017 cat >>conftest.$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15019 /* System header to define __stub macros and hopefully few prototypes,
15020 which can conflict with char $ac_func (); below.
15021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15022 <limits.h> exists even on freestanding compilers. */
15024 # include <limits.h>
15026 # include <assert.h>
15028 /* Override any gcc2 internal prototype to avoid an error. */
15033 /* We use char because int might match the return type of a gcc2
15034 builtin and then its argument prototype would still apply. */
15036 /* The GNU C library defines this for functions which it implements
15037 to always fail with ENOSYS. Some functions are actually named
15038 something starting with __ and the normal name is an alias. */
15039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15042 char (*f) () = $ac_func;
15051 return f != $ac_func;
15056 rm -f conftest.$ac_objext conftest$ac_exeext
15057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15058 (eval $ac_link) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } &&
15062 { ac_try='test -s conftest$ac_exeext'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; }; then
15068 eval "$as_ac_var=yes"
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15073 eval "$as_ac_var=no"
15075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15079 if test `eval echo '${'$as_ac_var'}'` = yes; then
15080 cat >>confdefs.h <<_ACEOF
15081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15089 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15090 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15091 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15092 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 ac_cpp='$CXXCPP $CPPFLAGS'
15100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104 cat >conftest.$ac_ext <<_ACEOF
15105 #line $LINENO "configure"
15108 cat confdefs.h >>conftest.$ac_ext
15109 cat >>conftest.$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15112 #ifdef HAVE_IEEEFP_H
15113 #include <ieeefp.h>
15124 rm -f conftest.$ac_objext
15125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15126 (eval $ac_compile) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 glibcxx_cv_func__sqrtf_use=yes
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 glibcxx_cv_func__sqrtf_use=no
15143 rm -f conftest.$ac_objext conftest.$ac_ext
15145 ac_cpp='$CPP $CPPFLAGS'
15146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15155 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15157 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15159 for ac_func in _sqrtf
15161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15162 echo "$as_me:$LINENO: checking for $ac_func" >&5
15163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15164 if eval "test \"\${$as_ac_var+set}\" = set"; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15167 if test x$gcc_no_link = xyes; then
15168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15170 { (exit 1); exit 1; }; }
15172 cat >conftest.$ac_ext <<_ACEOF
15173 #line $LINENO "configure"
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15179 /* System header to define __stub macros and hopefully few prototypes,
15180 which can conflict with char $ac_func (); below.
15181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15182 <limits.h> exists even on freestanding compilers. */
15184 # include <limits.h>
15186 # include <assert.h>
15188 /* Override any gcc2 internal prototype to avoid an error. */
15193 /* We use char because int might match the return type of a gcc2
15194 builtin and then its argument prototype would still apply. */
15196 /* The GNU C library defines this for functions which it implements
15197 to always fail with ENOSYS. Some functions are actually named
15198 something starting with __ and the normal name is an alias. */
15199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15202 char (*f) () = $ac_func;
15211 return f != $ac_func;
15216 rm -f conftest.$ac_objext conftest$ac_exeext
15217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15218 (eval $ac_link) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } &&
15222 { ac_try='test -s conftest$ac_exeext'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; }; then
15228 eval "$as_ac_var=yes"
15230 echo "$as_me: failed program was:" >&5
15231 sed 's/^/| /' conftest.$ac_ext >&5
15233 eval "$as_ac_var=no"
15235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15239 if test `eval echo '${'$as_ac_var'}'` = yes; then
15240 cat >>confdefs.h <<_ACEOF
15241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15252 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15253 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15254 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15255 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15256 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 ac_cpp='$CXXCPP $CPPFLAGS'
15263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15267 cat >conftest.$ac_ext <<_ACEOF
15268 #line $LINENO "configure"
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15283 rm -f conftest.$ac_objext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15285 (eval $ac_compile) 2>&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } &&
15289 { ac_try='test -s conftest.$ac_objext'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15291 (eval $ac_try) 2>&5
15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; }; then
15295 glibcxx_cv_func_sincosf_use=yes
15297 echo "$as_me: failed program was:" >&5
15298 sed 's/^/| /' conftest.$ac_ext >&5
15300 glibcxx_cv_func_sincosf_use=no
15302 rm -f conftest.$ac_objext conftest.$ac_ext
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15314 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15316 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15318 for ac_func in sincosf
15320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15321 echo "$as_me:$LINENO: checking for $ac_func" >&5
15322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15323 if eval "test \"\${$as_ac_var+set}\" = set"; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 if test x$gcc_no_link = xyes; then
15327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15329 { (exit 1); exit 1; }; }
15331 cat >conftest.$ac_ext <<_ACEOF
15332 #line $LINENO "configure"
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15338 /* System header to define __stub macros and hopefully few prototypes,
15339 which can conflict with char $ac_func (); below.
15340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15341 <limits.h> exists even on freestanding compilers. */
15343 # include <limits.h>
15345 # include <assert.h>
15347 /* Override any gcc2 internal prototype to avoid an error. */
15352 /* We use char because int might match the return type of a gcc2
15353 builtin and then its argument prototype would still apply. */
15355 /* The GNU C library defines this for functions which it implements
15356 to always fail with ENOSYS. Some functions are actually named
15357 something starting with __ and the normal name is an alias. */
15358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15361 char (*f) () = $ac_func;
15370 return f != $ac_func;
15375 rm -f conftest.$ac_objext conftest$ac_exeext
15376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15377 (eval $ac_link) 2>&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } &&
15381 { ac_try='test -s conftest$ac_exeext'
15382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15383 (eval $ac_try) 2>&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); }; }; then
15387 eval "$as_ac_var=yes"
15389 echo "$as_me: failed program was:" >&5
15390 sed 's/^/| /' conftest.$ac_ext >&5
15392 eval "$as_ac_var=no"
15394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15398 if test `eval echo '${'$as_ac_var'}'` = yes; then
15399 cat >>confdefs.h <<_ACEOF
15400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15408 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15409 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15410 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15411 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 ac_cpp='$CXXCPP $CPPFLAGS'
15419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15423 cat >conftest.$ac_ext <<_ACEOF
15424 #line $LINENO "configure"
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15439 rm -f conftest.$ac_objext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15441 (eval $ac_compile) 2>&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } &&
15445 { ac_try='test -s conftest.$ac_objext'
15446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15447 (eval $ac_try) 2>&5
15449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450 (exit $ac_status); }; }; then
15451 glibcxx_cv_func__sincosf_use=yes
15453 echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.$ac_ext >&5
15456 glibcxx_cv_func__sincosf_use=no
15458 rm -f conftest.$ac_objext conftest.$ac_ext
15460 ac_cpp='$CPP $CPPFLAGS'
15461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15469 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15470 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15472 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15474 for ac_func in _sincosf
15476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15477 echo "$as_me:$LINENO: checking for $ac_func" >&5
15478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15479 if eval "test \"\${$as_ac_var+set}\" = set"; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 if test x$gcc_no_link = xyes; then
15483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15485 { (exit 1); exit 1; }; }
15487 cat >conftest.$ac_ext <<_ACEOF
15488 #line $LINENO "configure"
15491 cat confdefs.h >>conftest.$ac_ext
15492 cat >>conftest.$ac_ext <<_ACEOF
15493 /* end confdefs.h. */
15494 /* System header to define __stub macros and hopefully few prototypes,
15495 which can conflict with char $ac_func (); below.
15496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15497 <limits.h> exists even on freestanding compilers. */
15499 # include <limits.h>
15501 # include <assert.h>
15503 /* Override any gcc2 internal prototype to avoid an error. */
15508 /* We use char because int might match the return type of a gcc2
15509 builtin and then its argument prototype would still apply. */
15511 /* The GNU C library defines this for functions which it implements
15512 to always fail with ENOSYS. Some functions are actually named
15513 something starting with __ and the normal name is an alias. */
15514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15517 char (*f) () = $ac_func;
15526 return f != $ac_func;
15531 rm -f conftest.$ac_objext conftest$ac_exeext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15533 (eval $ac_link) 2>&5
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -s conftest$ac_exeext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 eval "$as_ac_var=yes"
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15548 eval "$as_ac_var=no"
15550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15554 if test `eval echo '${'$as_ac_var'}'` = yes; then
15555 cat >>confdefs.h <<_ACEOF
15556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15567 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15568 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15569 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15570 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15571 echo $ECHO_N "(cached) $ECHO_C" >&6
15577 ac_cpp='$CXXCPP $CPPFLAGS'
15578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15582 cat >conftest.$ac_ext <<_ACEOF
15583 #line $LINENO "configure"
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15590 #ifdef HAVE_IEEEFP_H
15591 #include <ieeefp.h>
15602 rm -f conftest.$ac_objext
15603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15604 (eval $ac_compile) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try='test -s conftest.$ac_objext'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; }; then
15614 glibcxx_cv_func_finitef_use=yes
15616 echo "$as_me: failed program was:" >&5
15617 sed 's/^/| /' conftest.$ac_ext >&5
15619 glibcxx_cv_func_finitef_use=no
15621 rm -f conftest.$ac_objext conftest.$ac_ext
15623 ac_cpp='$CPP $CPPFLAGS'
15624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15633 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15635 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15637 for ac_func in finitef
15639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15640 echo "$as_me:$LINENO: checking for $ac_func" >&5
15641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15642 if eval "test \"\${$as_ac_var+set}\" = set"; then
15643 echo $ECHO_N "(cached) $ECHO_C" >&6
15645 if test x$gcc_no_link = xyes; then
15646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15648 { (exit 1); exit 1; }; }
15650 cat >conftest.$ac_ext <<_ACEOF
15651 #line $LINENO "configure"
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15657 /* System header to define __stub macros and hopefully few prototypes,
15658 which can conflict with char $ac_func (); below.
15659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15660 <limits.h> exists even on freestanding compilers. */
15662 # include <limits.h>
15664 # include <assert.h>
15666 /* Override any gcc2 internal prototype to avoid an error. */
15671 /* We use char because int might match the return type of a gcc2
15672 builtin and then its argument prototype would still apply. */
15674 /* The GNU C library defines this for functions which it implements
15675 to always fail with ENOSYS. Some functions are actually named
15676 something starting with __ and the normal name is an alias. */
15677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15680 char (*f) () = $ac_func;
15689 return f != $ac_func;
15694 rm -f conftest.$ac_objext conftest$ac_exeext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15696 (eval $ac_link) 2>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try='test -s conftest$ac_exeext'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; }; then
15706 eval "$as_ac_var=yes"
15708 echo "$as_me: failed program was:" >&5
15709 sed 's/^/| /' conftest.$ac_ext >&5
15711 eval "$as_ac_var=no"
15713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15717 if test `eval echo '${'$as_ac_var'}'` = yes; then
15718 cat >>confdefs.h <<_ACEOF
15719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15727 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15728 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15729 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15730 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15731 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 ac_cpp='$CXXCPP $CPPFLAGS'
15738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15742 cat >conftest.$ac_ext <<_ACEOF
15743 #line $LINENO "configure"
15746 cat confdefs.h >>conftest.$ac_ext
15747 cat >>conftest.$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15750 #ifdef HAVE_IEEEFP_H
15751 #include <ieeefp.h>
15762 rm -f conftest.$ac_objext
15763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15764 (eval $ac_compile) 2>&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try='test -s conftest.$ac_objext'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; }; then
15774 glibcxx_cv_func__finitef_use=yes
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.$ac_ext >&5
15779 glibcxx_cv_func__finitef_use=no
15781 rm -f conftest.$ac_objext conftest.$ac_ext
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15793 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15795 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15797 for ac_func in _finitef
15799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15800 echo "$as_me:$LINENO: checking for $ac_func" >&5
15801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15802 if eval "test \"\${$as_ac_var+set}\" = set"; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 if test x$gcc_no_link = xyes; then
15806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15808 { (exit 1); exit 1; }; }
15810 cat >conftest.$ac_ext <<_ACEOF
15811 #line $LINENO "configure"
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 /* System header to define __stub macros and hopefully few prototypes,
15818 which can conflict with char $ac_func (); below.
15819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15820 <limits.h> exists even on freestanding compilers. */
15822 # include <limits.h>
15824 # include <assert.h>
15826 /* Override any gcc2 internal prototype to avoid an error. */
15831 /* We use char because int might match the return type of a gcc2
15832 builtin and then its argument prototype would still apply. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15840 char (*f) () = $ac_func;
15849 return f != $ac_func;
15854 rm -f conftest.$ac_objext conftest$ac_exeext
15855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15856 (eval $ac_link) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try='test -s conftest$ac_exeext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 eval "$as_ac_var=yes"
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.$ac_ext >&5
15871 eval "$as_ac_var=no"
15873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15877 if test `eval echo '${'$as_ac_var'}'` = yes; then
15878 cat >>confdefs.h <<_ACEOF
15879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15890 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15891 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15892 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15893 echo $ECHO_N "(cached) $ECHO_C" >&6
15899 ac_cpp='$CXXCPP $CPPFLAGS'
15900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15904 cat >conftest.$ac_ext <<_ACEOF
15905 #line $LINENO "configure"
15908 cat confdefs.h >>conftest.$ac_ext
15909 cat >>conftest.$ac_ext <<_ACEOF
15910 /* end confdefs.h. */
15915 `for x in acosl asinl atanl \
15917 coshl sinhl tanhl; do echo "$x (0);"; done`
15922 rm -f conftest.$ac_objext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15924 (eval $ac_compile) 2>&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } &&
15928 { ac_try='test -s conftest.$ac_objext'
15929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 (eval $ac_try) 2>&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); }; }; then
15934 glibcxx_cv_func_long_double_trig_use=yes
15936 echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.$ac_ext >&5
15939 glibcxx_cv_func_long_double_trig_use=no
15941 rm -f conftest.$ac_objext conftest.$ac_ext
15943 ac_cpp='$CPP $CPPFLAGS'
15944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15951 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15952 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15962 for ac_func in acosl asinl atanl \
15966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15967 echo "$as_me:$LINENO: checking for $ac_func" >&5
15968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15969 if eval "test \"\${$as_ac_var+set}\" = set"; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 if test x$gcc_no_link = xyes; then
15973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15975 { (exit 1); exit 1; }; }
15977 cat >conftest.$ac_ext <<_ACEOF
15978 #line $LINENO "configure"
15981 cat confdefs.h >>conftest.$ac_ext
15982 cat >>conftest.$ac_ext <<_ACEOF
15983 /* end confdefs.h. */
15984 /* System header to define __stub macros and hopefully few prototypes,
15985 which can conflict with char $ac_func (); below.
15986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15987 <limits.h> exists even on freestanding compilers. */
15989 # include <limits.h>
15991 # include <assert.h>
15993 /* Override any gcc2 internal prototype to avoid an error. */
15998 /* We use char because int might match the return type of a gcc2
15999 builtin and then its argument prototype would still apply. */
16001 /* The GNU C library defines this for functions which it implements
16002 to always fail with ENOSYS. Some functions are actually named
16003 something starting with __ and the normal name is an alias. */
16004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16007 char (*f) () = $ac_func;
16016 return f != $ac_func;
16021 rm -f conftest.$ac_objext conftest$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } &&
16027 { ac_try='test -s conftest$ac_exeext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 eval "$as_ac_var=yes"
16035 echo "$as_me: failed program was:" >&5
16036 sed 's/^/| /' conftest.$ac_ext >&5
16038 eval "$as_ac_var=no"
16040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16044 if test `eval echo '${'$as_ac_var'}'` = yes; then
16045 cat >>confdefs.h <<_ACEOF
16046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16055 echo "$as_me:$LINENO: checking for long double round functions" >&5
16056 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16057 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16058 echo $ECHO_N "(cached) $ECHO_C" >&6
16064 ac_cpp='$CXXCPP $CPPFLAGS'
16065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16069 cat >conftest.$ac_ext <<_ACEOF
16070 #line $LINENO "configure"
16073 cat confdefs.h >>conftest.$ac_ext
16074 cat >>conftest.$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16080 `for x in ceill floorl; do echo "$x (0);"; done`
16085 rm -f conftest.$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } &&
16091 { ac_try='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 glibcxx_cv_func_long_double_round_use=yes
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16102 glibcxx_cv_func_long_double_round_use=no
16104 rm -f conftest.$ac_objext conftest.$ac_ext
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16114 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16115 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16118 for ac_func in ceill floorl
16120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16121 echo "$as_me:$LINENO: checking for $ac_func" >&5
16122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16123 if eval "test \"\${$as_ac_var+set}\" = set"; then
16124 echo $ECHO_N "(cached) $ECHO_C" >&6
16126 if test x$gcc_no_link = xyes; then
16127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16129 { (exit 1); exit 1; }; }
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. */
16138 /* System header to define __stub macros and hopefully few prototypes,
16139 which can conflict with char $ac_func (); below.
16140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16141 <limits.h> exists even on freestanding compilers. */
16143 # include <limits.h>
16145 # include <assert.h>
16147 /* Override any gcc2 internal prototype to avoid an error. */
16152 /* We use char because int might match the return type of a gcc2
16153 builtin and then its argument prototype would still apply. */
16155 /* The GNU C library defines this for functions which it implements
16156 to always fail with ENOSYS. Some functions are actually named
16157 something starting with __ and the normal name is an alias. */
16158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16161 char (*f) () = $ac_func;
16170 return f != $ac_func;
16175 rm -f conftest.$ac_objext conftest$ac_exeext
16176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16177 (eval $ac_link) 2>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } &&
16181 { ac_try='test -s conftest$ac_exeext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 eval "$as_ac_var=yes"
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16192 eval "$as_ac_var=no"
16194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16198 if test `eval echo '${'$as_ac_var'}'` = yes; then
16199 cat >>confdefs.h <<_ACEOF
16200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16210 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16211 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16212 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16213 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16220 ac_cpp='$CXXCPP $CPPFLAGS'
16221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16225 cat >conftest.$ac_ext <<_ACEOF
16226 #line $LINENO "configure"
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16233 #ifdef HAVE_IEEEFP_H
16234 #include <ieeefp.h>
16245 rm -f conftest.$ac_objext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16247 (eval $ac_compile) 2>&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 glibcxx_cv_func_isnanl_use=yes
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16262 glibcxx_cv_func_isnanl_use=no
16264 rm -f conftest.$ac_objext conftest.$ac_ext
16266 ac_cpp='$CPP $CPPFLAGS'
16267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16275 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16276 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16278 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16280 for ac_func in isnanl
16282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16283 echo "$as_me:$LINENO: checking for $ac_func" >&5
16284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16285 if eval "test \"\${$as_ac_var+set}\" = set"; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 if test x$gcc_no_link = xyes; then
16289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16291 { (exit 1); exit 1; }; }
16293 cat >conftest.$ac_ext <<_ACEOF
16294 #line $LINENO "configure"
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300 /* System header to define __stub macros and hopefully few prototypes,
16301 which can conflict with char $ac_func (); below.
16302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16303 <limits.h> exists even on freestanding compilers. */
16305 # include <limits.h>
16307 # include <assert.h>
16309 /* Override any gcc2 internal prototype to avoid an error. */
16314 /* We use char because int might match the return type of a gcc2
16315 builtin and then its argument prototype would still apply. */
16317 /* The GNU C library defines this for functions which it implements
16318 to always fail with ENOSYS. Some functions are actually named
16319 something starting with __ and the normal name is an alias. */
16320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16323 char (*f) () = $ac_func;
16332 return f != $ac_func;
16337 rm -f conftest.$ac_objext conftest$ac_exeext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16339 (eval $ac_link) 2>&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try='test -s conftest$ac_exeext'
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16345 (eval $ac_try) 2>&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; }; then
16349 eval "$as_ac_var=yes"
16351 echo "$as_me: failed program was:" >&5
16352 sed 's/^/| /' conftest.$ac_ext >&5
16354 eval "$as_ac_var=no"
16356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16360 if test `eval echo '${'$as_ac_var'}'` = yes; then
16361 cat >>confdefs.h <<_ACEOF
16362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16370 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16371 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16372 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16373 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16374 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 ac_cpp='$CXXCPP $CPPFLAGS'
16381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16385 cat >conftest.$ac_ext <<_ACEOF
16386 #line $LINENO "configure"
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16393 #ifdef HAVE_IEEEFP_H
16394 #include <ieeefp.h>
16405 rm -f conftest.$ac_objext
16406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407 (eval $ac_compile) 2>&5
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } &&
16411 { ac_try='test -s conftest.$ac_objext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 glibcxx_cv_func__isnanl_use=yes
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.$ac_ext >&5
16422 glibcxx_cv_func__isnanl_use=no
16424 rm -f conftest.$ac_objext conftest.$ac_ext
16426 ac_cpp='$CPP $CPPFLAGS'
16427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16436 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16438 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16440 for ac_func in _isnanl
16442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16443 echo "$as_me:$LINENO: checking for $ac_func" >&5
16444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16445 if eval "test \"\${$as_ac_var+set}\" = set"; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16448 if test x$gcc_no_link = xyes; then
16449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16451 { (exit 1); exit 1; }; }
16453 cat >conftest.$ac_ext <<_ACEOF
16454 #line $LINENO "configure"
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 /* System header to define __stub macros and hopefully few prototypes,
16461 which can conflict with char $ac_func (); below.
16462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16463 <limits.h> exists even on freestanding compilers. */
16465 # include <limits.h>
16467 # include <assert.h>
16469 /* Override any gcc2 internal prototype to avoid an error. */
16474 /* We use char because int might match the return type of a gcc2
16475 builtin and then its argument prototype would still apply. */
16477 /* The GNU C library defines this for functions which it implements
16478 to always fail with ENOSYS. Some functions are actually named
16479 something starting with __ and the normal name is an alias. */
16480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16483 char (*f) () = $ac_func;
16492 return f != $ac_func;
16497 rm -f conftest.$ac_objext conftest$ac_exeext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16499 (eval $ac_link) 2>&5
16501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502 (exit $ac_status); } &&
16503 { ac_try='test -s conftest$ac_exeext'
16504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16505 (eval $ac_try) 2>&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); }; }; then
16509 eval "$as_ac_var=yes"
16511 echo "$as_me: failed program was:" >&5
16512 sed 's/^/| /' conftest.$ac_ext >&5
16514 eval "$as_ac_var=no"
16516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16520 if test `eval echo '${'$as_ac_var'}'` = yes; then
16521 cat >>confdefs.h <<_ACEOF
16522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16533 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16534 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16535 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16536 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16543 ac_cpp='$CXXCPP $CPPFLAGS'
16544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16548 cat >conftest.$ac_ext <<_ACEOF
16549 #line $LINENO "configure"
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16556 #ifdef HAVE_IEEEFP_H
16557 #include <ieeefp.h>
16568 rm -f conftest.$ac_objext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16570 (eval $ac_compile) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } &&
16574 { ac_try='test -s conftest.$ac_objext'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; }; then
16580 glibcxx_cv_func_isinfl_use=yes
16582 echo "$as_me: failed program was:" >&5
16583 sed 's/^/| /' conftest.$ac_ext >&5
16585 glibcxx_cv_func_isinfl_use=no
16587 rm -f conftest.$ac_objext conftest.$ac_ext
16589 ac_cpp='$CPP $CPPFLAGS'
16590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16599 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16601 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16603 for ac_func in isinfl
16605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16606 echo "$as_me:$LINENO: checking for $ac_func" >&5
16607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16608 if eval "test \"\${$as_ac_var+set}\" = set"; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 if test x$gcc_no_link = xyes; then
16612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16614 { (exit 1); exit 1; }; }
16616 cat >conftest.$ac_ext <<_ACEOF
16617 #line $LINENO "configure"
16620 cat confdefs.h >>conftest.$ac_ext
16621 cat >>conftest.$ac_ext <<_ACEOF
16622 /* end confdefs.h. */
16623 /* System header to define __stub macros and hopefully few prototypes,
16624 which can conflict with char $ac_func (); below.
16625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16626 <limits.h> exists even on freestanding compilers. */
16628 # include <limits.h>
16630 # include <assert.h>
16632 /* Override any gcc2 internal prototype to avoid an error. */
16637 /* We use char because int might match the return type of a gcc2
16638 builtin and then its argument prototype would still apply. */
16640 /* The GNU C library defines this for functions which it implements
16641 to always fail with ENOSYS. Some functions are actually named
16642 something starting with __ and the normal name is an alias. */
16643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16646 char (*f) () = $ac_func;
16655 return f != $ac_func;
16660 rm -f conftest.$ac_objext conftest$ac_exeext
16661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16662 (eval $ac_link) 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try='test -s conftest$ac_exeext'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; }; then
16672 eval "$as_ac_var=yes"
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.$ac_ext >&5
16677 eval "$as_ac_var=no"
16679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16683 if test `eval echo '${'$as_ac_var'}'` = yes; then
16684 cat >>confdefs.h <<_ACEOF
16685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16693 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16694 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16695 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16696 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16703 ac_cpp='$CXXCPP $CPPFLAGS'
16704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16708 cat >conftest.$ac_ext <<_ACEOF
16709 #line $LINENO "configure"
16712 cat confdefs.h >>conftest.$ac_ext
16713 cat >>conftest.$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16716 #ifdef HAVE_IEEEFP_H
16717 #include <ieeefp.h>
16728 rm -f conftest.$ac_objext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16730 (eval $ac_compile) 2>&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); } &&
16734 { ac_try='test -s conftest.$ac_objext'
16735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16736 (eval $ac_try) 2>&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); }; }; then
16740 glibcxx_cv_func__isinfl_use=yes
16742 echo "$as_me: failed program was:" >&5
16743 sed 's/^/| /' conftest.$ac_ext >&5
16745 glibcxx_cv_func__isinfl_use=no
16747 rm -f conftest.$ac_objext conftest.$ac_ext
16749 ac_cpp='$CPP $CPPFLAGS'
16750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16759 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16761 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16763 for ac_func in _isinfl
16765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16766 echo "$as_me:$LINENO: checking for $ac_func" >&5
16767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16768 if eval "test \"\${$as_ac_var+set}\" = set"; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 if test x$gcc_no_link = xyes; then
16772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16774 { (exit 1); exit 1; }; }
16776 cat >conftest.$ac_ext <<_ACEOF
16777 #line $LINENO "configure"
16780 cat confdefs.h >>conftest.$ac_ext
16781 cat >>conftest.$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 /* System header to define __stub macros and hopefully few prototypes,
16784 which can conflict with char $ac_func (); below.
16785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16786 <limits.h> exists even on freestanding compilers. */
16788 # include <limits.h>
16790 # include <assert.h>
16792 /* Override any gcc2 internal prototype to avoid an error. */
16797 /* We use char because int might match the return type of a gcc2
16798 builtin and then its argument prototype would still apply. */
16800 /* The GNU C library defines this for functions which it implements
16801 to always fail with ENOSYS. Some functions are actually named
16802 something starting with __ and the normal name is an alias. */
16803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16806 char (*f) () = $ac_func;
16815 return f != $ac_func;
16820 rm -f conftest.$ac_objext conftest$ac_exeext
16821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16822 (eval $ac_link) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try='test -s conftest$ac_exeext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 eval "$as_ac_var=yes"
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 eval "$as_ac_var=no"
16839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16843 if test `eval echo '${'$as_ac_var'}'` = yes; then
16844 cat >>confdefs.h <<_ACEOF
16845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16856 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16857 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16858 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16859 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16860 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 ac_cpp='$CXXCPP $CPPFLAGS'
16867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16871 cat >conftest.$ac_ext <<_ACEOF
16872 #line $LINENO "configure"
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16887 rm -f conftest.$ac_objext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16889 (eval $ac_compile) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } &&
16893 { ac_try='test -s conftest.$ac_objext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 glibcxx_cv_func_copysignl_use=yes
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16904 glibcxx_cv_func_copysignl_use=no
16906 rm -f conftest.$ac_objext conftest.$ac_ext
16908 ac_cpp='$CPP $CPPFLAGS'
16909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16918 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16920 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16922 for ac_func in copysignl
16924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16925 echo "$as_me:$LINENO: checking for $ac_func" >&5
16926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16927 if eval "test \"\${$as_ac_var+set}\" = set"; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16930 if test x$gcc_no_link = xyes; then
16931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16933 { (exit 1); exit 1; }; }
16935 cat >conftest.$ac_ext <<_ACEOF
16936 #line $LINENO "configure"
16939 cat confdefs.h >>conftest.$ac_ext
16940 cat >>conftest.$ac_ext <<_ACEOF
16941 /* end confdefs.h. */
16942 /* System header to define __stub macros and hopefully few prototypes,
16943 which can conflict with char $ac_func (); below.
16944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16945 <limits.h> exists even on freestanding compilers. */
16947 # include <limits.h>
16949 # include <assert.h>
16951 /* Override any gcc2 internal prototype to avoid an error. */
16956 /* We use char because int might match the return type of a gcc2
16957 builtin and then its argument prototype would still apply. */
16959 /* The GNU C library defines this for functions which it implements
16960 to always fail with ENOSYS. Some functions are actually named
16961 something starting with __ and the normal name is an alias. */
16962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16965 char (*f) () = $ac_func;
16974 return f != $ac_func;
16979 rm -f conftest.$ac_objext conftest$ac_exeext
16980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16981 (eval $ac_link) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -s conftest$ac_exeext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16991 eval "$as_ac_var=yes"
16993 echo "$as_me: failed program was:" >&5
16994 sed 's/^/| /' conftest.$ac_ext >&5
16996 eval "$as_ac_var=no"
16998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17002 if test `eval echo '${'$as_ac_var'}'` = yes; then
17003 cat >>confdefs.h <<_ACEOF
17004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17012 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
17013 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17014 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17015 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17022 ac_cpp='$CXXCPP $CPPFLAGS'
17023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17027 cat >conftest.$ac_ext <<_ACEOF
17028 #line $LINENO "configure"
17031 cat confdefs.h >>conftest.$ac_ext
17032 cat >>conftest.$ac_ext <<_ACEOF
17033 /* end confdefs.h. */
17043 rm -f conftest.$ac_objext
17044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17045 (eval $ac_compile) 2>&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } &&
17049 { ac_try='test -s conftest.$ac_objext'
17050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051 (eval $ac_try) 2>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; }; then
17055 glibcxx_cv_func__copysignl_use=yes
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.$ac_ext >&5
17060 glibcxx_cv_func__copysignl_use=no
17062 rm -f conftest.$ac_objext conftest.$ac_ext
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17074 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17076 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17078 for ac_func in _copysignl
17080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17081 echo "$as_me:$LINENO: checking for $ac_func" >&5
17082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17083 if eval "test \"\${$as_ac_var+set}\" = set"; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17086 if test x$gcc_no_link = xyes; then
17087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17089 { (exit 1); exit 1; }; }
17091 cat >conftest.$ac_ext <<_ACEOF
17092 #line $LINENO "configure"
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 /* System header to define __stub macros and hopefully few prototypes,
17099 which can conflict with char $ac_func (); below.
17100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17101 <limits.h> exists even on freestanding compilers. */
17103 # include <limits.h>
17105 # include <assert.h>
17107 /* Override any gcc2 internal prototype to avoid an error. */
17112 /* We use char because int might match the return type of a gcc2
17113 builtin and then its argument prototype would still apply. */
17115 /* The GNU C library defines this for functions which it implements
17116 to always fail with ENOSYS. Some functions are actually named
17117 something starting with __ and the normal name is an alias. */
17118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17121 char (*f) () = $ac_func;
17130 return f != $ac_func;
17135 rm -f conftest.$ac_objext conftest$ac_exeext
17136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17137 (eval $ac_link) 2>&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } &&
17141 { ac_try='test -s conftest$ac_exeext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17147 eval "$as_ac_var=yes"
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17152 eval "$as_ac_var=no"
17154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17158 if test `eval echo '${'$as_ac_var'}'` = yes; then
17159 cat >>confdefs.h <<_ACEOF
17160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17171 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17172 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17173 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17174 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17175 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 ac_cpp='$CXXCPP $CPPFLAGS'
17182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17186 cat >conftest.$ac_ext <<_ACEOF
17187 #line $LINENO "configure"
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); } &&
17208 { ac_try='test -s conftest.$ac_objext'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; }; then
17214 glibcxx_cv_func_atan2l_use=yes
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17219 glibcxx_cv_func_atan2l_use=no
17221 rm -f conftest.$ac_objext conftest.$ac_ext
17223 ac_cpp='$CPP $CPPFLAGS'
17224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17233 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17235 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17237 for ac_func in atan2l
17239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17240 echo "$as_me:$LINENO: checking for $ac_func" >&5
17241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17242 if eval "test \"\${$as_ac_var+set}\" = set"; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17245 if test x$gcc_no_link = xyes; then
17246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17248 { (exit 1); exit 1; }; }
17250 cat >conftest.$ac_ext <<_ACEOF
17251 #line $LINENO "configure"
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 /* System header to define __stub macros and hopefully few prototypes,
17258 which can conflict with char $ac_func (); below.
17259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17260 <limits.h> exists even on freestanding compilers. */
17262 # include <limits.h>
17264 # include <assert.h>
17266 /* Override any gcc2 internal prototype to avoid an error. */
17271 /* We use char because int might match the return type of a gcc2
17272 builtin and then its argument prototype would still apply. */
17274 /* The GNU C library defines this for functions which it implements
17275 to always fail with ENOSYS. Some functions are actually named
17276 something starting with __ and the normal name is an alias. */
17277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17280 char (*f) () = $ac_func;
17289 return f != $ac_func;
17294 rm -f conftest.$ac_objext conftest$ac_exeext
17295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17296 (eval $ac_link) 2>&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -s conftest$ac_exeext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 eval "$as_ac_var=yes"
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17311 eval "$as_ac_var=no"
17313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17317 if test `eval echo '${'$as_ac_var'}'` = yes; then
17318 cat >>confdefs.h <<_ACEOF
17319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17327 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17328 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17329 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17330 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17331 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 ac_cpp='$CXXCPP $CPPFLAGS'
17338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17342 cat >conftest.$ac_ext <<_ACEOF
17343 #line $LINENO "configure"
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17358 rm -f conftest.$ac_objext
17359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17360 (eval $ac_compile) 2>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try='test -s conftest.$ac_objext'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; }; then
17370 glibcxx_cv_func__atan2l_use=yes
17372 echo "$as_me: failed program was:" >&5
17373 sed 's/^/| /' conftest.$ac_ext >&5
17375 glibcxx_cv_func__atan2l_use=no
17377 rm -f conftest.$ac_objext conftest.$ac_ext
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17389 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17391 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17393 for ac_func in _atan2l
17395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17396 echo "$as_me:$LINENO: checking for $ac_func" >&5
17397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17398 if eval "test \"\${$as_ac_var+set}\" = set"; then
17399 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 if test x$gcc_no_link = xyes; then
17402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17404 { (exit 1); exit 1; }; }
17406 cat >conftest.$ac_ext <<_ACEOF
17407 #line $LINENO "configure"
17410 cat confdefs.h >>conftest.$ac_ext
17411 cat >>conftest.$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413 /* System header to define __stub macros and hopefully few prototypes,
17414 which can conflict with char $ac_func (); below.
17415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17416 <limits.h> exists even on freestanding compilers. */
17418 # include <limits.h>
17420 # include <assert.h>
17422 /* Override any gcc2 internal prototype to avoid an error. */
17427 /* We use char because int might match the return type of a gcc2
17428 builtin and then its argument prototype would still apply. */
17430 /* The GNU C library defines this for functions which it implements
17431 to always fail with ENOSYS. Some functions are actually named
17432 something starting with __ and the normal name is an alias. */
17433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17436 char (*f) () = $ac_func;
17445 return f != $ac_func;
17450 rm -f conftest.$ac_objext conftest$ac_exeext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17452 (eval $ac_link) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); } &&
17456 { ac_try='test -s conftest$ac_exeext'
17457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458 (eval $ac_try) 2>&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); }; }; then
17462 eval "$as_ac_var=yes"
17464 echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17467 eval "$as_ac_var=no"
17469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17473 if test `eval echo '${'$as_ac_var'}'` = yes; then
17474 cat >>confdefs.h <<_ACEOF
17475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17486 echo "$as_me:$LINENO: checking for expl declaration" >&5
17487 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17488 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17489 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17496 ac_cpp='$CXXCPP $CPPFLAGS'
17497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17501 cat >conftest.$ac_ext <<_ACEOF
17502 #line $LINENO "configure"
17505 cat confdefs.h >>conftest.$ac_ext
17506 cat >>conftest.$ac_ext <<_ACEOF
17507 /* end confdefs.h. */
17509 #ifdef HAVE_IEEEFP_H
17510 #include <ieeefp.h>
17521 rm -f conftest.$ac_objext
17522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17523 (eval $ac_compile) 2>&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try='test -s conftest.$ac_objext'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; }; then
17533 glibcxx_cv_func_expl_use=yes
17535 echo "$as_me: failed program was:" >&5
17536 sed 's/^/| /' conftest.$ac_ext >&5
17538 glibcxx_cv_func_expl_use=no
17540 rm -f conftest.$ac_objext conftest.$ac_ext
17542 ac_cpp='$CPP $CPPFLAGS'
17543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17552 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17554 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17556 for ac_func in expl
17558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17559 echo "$as_me:$LINENO: checking for $ac_func" >&5
17560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17561 if eval "test \"\${$as_ac_var+set}\" = set"; then
17562 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 if test x$gcc_no_link = xyes; then
17565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17567 { (exit 1); exit 1; }; }
17569 cat >conftest.$ac_ext <<_ACEOF
17570 #line $LINENO "configure"
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17576 /* System header to define __stub macros and hopefully few prototypes,
17577 which can conflict with char $ac_func (); below.
17578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17579 <limits.h> exists even on freestanding compilers. */
17581 # include <limits.h>
17583 # include <assert.h>
17585 /* Override any gcc2 internal prototype to avoid an error. */
17590 /* We use char because int might match the return type of a gcc2
17591 builtin and then its argument prototype would still apply. */
17593 /* The GNU C library defines this for functions which it implements
17594 to always fail with ENOSYS. Some functions are actually named
17595 something starting with __ and the normal name is an alias. */
17596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17599 char (*f) () = $ac_func;
17608 return f != $ac_func;
17613 rm -f conftest.$ac_objext conftest$ac_exeext
17614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17615 (eval $ac_link) 2>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } &&
17619 { ac_try='test -s conftest$ac_exeext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17625 eval "$as_ac_var=yes"
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.$ac_ext >&5
17630 eval "$as_ac_var=no"
17632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17636 if test `eval echo '${'$as_ac_var'}'` = yes; then
17637 cat >>confdefs.h <<_ACEOF
17638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17646 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17647 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17648 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17649 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17650 echo $ECHO_N "(cached) $ECHO_C" >&6
17656 ac_cpp='$CXXCPP $CPPFLAGS'
17657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17661 cat >conftest.$ac_ext <<_ACEOF
17662 #line $LINENO "configure"
17665 cat confdefs.h >>conftest.$ac_ext
17666 cat >>conftest.$ac_ext <<_ACEOF
17667 /* end confdefs.h. */
17669 #ifdef HAVE_IEEEFP_H
17670 #include <ieeefp.h>
17681 rm -f conftest.$ac_objext
17682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17683 (eval $ac_compile) 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try='test -s conftest.$ac_objext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 glibcxx_cv_func__expl_use=yes
17695 echo "$as_me: failed program was:" >&5
17696 sed 's/^/| /' conftest.$ac_ext >&5
17698 glibcxx_cv_func__expl_use=no
17700 rm -f conftest.$ac_objext conftest.$ac_ext
17702 ac_cpp='$CPP $CPPFLAGS'
17703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17711 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17712 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17714 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17716 for ac_func in _expl
17718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17719 echo "$as_me:$LINENO: checking for $ac_func" >&5
17720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17721 if eval "test \"\${$as_ac_var+set}\" = set"; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17724 if test x$gcc_no_link = xyes; then
17725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17727 { (exit 1); exit 1; }; }
17729 cat >conftest.$ac_ext <<_ACEOF
17730 #line $LINENO "configure"
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736 /* System header to define __stub macros and hopefully few prototypes,
17737 which can conflict with char $ac_func (); below.
17738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17739 <limits.h> exists even on freestanding compilers. */
17741 # include <limits.h>
17743 # include <assert.h>
17745 /* Override any gcc2 internal prototype to avoid an error. */
17750 /* We use char because int might match the return type of a gcc2
17751 builtin and then its argument prototype would still apply. */
17753 /* The GNU C library defines this for functions which it implements
17754 to always fail with ENOSYS. Some functions are actually named
17755 something starting with __ and the normal name is an alias. */
17756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17759 char (*f) () = $ac_func;
17768 return f != $ac_func;
17773 rm -f conftest.$ac_objext conftest$ac_exeext
17774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17775 (eval $ac_link) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } &&
17779 { ac_try='test -s conftest$ac_exeext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 eval "$as_ac_var=yes"
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.$ac_ext >&5
17790 eval "$as_ac_var=no"
17792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17796 if test `eval echo '${'$as_ac_var'}'` = yes; then
17797 cat >>confdefs.h <<_ACEOF
17798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17809 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17810 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17811 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17812 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17813 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 ac_cpp='$CXXCPP $CPPFLAGS'
17820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17824 cat >conftest.$ac_ext <<_ACEOF
17825 #line $LINENO "configure"
17828 cat confdefs.h >>conftest.$ac_ext
17829 cat >>conftest.$ac_ext <<_ACEOF
17830 /* end confdefs.h. */
17832 #ifdef HAVE_IEEEFP_H
17833 #include <ieeefp.h>
17844 rm -f conftest.$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } &&
17850 { ac_try='test -s conftest.$ac_objext'
17851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17852 (eval $ac_try) 2>&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); }; }; then
17856 glibcxx_cv_func_fabsl_use=yes
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17861 glibcxx_cv_func_fabsl_use=no
17863 rm -f conftest.$ac_objext conftest.$ac_ext
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17875 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17877 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17879 for ac_func in fabsl
17881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17882 echo "$as_me:$LINENO: checking for $ac_func" >&5
17883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17884 if eval "test \"\${$as_ac_var+set}\" = set"; then
17885 echo $ECHO_N "(cached) $ECHO_C" >&6
17887 if test x$gcc_no_link = xyes; then
17888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17890 { (exit 1); exit 1; }; }
17892 cat >conftest.$ac_ext <<_ACEOF
17893 #line $LINENO "configure"
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 /* System header to define __stub macros and hopefully few prototypes,
17900 which can conflict with char $ac_func (); below.
17901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17902 <limits.h> exists even on freestanding compilers. */
17904 # include <limits.h>
17906 # include <assert.h>
17908 /* Override any gcc2 internal prototype to avoid an error. */
17913 /* We use char because int might match the return type of a gcc2
17914 builtin and then its argument prototype would still apply. */
17916 /* The GNU C library defines this for functions which it implements
17917 to always fail with ENOSYS. Some functions are actually named
17918 something starting with __ and the normal name is an alias. */
17919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17922 char (*f) () = $ac_func;
17931 return f != $ac_func;
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17938 (eval $ac_link) 2>&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try='test -s conftest$ac_exeext'
17943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944 (eval $ac_try) 2>&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); }; }; then
17948 eval "$as_ac_var=yes"
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17953 eval "$as_ac_var=no"
17955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17959 if test `eval echo '${'$as_ac_var'}'` = yes; then
17960 cat >>confdefs.h <<_ACEOF
17961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17969 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17970 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17971 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17972 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17973 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 ac_cpp='$CXXCPP $CPPFLAGS'
17980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17984 cat >conftest.$ac_ext <<_ACEOF
17985 #line $LINENO "configure"
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17992 #ifdef HAVE_IEEEFP_H
17993 #include <ieeefp.h>
18004 rm -f conftest.$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } &&
18010 { ac_try='test -s conftest.$ac_objext'
18011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18012 (eval $ac_try) 2>&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); }; }; then
18016 glibcxx_cv_func__fabsl_use=yes
18018 echo "$as_me: failed program was:" >&5
18019 sed 's/^/| /' conftest.$ac_ext >&5
18021 glibcxx_cv_func__fabsl_use=no
18023 rm -f conftest.$ac_objext conftest.$ac_ext
18025 ac_cpp='$CPP $CPPFLAGS'
18026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18035 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18037 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18039 for ac_func in _fabsl
18041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18042 echo "$as_me:$LINENO: checking for $ac_func" >&5
18043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18044 if eval "test \"\${$as_ac_var+set}\" = set"; then
18045 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 if test x$gcc_no_link = xyes; then
18048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18050 { (exit 1); exit 1; }; }
18052 cat >conftest.$ac_ext <<_ACEOF
18053 #line $LINENO "configure"
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 /* System header to define __stub macros and hopefully few prototypes,
18060 which can conflict with char $ac_func (); below.
18061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18062 <limits.h> exists even on freestanding compilers. */
18064 # include <limits.h>
18066 # include <assert.h>
18068 /* Override any gcc2 internal prototype to avoid an error. */
18073 /* We use char because int might match the return type of a gcc2
18074 builtin and then its argument prototype would still apply. */
18076 /* The GNU C library defines this for functions which it implements
18077 to always fail with ENOSYS. Some functions are actually named
18078 something starting with __ and the normal name is an alias. */
18079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18082 char (*f) () = $ac_func;
18091 return f != $ac_func;
18096 rm -f conftest.$ac_objext conftest$ac_exeext
18097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18098 (eval $ac_link) 2>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); } &&
18102 { ac_try='test -s conftest$ac_exeext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18108 eval "$as_ac_var=yes"
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18113 eval "$as_ac_var=no"
18115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18119 if test `eval echo '${'$as_ac_var'}'` = yes; then
18120 cat >>confdefs.h <<_ACEOF
18121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18132 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18133 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18134 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18135 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18136 echo $ECHO_N "(cached) $ECHO_C" >&6
18142 ac_cpp='$CXXCPP $CPPFLAGS'
18143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18147 cat >conftest.$ac_ext <<_ACEOF
18148 #line $LINENO "configure"
18151 cat confdefs.h >>conftest.$ac_ext
18152 cat >>conftest.$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18163 rm -f conftest.$ac_objext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18165 (eval $ac_compile) 2>&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try='test -s conftest.$ac_objext'
18170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18171 (eval $ac_try) 2>&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); }; }; then
18175 glibcxx_cv_func_fmodl_use=yes
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18180 glibcxx_cv_func_fmodl_use=no
18182 rm -f conftest.$ac_objext conftest.$ac_ext
18184 ac_cpp='$CPP $CPPFLAGS'
18185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18194 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18196 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18198 for ac_func in fmodl
18200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18201 echo "$as_me:$LINENO: checking for $ac_func" >&5
18202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18203 if eval "test \"\${$as_ac_var+set}\" = set"; then
18204 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 if test x$gcc_no_link = xyes; then
18207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18209 { (exit 1); exit 1; }; }
18211 cat >conftest.$ac_ext <<_ACEOF
18212 #line $LINENO "configure"
18215 cat confdefs.h >>conftest.$ac_ext
18216 cat >>conftest.$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 /* System header to define __stub macros and hopefully few prototypes,
18219 which can conflict with char $ac_func (); below.
18220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18221 <limits.h> exists even on freestanding compilers. */
18223 # include <limits.h>
18225 # include <assert.h>
18227 /* Override any gcc2 internal prototype to avoid an error. */
18232 /* We use char because int might match the return type of a gcc2
18233 builtin and then its argument prototype would still apply. */
18235 /* The GNU C library defines this for functions which it implements
18236 to always fail with ENOSYS. Some functions are actually named
18237 something starting with __ and the normal name is an alias. */
18238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18241 char (*f) () = $ac_func;
18250 return f != $ac_func;
18255 rm -f conftest.$ac_objext conftest$ac_exeext
18256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18257 (eval $ac_link) 2>&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } &&
18261 { ac_try='test -s conftest$ac_exeext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 eval "$as_ac_var=yes"
18269 echo "$as_me: failed program was:" >&5
18270 sed 's/^/| /' conftest.$ac_ext >&5
18272 eval "$as_ac_var=no"
18274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18278 if test `eval echo '${'$as_ac_var'}'` = yes; then
18279 cat >>confdefs.h <<_ACEOF
18280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18288 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18289 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18290 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18291 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18292 echo $ECHO_N "(cached) $ECHO_C" >&6
18298 ac_cpp='$CXXCPP $CPPFLAGS'
18299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18303 cat >conftest.$ac_ext <<_ACEOF
18304 #line $LINENO "configure"
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18319 rm -f conftest.$ac_objext
18320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18321 (eval $ac_compile) 2>&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try='test -s conftest.$ac_objext'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; }; then
18331 glibcxx_cv_func__fmodl_use=yes
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 glibcxx_cv_func__fmodl_use=no
18338 rm -f conftest.$ac_objext conftest.$ac_ext
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18349 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18350 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18352 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18354 for ac_func in _fmodl
18356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18357 echo "$as_me:$LINENO: checking for $ac_func" >&5
18358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18359 if eval "test \"\${$as_ac_var+set}\" = set"; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18362 if test x$gcc_no_link = xyes; then
18363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18365 { (exit 1); exit 1; }; }
18367 cat >conftest.$ac_ext <<_ACEOF
18368 #line $LINENO "configure"
18371 cat confdefs.h >>conftest.$ac_ext
18372 cat >>conftest.$ac_ext <<_ACEOF
18373 /* end confdefs.h. */
18374 /* System header to define __stub macros and hopefully few prototypes,
18375 which can conflict with char $ac_func (); below.
18376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18377 <limits.h> exists even on freestanding compilers. */
18379 # include <limits.h>
18381 # include <assert.h>
18383 /* Override any gcc2 internal prototype to avoid an error. */
18388 /* We use char because int might match the return type of a gcc2
18389 builtin and then its argument prototype would still apply. */
18391 /* The GNU C library defines this for functions which it implements
18392 to always fail with ENOSYS. Some functions are actually named
18393 something starting with __ and the normal name is an alias. */
18394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18397 char (*f) () = $ac_func;
18406 return f != $ac_func;
18411 rm -f conftest.$ac_objext conftest$ac_exeext
18412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18413 (eval $ac_link) 2>&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } &&
18417 { ac_try='test -s conftest$ac_exeext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 eval "$as_ac_var=yes"
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18428 eval "$as_ac_var=no"
18430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18434 if test `eval echo '${'$as_ac_var'}'` = yes; then
18435 cat >>confdefs.h <<_ACEOF
18436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18447 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18448 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18449 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18450 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18451 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 ac_cpp='$CXXCPP $CPPFLAGS'
18458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18462 cat >conftest.$ac_ext <<_ACEOF
18463 #line $LINENO "configure"
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18478 rm -f conftest.$ac_objext
18479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18480 (eval $ac_compile) 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } &&
18484 { ac_try='test -s conftest.$ac_objext'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; }; then
18490 glibcxx_cv_func_frexpl_use=yes
18492 echo "$as_me: failed program was:" >&5
18493 sed 's/^/| /' conftest.$ac_ext >&5
18495 glibcxx_cv_func_frexpl_use=no
18497 rm -f conftest.$ac_objext conftest.$ac_ext
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18509 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18511 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18513 for ac_func in frexpl
18515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18516 echo "$as_me:$LINENO: checking for $ac_func" >&5
18517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18518 if eval "test \"\${$as_ac_var+set}\" = set"; then
18519 echo $ECHO_N "(cached) $ECHO_C" >&6
18521 if test x$gcc_no_link = xyes; then
18522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18524 { (exit 1); exit 1; }; }
18526 cat >conftest.$ac_ext <<_ACEOF
18527 #line $LINENO "configure"
18530 cat confdefs.h >>conftest.$ac_ext
18531 cat >>conftest.$ac_ext <<_ACEOF
18532 /* end confdefs.h. */
18533 /* System header to define __stub macros and hopefully few prototypes,
18534 which can conflict with char $ac_func (); below.
18535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18536 <limits.h> exists even on freestanding compilers. */
18538 # include <limits.h>
18540 # include <assert.h>
18542 /* Override any gcc2 internal prototype to avoid an error. */
18547 /* We use char because int might match the return type of a gcc2
18548 builtin and then its argument prototype would still apply. */
18550 /* The GNU C library defines this for functions which it implements
18551 to always fail with ENOSYS. Some functions are actually named
18552 something starting with __ and the normal name is an alias. */
18553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18556 char (*f) () = $ac_func;
18565 return f != $ac_func;
18570 rm -f conftest.$ac_objext conftest$ac_exeext
18571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18572 (eval $ac_link) 2>&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } &&
18576 { ac_try='test -s conftest$ac_exeext'
18577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18578 (eval $ac_try) 2>&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); }; }; then
18582 eval "$as_ac_var=yes"
18584 echo "$as_me: failed program was:" >&5
18585 sed 's/^/| /' conftest.$ac_ext >&5
18587 eval "$as_ac_var=no"
18589 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18593 if test `eval echo '${'$as_ac_var'}'` = yes; then
18594 cat >>confdefs.h <<_ACEOF
18595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18603 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18604 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18605 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18606 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 ac_cpp='$CXXCPP $CPPFLAGS'
18614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18618 cat >conftest.$ac_ext <<_ACEOF
18619 #line $LINENO "configure"
18622 cat confdefs.h >>conftest.$ac_ext
18623 cat >>conftest.$ac_ext <<_ACEOF
18624 /* end confdefs.h. */
18634 rm -f conftest.$ac_objext
18635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18636 (eval $ac_compile) 2>&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } &&
18640 { ac_try='test -s conftest.$ac_objext'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; }; then
18646 glibcxx_cv_func__frexpl_use=yes
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.$ac_ext >&5
18651 glibcxx_cv_func__frexpl_use=no
18653 rm -f conftest.$ac_objext conftest.$ac_ext
18655 ac_cpp='$CPP $CPPFLAGS'
18656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18664 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18665 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18667 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18669 for ac_func in _frexpl
18671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18672 echo "$as_me:$LINENO: checking for $ac_func" >&5
18673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18674 if eval "test \"\${$as_ac_var+set}\" = set"; then
18675 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 if test x$gcc_no_link = xyes; then
18678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18680 { (exit 1); exit 1; }; }
18682 cat >conftest.$ac_ext <<_ACEOF
18683 #line $LINENO "configure"
18686 cat confdefs.h >>conftest.$ac_ext
18687 cat >>conftest.$ac_ext <<_ACEOF
18688 /* end confdefs.h. */
18689 /* System header to define __stub macros and hopefully few prototypes,
18690 which can conflict with char $ac_func (); below.
18691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18692 <limits.h> exists even on freestanding compilers. */
18694 # include <limits.h>
18696 # include <assert.h>
18698 /* Override any gcc2 internal prototype to avoid an error. */
18703 /* We use char because int might match the return type of a gcc2
18704 builtin and then its argument prototype would still apply. */
18706 /* The GNU C library defines this for functions which it implements
18707 to always fail with ENOSYS. Some functions are actually named
18708 something starting with __ and the normal name is an alias. */
18709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18712 char (*f) () = $ac_func;
18721 return f != $ac_func;
18726 rm -f conftest.$ac_objext conftest$ac_exeext
18727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18728 (eval $ac_link) 2>&5
18730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18731 (exit $ac_status); } &&
18732 { ac_try='test -s conftest$ac_exeext'
18733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18734 (eval $ac_try) 2>&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); }; }; then
18738 eval "$as_ac_var=yes"
18740 echo "$as_me: failed program was:" >&5
18741 sed 's/^/| /' conftest.$ac_ext >&5
18743 eval "$as_ac_var=no"
18745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18749 if test `eval echo '${'$as_ac_var'}'` = yes; then
18750 cat >>confdefs.h <<_ACEOF
18751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18762 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18763 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18764 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18765 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18777 cat >conftest.$ac_ext <<_ACEOF
18778 #line $LINENO "configure"
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18793 rm -f conftest.$ac_objext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18795 (eval $ac_compile) 2>&5
18797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18798 (exit $ac_status); } &&
18799 { ac_try='test -s conftest.$ac_objext'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; }; then
18805 glibcxx_cv_func_hypotl_use=yes
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 glibcxx_cv_func_hypotl_use=no
18812 rm -f conftest.$ac_objext conftest.$ac_ext
18814 ac_cpp='$CPP $CPPFLAGS'
18815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18824 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18826 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18828 for ac_func in hypotl
18830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18831 echo "$as_me:$LINENO: checking for $ac_func" >&5
18832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18833 if eval "test \"\${$as_ac_var+set}\" = set"; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18836 if test x$gcc_no_link = xyes; then
18837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18839 { (exit 1); exit 1; }; }
18841 cat >conftest.$ac_ext <<_ACEOF
18842 #line $LINENO "configure"
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 /* System header to define __stub macros and hopefully few prototypes,
18849 which can conflict with char $ac_func (); below.
18850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18851 <limits.h> exists even on freestanding compilers. */
18853 # include <limits.h>
18855 # include <assert.h>
18857 /* Override any gcc2 internal prototype to avoid an error. */
18862 /* We use char because int might match the return type of a gcc2
18863 builtin and then its argument prototype would still apply. */
18865 /* The GNU C library defines this for functions which it implements
18866 to always fail with ENOSYS. Some functions are actually named
18867 something starting with __ and the normal name is an alias. */
18868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18871 char (*f) () = $ac_func;
18880 return f != $ac_func;
18885 rm -f conftest.$ac_objext conftest$ac_exeext
18886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18887 (eval $ac_link) 2>&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try='test -s conftest$ac_exeext'
18892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18893 (eval $ac_try) 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; }; then
18897 eval "$as_ac_var=yes"
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18902 eval "$as_ac_var=no"
18904 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18908 if test `eval echo '${'$as_ac_var'}'` = yes; then
18909 cat >>confdefs.h <<_ACEOF
18910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18918 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18919 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18920 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18921 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 ac_cpp='$CXXCPP $CPPFLAGS'
18929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18933 cat >conftest.$ac_ext <<_ACEOF
18934 #line $LINENO "configure"
18937 cat confdefs.h >>conftest.$ac_ext
18938 cat >>conftest.$ac_ext <<_ACEOF
18939 /* end confdefs.h. */
18949 rm -f conftest.$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } &&
18955 { ac_try='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 glibcxx_cv_func__hypotl_use=yes
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18966 glibcxx_cv_func__hypotl_use=no
18968 rm -f conftest.$ac_objext conftest.$ac_ext
18970 ac_cpp='$CPP $CPPFLAGS'
18971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18979 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18980 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18982 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18984 for ac_func in _hypotl
18986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18987 echo "$as_me:$LINENO: checking for $ac_func" >&5
18988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18989 if eval "test \"\${$as_ac_var+set}\" = set"; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 if test x$gcc_no_link = xyes; then
18993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18995 { (exit 1); exit 1; }; }
18997 cat >conftest.$ac_ext <<_ACEOF
18998 #line $LINENO "configure"
19001 cat confdefs.h >>conftest.$ac_ext
19002 cat >>conftest.$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19004 /* System header to define __stub macros and hopefully few prototypes,
19005 which can conflict with char $ac_func (); below.
19006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19007 <limits.h> exists even on freestanding compilers. */
19009 # include <limits.h>
19011 # include <assert.h>
19013 /* Override any gcc2 internal prototype to avoid an error. */
19018 /* We use char because int might match the return type of a gcc2
19019 builtin and then its argument prototype would still apply. */
19021 /* The GNU C library defines this for functions which it implements
19022 to always fail with ENOSYS. Some functions are actually named
19023 something starting with __ and the normal name is an alias. */
19024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19027 char (*f) () = $ac_func;
19036 return f != $ac_func;
19041 rm -f conftest.$ac_objext conftest$ac_exeext
19042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19043 (eval $ac_link) 2>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } &&
19047 { ac_try='test -s conftest$ac_exeext'
19048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19049 (eval $ac_try) 2>&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); }; }; then
19053 eval "$as_ac_var=yes"
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19058 eval "$as_ac_var=no"
19060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19064 if test `eval echo '${'$as_ac_var'}'` = yes; then
19065 cat >>confdefs.h <<_ACEOF
19066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19077 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19078 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19079 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19080 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 ac_cpp='$CXXCPP $CPPFLAGS'
19088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19092 cat >conftest.$ac_ext <<_ACEOF
19093 #line $LINENO "configure"
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19108 rm -f conftest.$ac_objext
19109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19110 (eval $ac_compile) 2>&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } &&
19114 { ac_try='test -s conftest.$ac_objext'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; }; then
19120 glibcxx_cv_func_ldexpl_use=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 glibcxx_cv_func_ldexpl_use=no
19127 rm -f conftest.$ac_objext conftest.$ac_ext
19129 ac_cpp='$CPP $CPPFLAGS'
19130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19139 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19141 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19143 for ac_func in ldexpl
19145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19146 echo "$as_me:$LINENO: checking for $ac_func" >&5
19147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19148 if eval "test \"\${$as_ac_var+set}\" = set"; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 if test x$gcc_no_link = xyes; then
19152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19154 { (exit 1); exit 1; }; }
19156 cat >conftest.$ac_ext <<_ACEOF
19157 #line $LINENO "configure"
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 /* System header to define __stub macros and hopefully few prototypes,
19164 which can conflict with char $ac_func (); below.
19165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19166 <limits.h> exists even on freestanding compilers. */
19168 # include <limits.h>
19170 # include <assert.h>
19172 /* Override any gcc2 internal prototype to avoid an error. */
19177 /* We use char because int might match the return type of a gcc2
19178 builtin and then its argument prototype would still apply. */
19180 /* The GNU C library defines this for functions which it implements
19181 to always fail with ENOSYS. Some functions are actually named
19182 something starting with __ and the normal name is an alias. */
19183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19186 char (*f) () = $ac_func;
19195 return f != $ac_func;
19200 rm -f conftest.$ac_objext conftest$ac_exeext
19201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19202 (eval $ac_link) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } &&
19206 { ac_try='test -s conftest$ac_exeext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 eval "$as_ac_var=yes"
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 eval "$as_ac_var=no"
19219 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19223 if test `eval echo '${'$as_ac_var'}'` = yes; then
19224 cat >>confdefs.h <<_ACEOF
19225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19233 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19234 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19235 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19236 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19237 echo $ECHO_N "(cached) $ECHO_C" >&6
19243 ac_cpp='$CXXCPP $CPPFLAGS'
19244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19248 cat >conftest.$ac_ext <<_ACEOF
19249 #line $LINENO "configure"
19252 cat confdefs.h >>conftest.$ac_ext
19253 cat >>conftest.$ac_ext <<_ACEOF
19254 /* end confdefs.h. */
19264 rm -f conftest.$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } &&
19270 { ac_try='test -s conftest.$ac_objext'
19271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19272 (eval $ac_try) 2>&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); }; }; then
19276 glibcxx_cv_func__ldexpl_use=yes
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19281 glibcxx_cv_func__ldexpl_use=no
19283 rm -f conftest.$ac_objext conftest.$ac_ext
19285 ac_cpp='$CPP $CPPFLAGS'
19286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19295 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19297 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19299 for ac_func in _ldexpl
19301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19302 echo "$as_me:$LINENO: checking for $ac_func" >&5
19303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19304 if eval "test \"\${$as_ac_var+set}\" = set"; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 if test x$gcc_no_link = xyes; then
19308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19310 { (exit 1); exit 1; }; }
19312 cat >conftest.$ac_ext <<_ACEOF
19313 #line $LINENO "configure"
19316 cat confdefs.h >>conftest.$ac_ext
19317 cat >>conftest.$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 /* System header to define __stub macros and hopefully few prototypes,
19320 which can conflict with char $ac_func (); below.
19321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19322 <limits.h> exists even on freestanding compilers. */
19324 # include <limits.h>
19326 # include <assert.h>
19328 /* Override any gcc2 internal prototype to avoid an error. */
19333 /* We use char because int might match the return type of a gcc2
19334 builtin and then its argument prototype would still apply. */
19336 /* The GNU C library defines this for functions which it implements
19337 to always fail with ENOSYS. Some functions are actually named
19338 something starting with __ and the normal name is an alias. */
19339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19342 char (*f) () = $ac_func;
19351 return f != $ac_func;
19356 rm -f conftest.$ac_objext conftest$ac_exeext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19358 (eval $ac_link) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } &&
19362 { ac_try='test -s conftest$ac_exeext'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; }; then
19368 eval "$as_ac_var=yes"
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 eval "$as_ac_var=no"
19375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19379 if test `eval echo '${'$as_ac_var'}'` = yes; then
19380 cat >>confdefs.h <<_ACEOF
19381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19392 echo "$as_me:$LINENO: checking for logl declaration" >&5
19393 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19394 if test x${glibcxx_cv_func_logl_use+set} != xset; then
19395 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19402 ac_cpp='$CXXCPP $CPPFLAGS'
19403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19407 cat >conftest.$ac_ext <<_ACEOF
19408 #line $LINENO "configure"
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19415 #ifdef HAVE_IEEEFP_H
19416 #include <ieeefp.h>
19427 rm -f conftest.$ac_objext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19429 (eval $ac_compile) 2>&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } &&
19433 { ac_try='test -s conftest.$ac_objext'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 glibcxx_cv_func_logl_use=yes
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 glibcxx_cv_func_logl_use=no
19446 rm -f conftest.$ac_objext conftest.$ac_ext
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19457 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19458 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19460 if test x$glibcxx_cv_func_logl_use = x"yes"; then
19462 for ac_func in logl
19464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19465 echo "$as_me:$LINENO: checking for $ac_func" >&5
19466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19467 if eval "test \"\${$as_ac_var+set}\" = set"; then
19468 echo $ECHO_N "(cached) $ECHO_C" >&6
19470 if test x$gcc_no_link = xyes; then
19471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19473 { (exit 1); exit 1; }; }
19475 cat >conftest.$ac_ext <<_ACEOF
19476 #line $LINENO "configure"
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19482 /* System header to define __stub macros and hopefully few prototypes,
19483 which can conflict with char $ac_func (); below.
19484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19485 <limits.h> exists even on freestanding compilers. */
19487 # include <limits.h>
19489 # include <assert.h>
19491 /* Override any gcc2 internal prototype to avoid an error. */
19496 /* We use char because int might match the return type of a gcc2
19497 builtin and then its argument prototype would still apply. */
19499 /* The GNU C library defines this for functions which it implements
19500 to always fail with ENOSYS. Some functions are actually named
19501 something starting with __ and the normal name is an alias. */
19502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19505 char (*f) () = $ac_func;
19514 return f != $ac_func;
19519 rm -f conftest.$ac_objext conftest$ac_exeext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19521 (eval $ac_link) 2>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try='test -s conftest$ac_exeext'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; }; then
19531 eval "$as_ac_var=yes"
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19536 eval "$as_ac_var=no"
19538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19542 if test `eval echo '${'$as_ac_var'}'` = yes; then
19543 cat >>confdefs.h <<_ACEOF
19544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19552 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19553 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19554 if test x${glibcxx_cv_func__logl_use+set} != xset; then
19555 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19556 echo $ECHO_N "(cached) $ECHO_C" >&6
19562 ac_cpp='$CXXCPP $CPPFLAGS'
19563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19567 cat >conftest.$ac_ext <<_ACEOF
19568 #line $LINENO "configure"
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19575 #ifdef HAVE_IEEEFP_H
19576 #include <ieeefp.h>
19587 rm -f conftest.$ac_objext
19588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19589 (eval $ac_compile) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try='test -s conftest.$ac_objext'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 glibcxx_cv_func__logl_use=yes
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19604 glibcxx_cv_func__logl_use=no
19606 rm -f conftest.$ac_objext conftest.$ac_ext
19608 ac_cpp='$CPP $CPPFLAGS'
19609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19617 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19618 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19620 if test x$glibcxx_cv_func__logl_use = x"yes"; then
19622 for ac_func in _logl
19624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19625 echo "$as_me:$LINENO: checking for $ac_func" >&5
19626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19627 if eval "test \"\${$as_ac_var+set}\" = set"; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19630 if test x$gcc_no_link = xyes; then
19631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19633 { (exit 1); exit 1; }; }
19635 cat >conftest.$ac_ext <<_ACEOF
19636 #line $LINENO "configure"
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 /* System header to define __stub macros and hopefully few prototypes,
19643 which can conflict with char $ac_func (); below.
19644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19645 <limits.h> exists even on freestanding compilers. */
19647 # include <limits.h>
19649 # include <assert.h>
19651 /* Override any gcc2 internal prototype to avoid an error. */
19656 /* We use char because int might match the return type of a gcc2
19657 builtin and then its argument prototype would still apply. */
19659 /* The GNU C library defines this for functions which it implements
19660 to always fail with ENOSYS. Some functions are actually named
19661 something starting with __ and the normal name is an alias. */
19662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19665 char (*f) () = $ac_func;
19674 return f != $ac_func;
19679 rm -f conftest.$ac_objext conftest$ac_exeext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19681 (eval $ac_link) 2>&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } &&
19685 { ac_try='test -s conftest$ac_exeext'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 eval "$as_ac_var=yes"
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19696 eval "$as_ac_var=no"
19698 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19702 if test `eval echo '${'$as_ac_var'}'` = yes; then
19703 cat >>confdefs.h <<_ACEOF
19704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19715 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19716 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19717 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19718 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 ac_cpp='$CXXCPP $CPPFLAGS'
19726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19730 cat >conftest.$ac_ext <<_ACEOF
19731 #line $LINENO "configure"
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19738 #ifdef HAVE_IEEEFP_H
19739 #include <ieeefp.h>
19750 rm -f conftest.$ac_objext
19751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19752 (eval $ac_compile) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } &&
19756 { ac_try='test -s conftest.$ac_objext'
19757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19758 (eval $ac_try) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); }; }; then
19762 glibcxx_cv_func_log10l_use=yes
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 glibcxx_cv_func_log10l_use=no
19769 rm -f conftest.$ac_objext conftest.$ac_ext
19771 ac_cpp='$CPP $CPPFLAGS'
19772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19781 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19783 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19785 for ac_func in log10l
19787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19788 echo "$as_me:$LINENO: checking for $ac_func" >&5
19789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19790 if eval "test \"\${$as_ac_var+set}\" = set"; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 if test x$gcc_no_link = xyes; then
19794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19796 { (exit 1); exit 1; }; }
19798 cat >conftest.$ac_ext <<_ACEOF
19799 #line $LINENO "configure"
19802 cat confdefs.h >>conftest.$ac_ext
19803 cat >>conftest.$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 /* System header to define __stub macros and hopefully few prototypes,
19806 which can conflict with char $ac_func (); below.
19807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19808 <limits.h> exists even on freestanding compilers. */
19810 # include <limits.h>
19812 # include <assert.h>
19814 /* Override any gcc2 internal prototype to avoid an error. */
19819 /* We use char because int might match the return type of a gcc2
19820 builtin and then its argument prototype would still apply. */
19822 /* The GNU C library defines this for functions which it implements
19823 to always fail with ENOSYS. Some functions are actually named
19824 something starting with __ and the normal name is an alias. */
19825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19828 char (*f) () = $ac_func;
19837 return f != $ac_func;
19842 rm -f conftest.$ac_objext conftest$ac_exeext
19843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19844 (eval $ac_link) 2>&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try='test -s conftest$ac_exeext'
19849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850 (eval $ac_try) 2>&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); }; }; then
19854 eval "$as_ac_var=yes"
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19859 eval "$as_ac_var=no"
19861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19865 if test `eval echo '${'$as_ac_var'}'` = yes; then
19866 cat >>confdefs.h <<_ACEOF
19867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19875 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19876 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19877 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19878 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19879 echo $ECHO_N "(cached) $ECHO_C" >&6
19885 ac_cpp='$CXXCPP $CPPFLAGS'
19886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19890 cat >conftest.$ac_ext <<_ACEOF
19891 #line $LINENO "configure"
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19898 #ifdef HAVE_IEEEFP_H
19899 #include <ieeefp.h>
19910 rm -f conftest.$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } &&
19916 { ac_try='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 glibcxx_cv_func__log10l_use=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19927 glibcxx_cv_func__log10l_use=no
19929 rm -f conftest.$ac_objext conftest.$ac_ext
19931 ac_cpp='$CPP $CPPFLAGS'
19932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19941 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19943 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19945 for ac_func in _log10l
19947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19948 echo "$as_me:$LINENO: checking for $ac_func" >&5
19949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19950 if eval "test \"\${$as_ac_var+set}\" = set"; then
19951 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 if test x$gcc_no_link = xyes; then
19954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19956 { (exit 1); exit 1; }; }
19958 cat >conftest.$ac_ext <<_ACEOF
19959 #line $LINENO "configure"
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 /* System header to define __stub macros and hopefully few prototypes,
19966 which can conflict with char $ac_func (); below.
19967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19968 <limits.h> exists even on freestanding compilers. */
19970 # include <limits.h>
19972 # include <assert.h>
19974 /* Override any gcc2 internal prototype to avoid an error. */
19979 /* We use char because int might match the return type of a gcc2
19980 builtin and then its argument prototype would still apply. */
19982 /* The GNU C library defines this for functions which it implements
19983 to always fail with ENOSYS. Some functions are actually named
19984 something starting with __ and the normal name is an alias. */
19985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19988 char (*f) () = $ac_func;
19997 return f != $ac_func;
20002 rm -f conftest.$ac_objext conftest$ac_exeext
20003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20004 (eval $ac_link) 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } &&
20008 { ac_try='test -s conftest$ac_exeext'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; }; then
20014 eval "$as_ac_var=yes"
20016 echo "$as_me: failed program was:" >&5
20017 sed 's/^/| /' conftest.$ac_ext >&5
20019 eval "$as_ac_var=no"
20021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20025 if test `eval echo '${'$as_ac_var'}'` = yes; then
20026 cat >>confdefs.h <<_ACEOF
20027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20038 echo "$as_me:$LINENO: checking for modfl declaration" >&5
20039 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20040 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20041 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 ac_cpp='$CXXCPP $CPPFLAGS'
20049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20053 cat >conftest.$ac_ext <<_ACEOF
20054 #line $LINENO "configure"
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20069 rm -f conftest.$ac_objext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20071 (eval $ac_compile) 2>&5
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); } &&
20075 { ac_try='test -s conftest.$ac_objext'
20076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20077 (eval $ac_try) 2>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; }; then
20081 glibcxx_cv_func_modfl_use=yes
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20086 glibcxx_cv_func_modfl_use=no
20088 rm -f conftest.$ac_objext conftest.$ac_ext
20090 ac_cpp='$CPP $CPPFLAGS'
20091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20100 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20102 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20104 for ac_func in modfl
20106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20107 echo "$as_me:$LINENO: checking for $ac_func" >&5
20108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20109 if eval "test \"\${$as_ac_var+set}\" = set"; then
20110 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 if test x$gcc_no_link = xyes; then
20113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20115 { (exit 1); exit 1; }; }
20117 cat >conftest.$ac_ext <<_ACEOF
20118 #line $LINENO "configure"
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 /* System header to define __stub macros and hopefully few prototypes,
20125 which can conflict with char $ac_func (); below.
20126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20127 <limits.h> exists even on freestanding compilers. */
20129 # include <limits.h>
20131 # include <assert.h>
20133 /* Override any gcc2 internal prototype to avoid an error. */
20138 /* We use char because int might match the return type of a gcc2
20139 builtin and then its argument prototype would still apply. */
20141 /* The GNU C library defines this for functions which it implements
20142 to always fail with ENOSYS. Some functions are actually named
20143 something starting with __ and the normal name is an alias. */
20144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20147 char (*f) () = $ac_func;
20156 return f != $ac_func;
20161 rm -f conftest.$ac_objext conftest$ac_exeext
20162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20163 (eval $ac_link) 2>&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } &&
20167 { ac_try='test -s conftest$ac_exeext'
20168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169 (eval $ac_try) 2>&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); }; }; then
20173 eval "$as_ac_var=yes"
20175 echo "$as_me: failed program was:" >&5
20176 sed 's/^/| /' conftest.$ac_ext >&5
20178 eval "$as_ac_var=no"
20180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20184 if test `eval echo '${'$as_ac_var'}'` = yes; then
20185 cat >>confdefs.h <<_ACEOF
20186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20194 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20195 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20196 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20197 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 ac_cpp='$CXXCPP $CPPFLAGS'
20205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20209 cat >conftest.$ac_ext <<_ACEOF
20210 #line $LINENO "configure"
20213 cat confdefs.h >>conftest.$ac_ext
20214 cat >>conftest.$ac_ext <<_ACEOF
20215 /* end confdefs.h. */
20225 rm -f conftest.$ac_objext
20226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20227 (eval $ac_compile) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); } &&
20231 { ac_try='test -s conftest.$ac_objext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 glibcxx_cv_func__modfl_use=yes
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.$ac_ext >&5
20242 glibcxx_cv_func__modfl_use=no
20244 rm -f conftest.$ac_objext conftest.$ac_ext
20246 ac_cpp='$CPP $CPPFLAGS'
20247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20256 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20258 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20260 for ac_func in _modfl
20262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20263 echo "$as_me:$LINENO: checking for $ac_func" >&5
20264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20265 if eval "test \"\${$as_ac_var+set}\" = set"; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 if test x$gcc_no_link = xyes; then
20269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20271 { (exit 1); exit 1; }; }
20273 cat >conftest.$ac_ext <<_ACEOF
20274 #line $LINENO "configure"
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 /* System header to define __stub macros and hopefully few prototypes,
20281 which can conflict with char $ac_func (); below.
20282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20283 <limits.h> exists even on freestanding compilers. */
20285 # include <limits.h>
20287 # include <assert.h>
20289 /* Override any gcc2 internal prototype to avoid an error. */
20294 /* We use char because int might match the return type of a gcc2
20295 builtin and then its argument prototype would still apply. */
20297 /* The GNU C library defines this for functions which it implements
20298 to always fail with ENOSYS. Some functions are actually named
20299 something starting with __ and the normal name is an alias. */
20300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20303 char (*f) () = $ac_func;
20312 return f != $ac_func;
20317 rm -f conftest.$ac_objext conftest$ac_exeext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20319 (eval $ac_link) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try='test -s conftest$ac_exeext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 eval "$as_ac_var=yes"
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 eval "$as_ac_var=no"
20336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20340 if test `eval echo '${'$as_ac_var'}'` = yes; then
20341 cat >>confdefs.h <<_ACEOF
20342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20353 echo "$as_me:$LINENO: checking for powl declaration" >&5
20354 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20355 if test x${glibcxx_cv_func_powl_use+set} != xset; then
20356 if test "${glibcxx_cv_func_powl_use+set}" = set; then
20357 echo $ECHO_N "(cached) $ECHO_C" >&6
20363 ac_cpp='$CXXCPP $CPPFLAGS'
20364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20368 cat >conftest.$ac_ext <<_ACEOF
20369 #line $LINENO "configure"
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20384 rm -f conftest.$ac_objext
20385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20386 (eval $ac_compile) 2>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try='test -s conftest.$ac_objext'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; }; then
20396 glibcxx_cv_func_powl_use=yes
20398 echo "$as_me: failed program was:" >&5
20399 sed 's/^/| /' conftest.$ac_ext >&5
20401 glibcxx_cv_func_powl_use=no
20403 rm -f conftest.$ac_objext conftest.$ac_ext
20405 ac_cpp='$CPP $CPPFLAGS'
20406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20415 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20417 if test x$glibcxx_cv_func_powl_use = x"yes"; then
20419 for ac_func in powl
20421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20422 echo "$as_me:$LINENO: checking for $ac_func" >&5
20423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20424 if eval "test \"\${$as_ac_var+set}\" = set"; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 if test x$gcc_no_link = xyes; then
20428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20430 { (exit 1); exit 1; }; }
20432 cat >conftest.$ac_ext <<_ACEOF
20433 #line $LINENO "configure"
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 /* System header to define __stub macros and hopefully few prototypes,
20440 which can conflict with char $ac_func (); below.
20441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20442 <limits.h> exists even on freestanding compilers. */
20444 # include <limits.h>
20446 # include <assert.h>
20448 /* Override any gcc2 internal prototype to avoid an error. */
20453 /* We use char because int might match the return type of a gcc2
20454 builtin and then its argument prototype would still apply. */
20456 /* The GNU C library defines this for functions which it implements
20457 to always fail with ENOSYS. Some functions are actually named
20458 something starting with __ and the normal name is an alias. */
20459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20462 char (*f) () = $ac_func;
20471 return f != $ac_func;
20476 rm -f conftest.$ac_objext conftest$ac_exeext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20478 (eval $ac_link) 2>&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } &&
20482 { ac_try='test -s conftest$ac_exeext'
20483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20484 (eval $ac_try) 2>&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); }; }; then
20488 eval "$as_ac_var=yes"
20490 echo "$as_me: failed program was:" >&5
20491 sed 's/^/| /' conftest.$ac_ext >&5
20493 eval "$as_ac_var=no"
20495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20499 if test `eval echo '${'$as_ac_var'}'` = yes; then
20500 cat >>confdefs.h <<_ACEOF
20501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20509 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20510 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20511 if test x${glibcxx_cv_func__powl_use+set} != xset; then
20512 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20513 echo $ECHO_N "(cached) $ECHO_C" >&6
20519 ac_cpp='$CXXCPP $CPPFLAGS'
20520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20524 cat >conftest.$ac_ext <<_ACEOF
20525 #line $LINENO "configure"
20528 cat confdefs.h >>conftest.$ac_ext
20529 cat >>conftest.$ac_ext <<_ACEOF
20530 /* end confdefs.h. */
20540 rm -f conftest.$ac_objext
20541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20542 (eval $ac_compile) 2>&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); } &&
20546 { ac_try='test -s conftest.$ac_objext'
20547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20548 (eval $ac_try) 2>&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); }; }; then
20552 glibcxx_cv_func__powl_use=yes
20554 echo "$as_me: failed program was:" >&5
20555 sed 's/^/| /' conftest.$ac_ext >&5
20557 glibcxx_cv_func__powl_use=no
20559 rm -f conftest.$ac_objext conftest.$ac_ext
20561 ac_cpp='$CPP $CPPFLAGS'
20562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20571 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20573 if test x$glibcxx_cv_func__powl_use = x"yes"; then
20575 for ac_func in _powl
20577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20578 echo "$as_me:$LINENO: checking for $ac_func" >&5
20579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20580 if eval "test \"\${$as_ac_var+set}\" = set"; then
20581 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 if test x$gcc_no_link = xyes; then
20584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20586 { (exit 1); exit 1; }; }
20588 cat >conftest.$ac_ext <<_ACEOF
20589 #line $LINENO "configure"
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 /* System header to define __stub macros and hopefully few prototypes,
20596 which can conflict with char $ac_func (); below.
20597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20598 <limits.h> exists even on freestanding compilers. */
20600 # include <limits.h>
20602 # include <assert.h>
20604 /* Override any gcc2 internal prototype to avoid an error. */
20609 /* We use char because int might match the return type of a gcc2
20610 builtin and then its argument prototype would still apply. */
20612 /* The GNU C library defines this for functions which it implements
20613 to always fail with ENOSYS. Some functions are actually named
20614 something starting with __ and the normal name is an alias. */
20615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20618 char (*f) () = $ac_func;
20627 return f != $ac_func;
20632 rm -f conftest.$ac_objext conftest$ac_exeext
20633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20634 (eval $ac_link) 2>&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } &&
20638 { ac_try='test -s conftest$ac_exeext'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; }; then
20644 eval "$as_ac_var=yes"
20646 echo "$as_me: failed program was:" >&5
20647 sed 's/^/| /' conftest.$ac_ext >&5
20649 eval "$as_ac_var=no"
20651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20655 if test `eval echo '${'$as_ac_var'}'` = yes; then
20656 cat >>confdefs.h <<_ACEOF
20657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20668 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20669 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20670 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20671 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20672 echo $ECHO_N "(cached) $ECHO_C" >&6
20678 ac_cpp='$CXXCPP $CPPFLAGS'
20679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20683 cat >conftest.$ac_ext <<_ACEOF
20684 #line $LINENO "configure"
20687 cat confdefs.h >>conftest.$ac_ext
20688 cat >>conftest.$ac_ext <<_ACEOF
20689 /* end confdefs.h. */
20691 #ifdef HAVE_IEEEFP_H
20692 #include <ieeefp.h>
20703 rm -f conftest.$ac_objext
20704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20705 (eval $ac_compile) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); } &&
20709 { ac_try='test -s conftest.$ac_objext'
20710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20711 (eval $ac_try) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); }; }; then
20715 glibcxx_cv_func_sqrtl_use=yes
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20720 glibcxx_cv_func_sqrtl_use=no
20722 rm -f conftest.$ac_objext conftest.$ac_ext
20724 ac_cpp='$CPP $CPPFLAGS'
20725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20734 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20736 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20738 for ac_func in sqrtl
20740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20741 echo "$as_me:$LINENO: checking for $ac_func" >&5
20742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20743 if eval "test \"\${$as_ac_var+set}\" = set"; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20746 if test x$gcc_no_link = xyes; then
20747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20749 { (exit 1); exit 1; }; }
20751 cat >conftest.$ac_ext <<_ACEOF
20752 #line $LINENO "configure"
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 /* System header to define __stub macros and hopefully few prototypes,
20759 which can conflict with char $ac_func (); below.
20760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20761 <limits.h> exists even on freestanding compilers. */
20763 # include <limits.h>
20765 # include <assert.h>
20767 /* Override any gcc2 internal prototype to avoid an error. */
20772 /* We use char because int might match the return type of a gcc2
20773 builtin and then its argument prototype would still apply. */
20775 /* The GNU C library defines this for functions which it implements
20776 to always fail with ENOSYS. Some functions are actually named
20777 something starting with __ and the normal name is an alias. */
20778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20781 char (*f) () = $ac_func;
20790 return f != $ac_func;
20795 rm -f conftest.$ac_objext conftest$ac_exeext
20796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20797 (eval $ac_link) 2>&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } &&
20801 { ac_try='test -s conftest$ac_exeext'
20802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20803 (eval $ac_try) 2>&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; }; then
20807 eval "$as_ac_var=yes"
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20812 eval "$as_ac_var=no"
20814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20818 if test `eval echo '${'$as_ac_var'}'` = yes; then
20819 cat >>confdefs.h <<_ACEOF
20820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20828 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20829 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20830 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20831 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20838 ac_cpp='$CXXCPP $CPPFLAGS'
20839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20843 cat >conftest.$ac_ext <<_ACEOF
20844 #line $LINENO "configure"
20847 cat confdefs.h >>conftest.$ac_ext
20848 cat >>conftest.$ac_ext <<_ACEOF
20849 /* end confdefs.h. */
20851 #ifdef HAVE_IEEEFP_H
20852 #include <ieeefp.h>
20863 rm -f conftest.$ac_objext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20865 (eval $ac_compile) 2>&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } &&
20869 { ac_try='test -s conftest.$ac_objext'
20870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20871 (eval $ac_try) 2>&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); }; }; then
20875 glibcxx_cv_func__sqrtl_use=yes
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20880 glibcxx_cv_func__sqrtl_use=no
20882 rm -f conftest.$ac_objext conftest.$ac_ext
20884 ac_cpp='$CPP $CPPFLAGS'
20885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20894 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20896 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20898 for ac_func in _sqrtl
20900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20901 echo "$as_me:$LINENO: checking for $ac_func" >&5
20902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20903 if eval "test \"\${$as_ac_var+set}\" = set"; then
20904 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 if test x$gcc_no_link = xyes; then
20907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20909 { (exit 1); exit 1; }; }
20911 cat >conftest.$ac_ext <<_ACEOF
20912 #line $LINENO "configure"
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 /* System header to define __stub macros and hopefully few prototypes,
20919 which can conflict with char $ac_func (); below.
20920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20921 <limits.h> exists even on freestanding compilers. */
20923 # include <limits.h>
20925 # include <assert.h>
20927 /* Override any gcc2 internal prototype to avoid an error. */
20932 /* We use char because int might match the return type of a gcc2
20933 builtin and then its argument prototype would still apply. */
20935 /* The GNU C library defines this for functions which it implements
20936 to always fail with ENOSYS. Some functions are actually named
20937 something starting with __ and the normal name is an alias. */
20938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20941 char (*f) () = $ac_func;
20950 return f != $ac_func;
20955 rm -f conftest.$ac_objext conftest$ac_exeext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20957 (eval $ac_link) 2>&5
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); } &&
20961 { ac_try='test -s conftest$ac_exeext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 eval "$as_ac_var=yes"
20969 echo "$as_me: failed program was:" >&5
20970 sed 's/^/| /' conftest.$ac_ext >&5
20972 eval "$as_ac_var=no"
20974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20978 if test `eval echo '${'$as_ac_var'}'` = yes; then
20979 cat >>confdefs.h <<_ACEOF
20980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20991 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20992 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20993 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20994 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
21001 ac_cpp='$CXXCPP $CPPFLAGS'
21002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21006 cat >conftest.$ac_ext <<_ACEOF
21007 #line $LINENO "configure"
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21022 rm -f conftest.$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } &&
21028 { ac_try='test -s conftest.$ac_objext'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; }; then
21034 glibcxx_cv_func_sincosl_use=yes
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21039 glibcxx_cv_func_sincosl_use=no
21041 rm -f conftest.$ac_objext conftest.$ac_ext
21043 ac_cpp='$CPP $CPPFLAGS'
21044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21053 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21055 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21057 for ac_func in sincosl
21059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21060 echo "$as_me:$LINENO: checking for $ac_func" >&5
21061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21062 if eval "test \"\${$as_ac_var+set}\" = set"; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 if test x$gcc_no_link = xyes; then
21066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21068 { (exit 1); exit 1; }; }
21070 cat >conftest.$ac_ext <<_ACEOF
21071 #line $LINENO "configure"
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 /* System header to define __stub macros and hopefully few prototypes,
21078 which can conflict with char $ac_func (); below.
21079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21080 <limits.h> exists even on freestanding compilers. */
21082 # include <limits.h>
21084 # include <assert.h>
21086 /* Override any gcc2 internal prototype to avoid an error. */
21091 /* We use char because int might match the return type of a gcc2
21092 builtin and then its argument prototype would still apply. */
21094 /* The GNU C library defines this for functions which it implements
21095 to always fail with ENOSYS. Some functions are actually named
21096 something starting with __ and the normal name is an alias. */
21097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21100 char (*f) () = $ac_func;
21109 return f != $ac_func;
21114 rm -f conftest.$ac_objext conftest$ac_exeext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21116 (eval $ac_link) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -s conftest$ac_exeext'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; }; then
21126 eval "$as_ac_var=yes"
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 eval "$as_ac_var=no"
21133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21137 if test `eval echo '${'$as_ac_var'}'` = yes; then
21138 cat >>confdefs.h <<_ACEOF
21139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21147 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21148 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21149 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21150 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 ac_cpp='$CXXCPP $CPPFLAGS'
21158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162 cat >conftest.$ac_ext <<_ACEOF
21163 #line $LINENO "configure"
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21178 rm -f conftest.$ac_objext
21179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21180 (eval $ac_compile) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); } &&
21184 { ac_try='test -s conftest.$ac_objext'
21185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21186 (eval $ac_try) 2>&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); }; }; then
21190 glibcxx_cv_func__sincosl_use=yes
21192 echo "$as_me: failed program was:" >&5
21193 sed 's/^/| /' conftest.$ac_ext >&5
21195 glibcxx_cv_func__sincosl_use=no
21197 rm -f conftest.$ac_objext conftest.$ac_ext
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21209 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21211 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21213 for ac_func in _sincosl
21215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21216 echo "$as_me:$LINENO: checking for $ac_func" >&5
21217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21218 if eval "test \"\${$as_ac_var+set}\" = set"; then
21219 echo $ECHO_N "(cached) $ECHO_C" >&6
21221 if test x$gcc_no_link = xyes; then
21222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21224 { (exit 1); exit 1; }; }
21226 cat >conftest.$ac_ext <<_ACEOF
21227 #line $LINENO "configure"
21230 cat confdefs.h >>conftest.$ac_ext
21231 cat >>conftest.$ac_ext <<_ACEOF
21232 /* end confdefs.h. */
21233 /* System header to define __stub macros and hopefully few prototypes,
21234 which can conflict with char $ac_func (); below.
21235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21236 <limits.h> exists even on freestanding compilers. */
21238 # include <limits.h>
21240 # include <assert.h>
21242 /* Override any gcc2 internal prototype to avoid an error. */
21247 /* We use char because int might match the return type of a gcc2
21248 builtin and then its argument prototype would still apply. */
21250 /* The GNU C library defines this for functions which it implements
21251 to always fail with ENOSYS. Some functions are actually named
21252 something starting with __ and the normal name is an alias. */
21253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21256 char (*f) () = $ac_func;
21265 return f != $ac_func;
21270 rm -f conftest.$ac_objext conftest$ac_exeext
21271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21272 (eval $ac_link) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); } &&
21276 { ac_try='test -s conftest$ac_exeext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 eval "$as_ac_var=yes"
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 eval "$as_ac_var=no"
21289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21293 if test `eval echo '${'$as_ac_var'}'` = yes; then
21294 cat >>confdefs.h <<_ACEOF
21295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21306 echo "$as_me:$LINENO: checking for finitel declaration" >&5
21307 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21308 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21309 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21310 echo $ECHO_N "(cached) $ECHO_C" >&6
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21321 cat >conftest.$ac_ext <<_ACEOF
21322 #line $LINENO "configure"
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21329 #ifdef HAVE_IEEEFP_H
21330 #include <ieeefp.h>
21341 rm -f conftest.$ac_objext
21342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21343 (eval $ac_compile) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); } &&
21347 { ac_try='test -s conftest.$ac_objext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 glibcxx_cv_func_finitel_use=yes
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.$ac_ext >&5
21358 glibcxx_cv_func_finitel_use=no
21360 rm -f conftest.$ac_objext conftest.$ac_ext
21362 ac_cpp='$CPP $CPPFLAGS'
21363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21372 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21374 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21376 for ac_func in finitel
21378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21379 echo "$as_me:$LINENO: checking for $ac_func" >&5
21380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21381 if eval "test \"\${$as_ac_var+set}\" = set"; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 if test x$gcc_no_link = xyes; then
21385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21387 { (exit 1); exit 1; }; }
21389 cat >conftest.$ac_ext <<_ACEOF
21390 #line $LINENO "configure"
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 /* System header to define __stub macros and hopefully few prototypes,
21397 which can conflict with char $ac_func (); below.
21398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21399 <limits.h> exists even on freestanding compilers. */
21401 # include <limits.h>
21403 # include <assert.h>
21405 /* Override any gcc2 internal prototype to avoid an error. */
21410 /* We use char because int might match the return type of a gcc2
21411 builtin and then its argument prototype would still apply. */
21413 /* The GNU C library defines this for functions which it implements
21414 to always fail with ENOSYS. Some functions are actually named
21415 something starting with __ and the normal name is an alias. */
21416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21419 char (*f) () = $ac_func;
21428 return f != $ac_func;
21433 rm -f conftest.$ac_objext conftest$ac_exeext
21434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21435 (eval $ac_link) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } &&
21439 { ac_try='test -s conftest$ac_exeext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 eval "$as_ac_var=yes"
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 eval "$as_ac_var=no"
21452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21456 if test `eval echo '${'$as_ac_var'}'` = yes; then
21457 cat >>confdefs.h <<_ACEOF
21458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21466 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21467 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21468 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21469 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 ac_cpp='$CXXCPP $CPPFLAGS'
21477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21481 cat >conftest.$ac_ext <<_ACEOF
21482 #line $LINENO "configure"
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21489 #ifdef HAVE_IEEEFP_H
21490 #include <ieeefp.h>
21501 rm -f conftest.$ac_objext
21502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21503 (eval $ac_compile) 2>&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try='test -s conftest.$ac_objext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 glibcxx_cv_func__finitel_use=yes
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21518 glibcxx_cv_func__finitel_use=no
21520 rm -f conftest.$ac_objext conftest.$ac_ext
21522 ac_cpp='$CPP $CPPFLAGS'
21523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21532 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21534 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21536 for ac_func in _finitel
21538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21539 echo "$as_me:$LINENO: checking for $ac_func" >&5
21540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21541 if eval "test \"\${$as_ac_var+set}\" = set"; then
21542 echo $ECHO_N "(cached) $ECHO_C" >&6
21544 if test x$gcc_no_link = xyes; then
21545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21547 { (exit 1); exit 1; }; }
21549 cat >conftest.$ac_ext <<_ACEOF
21550 #line $LINENO "configure"
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 /* System header to define __stub macros and hopefully few prototypes,
21557 which can conflict with char $ac_func (); below.
21558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21559 <limits.h> exists even on freestanding compilers. */
21561 # include <limits.h>
21563 # include <assert.h>
21565 /* Override any gcc2 internal prototype to avoid an error. */
21570 /* We use char because int might match the return type of a gcc2
21571 builtin and then its argument prototype would still apply. */
21573 /* The GNU C library defines this for functions which it implements
21574 to always fail with ENOSYS. Some functions are actually named
21575 something starting with __ and the normal name is an alias. */
21576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21579 char (*f) () = $ac_func;
21588 return f != $ac_func;
21593 rm -f conftest.$ac_objext conftest$ac_exeext
21594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21595 (eval $ac_link) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } &&
21599 { ac_try='test -s conftest$ac_exeext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 eval "$as_ac_var=yes"
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21610 eval "$as_ac_var=no"
21612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21616 if test `eval echo '${'$as_ac_var'}'` = yes; then
21617 cat >>confdefs.h <<_ACEOF
21618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21630 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21631 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21632 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21633 echo $ECHO_N "(cached) $ECHO_C" >&6
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21644 cat >conftest.$ac_ext <<_ACEOF
21645 #line $LINENO "configure"
21648 cat confdefs.h >>conftest.$ac_ext
21649 cat >>conftest.$ac_ext <<_ACEOF
21650 /* end confdefs.h. */
21655 `for x in _acosf _asinf _atanf \
21656 _cosf _sinf _tanf \
21657 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21662 rm -f conftest.$ac_objext
21663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21664 (eval $ac_compile) 2>&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try='test -s conftest.$ac_objext'
21669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21670 (eval $ac_try) 2>&5
21672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21673 (exit $ac_status); }; }; then
21674 glibcxx_cv_func__float_trig_use=yes
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.$ac_ext >&5
21679 glibcxx_cv_func__float_trig_use=no
21681 rm -f conftest.$ac_objext conftest.$ac_ext
21683 ac_cpp='$CPP $CPPFLAGS'
21684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21691 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21692 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21702 for ac_func in _acosf _asinf _atanf \
21703 _cosf _sinf _tanf \
21704 _coshf _sinhf _tanhf
21706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21707 echo "$as_me:$LINENO: checking for $ac_func" >&5
21708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21709 if eval "test \"\${$as_ac_var+set}\" = set"; then
21710 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 if test x$gcc_no_link = xyes; then
21713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21715 { (exit 1); exit 1; }; }
21717 cat >conftest.$ac_ext <<_ACEOF
21718 #line $LINENO "configure"
21721 cat confdefs.h >>conftest.$ac_ext
21722 cat >>conftest.$ac_ext <<_ACEOF
21723 /* end confdefs.h. */
21724 /* System header to define __stub macros and hopefully few prototypes,
21725 which can conflict with char $ac_func (); below.
21726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21727 <limits.h> exists even on freestanding compilers. */
21729 # include <limits.h>
21731 # include <assert.h>
21733 /* Override any gcc2 internal prototype to avoid an error. */
21738 /* We use char because int might match the return type of a gcc2
21739 builtin and then its argument prototype would still apply. */
21741 /* The GNU C library defines this for functions which it implements
21742 to always fail with ENOSYS. Some functions are actually named
21743 something starting with __ and the normal name is an alias. */
21744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21747 char (*f) () = $ac_func;
21756 return f != $ac_func;
21761 rm -f conftest.$ac_objext conftest$ac_exeext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21763 (eval $ac_link) 2>&5
21765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21766 (exit $ac_status); } &&
21767 { ac_try='test -s conftest$ac_exeext'
21768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769 (eval $ac_try) 2>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); }; }; then
21773 eval "$as_ac_var=yes"
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.$ac_ext >&5
21778 eval "$as_ac_var=no"
21780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21784 if test `eval echo '${'$as_ac_var'}'` = yes; then
21785 cat >>confdefs.h <<_ACEOF
21786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21795 echo "$as_me:$LINENO: checking for _float round functions" >&5
21796 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21797 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21798 echo $ECHO_N "(cached) $ECHO_C" >&6
21804 ac_cpp='$CXXCPP $CPPFLAGS'
21805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21809 cat >conftest.$ac_ext <<_ACEOF
21810 #line $LINENO "configure"
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21820 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21825 rm -f conftest.$ac_objext
21826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21827 (eval $ac_compile) 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } &&
21831 { ac_try='test -s conftest.$ac_objext'
21832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833 (eval $ac_try) 2>&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); }; }; then
21837 glibcxx_cv_func__float_round_use=yes
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21842 glibcxx_cv_func__float_round_use=no
21844 rm -f conftest.$ac_objext conftest.$ac_ext
21846 ac_cpp='$CPP $CPPFLAGS'
21847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21854 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21855 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21858 for ac_func in _ceilf _floorf
21860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21861 echo "$as_me:$LINENO: checking for $ac_func" >&5
21862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21863 if eval "test \"\${$as_ac_var+set}\" = set"; then
21864 echo $ECHO_N "(cached) $ECHO_C" >&6
21866 if test x$gcc_no_link = xyes; then
21867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21869 { (exit 1); exit 1; }; }
21871 cat >conftest.$ac_ext <<_ACEOF
21872 #line $LINENO "configure"
21875 cat confdefs.h >>conftest.$ac_ext
21876 cat >>conftest.$ac_ext <<_ACEOF
21877 /* end confdefs.h. */
21878 /* System header to define __stub macros and hopefully few prototypes,
21879 which can conflict with char $ac_func (); below.
21880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21881 <limits.h> exists even on freestanding compilers. */
21883 # include <limits.h>
21885 # include <assert.h>
21887 /* Override any gcc2 internal prototype to avoid an error. */
21892 /* We use char because int might match the return type of a gcc2
21893 builtin and then its argument prototype would still apply. */
21895 /* The GNU C library defines this for functions which it implements
21896 to always fail with ENOSYS. Some functions are actually named
21897 something starting with __ and the normal name is an alias. */
21898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21901 char (*f) () = $ac_func;
21910 return f != $ac_func;
21915 rm -f conftest.$ac_objext conftest$ac_exeext
21916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21917 (eval $ac_link) 2>&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } &&
21921 { ac_try='test -s conftest$ac_exeext'
21922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21923 (eval $ac_try) 2>&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); }; }; then
21927 eval "$as_ac_var=yes"
21929 echo "$as_me: failed program was:" >&5
21930 sed 's/^/| /' conftest.$ac_ext >&5
21932 eval "$as_ac_var=no"
21934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21938 if test `eval echo '${'$as_ac_var'}'` = yes; then
21939 cat >>confdefs.h <<_ACEOF
21940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21950 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21951 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21952 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21959 ac_cpp='$CXXCPP $CPPFLAGS'
21960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964 cat >conftest.$ac_ext <<_ACEOF
21965 #line $LINENO "configure"
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21975 `for x in _acosl _asinl _atanl \
21976 _cosl _sinl _tanl \
21977 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21982 rm -f conftest.$ac_objext
21983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21984 (eval $ac_compile) 2>&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try='test -s conftest.$ac_objext'
21989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21990 (eval $ac_try) 2>&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); }; }; then
21994 glibcxx_cv_func__long_double_trig_use=yes
21996 echo "$as_me: failed program was:" >&5
21997 sed 's/^/| /' conftest.$ac_ext >&5
21999 glibcxx_cv_func__long_double_trig_use=no
22001 rm -f conftest.$ac_objext conftest.$ac_ext
22003 ac_cpp='$CPP $CPPFLAGS'
22004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
22011 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
22012 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22022 for ac_func in _acosl _asinl _atanl \
22023 _cosl _sinl _tanl \
22024 _coshl _sinhl _tanhl
22026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22027 echo "$as_me:$LINENO: checking for $ac_func" >&5
22028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22029 if eval "test \"\${$as_ac_var+set}\" = set"; then
22030 echo $ECHO_N "(cached) $ECHO_C" >&6
22032 if test x$gcc_no_link = xyes; then
22033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22035 { (exit 1); exit 1; }; }
22037 cat >conftest.$ac_ext <<_ACEOF
22038 #line $LINENO "configure"
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22044 /* System header to define __stub macros and hopefully few prototypes,
22045 which can conflict with char $ac_func (); below.
22046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22047 <limits.h> exists even on freestanding compilers. */
22049 # include <limits.h>
22051 # include <assert.h>
22053 /* Override any gcc2 internal prototype to avoid an error. */
22058 /* We use char because int might match the return type of a gcc2
22059 builtin and then its argument prototype would still apply. */
22061 /* The GNU C library defines this for functions which it implements
22062 to always fail with ENOSYS. Some functions are actually named
22063 something starting with __ and the normal name is an alias. */
22064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22067 char (*f) () = $ac_func;
22076 return f != $ac_func;
22081 rm -f conftest.$ac_objext conftest$ac_exeext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22083 (eval $ac_link) 2>&5
22085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22086 (exit $ac_status); } &&
22087 { ac_try='test -s conftest$ac_exeext'
22088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22089 (eval $ac_try) 2>&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); }; }; then
22093 eval "$as_ac_var=yes"
22095 echo "$as_me: failed program was:" >&5
22096 sed 's/^/| /' conftest.$ac_ext >&5
22098 eval "$as_ac_var=no"
22100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22104 if test `eval echo '${'$as_ac_var'}'` = yes; then
22105 cat >>confdefs.h <<_ACEOF
22106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22115 echo "$as_me:$LINENO: checking for _long double round functions" >&5
22116 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22117 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22118 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 ac_cpp='$CXXCPP $CPPFLAGS'
22125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22129 cat >conftest.$ac_ext <<_ACEOF
22130 #line $LINENO "configure"
22133 cat confdefs.h >>conftest.$ac_ext
22134 cat >>conftest.$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22140 `for x in _ceill _floorl; do echo "$x (0);"; done`
22145 rm -f conftest.$ac_objext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22147 (eval $ac_compile) 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); } &&
22151 { ac_try='test -s conftest.$ac_objext'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 glibcxx_cv_func__long_double_round_use=yes
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 glibcxx_cv_func__long_double_round_use=no
22164 rm -f conftest.$ac_objext conftest.$ac_ext
22166 ac_cpp='$CPP $CPPFLAGS'
22167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22174 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22175 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22178 for ac_func in _ceill _floorl
22180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22181 echo "$as_me:$LINENO: checking for $ac_func" >&5
22182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22183 if eval "test \"\${$as_ac_var+set}\" = set"; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 if test x$gcc_no_link = xyes; then
22187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22189 { (exit 1); exit 1; }; }
22191 cat >conftest.$ac_ext <<_ACEOF
22192 #line $LINENO "configure"
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22198 /* System header to define __stub macros and hopefully few prototypes,
22199 which can conflict with char $ac_func (); below.
22200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22201 <limits.h> exists even on freestanding compilers. */
22203 # include <limits.h>
22205 # include <assert.h>
22207 /* Override any gcc2 internal prototype to avoid an error. */
22212 /* We use char because int might match the return type of a gcc2
22213 builtin and then its argument prototype would still apply. */
22215 /* The GNU C library defines this for functions which it implements
22216 to always fail with ENOSYS. Some functions are actually named
22217 something starting with __ and the normal name is an alias. */
22218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22221 char (*f) () = $ac_func;
22230 return f != $ac_func;
22235 rm -f conftest.$ac_objext conftest$ac_exeext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22237 (eval $ac_link) 2>&5
22239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240 (exit $ac_status); } &&
22241 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.$ac_ext >&5
22252 eval "$as_ac_var=no"
22254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22258 if test `eval echo '${'$as_ac_var'}'` = yes; then
22259 cat >>confdefs.h <<_ACEOF
22260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22269 LIBS="$ac_save_LIBS"
22270 CXXFLAGS="$ac_save_CXXFLAGS"
22274 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22275 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22276 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22277 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22278 echo $ECHO_N "(cached) $ECHO_C" >&6
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22289 cat >conftest.$ac_ext <<_ACEOF
22290 #line $LINENO "configure"
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22305 rm -f conftest.$ac_objext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22307 (eval $ac_compile) 2>&5
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } &&
22311 { ac_try='test -s conftest.$ac_objext'
22312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22313 (eval $ac_try) 2>&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); }; }; then
22317 glibcxx_cv_func___builtin_abs_use=yes
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22322 glibcxx_cv_func___builtin_abs_use=no
22324 rm -f conftest.$ac_objext conftest.$ac_ext
22326 ac_cpp='$CPP $CPPFLAGS'
22327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22335 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22336 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22337 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22338 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22339 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22340 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22341 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22342 echo $ECHO_N "(cached) $ECHO_C" >&6
22345 if test x$gcc_no_link = xyes; then
22346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22348 { (exit 1); exit 1; }; }
22350 cat >conftest.$ac_ext <<_ACEOF
22351 #line $LINENO "configure"
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22366 rm -f conftest.$ac_objext conftest$ac_exeext
22367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22368 (eval $ac_link) 2>&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try='test -s conftest$ac_exeext'
22373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22374 (eval $ac_try) 2>&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); }; }; then
22378 glibcxx_cv_func___builtin_abs_link=yes
22380 echo "$as_me: failed program was:" >&5
22381 sed 's/^/| /' conftest.$ac_ext >&5
22383 glibcxx_cv_func___builtin_abs_link=no
22385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22391 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22392 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22393 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22394 cat >>confdefs.h <<_ACEOF
22395 #define ${ac_tr_func} 1
22402 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22403 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22404 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22405 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22406 echo $ECHO_N "(cached) $ECHO_C" >&6
22412 ac_cpp='$CXXCPP $CPPFLAGS'
22413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417 cat >conftest.$ac_ext <<_ACEOF
22418 #line $LINENO "configure"
22421 cat confdefs.h >>conftest.$ac_ext
22422 cat >>conftest.$ac_ext <<_ACEOF
22423 /* end confdefs.h. */
22428 __builtin_fabsf(0);
22433 rm -f conftest.$ac_objext
22434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22435 (eval $ac_compile) 2>&5
22437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22438 (exit $ac_status); } &&
22439 { ac_try='test -s conftest.$ac_objext'
22440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22441 (eval $ac_try) 2>&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); }; }; then
22445 glibcxx_cv_func___builtin_fabsf_use=yes
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22450 glibcxx_cv_func___builtin_fabsf_use=no
22452 rm -f conftest.$ac_objext conftest.$ac_ext
22454 ac_cpp='$CPP $CPPFLAGS'
22455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22464 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22465 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22466 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22467 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22468 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22469 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22473 if test x$gcc_no_link = xyes; then
22474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22476 { (exit 1); exit 1; }; }
22478 cat >conftest.$ac_ext <<_ACEOF
22479 #line $LINENO "configure"
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22489 __builtin_fabsf(0);
22494 rm -f conftest.$ac_objext conftest$ac_exeext
22495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22496 (eval $ac_link) 2>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } &&
22500 { ac_try='test -s conftest$ac_exeext'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; }; then
22506 glibcxx_cv_func___builtin_fabsf_link=yes
22508 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.$ac_ext >&5
22511 glibcxx_cv_func___builtin_fabsf_link=no
22513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22519 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22520 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22521 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22522 cat >>confdefs.h <<_ACEOF
22523 #define ${ac_tr_func} 1
22530 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22531 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22532 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22533 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22534 echo $ECHO_N "(cached) $ECHO_C" >&6
22540 ac_cpp='$CXXCPP $CPPFLAGS'
22541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22545 cat >conftest.$ac_ext <<_ACEOF
22546 #line $LINENO "configure"
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22561 rm -f conftest.$ac_objext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22563 (eval $ac_compile) 2>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } &&
22567 { ac_try='test -s conftest.$ac_objext'
22568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 (eval $ac_try) 2>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; }; then
22573 glibcxx_cv_func___builtin_fabs_use=yes
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22578 glibcxx_cv_func___builtin_fabs_use=no
22580 rm -f conftest.$ac_objext conftest.$ac_ext
22582 ac_cpp='$CPP $CPPFLAGS'
22583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22591 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22592 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22593 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22594 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22595 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22596 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22597 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22598 echo $ECHO_N "(cached) $ECHO_C" >&6
22601 if test x$gcc_no_link = xyes; then
22602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22604 { (exit 1); exit 1; }; }
22606 cat >conftest.$ac_ext <<_ACEOF
22607 #line $LINENO "configure"
22610 cat confdefs.h >>conftest.$ac_ext
22611 cat >>conftest.$ac_ext <<_ACEOF
22612 /* end confdefs.h. */
22622 rm -f conftest.$ac_objext conftest$ac_exeext
22623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22624 (eval $ac_link) 2>&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -s conftest$ac_exeext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 glibcxx_cv_func___builtin_fabs_link=yes
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22639 glibcxx_cv_func___builtin_fabs_link=no
22641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22646 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22647 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22648 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22649 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22650 cat >>confdefs.h <<_ACEOF
22651 #define ${ac_tr_func} 1
22658 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22659 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22660 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22661 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22668 ac_cpp='$CXXCPP $CPPFLAGS'
22669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22673 cat >conftest.$ac_ext <<_ACEOF
22674 #line $LINENO "configure"
22677 cat confdefs.h >>conftest.$ac_ext
22678 cat >>conftest.$ac_ext <<_ACEOF
22679 /* end confdefs.h. */
22684 __builtin_fabsl(0);
22689 rm -f conftest.$ac_objext
22690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22691 (eval $ac_compile) 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); } &&
22695 { ac_try='test -s conftest.$ac_objext'
22696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22697 (eval $ac_try) 2>&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); }; }; then
22701 glibcxx_cv_func___builtin_fabsl_use=yes
22703 echo "$as_me: failed program was:" >&5
22704 sed 's/^/| /' conftest.$ac_ext >&5
22706 glibcxx_cv_func___builtin_fabsl_use=no
22708 rm -f conftest.$ac_objext conftest.$ac_ext
22710 ac_cpp='$CPP $CPPFLAGS'
22711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22719 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22720 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22721 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22722 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22723 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22724 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22725 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22729 if test x$gcc_no_link = xyes; then
22730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22732 { (exit 1); exit 1; }; }
22734 cat >conftest.$ac_ext <<_ACEOF
22735 #line $LINENO "configure"
22738 cat confdefs.h >>conftest.$ac_ext
22739 cat >>conftest.$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22745 __builtin_fabsl(0);
22750 rm -f conftest.$ac_objext conftest$ac_exeext
22751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22752 (eval $ac_link) 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); } &&
22756 { ac_try='test -s conftest$ac_exeext'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; }; then
22762 glibcxx_cv_func___builtin_fabsl_link=yes
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.$ac_ext >&5
22767 glibcxx_cv_func___builtin_fabsl_link=no
22769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22774 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22775 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22776 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22777 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22778 cat >>confdefs.h <<_ACEOF
22779 #define ${ac_tr_func} 1
22786 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22787 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22788 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22789 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22790 echo $ECHO_N "(cached) $ECHO_C" >&6
22796 ac_cpp='$CXXCPP $CPPFLAGS'
22797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22801 cat >conftest.$ac_ext <<_ACEOF
22802 #line $LINENO "configure"
22805 cat confdefs.h >>conftest.$ac_ext
22806 cat >>conftest.$ac_ext <<_ACEOF
22807 /* end confdefs.h. */
22817 rm -f conftest.$ac_objext
22818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22819 (eval $ac_compile) 2>&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } &&
22823 { ac_try='test -s conftest.$ac_objext'
22824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22825 (eval $ac_try) 2>&5
22827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 (exit $ac_status); }; }; then
22829 glibcxx_cv_func___builtin_labs_use=yes
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22834 glibcxx_cv_func___builtin_labs_use=no
22836 rm -f conftest.$ac_objext conftest.$ac_ext
22838 ac_cpp='$CPP $CPPFLAGS'
22839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22848 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22849 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22850 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22851 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22852 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22853 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 if test x$gcc_no_link = xyes; then
22858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22860 { (exit 1); exit 1; }; }
22862 cat >conftest.$ac_ext <<_ACEOF
22863 #line $LINENO "configure"
22866 cat confdefs.h >>conftest.$ac_ext
22867 cat >>conftest.$ac_ext <<_ACEOF
22868 /* end confdefs.h. */
22878 rm -f conftest.$ac_objext conftest$ac_exeext
22879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22880 (eval $ac_link) 2>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try='test -s conftest$ac_exeext'
22885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22886 (eval $ac_try) 2>&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); }; }; then
22890 glibcxx_cv_func___builtin_labs_link=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22895 glibcxx_cv_func___builtin_labs_link=no
22897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22902 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22903 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22904 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22905 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22906 cat >>confdefs.h <<_ACEOF
22907 #define ${ac_tr_func} 1
22915 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22916 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22917 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22918 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22919 echo $ECHO_N "(cached) $ECHO_C" >&6
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22930 cat >conftest.$ac_ext <<_ACEOF
22931 #line $LINENO "configure"
22934 cat confdefs.h >>conftest.$ac_ext
22935 cat >>conftest.$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22941 __builtin_sqrtf(0);
22946 rm -f conftest.$ac_objext
22947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22948 (eval $ac_compile) 2>&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } &&
22952 { ac_try='test -s conftest.$ac_objext'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; }; then
22958 glibcxx_cv_func___builtin_sqrtf_use=yes
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22963 glibcxx_cv_func___builtin_sqrtf_use=no
22965 rm -f conftest.$ac_objext conftest.$ac_ext
22967 ac_cpp='$CPP $CPPFLAGS'
22968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22976 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22977 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22978 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22979 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22980 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22981 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22982 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22983 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 if test x$gcc_no_link = xyes; then
22987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22989 { (exit 1); exit 1; }; }
22991 cat >conftest.$ac_ext <<_ACEOF
22992 #line $LINENO "configure"
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
23002 __builtin_sqrtf(0);
23007 rm -f conftest.$ac_objext conftest$ac_exeext
23008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23009 (eval $ac_link) 2>&5
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } &&
23013 { ac_try='test -s conftest$ac_exeext'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; }; then
23019 glibcxx_cv_func___builtin_sqrtf_link=yes
23021 echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.$ac_ext >&5
23024 glibcxx_cv_func___builtin_sqrtf_link=no
23026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23031 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23032 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23033 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23034 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23035 cat >>confdefs.h <<_ACEOF
23036 #define ${ac_tr_func} 1
23043 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23044 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23045 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23046 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23053 ac_cpp='$CXXCPP $CPPFLAGS'
23054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23058 cat >conftest.$ac_ext <<_ACEOF
23059 #line $LINENO "configure"
23062 cat confdefs.h >>conftest.$ac_ext
23063 cat >>conftest.$ac_ext <<_ACEOF
23064 /* end confdefs.h. */
23074 rm -f conftest.$ac_objext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23076 (eval $ac_compile) 2>&5
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); } &&
23080 { ac_try='test -s conftest.$ac_objext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 glibcxx_cv_func___builtin_sqrt_use=yes
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23091 glibcxx_cv_func___builtin_sqrt_use=no
23093 rm -f conftest.$ac_objext conftest.$ac_ext
23095 ac_cpp='$CPP $CPPFLAGS'
23096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23106 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23107 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23108 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23109 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23110 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23114 if test x$gcc_no_link = xyes; then
23115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23117 { (exit 1); exit 1; }; }
23119 cat >conftest.$ac_ext <<_ACEOF
23120 #line $LINENO "configure"
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23135 rm -f conftest.$ac_objext conftest$ac_exeext
23136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23137 (eval $ac_link) 2>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try='test -s conftest$ac_exeext'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; }; then
23147 glibcxx_cv_func___builtin_sqrt_link=yes
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.$ac_ext >&5
23152 glibcxx_cv_func___builtin_sqrt_link=no
23154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23159 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23160 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23161 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23162 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23163 cat >>confdefs.h <<_ACEOF
23164 #define ${ac_tr_func} 1
23171 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23172 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23173 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23174 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23175 echo $ECHO_N "(cached) $ECHO_C" >&6
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23186 cat >conftest.$ac_ext <<_ACEOF
23187 #line $LINENO "configure"
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23197 __builtin_sqrtl(0);
23202 rm -f conftest.$ac_objext
23203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23204 (eval $ac_compile) 2>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } &&
23208 { ac_try='test -s conftest.$ac_objext'
23209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23210 (eval $ac_try) 2>&5
23212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23213 (exit $ac_status); }; }; then
23214 glibcxx_cv_func___builtin_sqrtl_use=yes
23216 echo "$as_me: failed program was:" >&5
23217 sed 's/^/| /' conftest.$ac_ext >&5
23219 glibcxx_cv_func___builtin_sqrtl_use=no
23221 rm -f conftest.$ac_objext conftest.$ac_ext
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23232 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23233 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23234 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23235 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23236 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23237 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23238 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23239 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 if test x$gcc_no_link = xyes; then
23243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23245 { (exit 1); exit 1; }; }
23247 cat >conftest.$ac_ext <<_ACEOF
23248 #line $LINENO "configure"
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23258 __builtin_sqrtl(0);
23263 rm -f conftest.$ac_objext conftest$ac_exeext
23264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23265 (eval $ac_link) 2>&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try='test -s conftest$ac_exeext'
23270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23271 (eval $ac_try) 2>&5
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); }; }; then
23275 glibcxx_cv_func___builtin_sqrtl_link=yes
23277 echo "$as_me: failed program was:" >&5
23278 sed 's/^/| /' conftest.$ac_ext >&5
23280 glibcxx_cv_func___builtin_sqrtl_link=no
23282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23287 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23288 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23289 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23290 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23291 cat >>confdefs.h <<_ACEOF
23292 #define ${ac_tr_func} 1
23300 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23301 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23302 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23303 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 ac_cpp='$CXXCPP $CPPFLAGS'
23311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23315 cat >conftest.$ac_ext <<_ACEOF
23316 #line $LINENO "configure"
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23331 rm -f conftest.$ac_objext
23332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23333 (eval $ac_compile) 2>&5
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); } &&
23337 { ac_try='test -s conftest.$ac_objext'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; }; then
23343 glibcxx_cv_func___builtin_sinf_use=yes
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23348 glibcxx_cv_func___builtin_sinf_use=no
23350 rm -f conftest.$ac_objext conftest.$ac_ext
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23362 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23363 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23364 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23365 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23366 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23367 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 if test x$gcc_no_link = xyes; then
23372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23374 { (exit 1); exit 1; }; }
23376 cat >conftest.$ac_ext <<_ACEOF
23377 #line $LINENO "configure"
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23392 rm -f conftest.$ac_objext conftest$ac_exeext
23393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23394 (eval $ac_link) 2>&5
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); } &&
23398 { ac_try='test -s conftest$ac_exeext'
23399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23400 (eval $ac_try) 2>&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); }; }; then
23404 glibcxx_cv_func___builtin_sinf_link=yes
23406 echo "$as_me: failed program was:" >&5
23407 sed 's/^/| /' conftest.$ac_ext >&5
23409 glibcxx_cv_func___builtin_sinf_link=no
23411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23416 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23417 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23418 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23419 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23420 cat >>confdefs.h <<_ACEOF
23421 #define ${ac_tr_func} 1
23428 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23429 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23430 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23431 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23432 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 ac_cpp='$CXXCPP $CPPFLAGS'
23439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23443 cat >conftest.$ac_ext <<_ACEOF
23444 #line $LINENO "configure"
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23459 rm -f conftest.$ac_objext
23460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23461 (eval $ac_compile) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } &&
23465 { ac_try='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 glibcxx_cv_func___builtin_sin_use=yes
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23476 glibcxx_cv_func___builtin_sin_use=no
23478 rm -f conftest.$ac_objext conftest.$ac_ext
23480 ac_cpp='$CPP $CPPFLAGS'
23481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23489 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23490 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23491 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23492 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23493 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23494 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23495 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23496 echo $ECHO_N "(cached) $ECHO_C" >&6
23499 if test x$gcc_no_link = xyes; then
23500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23502 { (exit 1); exit 1; }; }
23504 cat >conftest.$ac_ext <<_ACEOF
23505 #line $LINENO "configure"
23508 cat confdefs.h >>conftest.$ac_ext
23509 cat >>conftest.$ac_ext <<_ACEOF
23510 /* end confdefs.h. */
23520 rm -f conftest.$ac_objext conftest$ac_exeext
23521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23522 (eval $ac_link) 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); } &&
23526 { ac_try='test -s conftest$ac_exeext'
23527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23528 (eval $ac_try) 2>&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); }; }; then
23532 glibcxx_cv_func___builtin_sin_link=yes
23534 echo "$as_me: failed program was:" >&5
23535 sed 's/^/| /' conftest.$ac_ext >&5
23537 glibcxx_cv_func___builtin_sin_link=no
23539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23545 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23546 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23547 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23548 cat >>confdefs.h <<_ACEOF
23549 #define ${ac_tr_func} 1
23556 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23557 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23558 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23559 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23560 echo $ECHO_N "(cached) $ECHO_C" >&6
23566 ac_cpp='$CXXCPP $CPPFLAGS'
23567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23571 cat >conftest.$ac_ext <<_ACEOF
23572 #line $LINENO "configure"
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23587 rm -f conftest.$ac_objext
23588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23589 (eval $ac_compile) 2>&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } &&
23593 { ac_try='test -s conftest.$ac_objext'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; }; then
23599 glibcxx_cv_func___builtin_sinl_use=yes
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23604 glibcxx_cv_func___builtin_sinl_use=no
23606 rm -f conftest.$ac_objext conftest.$ac_ext
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23617 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23618 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23619 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23620 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23621 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23622 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23623 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23624 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 if test x$gcc_no_link = xyes; then
23628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23630 { (exit 1); exit 1; }; }
23632 cat >conftest.$ac_ext <<_ACEOF
23633 #line $LINENO "configure"
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23648 rm -f conftest.$ac_objext conftest$ac_exeext
23649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23650 (eval $ac_link) 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } &&
23654 { ac_try='test -s conftest$ac_exeext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 glibcxx_cv_func___builtin_sinl_link=yes
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23665 glibcxx_cv_func___builtin_sinl_link=no
23667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23672 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23673 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23674 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23675 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23676 cat >>confdefs.h <<_ACEOF
23677 #define ${ac_tr_func} 1
23685 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23686 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23687 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23688 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 ac_cpp='$CXXCPP $CPPFLAGS'
23696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23700 cat >conftest.$ac_ext <<_ACEOF
23701 #line $LINENO "configure"
23704 cat confdefs.h >>conftest.$ac_ext
23705 cat >>conftest.$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23716 rm -f conftest.$ac_objext
23717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23718 (eval $ac_compile) 2>&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } &&
23722 { ac_try='test -s conftest.$ac_objext'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; }; then
23728 glibcxx_cv_func___builtin_cosf_use=yes
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23733 glibcxx_cv_func___builtin_cosf_use=no
23735 rm -f conftest.$ac_objext conftest.$ac_ext
23737 ac_cpp='$CPP $CPPFLAGS'
23738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23746 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23747 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23748 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23749 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23750 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23751 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23752 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23753 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 if test x$gcc_no_link = xyes; then
23757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23759 { (exit 1); exit 1; }; }
23761 cat >conftest.$ac_ext <<_ACEOF
23762 #line $LINENO "configure"
23765 cat confdefs.h >>conftest.$ac_ext
23766 cat >>conftest.$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23777 rm -f conftest.$ac_objext conftest$ac_exeext
23778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23779 (eval $ac_link) 2>&5
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); } &&
23783 { ac_try='test -s conftest$ac_exeext'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; }; then
23789 glibcxx_cv_func___builtin_cosf_link=yes
23791 echo "$as_me: failed program was:" >&5
23792 sed 's/^/| /' conftest.$ac_ext >&5
23794 glibcxx_cv_func___builtin_cosf_link=no
23796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23802 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23803 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23804 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23805 cat >>confdefs.h <<_ACEOF
23806 #define ${ac_tr_func} 1
23813 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23814 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23815 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23816 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23817 echo $ECHO_N "(cached) $ECHO_C" >&6
23823 ac_cpp='$CXXCPP $CPPFLAGS'
23824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828 cat >conftest.$ac_ext <<_ACEOF
23829 #line $LINENO "configure"
23832 cat confdefs.h >>conftest.$ac_ext
23833 cat >>conftest.$ac_ext <<_ACEOF
23834 /* end confdefs.h. */
23844 rm -f conftest.$ac_objext
23845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23846 (eval $ac_compile) 2>&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } &&
23850 { ac_try='test -s conftest.$ac_objext'
23851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23852 (eval $ac_try) 2>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); }; }; then
23856 glibcxx_cv_func___builtin_cos_use=yes
23858 echo "$as_me: failed program was:" >&5
23859 sed 's/^/| /' conftest.$ac_ext >&5
23861 glibcxx_cv_func___builtin_cos_use=no
23863 rm -f conftest.$ac_objext conftest.$ac_ext
23865 ac_cpp='$CPP $CPPFLAGS'
23866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23875 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23876 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23877 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23878 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23879 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23880 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23881 echo $ECHO_N "(cached) $ECHO_C" >&6
23884 if test x$gcc_no_link = xyes; then
23885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23887 { (exit 1); exit 1; }; }
23889 cat >conftest.$ac_ext <<_ACEOF
23890 #line $LINENO "configure"
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23905 rm -f conftest.$ac_objext conftest$ac_exeext
23906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23907 (eval $ac_link) 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } &&
23911 { ac_try='test -s conftest$ac_exeext'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917 glibcxx_cv_func___builtin_cos_link=yes
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23922 glibcxx_cv_func___builtin_cos_link=no
23924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23929 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23930 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23931 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23932 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23933 cat >>confdefs.h <<_ACEOF
23934 #define ${ac_tr_func} 1
23941 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23942 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23943 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23944 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23945 echo $ECHO_N "(cached) $ECHO_C" >&6
23951 ac_cpp='$CXXCPP $CPPFLAGS'
23952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23956 cat >conftest.$ac_ext <<_ACEOF
23957 #line $LINENO "configure"
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23972 rm -f conftest.$ac_objext
23973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23974 (eval $ac_compile) 2>&5
23976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23977 (exit $ac_status); } &&
23978 { ac_try='test -s conftest.$ac_objext'
23979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23980 (eval $ac_try) 2>&5
23982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23983 (exit $ac_status); }; }; then
23984 glibcxx_cv_func___builtin_cosl_use=yes
23986 echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23989 glibcxx_cv_func___builtin_cosl_use=no
23991 rm -f conftest.$ac_objext conftest.$ac_ext
23993 ac_cpp='$CPP $CPPFLAGS'
23994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24002 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
24003 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
24004 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
24005 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
24006 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
24007 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
24008 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 if test x$gcc_no_link = xyes; then
24013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24015 { (exit 1); exit 1; }; }
24017 cat >conftest.$ac_ext <<_ACEOF
24018 #line $LINENO "configure"
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24033 rm -f conftest.$ac_objext conftest$ac_exeext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24035 (eval $ac_link) 2>&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try='test -s conftest$ac_exeext'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; }; then
24045 glibcxx_cv_func___builtin_cosl_link=yes
24047 echo "$as_me: failed program was:" >&5
24048 sed 's/^/| /' conftest.$ac_ext >&5
24050 glibcxx_cv_func___builtin_cosl_link=no
24052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24057 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24058 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24059 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24060 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24061 cat >>confdefs.h <<_ACEOF
24062 #define ${ac_tr_func} 1
24070 if test x$dummyvar = x"yes"; then
24071 cat >>confdefs.h <<\_ACEOF
24072 #define HAVE___BUILTIN_ABS 1
24075 cat >>confdefs.h <<\_ACEOF
24076 #define HAVE___BUILTIN_LABS 1
24079 cat >>confdefs.h <<\_ACEOF
24080 #define HAVE___BUILTIN_COS 1
24083 cat >>confdefs.h <<\_ACEOF
24084 #define HAVE___BUILTIN_COSF 1
24087 cat >>confdefs.h <<\_ACEOF
24088 #define HAVE___BUILTIN_COSL 1
24091 cat >>confdefs.h <<\_ACEOF
24092 #define HAVE___BUILTIN_FABS 1
24095 cat >>confdefs.h <<\_ACEOF
24096 #define HAVE___BUILTIN_FABSF 1
24099 cat >>confdefs.h <<\_ACEOF
24100 #define HAVE___BUILTIN_FABSL 1
24103 cat >>confdefs.h <<\_ACEOF
24104 #define HAVE___BUILTIN_SIN 1
24107 cat >>confdefs.h <<\_ACEOF
24108 #define HAVE___BUILTIN_SINF 1
24111 cat >>confdefs.h <<\_ACEOF
24112 #define HAVE___BUILTIN_SINL 1
24115 cat >>confdefs.h <<\_ACEOF
24116 #define HAVE___BUILTIN_SQRT 1
24119 cat >>confdefs.h <<\_ACEOF
24120 #define HAVE___BUILTIN_SQRTF 1
24123 cat >>confdefs.h <<\_ACEOF
24124 #define HAVE___BUILTIN_SQRTL 1
24131 echo "$as_me:$LINENO: checking for main in -lm" >&5
24132 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24133 if test "${ac_cv_lib_m_main+set}" = set; then
24134 echo $ECHO_N "(cached) $ECHO_C" >&6
24136 ac_check_lib_save_LIBS=$LIBS
24138 if test x$gcc_no_link = xyes; then
24139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24141 { (exit 1); exit 1; }; }
24143 cat >conftest.$ac_ext <<_ACEOF
24144 #line $LINENO "configure"
24147 cat confdefs.h >>conftest.$ac_ext
24148 cat >>conftest.$ac_ext <<_ACEOF
24149 /* end confdefs.h. */
24160 rm -f conftest.$ac_objext conftest$ac_exeext
24161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24162 (eval $ac_link) 2>&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } &&
24166 { ac_try='test -s conftest$ac_exeext'
24167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24168 (eval $ac_try) 2>&5
24170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24171 (exit $ac_status); }; }; then
24172 ac_cv_lib_m_main=yes
24174 echo "$as_me: failed program was:" >&5
24175 sed 's/^/| /' conftest.$ac_ext >&5
24177 ac_cv_lib_m_main=no
24179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24180 LIBS=$ac_check_lib_save_LIBS
24182 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24183 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24184 if test $ac_cv_lib_m_main = yes; then
24185 cat >>confdefs.h <<_ACEOF
24186 #define HAVE_LIBM 1
24195 for ac_func in nan copysignf
24197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24198 echo "$as_me:$LINENO: checking for $ac_func" >&5
24199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24200 if eval "test \"\${$as_ac_var+set}\" = set"; then
24201 echo $ECHO_N "(cached) $ECHO_C" >&6
24203 if test x$gcc_no_link = xyes; then
24204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24206 { (exit 1); exit 1; }; }
24208 cat >conftest.$ac_ext <<_ACEOF
24209 #line $LINENO "configure"
24212 cat confdefs.h >>conftest.$ac_ext
24213 cat >>conftest.$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24215 /* System header to define __stub macros and hopefully few prototypes,
24216 which can conflict with char $ac_func (); below.
24217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24218 <limits.h> exists even on freestanding compilers. */
24220 # include <limits.h>
24222 # include <assert.h>
24224 /* Override any gcc2 internal prototype to avoid an error. */
24229 /* We use char because int might match the return type of a gcc2
24230 builtin and then its argument prototype would still apply. */
24232 /* The GNU C library defines this for functions which it implements
24233 to always fail with ENOSYS. Some functions are actually named
24234 something starting with __ and the normal name is an alias. */
24235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24238 char (*f) () = $ac_func;
24247 return f != $ac_func;
24252 rm -f conftest.$ac_objext conftest$ac_exeext
24253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24254 (eval $ac_link) 2>&5
24256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24257 (exit $ac_status); } &&
24258 { ac_try='test -s conftest$ac_exeext'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; }; then
24264 eval "$as_ac_var=yes"
24266 echo "$as_me: failed program was:" >&5
24267 sed 's/^/| /' conftest.$ac_ext >&5
24269 eval "$as_ac_var=no"
24271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24275 if test `eval echo '${'$as_ac_var'}'` = yes; then
24276 cat >>confdefs.h <<_ACEOF
24277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24281 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24287 for ac_func in __signbit
24289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24290 echo "$as_me:$LINENO: checking for $ac_func" >&5
24291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24292 if eval "test \"\${$as_ac_var+set}\" = set"; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24295 if test x$gcc_no_link = xyes; then
24296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24298 { (exit 1); exit 1; }; }
24300 cat >conftest.$ac_ext <<_ACEOF
24301 #line $LINENO "configure"
24304 cat confdefs.h >>conftest.$ac_ext
24305 cat >>conftest.$ac_ext <<_ACEOF
24306 /* end confdefs.h. */
24307 /* System header to define __stub macros and hopefully few prototypes,
24308 which can conflict with char $ac_func (); below.
24309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24310 <limits.h> exists even on freestanding compilers. */
24312 # include <limits.h>
24314 # include <assert.h>
24316 /* Override any gcc2 internal prototype to avoid an error. */
24321 /* We use char because int might match the return type of a gcc2
24322 builtin and then its argument prototype would still apply. */
24324 /* The GNU C library defines this for functions which it implements
24325 to always fail with ENOSYS. Some functions are actually named
24326 something starting with __ and the normal name is an alias. */
24327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24330 char (*f) () = $ac_func;
24339 return f != $ac_func;
24344 rm -f conftest.$ac_objext conftest$ac_exeext
24345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24346 (eval $ac_link) 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } &&
24350 { ac_try='test -s conftest$ac_exeext'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; }; then
24356 eval "$as_ac_var=yes"
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.$ac_ext >&5
24361 eval "$as_ac_var=no"
24363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24367 if test `eval echo '${'$as_ac_var'}'` = yes; then
24368 cat >>confdefs.h <<_ACEOF
24369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24373 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24378 for ac_func in __signbitf
24380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24381 echo "$as_me:$LINENO: checking for $ac_func" >&5
24382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24383 if eval "test \"\${$as_ac_var+set}\" = set"; then
24384 echo $ECHO_N "(cached) $ECHO_C" >&6
24386 if test x$gcc_no_link = xyes; then
24387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24389 { (exit 1); exit 1; }; }
24391 cat >conftest.$ac_ext <<_ACEOF
24392 #line $LINENO "configure"
24395 cat confdefs.h >>conftest.$ac_ext
24396 cat >>conftest.$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24398 /* System header to define __stub macros and hopefully few prototypes,
24399 which can conflict with char $ac_func (); below.
24400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24401 <limits.h> exists even on freestanding compilers. */
24403 # include <limits.h>
24405 # include <assert.h>
24407 /* Override any gcc2 internal prototype to avoid an error. */
24412 /* We use char because int might match the return type of a gcc2
24413 builtin and then its argument prototype would still apply. */
24415 /* The GNU C library defines this for functions which it implements
24416 to always fail with ENOSYS. Some functions are actually named
24417 something starting with __ and the normal name is an alias. */
24418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24421 char (*f) () = $ac_func;
24430 return f != $ac_func;
24435 rm -f conftest.$ac_objext conftest$ac_exeext
24436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24437 (eval $ac_link) 2>&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try='test -s conftest$ac_exeext'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; }; then
24447 eval "$as_ac_var=yes"
24449 echo "$as_me: failed program was:" >&5
24450 sed 's/^/| /' conftest.$ac_ext >&5
24452 eval "$as_ac_var=no"
24454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24458 if test `eval echo '${'$as_ac_var'}'` = yes; then
24459 cat >>confdefs.h <<_ACEOF
24460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24464 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24469 if test x$ac_cv_func_copysignl = x"yes"; then
24471 for ac_func in __signbitl
24473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24474 echo "$as_me:$LINENO: checking for $ac_func" >&5
24475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24476 if eval "test \"\${$as_ac_var+set}\" = set"; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 if test x$gcc_no_link = xyes; then
24480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24482 { (exit 1); exit 1; }; }
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
24557 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24563 # XXX Review this. Nothing uses it.
24564 if test -n "$LIBMATHOBJS"; then
24570 # Test wchar.h for mbstate_t, which is needed for char_traits and
24571 # others even if wchar_t support is not on.
24572 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24573 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24574 cat >conftest.$ac_ext <<_ACEOF
24575 #line $LINENO "configure"
24578 cat confdefs.h >>conftest.$ac_ext
24579 cat >>conftest.$ac_ext <<_ACEOF
24580 /* end confdefs.h. */
24585 mbstate_t teststate;
24590 rm -f conftest.$ac_objext
24591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24592 (eval $ac_compile) 2>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } &&
24596 { ac_try='test -s conftest.$ac_objext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24609 rm -f conftest.$ac_objext conftest.$ac_ext
24610 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24611 echo "${ECHO_T}$have_mbstate_t" >&6
24612 if test x"$have_mbstate_t" = xyes; then
24613 cat >>confdefs.h <<\_ACEOF
24614 #define HAVE_MBSTATE_T 1
24619 # Sanity check for existence of ISO C99 headers for extended encoding.
24621 for ac_header in wchar.h
24623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24625 echo "$as_me:$LINENO: checking for $ac_header" >&5
24626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24633 # Is the header compilable?
24634 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24636 cat >conftest.$ac_ext <<_ACEOF
24637 #line $LINENO "configure"
24640 cat confdefs.h >>conftest.$ac_ext
24641 cat >>conftest.$ac_ext <<_ACEOF
24642 /* end confdefs.h. */
24643 $ac_includes_default
24644 #include <$ac_header>
24646 rm -f conftest.$ac_objext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24648 (eval $ac_compile) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try='test -s conftest.$ac_objext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 ac_header_compiler=yes
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24663 ac_header_compiler=no
24665 rm -f conftest.$ac_objext conftest.$ac_ext
24666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24667 echo "${ECHO_T}$ac_header_compiler" >&6
24669 # Is the header present?
24670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24672 cat >conftest.$ac_ext <<_ACEOF
24673 #line $LINENO "configure"
24676 cat confdefs.h >>conftest.$ac_ext
24677 cat >>conftest.$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24679 #include <$ac_header>
24681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24684 grep -v '^ *+' conftest.er1 >conftest.err
24686 cat conftest.err >&5
24687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24688 (exit $ac_status); } >/dev/null; then
24689 if test -s conftest.err; then
24690 ac_cpp_err=$ac_c_preproc_warn_flag
24697 if test -z "$ac_cpp_err"; then
24698 ac_header_preproc=yes
24700 echo "$as_me: failed program was:" >&5
24701 sed 's/^/| /' conftest.$ac_ext >&5
24703 ac_header_preproc=no
24705 rm -f conftest.err conftest.$ac_ext
24706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24707 echo "${ECHO_T}$ac_header_preproc" >&6
24709 # So? What about this header?
24710 case $ac_header_compiler:$ac_header_preproc in
24712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24715 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24718 ## ------------------------------------ ##
24719 ## Report this to bug-autoconf@gnu.org. ##
24720 ## ------------------------------------ ##
24723 sed "s/^/$as_me: WARNING: /" >&2
24726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24734 ## ------------------------------------ ##
24735 ## Report this to bug-autoconf@gnu.org. ##
24736 ## ------------------------------------ ##
24739 sed "s/^/$as_me: WARNING: /" >&2
24742 echo "$as_me:$LINENO: checking for $ac_header" >&5
24743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24745 echo $ECHO_N "(cached) $ECHO_C" >&6
24747 eval "$as_ac_Header=$ac_header_preproc"
24749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24754 cat >>confdefs.h <<_ACEOF
24755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24765 for ac_header in wctype.h
24767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24769 echo "$as_me:$LINENO: checking for $ac_header" >&5
24770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24777 # Is the header compilable?
24778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24780 cat >conftest.$ac_ext <<_ACEOF
24781 #line $LINENO "configure"
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787 $ac_includes_default
24788 #include <$ac_header>
24790 rm -f conftest.$ac_objext
24791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24792 (eval $ac_compile) 2>&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } &&
24796 { ac_try='test -s conftest.$ac_objext'
24797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24798 (eval $ac_try) 2>&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); }; }; then
24802 ac_header_compiler=yes
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24807 ac_header_compiler=no
24809 rm -f conftest.$ac_objext conftest.$ac_ext
24810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24811 echo "${ECHO_T}$ac_header_compiler" >&6
24813 # Is the header present?
24814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24816 cat >conftest.$ac_ext <<_ACEOF
24817 #line $LINENO "configure"
24820 cat confdefs.h >>conftest.$ac_ext
24821 cat >>conftest.$ac_ext <<_ACEOF
24822 /* end confdefs.h. */
24823 #include <$ac_header>
24825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24828 grep -v '^ *+' conftest.er1 >conftest.err
24830 cat conftest.err >&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); } >/dev/null; then
24833 if test -s conftest.err; then
24834 ac_cpp_err=$ac_c_preproc_warn_flag
24841 if test -z "$ac_cpp_err"; then
24842 ac_header_preproc=yes
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24847 ac_header_preproc=no
24849 rm -f conftest.err conftest.$ac_ext
24850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24851 echo "${ECHO_T}$ac_header_preproc" >&6
24853 # So? What about this header?
24854 case $ac_header_compiler:$ac_header_preproc in
24856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24862 ## ------------------------------------ ##
24863 ## Report this to bug-autoconf@gnu.org. ##
24864 ## ------------------------------------ ##
24867 sed "s/^/$as_me: WARNING: /" >&2
24870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24878 ## ------------------------------------ ##
24879 ## Report this to bug-autoconf@gnu.org. ##
24880 ## ------------------------------------ ##
24883 sed "s/^/$as_me: WARNING: /" >&2
24886 echo "$as_me:$LINENO: checking for $ac_header" >&5
24887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24889 echo $ECHO_N "(cached) $ECHO_C" >&6
24891 eval "$as_ac_Header=$ac_header_preproc"
24893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24898 cat >>confdefs.h <<_ACEOF
24899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24901 ac_has_wctype_h=yes
24909 # Only continue checking if the ISO C99 headers exist and support is on.
24910 if test x"$ac_has_wchar_h" = xyes &&
24911 test x"$ac_has_wctype_h" = xyes &&
24912 test x"$enable_c_mbchar" != xno; then
24914 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24915 # numeric_limits can instantiate type_traits<wchar_t>
24916 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24917 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24918 cat >conftest.$ac_ext <<_ACEOF
24919 #line $LINENO "configure"
24922 cat confdefs.h >>conftest.$ac_ext
24923 cat >>conftest.$ac_ext <<_ACEOF
24924 /* end confdefs.h. */
24929 int i = WCHAR_MIN; int j = WCHAR_MAX;
24934 rm -f conftest.$ac_objext
24935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24936 (eval $ac_compile) 2>&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); } &&
24940 { ac_try='test -s conftest.$ac_objext'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; }; then
24946 has_wchar_minmax=yes
24948 echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.$ac_ext >&5
24951 has_wchar_minmax=no
24953 rm -f conftest.$ac_objext conftest.$ac_ext
24954 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24955 echo "${ECHO_T}$has_wchar_minmax" >&6
24957 # Test wchar.h for WEOF, which is what we use to determine whether
24958 # to specialize for char_traits<wchar_t> or not.
24959 echo "$as_me:$LINENO: checking for WEOF" >&5
24960 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24961 cat >conftest.$ac_ext <<_ACEOF
24962 #line $LINENO "configure"
24965 cat confdefs.h >>conftest.$ac_ext
24966 cat >>conftest.$ac_ext <<_ACEOF
24967 /* end confdefs.h. */
24970 #include <stddef.h>
24979 rm -f conftest.$ac_objext
24980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24981 (eval $ac_compile) 2>&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } &&
24985 { ac_try='test -s conftest.$ac_objext'
24986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24987 (eval $ac_try) 2>&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); }; }; then
24993 echo "$as_me: failed program was:" >&5
24994 sed 's/^/| /' conftest.$ac_ext >&5
24998 rm -f conftest.$ac_objext conftest.$ac_ext
24999 echo "$as_me:$LINENO: result: $has_weof" >&5
25000 echo "${ECHO_T}$has_weof" >&6
25002 # Tests for wide character functions used in char_traits<wchar_t>.
25010 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
25012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25013 echo "$as_me:$LINENO: checking for $ac_func" >&5
25014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25015 if eval "test \"\${$as_ac_var+set}\" = set"; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 if test x$gcc_no_link = xyes; then
25019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25021 { (exit 1); exit 1; }; }
25023 cat >conftest.$ac_ext <<_ACEOF
25024 #line $LINENO "configure"
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030 /* System header to define __stub macros and hopefully few prototypes,
25031 which can conflict with char $ac_func (); below.
25032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25033 <limits.h> exists even on freestanding compilers. */
25035 # include <limits.h>
25037 # include <assert.h>
25039 /* Override any gcc2 internal prototype to avoid an error. */
25044 /* We use char because int might match the return type of a gcc2
25045 builtin and then its argument prototype would still apply. */
25047 /* The GNU C library defines this for functions which it implements
25048 to always fail with ENOSYS. Some functions are actually named
25049 something starting with __ and the normal name is an alias. */
25050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25053 char (*f) () = $ac_func;
25062 return f != $ac_func;
25067 rm -f conftest.$ac_objext conftest$ac_exeext
25068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25069 (eval $ac_link) 2>&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try='test -s conftest$ac_exeext'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; }; then
25079 eval "$as_ac_var=yes"
25081 echo "$as_me: failed program was:" >&5
25082 sed 's/^/| /' conftest.$ac_ext >&5
25084 eval "$as_ac_var=no"
25086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25090 if test `eval echo '${'$as_ac_var'}'` = yes; then
25091 cat >>confdefs.h <<_ACEOF
25092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25101 # Checks for names injected into std:: by the c_std headers.
25152 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25153 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
25154 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25155 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
25156 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25157 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25160 echo "$as_me:$LINENO: checking for $ac_func" >&5
25161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25162 if eval "test \"\${$as_ac_var+set}\" = set"; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 if test x$gcc_no_link = xyes; then
25166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25168 { (exit 1); exit 1; }; }
25170 cat >conftest.$ac_ext <<_ACEOF
25171 #line $LINENO "configure"
25174 cat confdefs.h >>conftest.$ac_ext
25175 cat >>conftest.$ac_ext <<_ACEOF
25176 /* end confdefs.h. */
25177 /* System header to define __stub macros and hopefully few prototypes,
25178 which can conflict with char $ac_func (); below.
25179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25180 <limits.h> exists even on freestanding compilers. */
25182 # include <limits.h>
25184 # include <assert.h>
25186 /* Override any gcc2 internal prototype to avoid an error. */
25191 /* We use char because int might match the return type of a gcc2
25192 builtin and then its argument prototype would still apply. */
25194 /* The GNU C library defines this for functions which it implements
25195 to always fail with ENOSYS. Some functions are actually named
25196 something starting with __ and the normal name is an alias. */
25197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25200 char (*f) () = $ac_func;
25209 return f != $ac_func;
25214 rm -f conftest.$ac_objext conftest$ac_exeext
25215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25216 (eval $ac_link) 2>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); } &&
25220 { ac_try='test -s conftest$ac_exeext'
25221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25222 (eval $ac_try) 2>&5
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); }; }; then
25226 eval "$as_ac_var=yes"
25228 echo "$as_me: failed program was:" >&5
25229 sed 's/^/| /' conftest.$ac_ext >&5
25231 eval "$as_ac_var=no"
25233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25237 if test `eval echo '${'$as_ac_var'}'` = yes; then
25238 cat >>confdefs.h <<_ACEOF
25239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25248 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25249 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25250 if test x"$has_weof" = xyes &&
25251 test x"$has_wchar_minmax" = xyes &&
25252 test x"$ac_wfuncs" = xyes;
25254 ac_isoC99_wchar_t=yes
25256 ac_isoC99_wchar_t=no
25258 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25259 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25261 # Use iconv for wchar_t to char conversions. As such, check for
25262 # X/Open Portability Guide, version 2 features (XPG2).
25263 if test "${ac_cv_header_iconv_h+set}" = set; then
25264 echo "$as_me:$LINENO: checking for iconv.h" >&5
25265 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25266 if test "${ac_cv_header_iconv_h+set}" = set; then
25267 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25270 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25272 # Is the header compilable?
25273 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25274 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25275 cat >conftest.$ac_ext <<_ACEOF
25276 #line $LINENO "configure"
25279 cat confdefs.h >>conftest.$ac_ext
25280 cat >>conftest.$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25282 $ac_includes_default
25285 rm -f conftest.$ac_objext
25286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25287 (eval $ac_compile) 2>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); } &&
25291 { ac_try='test -s conftest.$ac_objext'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; }; then
25297 ac_header_compiler=yes
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 ac_header_compiler=no
25304 rm -f conftest.$ac_objext conftest.$ac_ext
25305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25306 echo "${ECHO_T}$ac_header_compiler" >&6
25308 # Is the header present?
25309 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25310 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25311 cat >conftest.$ac_ext <<_ACEOF
25312 #line $LINENO "configure"
25315 cat confdefs.h >>conftest.$ac_ext
25316 cat >>conftest.$ac_ext <<_ACEOF
25317 /* end confdefs.h. */
25320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25323 grep -v '^ *+' conftest.er1 >conftest.err
25325 cat conftest.err >&5
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); } >/dev/null; then
25328 if test -s conftest.err; then
25329 ac_cpp_err=$ac_c_preproc_warn_flag
25336 if test -z "$ac_cpp_err"; then
25337 ac_header_preproc=yes
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25342 ac_header_preproc=no
25344 rm -f conftest.err conftest.$ac_ext
25345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25346 echo "${ECHO_T}$ac_header_preproc" >&6
25348 # So? What about this header?
25349 case $ac_header_compiler:$ac_header_preproc in
25351 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25352 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25353 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25354 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25357 ## ------------------------------------ ##
25358 ## Report this to bug-autoconf@gnu.org. ##
25359 ## ------------------------------------ ##
25362 sed "s/^/$as_me: WARNING: /" >&2
25365 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25366 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25367 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25368 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25369 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25370 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25373 ## ------------------------------------ ##
25374 ## Report this to bug-autoconf@gnu.org. ##
25375 ## ------------------------------------ ##
25378 sed "s/^/$as_me: WARNING: /" >&2
25381 echo "$as_me:$LINENO: checking for iconv.h" >&5
25382 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25383 if test "${ac_cv_header_iconv_h+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25386 ac_cv_header_iconv_h=$ac_header_preproc
25388 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25389 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25392 if test $ac_cv_header_iconv_h = yes; then
25399 if test "${ac_cv_header_langinfo_h+set}" = set; then
25400 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25401 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25402 if test "${ac_cv_header_langinfo_h+set}" = set; then
25403 echo $ECHO_N "(cached) $ECHO_C" >&6
25405 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25406 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25408 # Is the header compilable?
25409 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25410 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25411 cat >conftest.$ac_ext <<_ACEOF
25412 #line $LINENO "configure"
25415 cat confdefs.h >>conftest.$ac_ext
25416 cat >>conftest.$ac_ext <<_ACEOF
25417 /* end confdefs.h. */
25418 $ac_includes_default
25419 #include <langinfo.h>
25421 rm -f conftest.$ac_objext
25422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25423 (eval $ac_compile) 2>&5
25425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426 (exit $ac_status); } &&
25427 { ac_try='test -s conftest.$ac_objext'
25428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25429 (eval $ac_try) 2>&5
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); }; }; then
25433 ac_header_compiler=yes
25435 echo "$as_me: failed program was:" >&5
25436 sed 's/^/| /' conftest.$ac_ext >&5
25438 ac_header_compiler=no
25440 rm -f conftest.$ac_objext conftest.$ac_ext
25441 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25442 echo "${ECHO_T}$ac_header_compiler" >&6
25444 # Is the header present?
25445 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25446 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25447 cat >conftest.$ac_ext <<_ACEOF
25448 #line $LINENO "configure"
25451 cat confdefs.h >>conftest.$ac_ext
25452 cat >>conftest.$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25454 #include <langinfo.h>
25456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25457 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25459 grep -v '^ *+' conftest.er1 >conftest.err
25461 cat conftest.err >&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); } >/dev/null; then
25464 if test -s conftest.err; then
25465 ac_cpp_err=$ac_c_preproc_warn_flag
25472 if test -z "$ac_cpp_err"; then
25473 ac_header_preproc=yes
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25478 ac_header_preproc=no
25480 rm -f conftest.err conftest.$ac_ext
25481 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25482 echo "${ECHO_T}$ac_header_preproc" >&6
25484 # So? What about this header?
25485 case $ac_header_compiler:$ac_header_preproc in
25487 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25488 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25490 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25493 ## ------------------------------------ ##
25494 ## Report this to bug-autoconf@gnu.org. ##
25495 ## ------------------------------------ ##
25498 sed "s/^/$as_me: WARNING: /" >&2
25501 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25502 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25503 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25504 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25505 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25506 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25509 ## ------------------------------------ ##
25510 ## Report this to bug-autoconf@gnu.org. ##
25511 ## ------------------------------------ ##
25514 sed "s/^/$as_me: WARNING: /" >&2
25517 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25518 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25519 if test "${ac_cv_header_langinfo_h+set}" = set; then
25520 echo $ECHO_N "(cached) $ECHO_C" >&6
25522 ac_cv_header_langinfo_h=$ac_header_preproc
25524 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25525 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25528 if test $ac_cv_header_langinfo_h = yes; then
25529 ac_has_langinfo_h=yes
25531 ac_has_langinfo_h=no
25536 # Check for existence of libiconv.a providing XPG2 wchar_t support.
25537 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25538 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25539 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25542 ac_check_lib_save_LIBS=$LIBS
25543 LIBS="-liconv $LIBS"
25544 if test x$gcc_no_link = xyes; then
25545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25547 { (exit 1); exit 1; }; }
25549 cat >conftest.$ac_ext <<_ACEOF
25550 #line $LINENO "configure"
25553 cat confdefs.h >>conftest.$ac_ext
25554 cat >>conftest.$ac_ext <<_ACEOF
25555 /* end confdefs.h. */
25557 /* Override any gcc2 internal prototype to avoid an error. */
25561 /* We use char because int might match the return type of a gcc2
25562 builtin and then its argument prototype would still apply. */
25572 rm -f conftest.$ac_objext conftest$ac_exeext
25573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25574 (eval $ac_link) 2>&5
25576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25577 (exit $ac_status); } &&
25578 { ac_try='test -s conftest$ac_exeext'
25579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580 (eval $ac_try) 2>&5
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); }; }; then
25584 ac_cv_lib_iconv_iconv=yes
25586 echo "$as_me: failed program was:" >&5
25587 sed 's/^/| /' conftest.$ac_ext >&5
25589 ac_cv_lib_iconv_iconv=no
25591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25592 LIBS=$ac_check_lib_save_LIBS
25594 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25595 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25596 if test $ac_cv_lib_iconv_iconv = yes; then
25600 ac_save_LIBS="$LIBS"
25601 LIBS="$LIBS $libiconv"
25607 for ac_func in iconv_open iconv_close iconv nl_langinfo
25609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25610 echo "$as_me:$LINENO: checking for $ac_func" >&5
25611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25612 if eval "test \"\${$as_ac_var+set}\" = set"; then
25613 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 if test x$gcc_no_link = xyes; then
25616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25618 { (exit 1); exit 1; }; }
25620 cat >conftest.$ac_ext <<_ACEOF
25621 #line $LINENO "configure"
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627 /* System header to define __stub macros and hopefully few prototypes,
25628 which can conflict with char $ac_func (); below.
25629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25630 <limits.h> exists even on freestanding compilers. */
25632 # include <limits.h>
25634 # include <assert.h>
25636 /* Override any gcc2 internal prototype to avoid an error. */
25641 /* We use char because int might match the return type of a gcc2
25642 builtin and then its argument prototype would still apply. */
25644 /* The GNU C library defines this for functions which it implements
25645 to always fail with ENOSYS. Some functions are actually named
25646 something starting with __ and the normal name is an alias. */
25647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25650 char (*f) () = $ac_func;
25659 return f != $ac_func;
25664 rm -f conftest.$ac_objext conftest$ac_exeext
25665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25666 (eval $ac_link) 2>&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); } &&
25670 { ac_try='test -s conftest$ac_exeext'
25671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672 (eval $ac_try) 2>&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); }; }; then
25676 eval "$as_ac_var=yes"
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25681 eval "$as_ac_var=no"
25683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25687 if test `eval echo '${'$as_ac_var'}'` = yes; then
25688 cat >>confdefs.h <<_ACEOF
25689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25698 LIBS="$ac_save_LIBS"
25700 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25701 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25702 if test x"$ac_has_iconv_h" = xyes &&
25703 test x"$ac_has_langinfo_h" = xyes &&
25704 test x"$ac_XPG2funcs" = xyes;
25706 ac_XPG2_wchar_t=yes
25710 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25711 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25713 # At the moment, only enable wchar_t specializations if all the
25714 # above support is present.
25715 if test x"$ac_isoC99_wchar_t" = xyes &&
25716 test x"$ac_XPG2_wchar_t" = xyes;
25718 cat >>confdefs.h <<\_ACEOF
25719 #define _GLIBCXX_USE_WCHAR_T 1
25725 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25726 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25727 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25728 echo "${ECHO_T}$enable_wchar_t" >&6
25731 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25732 ac_save_CXXFLAGS="$CXXFLAGS"
25733 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25736 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25737 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25738 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25739 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25751 cat >conftest.$ac_ext <<_ACEOF
25752 #line $LINENO "configure"
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <stdlib.h>
25767 rm -f conftest.$ac_objext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25769 (eval $ac_compile) 2>&5
25771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772 (exit $ac_status); } &&
25773 { ac_try='test -s conftest.$ac_objext'
25774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25775 (eval $ac_try) 2>&5
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); }; }; then
25779 glibcxx_cv_func_strtold_use=yes
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.$ac_ext >&5
25784 glibcxx_cv_func_strtold_use=no
25786 rm -f conftest.$ac_objext conftest.$ac_ext
25788 ac_cpp='$CPP $CPPFLAGS'
25789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25797 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25798 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25799 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25801 for ac_func in strtold
25803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25804 echo "$as_me:$LINENO: checking for $ac_func" >&5
25805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25806 if eval "test \"\${$as_ac_var+set}\" = set"; then
25807 echo $ECHO_N "(cached) $ECHO_C" >&6
25809 if test x$gcc_no_link = xyes; then
25810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25812 { (exit 1); exit 1; }; }
25814 cat >conftest.$ac_ext <<_ACEOF
25815 #line $LINENO "configure"
25818 cat confdefs.h >>conftest.$ac_ext
25819 cat >>conftest.$ac_ext <<_ACEOF
25820 /* end confdefs.h. */
25821 /* System header to define __stub macros and hopefully few prototypes,
25822 which can conflict with char $ac_func (); below.
25823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25824 <limits.h> exists even on freestanding compilers. */
25826 # include <limits.h>
25828 # include <assert.h>
25830 /* Override any gcc2 internal prototype to avoid an error. */
25835 /* We use char because int might match the return type of a gcc2
25836 builtin and then its argument prototype would still apply. */
25838 /* The GNU C library defines this for functions which it implements
25839 to always fail with ENOSYS. Some functions are actually named
25840 something starting with __ and the normal name is an alias. */
25841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25844 char (*f) () = $ac_func;
25853 return f != $ac_func;
25858 rm -f conftest.$ac_objext conftest$ac_exeext
25859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25860 (eval $ac_link) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); } &&
25864 { ac_try='test -s conftest$ac_exeext'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; }; then
25870 eval "$as_ac_var=yes"
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.$ac_ext >&5
25875 eval "$as_ac_var=no"
25877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25881 if test `eval echo '${'$as_ac_var'}'` = yes; then
25882 cat >>confdefs.h <<_ACEOF
25883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25892 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25893 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25894 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25895 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25896 echo $ECHO_N "(cached) $ECHO_C" >&6
25902 ac_cpp='$CXXCPP $CPPFLAGS'
25903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25907 cat >conftest.$ac_ext <<_ACEOF
25908 #line $LINENO "configure"
25911 cat confdefs.h >>conftest.$ac_ext
25912 cat >>conftest.$ac_ext <<_ACEOF
25913 /* end confdefs.h. */
25914 #include <stdlib.h>
25923 rm -f conftest.$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>&5
25927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25928 (exit $ac_status); } &&
25929 { ac_try='test -s conftest.$ac_objext'
25930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25931 (eval $ac_try) 2>&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); }; }; then
25935 glibcxx_cv_func_strtof_use=yes
25937 echo "$as_me: failed program was:" >&5
25938 sed 's/^/| /' conftest.$ac_ext >&5
25940 glibcxx_cv_func_strtof_use=no
25942 rm -f conftest.$ac_objext conftest.$ac_ext
25944 ac_cpp='$CPP $CPPFLAGS'
25945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25953 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
25954 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
25955 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25957 for ac_func in strtof
25959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25960 echo "$as_me:$LINENO: checking for $ac_func" >&5
25961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25962 if eval "test \"\${$as_ac_var+set}\" = set"; then
25963 echo $ECHO_N "(cached) $ECHO_C" >&6
25965 if test x$gcc_no_link = xyes; then
25966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25968 { (exit 1); exit 1; }; }
25970 cat >conftest.$ac_ext <<_ACEOF
25971 #line $LINENO "configure"
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977 /* System header to define __stub macros and hopefully few prototypes,
25978 which can conflict with char $ac_func (); below.
25979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25980 <limits.h> exists even on freestanding compilers. */
25982 # include <limits.h>
25984 # include <assert.h>
25986 /* Override any gcc2 internal prototype to avoid an error. */
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
25994 /* The GNU C library defines this for functions which it implements
25995 to always fail with ENOSYS. Some functions are actually named
25996 something starting with __ and the normal name is an alias. */
25997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26000 char (*f) () = $ac_func;
26009 return f != $ac_func;
26014 rm -f conftest.$ac_objext conftest$ac_exeext
26015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26016 (eval $ac_link) 2>&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try='test -s conftest$ac_exeext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26026 eval "$as_ac_var=yes"
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26031 eval "$as_ac_var=no"
26033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26037 if test `eval echo '${'$as_ac_var'}'` = yes; then
26038 cat >>confdefs.h <<_ACEOF
26039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26048 for ac_func in drand48
26050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26051 echo "$as_me:$LINENO: checking for $ac_func" >&5
26052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26053 if eval "test \"\${$as_ac_var+set}\" = set"; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 if test x$gcc_no_link = xyes; then
26057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26059 { (exit 1); exit 1; }; }
26061 cat >conftest.$ac_ext <<_ACEOF
26062 #line $LINENO "configure"
26065 cat confdefs.h >>conftest.$ac_ext
26066 cat >>conftest.$ac_ext <<_ACEOF
26067 /* end confdefs.h. */
26068 /* System header to define __stub macros and hopefully few prototypes,
26069 which can conflict with char $ac_func (); below.
26070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26071 <limits.h> exists even on freestanding compilers. */
26073 # include <limits.h>
26075 # include <assert.h>
26077 /* Override any gcc2 internal prototype to avoid an error. */
26082 /* We use char because int might match the return type of a gcc2
26083 builtin and then its argument prototype would still apply. */
26085 /* The GNU C library defines this for functions which it implements
26086 to always fail with ENOSYS. Some functions are actually named
26087 something starting with __ and the normal name is an alias. */
26088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26091 char (*f) () = $ac_func;
26100 return f != $ac_func;
26105 rm -f conftest.$ac_objext conftest$ac_exeext
26106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26107 (eval $ac_link) 2>&5
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); } &&
26111 { ac_try='test -s conftest$ac_exeext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26117 eval "$as_ac_var=yes"
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26122 eval "$as_ac_var=no"
26124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26128 if test `eval echo '${'$as_ac_var'}'` = yes; then
26129 cat >>confdefs.h <<_ACEOF
26130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26137 CXXFLAGS="$ac_save_CXXFLAGS"
26140 # For showmanyc_helper().
26143 for ac_header in sys/ioctl.h sys/filio.h
26145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26147 echo "$as_me:$LINENO: checking for $ac_header" >&5
26148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26150 echo $ECHO_N "(cached) $ECHO_C" >&6
26152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26155 # Is the header compilable?
26156 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26157 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26158 cat >conftest.$ac_ext <<_ACEOF
26159 #line $LINENO "configure"
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 $ac_includes_default
26166 #include <$ac_header>
26168 rm -f conftest.$ac_objext
26169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26170 (eval $ac_compile) 2>&5
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); } &&
26174 { ac_try='test -s conftest.$ac_objext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 ac_header_compiler=yes
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26185 ac_header_compiler=no
26187 rm -f conftest.$ac_objext conftest.$ac_ext
26188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26189 echo "${ECHO_T}$ac_header_compiler" >&6
26191 # Is the header present?
26192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26194 cat >conftest.$ac_ext <<_ACEOF
26195 #line $LINENO "configure"
26198 cat confdefs.h >>conftest.$ac_ext
26199 cat >>conftest.$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26201 #include <$ac_header>
26203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26206 grep -v '^ *+' conftest.er1 >conftest.err
26208 cat conftest.err >&5
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); } >/dev/null; then
26211 if test -s conftest.err; then
26212 ac_cpp_err=$ac_c_preproc_warn_flag
26219 if test -z "$ac_cpp_err"; then
26220 ac_header_preproc=yes
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26225 ac_header_preproc=no
26227 rm -f conftest.err conftest.$ac_ext
26228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26229 echo "${ECHO_T}$ac_header_preproc" >&6
26231 # So? What about this header?
26232 case $ac_header_compiler:$ac_header_preproc in
26234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26240 ## ------------------------------------ ##
26241 ## Report this to bug-autoconf@gnu.org. ##
26242 ## ------------------------------------ ##
26245 sed "s/^/$as_me: WARNING: /" >&2
26248 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26250 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26251 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26256 ## ------------------------------------ ##
26257 ## Report this to bug-autoconf@gnu.org. ##
26258 ## ------------------------------------ ##
26261 sed "s/^/$as_me: WARNING: /" >&2
26264 echo "$as_me:$LINENO: checking for $ac_header" >&5
26265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26269 eval "$as_ac_Header=$ac_header_preproc"
26271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26276 cat >>confdefs.h <<_ACEOF
26277 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26285 if test "${glibcxx_cv_POLL+set}" = set; then
26286 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 cat >conftest.$ac_ext <<_ACEOF
26290 #line $LINENO "configure"
26293 cat confdefs.h >>conftest.$ac_ext
26294 cat >>conftest.$ac_ext <<_ACEOF
26295 /* end confdefs.h. */
26300 struct pollfd pfd[1];
26301 pfd[0].events = POLLIN;
26307 rm -f conftest.$ac_objext
26308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26309 (eval $ac_compile) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try='test -s conftest.$ac_objext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26319 glibcxx_cv_POLL=yes
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26326 rm -f conftest.$ac_objext conftest.$ac_ext
26330 if test $glibcxx_cv_POLL = yes; then
26331 cat >>confdefs.h <<\_ACEOF
26332 #define HAVE_POLL 1
26338 if test "${glibcxx_cv_S_ISREG+set}" = set; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 if test x$gcc_no_link = xyes; then
26343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26345 { (exit 1); exit 1; }; }
26347 cat >conftest.$ac_ext <<_ACEOF
26348 #line $LINENO "configure"
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 #include <sys/stat.h>
26358 struct stat buffer;
26360 S_ISREG(buffer.st_mode);
26365 rm -f conftest.$ac_objext conftest$ac_exeext
26366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26367 (eval $ac_link) 2>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); } &&
26371 { ac_try='test -s conftest$ac_exeext'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; }; then
26377 glibcxx_cv_S_ISREG=yes
26379 echo "$as_me: failed program was:" >&5
26380 sed 's/^/| /' conftest.$ac_ext >&5
26382 glibcxx_cv_S_ISREG=no
26384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26388 if test "${glibcxx_cv_S_IFREG+set}" = set; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 if test x$gcc_no_link = xyes; then
26393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26395 { (exit 1); exit 1; }; }
26397 cat >conftest.$ac_ext <<_ACEOF
26398 #line $LINENO "configure"
26401 cat confdefs.h >>conftest.$ac_ext
26402 cat >>conftest.$ac_ext <<_ACEOF
26403 /* end confdefs.h. */
26404 #include <sys/stat.h>
26408 struct stat buffer;
26410 S_IFREG & buffer.st_mode;
26415 rm -f conftest.$ac_objext conftest$ac_exeext
26416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26417 (eval $ac_link) 2>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try='test -s conftest$ac_exeext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 glibcxx_cv_S_IFREG=yes
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26432 glibcxx_cv_S_IFREG=no
26434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26438 if test $glibcxx_cv_S_ISREG = yes; then
26439 cat >>confdefs.h <<\_ACEOF
26440 #define HAVE_S_ISREG 1
26443 elif test $glibcxx_cv_S_IFREG = yes; then
26444 cat >>confdefs.h <<\_ACEOF
26445 #define HAVE_S_IFREG 1
26453 for ac_header in sys/uio.h
26455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26457 echo "$as_me:$LINENO: checking for $ac_header" >&5
26458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26460 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26465 # Is the header compilable?
26466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26468 cat >conftest.$ac_ext <<_ACEOF
26469 #line $LINENO "configure"
26472 cat confdefs.h >>conftest.$ac_ext
26473 cat >>conftest.$ac_ext <<_ACEOF
26474 /* end confdefs.h. */
26475 $ac_includes_default
26476 #include <$ac_header>
26478 rm -f conftest.$ac_objext
26479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26480 (eval $ac_compile) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try='test -s conftest.$ac_objext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 ac_header_compiler=yes
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26495 ac_header_compiler=no
26497 rm -f conftest.$ac_objext conftest.$ac_ext
26498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26499 echo "${ECHO_T}$ac_header_compiler" >&6
26501 # Is the header present?
26502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26504 cat >conftest.$ac_ext <<_ACEOF
26505 #line $LINENO "configure"
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511 #include <$ac_header>
26513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26516 grep -v '^ *+' conftest.er1 >conftest.err
26518 cat conftest.err >&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } >/dev/null; then
26521 if test -s conftest.err; then
26522 ac_cpp_err=$ac_c_preproc_warn_flag
26529 if test -z "$ac_cpp_err"; then
26530 ac_header_preproc=yes
26532 echo "$as_me: failed program was:" >&5
26533 sed 's/^/| /' conftest.$ac_ext >&5
26535 ac_header_preproc=no
26537 rm -f conftest.err conftest.$ac_ext
26538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26539 echo "${ECHO_T}$ac_header_preproc" >&6
26541 # So? What about this header?
26542 case $ac_header_compiler:$ac_header_preproc in
26544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26550 ## ------------------------------------ ##
26551 ## Report this to bug-autoconf@gnu.org. ##
26552 ## ------------------------------------ ##
26555 sed "s/^/$as_me: WARNING: /" >&2
26558 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26559 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26560 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26561 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26566 ## ------------------------------------ ##
26567 ## Report this to bug-autoconf@gnu.org. ##
26568 ## ------------------------------------ ##
26571 sed "s/^/$as_me: WARNING: /" >&2
26574 echo "$as_me:$LINENO: checking for $ac_header" >&5
26575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26577 echo $ECHO_N "(cached) $ECHO_C" >&6
26579 eval "$as_ac_Header=$ac_header_preproc"
26581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26586 cat >>confdefs.h <<_ACEOF
26587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26595 if test "${glibcxx_cv_WRITEV+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 cat >conftest.$ac_ext <<_ACEOF
26600 #line $LINENO "configure"
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606 #include <sys/uio.h>
26610 struct iovec iov[2];
26616 rm -f conftest.$ac_objext
26617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26618 (eval $ac_compile) 2>&5
26620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621 (exit $ac_status); } &&
26622 { ac_try='test -s conftest.$ac_objext'
26623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624 (eval $ac_try) 2>&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); }; }; then
26628 glibcxx_cv_WRITEV=yes
26630 echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26633 glibcxx_cv_WRITEV=no
26635 rm -f conftest.$ac_objext conftest.$ac_ext
26639 if test $glibcxx_cv_WRITEV = yes; then
26640 cat >>confdefs.h <<\_ACEOF
26641 #define HAVE_WRITEV 1
26648 if test "${ac_cv_header_locale_h+set}" = set; then
26649 echo "$as_me:$LINENO: checking for locale.h" >&5
26650 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26651 if test "${ac_cv_header_locale_h+set}" = set; then
26652 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26655 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26657 # Is the header compilable?
26658 echo "$as_me:$LINENO: checking locale.h usability" >&5
26659 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26660 cat >conftest.$ac_ext <<_ACEOF
26661 #line $LINENO "configure"
26664 cat confdefs.h >>conftest.$ac_ext
26665 cat >>conftest.$ac_ext <<_ACEOF
26666 /* end confdefs.h. */
26667 $ac_includes_default
26668 #include <locale.h>
26670 rm -f conftest.$ac_objext
26671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26672 (eval $ac_compile) 2>&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } &&
26676 { ac_try='test -s conftest.$ac_objext'
26677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26678 (eval $ac_try) 2>&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); }; }; then
26682 ac_header_compiler=yes
26684 echo "$as_me: failed program was:" >&5
26685 sed 's/^/| /' conftest.$ac_ext >&5
26687 ac_header_compiler=no
26689 rm -f conftest.$ac_objext conftest.$ac_ext
26690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26691 echo "${ECHO_T}$ac_header_compiler" >&6
26693 # Is the header present?
26694 echo "$as_me:$LINENO: checking locale.h presence" >&5
26695 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26696 cat >conftest.$ac_ext <<_ACEOF
26697 #line $LINENO "configure"
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703 #include <locale.h>
26705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26708 grep -v '^ *+' conftest.er1 >conftest.err
26710 cat conftest.err >&5
26711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26712 (exit $ac_status); } >/dev/null; then
26713 if test -s conftest.err; then
26714 ac_cpp_err=$ac_c_preproc_warn_flag
26721 if test -z "$ac_cpp_err"; then
26722 ac_header_preproc=yes
26724 echo "$as_me: failed program was:" >&5
26725 sed 's/^/| /' conftest.$ac_ext >&5
26727 ac_header_preproc=no
26729 rm -f conftest.err conftest.$ac_ext
26730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26731 echo "${ECHO_T}$ac_header_preproc" >&6
26733 # So? What about this header?
26734 case $ac_header_compiler:$ac_header_preproc in
26736 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26737 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26738 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26739 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26742 ## ------------------------------------ ##
26743 ## Report this to bug-autoconf@gnu.org. ##
26744 ## ------------------------------------ ##
26747 sed "s/^/$as_me: WARNING: /" >&2
26750 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26751 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26753 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26754 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26755 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26758 ## ------------------------------------ ##
26759 ## Report this to bug-autoconf@gnu.org. ##
26760 ## ------------------------------------ ##
26763 sed "s/^/$as_me: WARNING: /" >&2
26766 echo "$as_me:$LINENO: checking for locale.h" >&5
26767 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26768 if test "${ac_cv_header_locale_h+set}" = set; then
26769 echo $ECHO_N "(cached) $ECHO_C" >&6
26771 ac_cv_header_locale_h=$ac_header_preproc
26773 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26774 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26777 if test $ac_cv_header_locale_h = yes; then
26779 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26780 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26781 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 if test x$gcc_no_link = xyes; then
26785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26787 { (exit 1); exit 1; }; }
26789 cat >conftest.$ac_ext <<_ACEOF
26790 #line $LINENO "configure"
26793 cat confdefs.h >>conftest.$ac_ext
26794 cat >>conftest.$ac_ext <<_ACEOF
26795 /* end confdefs.h. */
26796 #include <locale.h>
26805 rm -f conftest.$ac_objext conftest$ac_exeext
26806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26807 (eval $ac_link) 2>&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -s conftest$ac_exeext'
26812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813 (eval $ac_try) 2>&5
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); }; }; then
26817 ac_cv_val_LC_MESSAGES=yes
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26822 ac_cv_val_LC_MESSAGES=no
26824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26826 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26827 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26828 if test $ac_cv_val_LC_MESSAGES = yes; then
26829 cat >>confdefs.h <<\_ACEOF
26830 #define HAVE_LC_MESSAGES 1
26840 cat >conftest.$ac_ext <<_ACEOF
26841 #line $LINENO "configure"
26844 cat confdefs.h >>conftest.$ac_ext
26845 cat >>conftest.$ac_ext <<_ACEOF
26846 /* end confdefs.h. */
26847 #include <setjmp.h>
26852 while (! sigsetjmp (env, 1))
26853 siglongjmp (env, 1);
26859 rm -f conftest.$ac_objext
26860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26861 (eval $ac_compile) 2>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } &&
26865 { ac_try='test -s conftest.$ac_objext'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; }; then
26872 cat >>confdefs.h <<\_ACEOF
26873 #define HAVE_SIGSETJMP 1
26877 echo "$as_me: failed program was:" >&5
26878 sed 's/^/| /' conftest.$ac_ext >&5
26881 rm -f conftest.$ac_objext conftest.$ac_ext
26883 if test x$gcc_no_link = xyes; then
26884 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
26885 ac_cv_func_mmap_fixed_mapped=no
26888 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
26891 for ac_header in stdlib.h unistd.h
26893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26895 echo "$as_me:$LINENO: checking for $ac_header" >&5
26896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26903 # Is the header compilable?
26904 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26905 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26906 cat >conftest.$ac_ext <<_ACEOF
26907 #line $LINENO "configure"
26910 cat confdefs.h >>conftest.$ac_ext
26911 cat >>conftest.$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913 $ac_includes_default
26914 #include <$ac_header>
26916 rm -f conftest.$ac_objext
26917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -s conftest.$ac_objext'
26923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924 (eval $ac_try) 2>&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); }; }; then
26928 ac_header_compiler=yes
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26933 ac_header_compiler=no
26935 rm -f conftest.$ac_objext conftest.$ac_ext
26936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26937 echo "${ECHO_T}$ac_header_compiler" >&6
26939 # Is the header present?
26940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26942 cat >conftest.$ac_ext <<_ACEOF
26943 #line $LINENO "configure"
26946 cat confdefs.h >>conftest.$ac_ext
26947 cat >>conftest.$ac_ext <<_ACEOF
26948 /* end confdefs.h. */
26949 #include <$ac_header>
26951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26952 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26954 grep -v '^ *+' conftest.er1 >conftest.err
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } >/dev/null; then
26959 if test -s conftest.err; then
26960 ac_cpp_err=$ac_c_preproc_warn_flag
26967 if test -z "$ac_cpp_err"; then
26968 ac_header_preproc=yes
26970 echo "$as_me: failed program was:" >&5
26971 sed 's/^/| /' conftest.$ac_ext >&5
26973 ac_header_preproc=no
26975 rm -f conftest.err conftest.$ac_ext
26976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26977 echo "${ECHO_T}$ac_header_preproc" >&6
26979 # So? What about this header?
26980 case $ac_header_compiler:$ac_header_preproc in
26982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26988 ## ------------------------------------ ##
26989 ## Report this to bug-autoconf@gnu.org. ##
26990 ## ------------------------------------ ##
26993 sed "s/^/$as_me: WARNING: /" >&2
26996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27004 ## ------------------------------------ ##
27005 ## Report this to bug-autoconf@gnu.org. ##
27006 ## ------------------------------------ ##
27009 sed "s/^/$as_me: WARNING: /" >&2
27012 echo "$as_me:$LINENO: checking for $ac_header" >&5
27013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27015 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 eval "$as_ac_Header=$ac_header_preproc"
27019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27024 cat >>confdefs.h <<_ACEOF
27025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27033 for ac_func in getpagesize
27035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27036 echo "$as_me:$LINENO: checking for $ac_func" >&5
27037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27038 if eval "test \"\${$as_ac_var+set}\" = set"; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27041 if test x$gcc_no_link = xyes; then
27042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27044 { (exit 1); exit 1; }; }
27046 cat >conftest.$ac_ext <<_ACEOF
27047 #line $LINENO "configure"
27050 cat confdefs.h >>conftest.$ac_ext
27051 cat >>conftest.$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27053 /* System header to define __stub macros and hopefully few prototypes,
27054 which can conflict with char $ac_func (); below.
27055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27056 <limits.h> exists even on freestanding compilers. */
27058 # include <limits.h>
27060 # include <assert.h>
27062 /* Override any gcc2 internal prototype to avoid an error. */
27067 /* We use char because int might match the return type of a gcc2
27068 builtin and then its argument prototype would still apply. */
27070 /* The GNU C library defines this for functions which it implements
27071 to always fail with ENOSYS. Some functions are actually named
27072 something starting with __ and the normal name is an alias. */
27073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27076 char (*f) () = $ac_func;
27085 return f != $ac_func;
27090 rm -f conftest.$ac_objext conftest$ac_exeext
27091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27092 (eval $ac_link) 2>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); } &&
27096 { ac_try='test -s conftest$ac_exeext'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; }; then
27102 eval "$as_ac_var=yes"
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.$ac_ext >&5
27107 eval "$as_ac_var=no"
27109 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27113 if test `eval echo '${'$as_ac_var'}'` = yes; then
27114 cat >>confdefs.h <<_ACEOF
27115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27121 echo "$as_me:$LINENO: checking for working mmap" >&5
27122 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27123 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 if test "$cross_compiling" = yes; then
27127 ac_cv_func_mmap_fixed_mapped=no
27129 cat >conftest.$ac_ext <<_ACEOF
27130 #line $LINENO "configure"
27133 cat confdefs.h >>conftest.$ac_ext
27134 cat >>conftest.$ac_ext <<_ACEOF
27135 /* end confdefs.h. */
27136 $ac_includes_default
27137 /* malloc might have been renamed as rpl_malloc. */
27140 /* Thanks to Mike Haertel and Jim Avera for this test.
27141 Here is a matrix of mmap possibilities:
27142 mmap private not fixed
27143 mmap private fixed at somewhere currently unmapped
27144 mmap private fixed at somewhere already mapped
27145 mmap shared not fixed
27146 mmap shared fixed at somewhere currently unmapped
27147 mmap shared fixed at somewhere already mapped
27148 For private mappings, we should verify that changes cannot be read()
27149 back from the file, nor mmap's back from the file at a different
27150 address. (There have been systems where private was not correctly
27151 implemented like the infamous i386 svr4.0, and systems where the
27152 VM page cache was not coherent with the file system buffer cache
27153 like early versions of FreeBSD and possibly contemporary NetBSD.)
27154 For shared mappings, we should conversely verify that changes get
27155 propagated back to all the places they're supposed to be.
27157 Grep wants private fixed already mapped.
27158 The main things grep needs to know about mmap are:
27159 * does it exist and is it safe to write into the mmap'd area
27160 * how to use it (BSD variants) */
27163 #include <sys/mman.h>
27165 #if !STDC_HEADERS && !HAVE_STDLIB_H
27169 /* This mess was copied from the GNU getpagesize.h. */
27170 #if !HAVE_GETPAGESIZE
27171 /* Assume that all systems that can run configure have sys/param.h. */
27172 # if !HAVE_SYS_PARAM_H
27173 # define HAVE_SYS_PARAM_H 1
27176 # ifdef _SC_PAGESIZE
27177 # define getpagesize() sysconf(_SC_PAGESIZE)
27178 # else /* no _SC_PAGESIZE */
27179 # if HAVE_SYS_PARAM_H
27180 # include <sys/param.h>
27181 # ifdef EXEC_PAGESIZE
27182 # define getpagesize() EXEC_PAGESIZE
27183 # else /* no EXEC_PAGESIZE */
27185 # define getpagesize() NBPG * CLSIZE
27188 # endif /* no CLSIZE */
27189 # else /* no NBPG */
27191 # define getpagesize() NBPC
27192 # else /* no NBPC */
27194 # define getpagesize() PAGESIZE
27195 # endif /* PAGESIZE */
27196 # endif /* no NBPC */
27197 # endif /* no NBPG */
27198 # endif /* no EXEC_PAGESIZE */
27199 # else /* no HAVE_SYS_PARAM_H */
27200 # define getpagesize() 8192 /* punt totally */
27201 # endif /* no HAVE_SYS_PARAM_H */
27202 # endif /* no _SC_PAGESIZE */
27204 #endif /* no HAVE_GETPAGESIZE */
27209 char *data, *data2, *data3;
27213 pagesize = getpagesize ();
27215 /* First, make a file with some known garbage in it. */
27216 data = (char *) malloc (pagesize);
27219 for (i = 0; i < pagesize; ++i)
27220 *(data + i) = rand ();
27222 fd = creat ("conftest.mmap", 0600);
27225 if (write (fd, data, pagesize) != pagesize)
27229 /* Next, try to mmap the file at a fixed address which already has
27230 something else allocated at it. If we can, also make sure that
27231 we see the same garbage. */
27232 fd = open ("conftest.mmap", O_RDWR);
27235 data2 = (char *) malloc (2 * pagesize);
27238 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27239 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27240 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27242 for (i = 0; i < pagesize; ++i)
27243 if (*(data + i) != *(data2 + i))
27246 /* Finally, make sure that changes to the mapped area do not
27247 percolate back to the file as seen by read(). (This is a bug on
27248 some variants of i386 svr4.0.) */
27249 for (i = 0; i < pagesize; ++i)
27250 *(data2 + i) = *(data2 + i) + 1;
27251 data3 = (char *) malloc (pagesize);
27254 if (read (fd, data3, pagesize) != pagesize)
27256 for (i = 0; i < pagesize; ++i)
27257 if (*(data + i) != *(data3 + i))
27263 rm -f conftest$ac_exeext
27264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27265 (eval $ac_link) 2>&5
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; }; then
27274 ac_cv_func_mmap_fixed_mapped=yes
27276 echo "$as_me: program exited with status $ac_status" >&5
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27280 ( exit $ac_status )
27281 ac_cv_func_mmap_fixed_mapped=no
27283 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27286 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27287 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27288 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27290 cat >>confdefs.h <<\_ACEOF
27291 #define HAVE_MMAP 1
27295 rm -f conftest.mmap
27301 # This lets us hard-code the functionality we know we'll have in the cross
27302 # target environment. "Let" is a sugar-coated word placed on an especially
27303 # dull and tedious hack, actually.
27305 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27306 # that involve linking, can't be used:
27307 # "cannot open sim-crt0.o"
27308 # "cannot open crt0.o"
27309 # etc. All this is because there currently exists no unified, consistent
27310 # way for top level CC information to be passed down to target directories:
27311 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27312 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27313 # crosses can be removed.
27315 # If Canadian cross, then don't pick up tools from the build directory.
27316 # Used only in GLIBCXX_EXPORT_INCLUDES.
27317 if test -n "$with_cross_host" &&
27318 test x"$build_alias" != x"$with_cross_host" &&
27319 test x"$build" != x"$target";
27326 # Construct crosses by hand, eliminating bits that need ld...
27327 # GLIBCXX_CHECK_COMPILER_FEATURES
27328 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27329 # GLIBCXX_CHECK_MATH_SUPPORT
27331 # First, test for "known" system libraries. We may be using newlib even
27332 # on a hosted environment.
27333 if test "x${with_newlib}" = "xyes"; then
27334 os_include_dir="os/newlib"
27335 cat >>confdefs.h <<\_ACEOF
27336 #define HAVE_HYPOT 1
27340 # GLIBCXX_CHECK_STDLIB_SUPPORT
27341 cat >>confdefs.h <<\_ACEOF
27342 #define HAVE_STRTOF 1
27345 cat >>confdefs.h <<\_ACEOF
27346 #define HAVE_STRTOLD 1
27350 cat >>confdefs.h <<\_ACEOF
27351 #define HAVE_MMAP 1
27355 cat >>confdefs.h <<\_ACEOF
27356 #define HAVE_ACOSF 1
27359 cat >>confdefs.h <<\_ACEOF
27360 #define HAVE_ASINF 1
27363 cat >>confdefs.h <<\_ACEOF
27364 #define HAVE_ATAN2F 1
27367 cat >>confdefs.h <<\_ACEOF
27368 #define HAVE_ATANF 1
27371 cat >>confdefs.h <<\_ACEOF
27372 #define HAVE_CEILF 1
27375 cat >>confdefs.h <<\_ACEOF
27376 #define HAVE_COPYSIGN 1
27379 cat >>confdefs.h <<\_ACEOF
27380 #define HAVE_COPYSIGNF 1
27383 cat >>confdefs.h <<\_ACEOF
27384 #define HAVE_COSF 1
27387 cat >>confdefs.h <<\_ACEOF
27388 #define HAVE_COSHF 1
27391 cat >>confdefs.h <<\_ACEOF
27392 #define HAVE_EXPF 1
27395 cat >>confdefs.h <<\_ACEOF
27396 #define HAVE_FABSF 1
27399 cat >>confdefs.h <<\_ACEOF
27400 #define HAVE_FLOORF 1
27403 cat >>confdefs.h <<\_ACEOF
27404 #define HAVE_FMODF 1
27407 cat >>confdefs.h <<\_ACEOF
27408 #define HAVE_FREXPF 1
27411 cat >>confdefs.h <<\_ACEOF
27412 #define HAVE_LDEXPF 1
27415 cat >>confdefs.h <<\_ACEOF
27416 #define HAVE_LOG10F 1
27419 cat >>confdefs.h <<\_ACEOF
27420 #define HAVE_LOGF 1
27423 cat >>confdefs.h <<\_ACEOF
27424 #define HAVE_MODFF 1
27427 cat >>confdefs.h <<\_ACEOF
27428 #define HAVE_POWF 1
27431 cat >>confdefs.h <<\_ACEOF
27432 #define HAVE_SINF 1
27435 cat >>confdefs.h <<\_ACEOF
27436 #define HAVE_SINHF 1
27439 cat >>confdefs.h <<\_ACEOF
27440 #define HAVE_SQRTF 1
27443 cat >>confdefs.h <<\_ACEOF
27444 #define HAVE_TANF 1
27447 cat >>confdefs.h <<\_ACEOF
27448 #define HAVE_TANHF 1
27453 # Base decisions on target environment.
27456 # Darwin versions vary, but the linker should work in a cross environment,
27457 # so we just check for all the features here.
27458 # Check for available headers.
27472 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27473 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27478 echo "$as_me:$LINENO: checking for $ac_header" >&5
27479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27486 # Is the header compilable?
27487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27489 cat >conftest.$ac_ext <<_ACEOF
27490 #line $LINENO "configure"
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496 $ac_includes_default
27497 #include <$ac_header>
27499 rm -f conftest.$ac_objext
27500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27501 (eval $ac_compile) 2>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } &&
27505 { ac_try='test -s conftest.$ac_objext'
27506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507 (eval $ac_try) 2>&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; }; then
27511 ac_header_compiler=yes
27513 echo "$as_me: failed program was:" >&5
27514 sed 's/^/| /' conftest.$ac_ext >&5
27516 ac_header_compiler=no
27518 rm -f conftest.$ac_objext conftest.$ac_ext
27519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27520 echo "${ECHO_T}$ac_header_compiler" >&6
27522 # Is the header present?
27523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27525 cat >conftest.$ac_ext <<_ACEOF
27526 #line $LINENO "configure"
27529 cat confdefs.h >>conftest.$ac_ext
27530 cat >>conftest.$ac_ext <<_ACEOF
27531 /* end confdefs.h. */
27532 #include <$ac_header>
27534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27537 grep -v '^ *+' conftest.er1 >conftest.err
27539 cat conftest.err >&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } >/dev/null; then
27542 if test -s conftest.err; then
27543 ac_cpp_err=$ac_c_preproc_warn_flag
27550 if test -z "$ac_cpp_err"; then
27551 ac_header_preproc=yes
27553 echo "$as_me: failed program was:" >&5
27554 sed 's/^/| /' conftest.$ac_ext >&5
27556 ac_header_preproc=no
27558 rm -f conftest.err conftest.$ac_ext
27559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27560 echo "${ECHO_T}$ac_header_preproc" >&6
27562 # So? What about this header?
27563 case $ac_header_compiler:$ac_header_preproc in
27565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27571 ## ------------------------------------ ##
27572 ## Report this to bug-autoconf@gnu.org. ##
27573 ## ------------------------------------ ##
27576 sed "s/^/$as_me: WARNING: /" >&2
27579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27587 ## ------------------------------------ ##
27588 ## Report this to bug-autoconf@gnu.org. ##
27589 ## ------------------------------------ ##
27592 sed "s/^/$as_me: WARNING: /" >&2
27595 echo "$as_me:$LINENO: checking for $ac_header" >&5
27596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27598 echo $ECHO_N "(cached) $ECHO_C" >&6
27600 eval "$as_ac_Header=$ac_header_preproc"
27602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27607 cat >>confdefs.h <<_ACEOF
27608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27617 # All these tests are for C++; save the language and the compiler flags.
27618 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27619 # found in GLIBCXX_CONFIGURE.
27623 ac_cpp='$CXXCPP $CPPFLAGS'
27624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27628 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27629 ac_save_CXXFLAGS="$CXXFLAGS"
27631 # Check for maintainer-mode bits.
27632 if test x"$USE_MAINTAINER_MODE" = xno; then
27638 # Check for -ffunction-sections -fdata-sections
27639 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27640 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27641 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27642 cat >conftest.$ac_ext <<_ACEOF
27643 #line $LINENO "configure"
27646 cat confdefs.h >>conftest.$ac_ext
27647 cat >>conftest.$ac_ext <<_ACEOF
27648 /* end confdefs.h. */
27658 rm -f conftest.$ac_objext
27659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27660 (eval $ac_compile) 2>&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } &&
27664 { ac_try='test -s conftest.$ac_objext'
27665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666 (eval $ac_try) 2>&5
27668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669 (exit $ac_status); }; }; then
27672 echo "$as_me: failed program was:" >&5
27673 sed 's/^/| /' conftest.$ac_ext >&5
27677 rm -f conftest.$ac_objext conftest.$ac_ext
27678 if test "$ac_test_CXXFLAGS" = set; then
27679 CXXFLAGS="$ac_save_CXXFLAGS"
27681 # this is the suspicious part
27684 if test x"$ac_fdsections" = x"yes"; then
27685 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27687 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27688 echo "${ECHO_T}$ac_fdsections" >&6
27691 ac_cpp='$CPP $CPPFLAGS'
27692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27699 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27701 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27702 ac_save_CXXFLAGS="$CXXFLAGS"
27703 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27705 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27706 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27707 if test "${ac_cv_lib_m_sin+set}" = set; then
27708 echo $ECHO_N "(cached) $ECHO_C" >&6
27710 ac_check_lib_save_LIBS=$LIBS
27712 if test x$gcc_no_link = xyes; then
27713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27715 { (exit 1); exit 1; }; }
27717 cat >conftest.$ac_ext <<_ACEOF
27718 #line $LINENO "configure"
27721 cat confdefs.h >>conftest.$ac_ext
27722 cat >>conftest.$ac_ext <<_ACEOF
27723 /* end confdefs.h. */
27725 /* Override any gcc2 internal prototype to avoid an error. */
27729 /* We use char because int might match the return type of a gcc2
27730 builtin and then its argument prototype would still apply. */
27740 rm -f conftest.$ac_objext conftest$ac_exeext
27741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27742 (eval $ac_link) 2>&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); } &&
27746 { ac_try='test -s conftest$ac_exeext'
27747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27748 (eval $ac_try) 2>&5
27750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27751 (exit $ac_status); }; }; then
27752 ac_cv_lib_m_sin=yes
27754 echo "$as_me: failed program was:" >&5
27755 sed 's/^/| /' conftest.$ac_ext >&5
27759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27760 LIBS=$ac_check_lib_save_LIBS
27762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27763 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27764 if test $ac_cv_lib_m_sin = yes; then
27768 ac_save_LIBS="$LIBS"
27773 echo "$as_me:$LINENO: checking for isinf declaration" >&5
27774 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27775 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27776 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27777 echo $ECHO_N "(cached) $ECHO_C" >&6
27783 ac_cpp='$CXXCPP $CPPFLAGS'
27784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27788 cat >conftest.$ac_ext <<_ACEOF
27789 #line $LINENO "configure"
27792 cat confdefs.h >>conftest.$ac_ext
27793 cat >>conftest.$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27796 #ifdef HAVE_IEEEFP_H
27797 #include <ieeefp.h>
27808 rm -f conftest.$ac_objext
27809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27810 (eval $ac_compile) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } &&
27814 { ac_try='test -s conftest.$ac_objext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 glibcxx_cv_func_isinf_use=yes
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27825 glibcxx_cv_func_isinf_use=no
27827 rm -f conftest.$ac_objext conftest.$ac_ext
27829 ac_cpp='$CPP $CPPFLAGS'
27830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27838 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27839 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27841 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27843 for ac_func in isinf
27845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27846 echo "$as_me:$LINENO: checking for $ac_func" >&5
27847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27848 if eval "test \"\${$as_ac_var+set}\" = set"; then
27849 echo $ECHO_N "(cached) $ECHO_C" >&6
27851 if test x$gcc_no_link = xyes; then
27852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27854 { (exit 1); exit 1; }; }
27856 cat >conftest.$ac_ext <<_ACEOF
27857 #line $LINENO "configure"
27860 cat confdefs.h >>conftest.$ac_ext
27861 cat >>conftest.$ac_ext <<_ACEOF
27862 /* end confdefs.h. */
27863 /* System header to define __stub macros and hopefully few prototypes,
27864 which can conflict with char $ac_func (); below.
27865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27866 <limits.h> exists even on freestanding compilers. */
27868 # include <limits.h>
27870 # include <assert.h>
27872 /* Override any gcc2 internal prototype to avoid an error. */
27877 /* We use char because int might match the return type of a gcc2
27878 builtin and then its argument prototype would still apply. */
27880 /* The GNU C library defines this for functions which it implements
27881 to always fail with ENOSYS. Some functions are actually named
27882 something starting with __ and the normal name is an alias. */
27883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27886 char (*f) () = $ac_func;
27895 return f != $ac_func;
27900 rm -f conftest.$ac_objext conftest$ac_exeext
27901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27902 (eval $ac_link) 2>&5
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); } &&
27906 { ac_try='test -s conftest$ac_exeext'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; }; then
27912 eval "$as_ac_var=yes"
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27917 eval "$as_ac_var=no"
27919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27923 if test `eval echo '${'$as_ac_var'}'` = yes; then
27924 cat >>confdefs.h <<_ACEOF
27925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27933 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
27934 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
27935 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27936 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27943 ac_cpp='$CXXCPP $CPPFLAGS'
27944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27948 cat >conftest.$ac_ext <<_ACEOF
27949 #line $LINENO "configure"
27952 cat confdefs.h >>conftest.$ac_ext
27953 cat >>conftest.$ac_ext <<_ACEOF
27954 /* end confdefs.h. */
27956 #ifdef HAVE_IEEEFP_H
27957 #include <ieeefp.h>
27968 rm -f conftest.$ac_objext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27970 (eval $ac_compile) 2>&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } &&
27974 { ac_try='test -s conftest.$ac_objext'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; }; then
27980 glibcxx_cv_func__isinf_use=yes
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.$ac_ext >&5
27985 glibcxx_cv_func__isinf_use=no
27987 rm -f conftest.$ac_objext conftest.$ac_ext
27989 ac_cpp='$CPP $CPPFLAGS'
27990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
27999 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28001 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28003 for ac_func in _isinf
28005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28006 echo "$as_me:$LINENO: checking for $ac_func" >&5
28007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28008 if eval "test \"\${$as_ac_var+set}\" = set"; then
28009 echo $ECHO_N "(cached) $ECHO_C" >&6
28011 if test x$gcc_no_link = xyes; then
28012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28014 { (exit 1); exit 1; }; }
28016 cat >conftest.$ac_ext <<_ACEOF
28017 #line $LINENO "configure"
28020 cat confdefs.h >>conftest.$ac_ext
28021 cat >>conftest.$ac_ext <<_ACEOF
28022 /* end confdefs.h. */
28023 /* System header to define __stub macros and hopefully few prototypes,
28024 which can conflict with char $ac_func (); below.
28025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28026 <limits.h> exists even on freestanding compilers. */
28028 # include <limits.h>
28030 # include <assert.h>
28032 /* Override any gcc2 internal prototype to avoid an error. */
28037 /* We use char because int might match the return type of a gcc2
28038 builtin and then its argument prototype would still apply. */
28040 /* The GNU C library defines this for functions which it implements
28041 to always fail with ENOSYS. Some functions are actually named
28042 something starting with __ and the normal name is an alias. */
28043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28046 char (*f) () = $ac_func;
28055 return f != $ac_func;
28060 rm -f conftest.$ac_objext conftest$ac_exeext
28061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28062 (eval $ac_link) 2>&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); } &&
28066 { ac_try='test -s conftest$ac_exeext'
28067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28068 (eval $ac_try) 2>&5
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }; }; then
28072 eval "$as_ac_var=yes"
28074 echo "$as_me: failed program was:" >&5
28075 sed 's/^/| /' conftest.$ac_ext >&5
28077 eval "$as_ac_var=no"
28079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28083 if test `eval echo '${'$as_ac_var'}'` = yes; then
28084 cat >>confdefs.h <<_ACEOF
28085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28096 echo "$as_me:$LINENO: checking for isnan declaration" >&5
28097 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28098 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28099 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28100 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 ac_cpp='$CXXCPP $CPPFLAGS'
28107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28111 cat >conftest.$ac_ext <<_ACEOF
28112 #line $LINENO "configure"
28115 cat confdefs.h >>conftest.$ac_ext
28116 cat >>conftest.$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28119 #ifdef HAVE_IEEEFP_H
28120 #include <ieeefp.h>
28131 rm -f conftest.$ac_objext
28132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28133 (eval $ac_compile) 2>&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try='test -s conftest.$ac_objext'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; }; then
28143 glibcxx_cv_func_isnan_use=yes
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28148 glibcxx_cv_func_isnan_use=no
28150 rm -f conftest.$ac_objext conftest.$ac_ext
28152 ac_cpp='$CPP $CPPFLAGS'
28153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28162 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28166 for ac_func in isnan
28168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28169 echo "$as_me:$LINENO: checking for $ac_func" >&5
28170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28171 if eval "test \"\${$as_ac_var+set}\" = set"; then
28172 echo $ECHO_N "(cached) $ECHO_C" >&6
28174 if test x$gcc_no_link = xyes; then
28175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28177 { (exit 1); exit 1; }; }
28179 cat >conftest.$ac_ext <<_ACEOF
28180 #line $LINENO "configure"
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28186 /* System header to define __stub macros and hopefully few prototypes,
28187 which can conflict with char $ac_func (); below.
28188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28189 <limits.h> exists even on freestanding compilers. */
28191 # include <limits.h>
28193 # include <assert.h>
28195 /* Override any gcc2 internal prototype to avoid an error. */
28200 /* We use char because int might match the return type of a gcc2
28201 builtin and then its argument prototype would still apply. */
28203 /* The GNU C library defines this for functions which it implements
28204 to always fail with ENOSYS. Some functions are actually named
28205 something starting with __ and the normal name is an alias. */
28206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28209 char (*f) () = $ac_func;
28218 return f != $ac_func;
28223 rm -f conftest.$ac_objext conftest$ac_exeext
28224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28225 (eval $ac_link) 2>&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); } &&
28229 { ac_try='test -s conftest$ac_exeext'
28230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28231 (eval $ac_try) 2>&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); }; }; then
28235 eval "$as_ac_var=yes"
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.$ac_ext >&5
28240 eval "$as_ac_var=no"
28242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28246 if test `eval echo '${'$as_ac_var'}'` = yes; then
28247 cat >>confdefs.h <<_ACEOF
28248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28256 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28257 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28258 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28259 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 ac_cpp='$CXXCPP $CPPFLAGS'
28267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28271 cat >conftest.$ac_ext <<_ACEOF
28272 #line $LINENO "configure"
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28279 #ifdef HAVE_IEEEFP_H
28280 #include <ieeefp.h>
28291 rm -f conftest.$ac_objext
28292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28293 (eval $ac_compile) 2>&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } &&
28297 { ac_try='test -s conftest.$ac_objext'
28298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299 (eval $ac_try) 2>&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); }; }; then
28303 glibcxx_cv_func__isnan_use=yes
28305 echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.$ac_ext >&5
28308 glibcxx_cv_func__isnan_use=no
28310 rm -f conftest.$ac_objext conftest.$ac_ext
28312 ac_cpp='$CPP $CPPFLAGS'
28313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28321 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28322 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28324 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28326 for ac_func in _isnan
28328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28329 echo "$as_me:$LINENO: checking for $ac_func" >&5
28330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28331 if eval "test \"\${$as_ac_var+set}\" = set"; then
28332 echo $ECHO_N "(cached) $ECHO_C" >&6
28334 if test x$gcc_no_link = xyes; then
28335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28337 { (exit 1); exit 1; }; }
28339 cat >conftest.$ac_ext <<_ACEOF
28340 #line $LINENO "configure"
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28346 /* System header to define __stub macros and hopefully few prototypes,
28347 which can conflict with char $ac_func (); below.
28348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28349 <limits.h> exists even on freestanding compilers. */
28351 # include <limits.h>
28353 # include <assert.h>
28355 /* Override any gcc2 internal prototype to avoid an error. */
28360 /* We use char because int might match the return type of a gcc2
28361 builtin and then its argument prototype would still apply. */
28363 /* The GNU C library defines this for functions which it implements
28364 to always fail with ENOSYS. Some functions are actually named
28365 something starting with __ and the normal name is an alias. */
28366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28369 char (*f) () = $ac_func;
28378 return f != $ac_func;
28383 rm -f conftest.$ac_objext conftest$ac_exeext
28384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28385 (eval $ac_link) 2>&5
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); } &&
28389 { ac_try='test -s conftest$ac_exeext'
28390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28391 (eval $ac_try) 2>&5
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); }; }; then
28395 eval "$as_ac_var=yes"
28397 echo "$as_me: failed program was:" >&5
28398 sed 's/^/| /' conftest.$ac_ext >&5
28400 eval "$as_ac_var=no"
28402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28406 if test `eval echo '${'$as_ac_var'}'` = yes; then
28407 cat >>confdefs.h <<_ACEOF
28408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28419 echo "$as_me:$LINENO: checking for finite declaration" >&5
28420 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28421 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28422 if test "${glibcxx_cv_func_finite_use+set}" = set; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28429 ac_cpp='$CXXCPP $CPPFLAGS'
28430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28434 cat >conftest.$ac_ext <<_ACEOF
28435 #line $LINENO "configure"
28438 cat confdefs.h >>conftest.$ac_ext
28439 cat >>conftest.$ac_ext <<_ACEOF
28440 /* end confdefs.h. */
28442 #ifdef HAVE_IEEEFP_H
28443 #include <ieeefp.h>
28454 rm -f conftest.$ac_objext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28456 (eval $ac_compile) 2>&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); } &&
28460 { ac_try='test -s conftest.$ac_objext'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; }; then
28466 glibcxx_cv_func_finite_use=yes
28468 echo "$as_me: failed program was:" >&5
28469 sed 's/^/| /' conftest.$ac_ext >&5
28471 glibcxx_cv_func_finite_use=no
28473 rm -f conftest.$ac_objext conftest.$ac_ext
28475 ac_cpp='$CPP $CPPFLAGS'
28476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28485 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28487 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28489 for ac_func in finite
28491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28492 echo "$as_me:$LINENO: checking for $ac_func" >&5
28493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28494 if eval "test \"\${$as_ac_var+set}\" = set"; then
28495 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 if test x$gcc_no_link = xyes; then
28498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28500 { (exit 1); exit 1; }; }
28502 cat >conftest.$ac_ext <<_ACEOF
28503 #line $LINENO "configure"
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509 /* System header to define __stub macros and hopefully few prototypes,
28510 which can conflict with char $ac_func (); below.
28511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28512 <limits.h> exists even on freestanding compilers. */
28514 # include <limits.h>
28516 # include <assert.h>
28518 /* Override any gcc2 internal prototype to avoid an error. */
28523 /* We use char because int might match the return type of a gcc2
28524 builtin and then its argument prototype would still apply. */
28526 /* The GNU C library defines this for functions which it implements
28527 to always fail with ENOSYS. Some functions are actually named
28528 something starting with __ and the normal name is an alias. */
28529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28532 char (*f) () = $ac_func;
28541 return f != $ac_func;
28546 rm -f conftest.$ac_objext conftest$ac_exeext
28547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28548 (eval $ac_link) 2>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); } &&
28552 { ac_try='test -s conftest$ac_exeext'
28553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554 (eval $ac_try) 2>&5
28556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557 (exit $ac_status); }; }; then
28558 eval "$as_ac_var=yes"
28560 echo "$as_me: failed program was:" >&5
28561 sed 's/^/| /' conftest.$ac_ext >&5
28563 eval "$as_ac_var=no"
28565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28569 if test `eval echo '${'$as_ac_var'}'` = yes; then
28570 cat >>confdefs.h <<_ACEOF
28571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28579 echo "$as_me:$LINENO: checking for _finite declaration" >&5
28580 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28581 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28582 if test "${glibcxx_cv_func__finite_use+set}" = set; then
28583 echo $ECHO_N "(cached) $ECHO_C" >&6
28589 ac_cpp='$CXXCPP $CPPFLAGS'
28590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28594 cat >conftest.$ac_ext <<_ACEOF
28595 #line $LINENO "configure"
28598 cat confdefs.h >>conftest.$ac_ext
28599 cat >>conftest.$ac_ext <<_ACEOF
28600 /* end confdefs.h. */
28602 #ifdef HAVE_IEEEFP_H
28603 #include <ieeefp.h>
28614 rm -f conftest.$ac_objext
28615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28616 (eval $ac_compile) 2>&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } &&
28620 { ac_try='test -s conftest.$ac_objext'
28621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28622 (eval $ac_try) 2>&5
28624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28625 (exit $ac_status); }; }; then
28626 glibcxx_cv_func__finite_use=yes
28628 echo "$as_me: failed program was:" >&5
28629 sed 's/^/| /' conftest.$ac_ext >&5
28631 glibcxx_cv_func__finite_use=no
28633 rm -f conftest.$ac_objext conftest.$ac_ext
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28644 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28645 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28647 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28649 for ac_func in _finite
28651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28652 echo "$as_me:$LINENO: checking for $ac_func" >&5
28653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28654 if eval "test \"\${$as_ac_var+set}\" = set"; then
28655 echo $ECHO_N "(cached) $ECHO_C" >&6
28657 if test x$gcc_no_link = xyes; then
28658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28660 { (exit 1); exit 1; }; }
28662 cat >conftest.$ac_ext <<_ACEOF
28663 #line $LINENO "configure"
28666 cat confdefs.h >>conftest.$ac_ext
28667 cat >>conftest.$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28669 /* System header to define __stub macros and hopefully few prototypes,
28670 which can conflict with char $ac_func (); below.
28671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28672 <limits.h> exists even on freestanding compilers. */
28674 # include <limits.h>
28676 # include <assert.h>
28678 /* Override any gcc2 internal prototype to avoid an error. */
28683 /* We use char because int might match the return type of a gcc2
28684 builtin and then its argument prototype would still apply. */
28686 /* The GNU C library defines this for functions which it implements
28687 to always fail with ENOSYS. Some functions are actually named
28688 something starting with __ and the normal name is an alias. */
28689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28692 char (*f) () = $ac_func;
28701 return f != $ac_func;
28706 rm -f conftest.$ac_objext conftest$ac_exeext
28707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28708 (eval $ac_link) 2>&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } &&
28712 { ac_try='test -s conftest$ac_exeext'
28713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28714 (eval $ac_try) 2>&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); }; }; then
28718 eval "$as_ac_var=yes"
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28723 eval "$as_ac_var=no"
28725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28729 if test `eval echo '${'$as_ac_var'}'` = yes; then
28730 cat >>confdefs.h <<_ACEOF
28731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28742 echo "$as_me:$LINENO: checking for copysign declaration" >&5
28743 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28744 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28745 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28746 echo $ECHO_N "(cached) $ECHO_C" >&6
28752 ac_cpp='$CXXCPP $CPPFLAGS'
28753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28757 cat >conftest.$ac_ext <<_ACEOF
28758 #line $LINENO "configure"
28761 cat confdefs.h >>conftest.$ac_ext
28762 cat >>conftest.$ac_ext <<_ACEOF
28763 /* end confdefs.h. */
28773 rm -f conftest.$ac_objext
28774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28775 (eval $ac_compile) 2>&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } &&
28779 { ac_try='test -s conftest.$ac_objext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 glibcxx_cv_func_copysign_use=yes
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28790 glibcxx_cv_func_copysign_use=no
28792 rm -f conftest.$ac_objext conftest.$ac_ext
28794 ac_cpp='$CPP $CPPFLAGS'
28795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28804 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28806 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28808 for ac_func in copysign
28810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28811 echo "$as_me:$LINENO: checking for $ac_func" >&5
28812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28813 if eval "test \"\${$as_ac_var+set}\" = set"; then
28814 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 if test x$gcc_no_link = xyes; then
28817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28819 { (exit 1); exit 1; }; }
28821 cat >conftest.$ac_ext <<_ACEOF
28822 #line $LINENO "configure"
28825 cat confdefs.h >>conftest.$ac_ext
28826 cat >>conftest.$ac_ext <<_ACEOF
28827 /* end confdefs.h. */
28828 /* System header to define __stub macros and hopefully few prototypes,
28829 which can conflict with char $ac_func (); below.
28830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28831 <limits.h> exists even on freestanding compilers. */
28833 # include <limits.h>
28835 # include <assert.h>
28837 /* Override any gcc2 internal prototype to avoid an error. */
28842 /* We use char because int might match the return type of a gcc2
28843 builtin and then its argument prototype would still apply. */
28845 /* The GNU C library defines this for functions which it implements
28846 to always fail with ENOSYS. Some functions are actually named
28847 something starting with __ and the normal name is an alias. */
28848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28851 char (*f) () = $ac_func;
28860 return f != $ac_func;
28865 rm -f conftest.$ac_objext conftest$ac_exeext
28866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28867 (eval $ac_link) 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } &&
28871 { ac_try='test -s conftest$ac_exeext'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; }; then
28877 eval "$as_ac_var=yes"
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.$ac_ext >&5
28882 eval "$as_ac_var=no"
28884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28888 if test `eval echo '${'$as_ac_var'}'` = yes; then
28889 cat >>confdefs.h <<_ACEOF
28890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28898 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
28899 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
28900 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
28901 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
28902 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 ac_cpp='$CXXCPP $CPPFLAGS'
28909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28913 cat >conftest.$ac_ext <<_ACEOF
28914 #line $LINENO "configure"
28917 cat confdefs.h >>conftest.$ac_ext
28918 cat >>conftest.$ac_ext <<_ACEOF
28919 /* end confdefs.h. */
28929 rm -f conftest.$ac_objext
28930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28931 (eval $ac_compile) 2>&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); } &&
28935 { ac_try='test -s conftest.$ac_objext'
28936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28937 (eval $ac_try) 2>&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); }; }; then
28941 glibcxx_cv_func__copysign_use=yes
28943 echo "$as_me: failed program was:" >&5
28944 sed 's/^/| /' conftest.$ac_ext >&5
28946 glibcxx_cv_func__copysign_use=no
28948 rm -f conftest.$ac_objext conftest.$ac_ext
28950 ac_cpp='$CPP $CPPFLAGS'
28951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28959 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
28960 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
28962 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
28964 for ac_func in _copysign
28966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28967 echo "$as_me:$LINENO: checking for $ac_func" >&5
28968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28969 if eval "test \"\${$as_ac_var+set}\" = set"; then
28970 echo $ECHO_N "(cached) $ECHO_C" >&6
28972 if test x$gcc_no_link = xyes; then
28973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28975 { (exit 1); exit 1; }; }
28977 cat >conftest.$ac_ext <<_ACEOF
28978 #line $LINENO "configure"
28981 cat confdefs.h >>conftest.$ac_ext
28982 cat >>conftest.$ac_ext <<_ACEOF
28983 /* end confdefs.h. */
28984 /* System header to define __stub macros and hopefully few prototypes,
28985 which can conflict with char $ac_func (); below.
28986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28987 <limits.h> exists even on freestanding compilers. */
28989 # include <limits.h>
28991 # include <assert.h>
28993 /* Override any gcc2 internal prototype to avoid an error. */
28998 /* We use char because int might match the return type of a gcc2
28999 builtin and then its argument prototype would still apply. */
29001 /* The GNU C library defines this for functions which it implements
29002 to always fail with ENOSYS. Some functions are actually named
29003 something starting with __ and the normal name is an alias. */
29004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29007 char (*f) () = $ac_func;
29016 return f != $ac_func;
29021 rm -f conftest.$ac_objext conftest$ac_exeext
29022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29023 (eval $ac_link) 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); } &&
29027 { ac_try='test -s conftest$ac_exeext'
29028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29029 (eval $ac_try) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); }; }; then
29033 eval "$as_ac_var=yes"
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.$ac_ext >&5
29038 eval "$as_ac_var=no"
29040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29044 if test `eval echo '${'$as_ac_var'}'` = yes; then
29045 cat >>confdefs.h <<_ACEOF
29046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29057 echo "$as_me:$LINENO: checking for sincos declaration" >&5
29058 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29059 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29060 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 ac_cpp='$CXXCPP $CPPFLAGS'
29068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29072 cat >conftest.$ac_ext <<_ACEOF
29073 #line $LINENO "configure"
29076 cat confdefs.h >>conftest.$ac_ext
29077 cat >>conftest.$ac_ext <<_ACEOF
29078 /* end confdefs.h. */
29088 rm -f conftest.$ac_objext
29089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29090 (eval $ac_compile) 2>&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); } &&
29094 { ac_try='test -s conftest.$ac_objext'
29095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29096 (eval $ac_try) 2>&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); }; }; then
29100 glibcxx_cv_func_sincos_use=yes
29102 echo "$as_me: failed program was:" >&5
29103 sed 's/^/| /' conftest.$ac_ext >&5
29105 glibcxx_cv_func_sincos_use=no
29107 rm -f conftest.$ac_objext conftest.$ac_ext
29109 ac_cpp='$CPP $CPPFLAGS'
29110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29119 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29121 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29123 for ac_func in sincos
29125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29126 echo "$as_me:$LINENO: checking for $ac_func" >&5
29127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29128 if eval "test \"\${$as_ac_var+set}\" = set"; then
29129 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 if test x$gcc_no_link = xyes; then
29132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29134 { (exit 1); exit 1; }; }
29136 cat >conftest.$ac_ext <<_ACEOF
29137 #line $LINENO "configure"
29140 cat confdefs.h >>conftest.$ac_ext
29141 cat >>conftest.$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29143 /* System header to define __stub macros and hopefully few prototypes,
29144 which can conflict with char $ac_func (); below.
29145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29146 <limits.h> exists even on freestanding compilers. */
29148 # include <limits.h>
29150 # include <assert.h>
29152 /* Override any gcc2 internal prototype to avoid an error. */
29157 /* We use char because int might match the return type of a gcc2
29158 builtin and then its argument prototype would still apply. */
29160 /* The GNU C library defines this for functions which it implements
29161 to always fail with ENOSYS. Some functions are actually named
29162 something starting with __ and the normal name is an alias. */
29163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29166 char (*f) () = $ac_func;
29175 return f != $ac_func;
29180 rm -f conftest.$ac_objext conftest$ac_exeext
29181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29182 (eval $ac_link) 2>&5
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); } &&
29186 { ac_try='test -s conftest$ac_exeext'
29187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29188 (eval $ac_try) 2>&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; }; then
29192 eval "$as_ac_var=yes"
29194 echo "$as_me: failed program was:" >&5
29195 sed 's/^/| /' conftest.$ac_ext >&5
29197 eval "$as_ac_var=no"
29199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29203 if test `eval echo '${'$as_ac_var'}'` = yes; then
29204 cat >>confdefs.h <<_ACEOF
29205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29213 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29214 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29215 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29216 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29217 echo $ECHO_N "(cached) $ECHO_C" >&6
29223 ac_cpp='$CXXCPP $CPPFLAGS'
29224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29228 cat >conftest.$ac_ext <<_ACEOF
29229 #line $LINENO "configure"
29232 cat confdefs.h >>conftest.$ac_ext
29233 cat >>conftest.$ac_ext <<_ACEOF
29234 /* end confdefs.h. */
29244 rm -f conftest.$ac_objext
29245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29246 (eval $ac_compile) 2>&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } &&
29250 { ac_try='test -s conftest.$ac_objext'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 glibcxx_cv_func__sincos_use=yes
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29261 glibcxx_cv_func__sincos_use=no
29263 rm -f conftest.$ac_objext conftest.$ac_ext
29265 ac_cpp='$CPP $CPPFLAGS'
29266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29275 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29277 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29279 for ac_func in _sincos
29281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 if test x$gcc_no_link = xyes; then
29288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29290 { (exit 1); exit 1; }; }
29292 cat >conftest.$ac_ext <<_ACEOF
29293 #line $LINENO "configure"
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29299 /* System header to define __stub macros and hopefully few prototypes,
29300 which can conflict with char $ac_func (); below.
29301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29302 <limits.h> exists even on freestanding compilers. */
29304 # include <limits.h>
29306 # include <assert.h>
29308 /* Override any gcc2 internal prototype to avoid an error. */
29313 /* We use char because int might match the return type of a gcc2
29314 builtin and then its argument prototype would still apply. */
29316 /* The GNU C library defines this for functions which it implements
29317 to always fail with ENOSYS. Some functions are actually named
29318 something starting with __ and the normal name is an alias. */
29319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29322 char (*f) () = $ac_func;
29331 return f != $ac_func;
29336 rm -f conftest.$ac_objext conftest$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 eval "$as_ac_var=yes"
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.$ac_ext >&5
29353 eval "$as_ac_var=no"
29355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29359 if test `eval echo '${'$as_ac_var'}'` = yes; then
29360 cat >>confdefs.h <<_ACEOF
29361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29372 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29373 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29374 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29375 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387 cat >conftest.$ac_ext <<_ACEOF
29388 #line $LINENO "configure"
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29395 #ifdef HAVE_IEEEFP_H
29396 #include <ieeefp.h>
29407 rm -f conftest.$ac_objext
29408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29409 (eval $ac_compile) 2>&5
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); } &&
29413 { ac_try='test -s conftest.$ac_objext'
29414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29415 (eval $ac_try) 2>&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); }; }; then
29419 glibcxx_cv_func_fpclass_use=yes
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29424 glibcxx_cv_func_fpclass_use=no
29426 rm -f conftest.$ac_objext conftest.$ac_ext
29428 ac_cpp='$CPP $CPPFLAGS'
29429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29438 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29440 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29442 for ac_func in fpclass
29444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29445 echo "$as_me:$LINENO: checking for $ac_func" >&5
29446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29447 if eval "test \"\${$as_ac_var+set}\" = set"; then
29448 echo $ECHO_N "(cached) $ECHO_C" >&6
29450 if test x$gcc_no_link = xyes; then
29451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29453 { (exit 1); exit 1; }; }
29455 cat >conftest.$ac_ext <<_ACEOF
29456 #line $LINENO "configure"
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 /* System header to define __stub macros and hopefully few prototypes,
29463 which can conflict with char $ac_func (); below.
29464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29465 <limits.h> exists even on freestanding compilers. */
29467 # include <limits.h>
29469 # include <assert.h>
29471 /* Override any gcc2 internal prototype to avoid an error. */
29476 /* We use char because int might match the return type of a gcc2
29477 builtin and then its argument prototype would still apply. */
29479 /* The GNU C library defines this for functions which it implements
29480 to always fail with ENOSYS. Some functions are actually named
29481 something starting with __ and the normal name is an alias. */
29482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29485 char (*f) () = $ac_func;
29494 return f != $ac_func;
29499 rm -f conftest.$ac_objext conftest$ac_exeext
29500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29501 (eval $ac_link) 2>&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } &&
29505 { ac_try='test -s conftest$ac_exeext'
29506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29507 (eval $ac_try) 2>&5
29509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 (exit $ac_status); }; }; then
29511 eval "$as_ac_var=yes"
29513 echo "$as_me: failed program was:" >&5
29514 sed 's/^/| /' conftest.$ac_ext >&5
29516 eval "$as_ac_var=no"
29518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29522 if test `eval echo '${'$as_ac_var'}'` = yes; then
29523 cat >>confdefs.h <<_ACEOF
29524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29532 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29533 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29534 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29535 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29536 echo $ECHO_N "(cached) $ECHO_C" >&6
29542 ac_cpp='$CXXCPP $CPPFLAGS'
29543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29547 cat >conftest.$ac_ext <<_ACEOF
29548 #line $LINENO "configure"
29551 cat confdefs.h >>conftest.$ac_ext
29552 cat >>conftest.$ac_ext <<_ACEOF
29553 /* end confdefs.h. */
29555 #ifdef HAVE_IEEEFP_H
29556 #include <ieeefp.h>
29567 rm -f conftest.$ac_objext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29569 (eval $ac_compile) 2>&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
29573 { ac_try='test -s conftest.$ac_objext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 glibcxx_cv_func__fpclass_use=yes
29581 echo "$as_me: failed program was:" >&5
29582 sed 's/^/| /' conftest.$ac_ext >&5
29584 glibcxx_cv_func__fpclass_use=no
29586 rm -f conftest.$ac_objext conftest.$ac_ext
29588 ac_cpp='$CPP $CPPFLAGS'
29589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29598 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29600 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29602 for ac_func in _fpclass
29604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29605 echo "$as_me:$LINENO: checking for $ac_func" >&5
29606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29607 if eval "test \"\${$as_ac_var+set}\" = set"; then
29608 echo $ECHO_N "(cached) $ECHO_C" >&6
29610 if test x$gcc_no_link = xyes; then
29611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29613 { (exit 1); exit 1; }; }
29615 cat >conftest.$ac_ext <<_ACEOF
29616 #line $LINENO "configure"
29619 cat confdefs.h >>conftest.$ac_ext
29620 cat >>conftest.$ac_ext <<_ACEOF
29621 /* end confdefs.h. */
29622 /* System header to define __stub macros and hopefully few prototypes,
29623 which can conflict with char $ac_func (); below.
29624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29625 <limits.h> exists even on freestanding compilers. */
29627 # include <limits.h>
29629 # include <assert.h>
29631 /* Override any gcc2 internal prototype to avoid an error. */
29636 /* We use char because int might match the return type of a gcc2
29637 builtin and then its argument prototype would still apply. */
29639 /* The GNU C library defines this for functions which it implements
29640 to always fail with ENOSYS. Some functions are actually named
29641 something starting with __ and the normal name is an alias. */
29642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29645 char (*f) () = $ac_func;
29654 return f != $ac_func;
29659 rm -f conftest.$ac_objext conftest$ac_exeext
29660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29661 (eval $ac_link) 2>&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } &&
29665 { ac_try='test -s conftest$ac_exeext'
29666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29667 (eval $ac_try) 2>&5
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); }; }; then
29671 eval "$as_ac_var=yes"
29673 echo "$as_me: failed program was:" >&5
29674 sed 's/^/| /' conftest.$ac_ext >&5
29676 eval "$as_ac_var=no"
29678 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29682 if test `eval echo '${'$as_ac_var'}'` = yes; then
29683 cat >>confdefs.h <<_ACEOF
29684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29695 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29696 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29697 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29698 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29705 ac_cpp='$CXXCPP $CPPFLAGS'
29706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29710 cat >conftest.$ac_ext <<_ACEOF
29711 #line $LINENO "configure"
29714 cat confdefs.h >>conftest.$ac_ext
29715 cat >>conftest.$ac_ext <<_ACEOF
29716 /* end confdefs.h. */
29718 #ifdef HAVE_IEEEFP_H
29719 #include <ieeefp.h>
29730 rm -f conftest.$ac_objext
29731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29732 (eval $ac_compile) 2>&5
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); } &&
29736 { ac_try='test -s conftest.$ac_objext'
29737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29738 (eval $ac_try) 2>&5
29740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741 (exit $ac_status); }; }; then
29742 glibcxx_cv_func_qfpclass_use=yes
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.$ac_ext >&5
29747 glibcxx_cv_func_qfpclass_use=no
29749 rm -f conftest.$ac_objext conftest.$ac_ext
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29761 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29763 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29765 for ac_func in qfpclass
29767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29768 echo "$as_me:$LINENO: checking for $ac_func" >&5
29769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29770 if eval "test \"\${$as_ac_var+set}\" = set"; then
29771 echo $ECHO_N "(cached) $ECHO_C" >&6
29773 if test x$gcc_no_link = xyes; then
29774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29776 { (exit 1); exit 1; }; }
29778 cat >conftest.$ac_ext <<_ACEOF
29779 #line $LINENO "configure"
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785 /* System header to define __stub macros and hopefully few prototypes,
29786 which can conflict with char $ac_func (); below.
29787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29788 <limits.h> exists even on freestanding compilers. */
29790 # include <limits.h>
29792 # include <assert.h>
29794 /* Override any gcc2 internal prototype to avoid an error. */
29799 /* We use char because int might match the return type of a gcc2
29800 builtin and then its argument prototype would still apply. */
29802 /* The GNU C library defines this for functions which it implements
29803 to always fail with ENOSYS. Some functions are actually named
29804 something starting with __ and the normal name is an alias. */
29805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29808 char (*f) () = $ac_func;
29817 return f != $ac_func;
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824 (eval $ac_link) 2>&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } &&
29828 { ac_try='test -s conftest$ac_exeext'
29829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830 (eval $ac_try) 2>&5
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; }; then
29834 eval "$as_ac_var=yes"
29836 echo "$as_me: failed program was:" >&5
29837 sed 's/^/| /' conftest.$ac_ext >&5
29839 eval "$as_ac_var=no"
29841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29845 if test `eval echo '${'$as_ac_var'}'` = yes; then
29846 cat >>confdefs.h <<_ACEOF
29847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29855 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
29856 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
29857 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29858 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
29859 echo $ECHO_N "(cached) $ECHO_C" >&6
29865 ac_cpp='$CXXCPP $CPPFLAGS'
29866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29870 cat >conftest.$ac_ext <<_ACEOF
29871 #line $LINENO "configure"
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29878 #ifdef HAVE_IEEEFP_H
29879 #include <ieeefp.h>
29890 rm -f conftest.$ac_objext
29891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29892 (eval $ac_compile) 2>&5
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); } &&
29896 { ac_try='test -s conftest.$ac_objext'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; }; then
29902 glibcxx_cv_func__qfpclass_use=yes
29904 echo "$as_me: failed program was:" >&5
29905 sed 's/^/| /' conftest.$ac_ext >&5
29907 glibcxx_cv_func__qfpclass_use=no
29909 rm -f conftest.$ac_objext conftest.$ac_ext
29911 ac_cpp='$CPP $CPPFLAGS'
29912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
29921 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
29923 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29925 for ac_func in _qfpclass
29927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29928 echo "$as_me:$LINENO: checking for $ac_func" >&5
29929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29930 if eval "test \"\${$as_ac_var+set}\" = set"; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29933 if test x$gcc_no_link = xyes; then
29934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29936 { (exit 1); exit 1; }; }
29938 cat >conftest.$ac_ext <<_ACEOF
29939 #line $LINENO "configure"
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945 /* System header to define __stub macros and hopefully few prototypes,
29946 which can conflict with char $ac_func (); below.
29947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29948 <limits.h> exists even on freestanding compilers. */
29950 # include <limits.h>
29952 # include <assert.h>
29954 /* Override any gcc2 internal prototype to avoid an error. */
29959 /* We use char because int might match the return type of a gcc2
29960 builtin and then its argument prototype would still apply. */
29962 /* The GNU C library defines this for functions which it implements
29963 to always fail with ENOSYS. Some functions are actually named
29964 something starting with __ and the normal name is an alias. */
29965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29968 char (*f) () = $ac_func;
29977 return f != $ac_func;
29982 rm -f conftest.$ac_objext conftest$ac_exeext
29983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29984 (eval $ac_link) 2>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } &&
29988 { ac_try='test -s conftest$ac_exeext'
29989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29990 (eval $ac_try) 2>&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); }; }; then
29994 eval "$as_ac_var=yes"
29996 echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.$ac_ext >&5
29999 eval "$as_ac_var=no"
30001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30005 if test `eval echo '${'$as_ac_var'}'` = yes; then
30006 cat >>confdefs.h <<_ACEOF
30007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30018 echo "$as_me:$LINENO: checking for hypot declaration" >&5
30019 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30020 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30021 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30028 ac_cpp='$CXXCPP $CPPFLAGS'
30029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033 cat >conftest.$ac_ext <<_ACEOF
30034 #line $LINENO "configure"
30037 cat confdefs.h >>conftest.$ac_ext
30038 cat >>conftest.$ac_ext <<_ACEOF
30039 /* end confdefs.h. */
30049 rm -f conftest.$ac_objext
30050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30051 (eval $ac_compile) 2>&5
30053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30054 (exit $ac_status); } &&
30055 { ac_try='test -s conftest.$ac_objext'
30056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30057 (eval $ac_try) 2>&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; }; then
30061 glibcxx_cv_func_hypot_use=yes
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.$ac_ext >&5
30066 glibcxx_cv_func_hypot_use=no
30068 rm -f conftest.$ac_objext conftest.$ac_ext
30070 ac_cpp='$CPP $CPPFLAGS'
30071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30080 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30082 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30084 for ac_func in hypot
30086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30087 echo "$as_me:$LINENO: checking for $ac_func" >&5
30088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30089 if eval "test \"\${$as_ac_var+set}\" = set"; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 if test x$gcc_no_link = xyes; then
30093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30095 { (exit 1); exit 1; }; }
30097 cat >conftest.$ac_ext <<_ACEOF
30098 #line $LINENO "configure"
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104 /* System header to define __stub macros and hopefully few prototypes,
30105 which can conflict with char $ac_func (); below.
30106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30107 <limits.h> exists even on freestanding compilers. */
30109 # include <limits.h>
30111 # include <assert.h>
30113 /* Override any gcc2 internal prototype to avoid an error. */
30118 /* We use char because int might match the return type of a gcc2
30119 builtin and then its argument prototype would still apply. */
30121 /* The GNU C library defines this for functions which it implements
30122 to always fail with ENOSYS. Some functions are actually named
30123 something starting with __ and the normal name is an alias. */
30124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30127 char (*f) () = $ac_func;
30136 return f != $ac_func;
30141 rm -f conftest.$ac_objext conftest$ac_exeext
30142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30143 (eval $ac_link) 2>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); } &&
30147 { ac_try='test -s conftest$ac_exeext'
30148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149 (eval $ac_try) 2>&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); }; }; then
30153 eval "$as_ac_var=yes"
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30158 eval "$as_ac_var=no"
30160 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30164 if test `eval echo '${'$as_ac_var'}'` = yes; then
30165 cat >>confdefs.h <<_ACEOF
30166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30174 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30175 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30176 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30177 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 ac_cpp='$CXXCPP $CPPFLAGS'
30185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30189 cat >conftest.$ac_ext <<_ACEOF
30190 #line $LINENO "configure"
30193 cat confdefs.h >>conftest.$ac_ext
30194 cat >>conftest.$ac_ext <<_ACEOF
30195 /* end confdefs.h. */
30205 rm -f conftest.$ac_objext
30206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30207 (eval $ac_compile) 2>&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } &&
30211 { ac_try='test -s conftest.$ac_objext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 glibcxx_cv_func__hypot_use=yes
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30222 glibcxx_cv_func__hypot_use=no
30224 rm -f conftest.$ac_objext conftest.$ac_ext
30226 ac_cpp='$CPP $CPPFLAGS'
30227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30236 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30238 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30240 for ac_func in _hypot
30242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30243 echo "$as_me:$LINENO: checking for $ac_func" >&5
30244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30245 if eval "test \"\${$as_ac_var+set}\" = set"; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30248 if test x$gcc_no_link = xyes; then
30249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30251 { (exit 1); exit 1; }; }
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 /* System header to define __stub macros and hopefully few prototypes,
30261 which can conflict with char $ac_func (); below.
30262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30263 <limits.h> exists even on freestanding compilers. */
30265 # include <limits.h>
30267 # include <assert.h>
30269 /* Override any gcc2 internal prototype to avoid an error. */
30274 /* We use char because int might match the return type of a gcc2
30275 builtin and then its argument prototype would still apply. */
30277 /* The GNU C library defines this for functions which it implements
30278 to always fail with ENOSYS. Some functions are actually named
30279 something starting with __ and the normal name is an alias. */
30280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30283 char (*f) () = $ac_func;
30292 return f != $ac_func;
30297 rm -f conftest.$ac_objext conftest$ac_exeext
30298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30299 (eval $ac_link) 2>&5
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); } &&
30303 { ac_try='test -s conftest$ac_exeext'
30304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30305 (eval $ac_try) 2>&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); }; }; then
30309 eval "$as_ac_var=yes"
30311 echo "$as_me: failed program was:" >&5
30312 sed 's/^/| /' conftest.$ac_ext >&5
30314 eval "$as_ac_var=no"
30316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30320 if test `eval echo '${'$as_ac_var'}'` = yes; then
30321 cat >>confdefs.h <<_ACEOF
30322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30333 echo "$as_me:$LINENO: checking for float trig functions" >&5
30334 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30335 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30336 echo $ECHO_N "(cached) $ECHO_C" >&6
30342 ac_cpp='$CXXCPP $CPPFLAGS'
30343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30347 cat >conftest.$ac_ext <<_ACEOF
30348 #line $LINENO "configure"
30351 cat confdefs.h >>conftest.$ac_ext
30352 cat >>conftest.$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30358 `for x in acosf asinf atanf \
30360 coshf sinhf tanhf; do echo "$x (0);"; done`
30365 rm -f conftest.$ac_objext
30366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30367 (eval $ac_compile) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } &&
30371 { ac_try='test -s conftest.$ac_objext'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; }; then
30377 glibcxx_cv_func_float_trig_use=yes
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.$ac_ext >&5
30382 glibcxx_cv_func_float_trig_use=no
30384 rm -f conftest.$ac_objext conftest.$ac_ext
30386 ac_cpp='$CPP $CPPFLAGS'
30387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30394 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30395 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30405 for ac_func in acosf asinf atanf \
30409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30410 echo "$as_me:$LINENO: checking for $ac_func" >&5
30411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30412 if eval "test \"\${$as_ac_var+set}\" = set"; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 if test x$gcc_no_link = xyes; then
30416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30418 { (exit 1); exit 1; }; }
30420 cat >conftest.$ac_ext <<_ACEOF
30421 #line $LINENO "configure"
30424 cat confdefs.h >>conftest.$ac_ext
30425 cat >>conftest.$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427 /* System header to define __stub macros and hopefully few prototypes,
30428 which can conflict with char $ac_func (); below.
30429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30430 <limits.h> exists even on freestanding compilers. */
30432 # include <limits.h>
30434 # include <assert.h>
30436 /* Override any gcc2 internal prototype to avoid an error. */
30441 /* We use char because int might match the return type of a gcc2
30442 builtin and then its argument prototype would still apply. */
30444 /* The GNU C library defines this for functions which it implements
30445 to always fail with ENOSYS. Some functions are actually named
30446 something starting with __ and the normal name is an alias. */
30447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30450 char (*f) () = $ac_func;
30459 return f != $ac_func;
30464 rm -f conftest.$ac_objext conftest$ac_exeext
30465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30466 (eval $ac_link) 2>&5
30468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30469 (exit $ac_status); } &&
30470 { ac_try='test -s conftest$ac_exeext'
30471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30472 (eval $ac_try) 2>&5
30474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30475 (exit $ac_status); }; }; then
30476 eval "$as_ac_var=yes"
30478 echo "$as_me: failed program was:" >&5
30479 sed 's/^/| /' conftest.$ac_ext >&5
30481 eval "$as_ac_var=no"
30483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30487 if test `eval echo '${'$as_ac_var'}'` = yes; then
30488 cat >>confdefs.h <<_ACEOF
30489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30498 echo "$as_me:$LINENO: checking for float round functions" >&5
30499 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30500 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 ac_cpp='$CXXCPP $CPPFLAGS'
30508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30512 cat >conftest.$ac_ext <<_ACEOF
30513 #line $LINENO "configure"
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30523 `for x in ceilf floorf; do echo "$x (0);"; done`
30528 rm -f conftest.$ac_objext
30529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30530 (eval $ac_compile) 2>&5
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); } &&
30534 { ac_try='test -s conftest.$ac_objext'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; }; then
30540 glibcxx_cv_func_float_round_use=yes
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.$ac_ext >&5
30545 glibcxx_cv_func_float_round_use=no
30547 rm -f conftest.$ac_objext conftest.$ac_ext
30549 ac_cpp='$CPP $CPPFLAGS'
30550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30557 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30558 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30561 for ac_func in ceilf floorf
30563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30564 echo "$as_me:$LINENO: checking for $ac_func" >&5
30565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30566 if eval "test \"\${$as_ac_var+set}\" = set"; then
30567 echo $ECHO_N "(cached) $ECHO_C" >&6
30569 if test x$gcc_no_link = xyes; then
30570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30572 { (exit 1); exit 1; }; }
30574 cat >conftest.$ac_ext <<_ACEOF
30575 #line $LINENO "configure"
30578 cat confdefs.h >>conftest.$ac_ext
30579 cat >>conftest.$ac_ext <<_ACEOF
30580 /* end confdefs.h. */
30581 /* System header to define __stub macros and hopefully few prototypes,
30582 which can conflict with char $ac_func (); below.
30583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30584 <limits.h> exists even on freestanding compilers. */
30586 # include <limits.h>
30588 # include <assert.h>
30590 /* Override any gcc2 internal prototype to avoid an error. */
30595 /* We use char because int might match the return type of a gcc2
30596 builtin and then its argument prototype would still apply. */
30598 /* The GNU C library defines this for functions which it implements
30599 to always fail with ENOSYS. Some functions are actually named
30600 something starting with __ and the normal name is an alias. */
30601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30604 char (*f) () = $ac_func;
30613 return f != $ac_func;
30618 rm -f conftest.$ac_objext conftest$ac_exeext
30619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30620 (eval $ac_link) 2>&5
30622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30623 (exit $ac_status); } &&
30624 { ac_try='test -s conftest$ac_exeext'
30625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30626 (eval $ac_try) 2>&5
30628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30629 (exit $ac_status); }; }; then
30630 eval "$as_ac_var=yes"
30632 echo "$as_me: failed program was:" >&5
30633 sed 's/^/| /' conftest.$ac_ext >&5
30635 eval "$as_ac_var=no"
30637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30641 if test `eval echo '${'$as_ac_var'}'` = yes; then
30642 cat >>confdefs.h <<_ACEOF
30643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30653 echo "$as_me:$LINENO: checking for expf declaration" >&5
30654 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30655 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30656 if test "${glibcxx_cv_func_expf_use+set}" = set; then
30657 echo $ECHO_N "(cached) $ECHO_C" >&6
30663 ac_cpp='$CXXCPP $CPPFLAGS'
30664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30668 cat >conftest.$ac_ext <<_ACEOF
30669 #line $LINENO "configure"
30672 cat confdefs.h >>conftest.$ac_ext
30673 cat >>conftest.$ac_ext <<_ACEOF
30674 /* end confdefs.h. */
30676 #ifdef HAVE_IEEEFP_H
30677 #include <ieeefp.h>
30688 rm -f conftest.$ac_objext
30689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30690 (eval $ac_compile) 2>&5
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); } &&
30694 { ac_try='test -s conftest.$ac_objext'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; }; then
30700 glibcxx_cv_func_expf_use=yes
30702 echo "$as_me: failed program was:" >&5
30703 sed 's/^/| /' conftest.$ac_ext >&5
30705 glibcxx_cv_func_expf_use=no
30707 rm -f conftest.$ac_objext conftest.$ac_ext
30709 ac_cpp='$CPP $CPPFLAGS'
30710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30719 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30721 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30723 for ac_func in expf
30725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30726 echo "$as_me:$LINENO: checking for $ac_func" >&5
30727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30728 if eval "test \"\${$as_ac_var+set}\" = set"; then
30729 echo $ECHO_N "(cached) $ECHO_C" >&6
30731 if test x$gcc_no_link = xyes; then
30732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30734 { (exit 1); exit 1; }; }
30736 cat >conftest.$ac_ext <<_ACEOF
30737 #line $LINENO "configure"
30740 cat confdefs.h >>conftest.$ac_ext
30741 cat >>conftest.$ac_ext <<_ACEOF
30742 /* end confdefs.h. */
30743 /* System header to define __stub macros and hopefully few prototypes,
30744 which can conflict with char $ac_func (); below.
30745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30746 <limits.h> exists even on freestanding compilers. */
30748 # include <limits.h>
30750 # include <assert.h>
30752 /* Override any gcc2 internal prototype to avoid an error. */
30757 /* We use char because int might match the return type of a gcc2
30758 builtin and then its argument prototype would still apply. */
30760 /* The GNU C library defines this for functions which it implements
30761 to always fail with ENOSYS. Some functions are actually named
30762 something starting with __ and the normal name is an alias. */
30763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30766 char (*f) () = $ac_func;
30775 return f != $ac_func;
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30782 (eval $ac_link) 2>&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } &&
30786 { ac_try='test -s conftest$ac_exeext'
30787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788 (eval $ac_try) 2>&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); }; }; then
30792 eval "$as_ac_var=yes"
30794 echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.$ac_ext >&5
30797 eval "$as_ac_var=no"
30799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30803 if test `eval echo '${'$as_ac_var'}'` = yes; then
30804 cat >>confdefs.h <<_ACEOF
30805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30813 echo "$as_me:$LINENO: checking for _expf declaration" >&5
30814 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30815 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30816 if test "${glibcxx_cv_func__expf_use+set}" = set; then
30817 echo $ECHO_N "(cached) $ECHO_C" >&6
30823 ac_cpp='$CXXCPP $CPPFLAGS'
30824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30828 cat >conftest.$ac_ext <<_ACEOF
30829 #line $LINENO "configure"
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30836 #ifdef HAVE_IEEEFP_H
30837 #include <ieeefp.h>
30848 rm -f conftest.$ac_objext
30849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30850 (eval $ac_compile) 2>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -s conftest.$ac_objext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 glibcxx_cv_func__expf_use=yes
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30865 glibcxx_cv_func__expf_use=no
30867 rm -f conftest.$ac_objext conftest.$ac_ext
30869 ac_cpp='$CPP $CPPFLAGS'
30870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
30879 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
30881 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30883 for ac_func in _expf
30885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30886 echo "$as_me:$LINENO: checking for $ac_func" >&5
30887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30888 if eval "test \"\${$as_ac_var+set}\" = set"; then
30889 echo $ECHO_N "(cached) $ECHO_C" >&6
30891 if test x$gcc_no_link = xyes; then
30892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30894 { (exit 1); exit 1; }; }
30896 cat >conftest.$ac_ext <<_ACEOF
30897 #line $LINENO "configure"
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30903 /* System header to define __stub macros and hopefully few prototypes,
30904 which can conflict with char $ac_func (); below.
30905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30906 <limits.h> exists even on freestanding compilers. */
30908 # include <limits.h>
30910 # include <assert.h>
30912 /* Override any gcc2 internal prototype to avoid an error. */
30917 /* We use char because int might match the return type of a gcc2
30918 builtin and then its argument prototype would still apply. */
30920 /* The GNU C library defines this for functions which it implements
30921 to always fail with ENOSYS. Some functions are actually named
30922 something starting with __ and the normal name is an alias. */
30923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30926 char (*f) () = $ac_func;
30935 return f != $ac_func;
30940 rm -f conftest.$ac_objext conftest$ac_exeext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30942 (eval $ac_link) 2>&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); } &&
30946 { ac_try='test -s conftest$ac_exeext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952 eval "$as_ac_var=yes"
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.$ac_ext >&5
30957 eval "$as_ac_var=no"
30959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30963 if test `eval echo '${'$as_ac_var'}'` = yes; then
30964 cat >>confdefs.h <<_ACEOF
30965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30976 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
30977 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
30978 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30979 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30991 cat >conftest.$ac_ext <<_ACEOF
30992 #line $LINENO "configure"
30995 cat confdefs.h >>conftest.$ac_ext
30996 cat >>conftest.$ac_ext <<_ACEOF
30997 /* end confdefs.h. */
30999 #ifdef HAVE_IEEEFP_H
31000 #include <ieeefp.h>
31011 rm -f conftest.$ac_objext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31013 (eval $ac_compile) 2>&5
31015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31016 (exit $ac_status); } &&
31017 { ac_try='test -s conftest.$ac_objext'
31018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31019 (eval $ac_try) 2>&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; }; then
31023 glibcxx_cv_func_isnanf_use=yes
31025 echo "$as_me: failed program was:" >&5
31026 sed 's/^/| /' conftest.$ac_ext >&5
31028 glibcxx_cv_func_isnanf_use=no
31030 rm -f conftest.$ac_objext conftest.$ac_ext
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31042 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31044 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31046 for ac_func in isnanf
31048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31049 echo "$as_me:$LINENO: checking for $ac_func" >&5
31050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31051 if eval "test \"\${$as_ac_var+set}\" = set"; then
31052 echo $ECHO_N "(cached) $ECHO_C" >&6
31054 if test x$gcc_no_link = xyes; then
31055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31057 { (exit 1); exit 1; }; }
31059 cat >conftest.$ac_ext <<_ACEOF
31060 #line $LINENO "configure"
31063 cat confdefs.h >>conftest.$ac_ext
31064 cat >>conftest.$ac_ext <<_ACEOF
31065 /* end confdefs.h. */
31066 /* System header to define __stub macros and hopefully few prototypes,
31067 which can conflict with char $ac_func (); below.
31068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31069 <limits.h> exists even on freestanding compilers. */
31071 # include <limits.h>
31073 # include <assert.h>
31075 /* Override any gcc2 internal prototype to avoid an error. */
31080 /* We use char because int might match the return type of a gcc2
31081 builtin and then its argument prototype would still apply. */
31083 /* The GNU C library defines this for functions which it implements
31084 to always fail with ENOSYS. Some functions are actually named
31085 something starting with __ and the normal name is an alias. */
31086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31089 char (*f) () = $ac_func;
31098 return f != $ac_func;
31103 rm -f conftest.$ac_objext conftest$ac_exeext
31104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31105 (eval $ac_link) 2>&5
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); } &&
31109 { ac_try='test -s conftest$ac_exeext'
31110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31111 (eval $ac_try) 2>&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); }; }; then
31115 eval "$as_ac_var=yes"
31117 echo "$as_me: failed program was:" >&5
31118 sed 's/^/| /' conftest.$ac_ext >&5
31120 eval "$as_ac_var=no"
31122 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31126 if test `eval echo '${'$as_ac_var'}'` = yes; then
31127 cat >>confdefs.h <<_ACEOF
31128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31136 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31137 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31138 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31139 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 ac_cpp='$CXXCPP $CPPFLAGS'
31147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31151 cat >conftest.$ac_ext <<_ACEOF
31152 #line $LINENO "configure"
31155 cat confdefs.h >>conftest.$ac_ext
31156 cat >>conftest.$ac_ext <<_ACEOF
31157 /* end confdefs.h. */
31159 #ifdef HAVE_IEEEFP_H
31160 #include <ieeefp.h>
31171 rm -f conftest.$ac_objext
31172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31173 (eval $ac_compile) 2>&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); } &&
31177 { ac_try='test -s conftest.$ac_objext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 glibcxx_cv_func__isnanf_use=yes
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31188 glibcxx_cv_func__isnanf_use=no
31190 rm -f conftest.$ac_objext conftest.$ac_ext
31192 ac_cpp='$CPP $CPPFLAGS'
31193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31202 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31204 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31206 for ac_func in _isnanf
31208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31209 echo "$as_me:$LINENO: checking for $ac_func" >&5
31210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31211 if eval "test \"\${$as_ac_var+set}\" = set"; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31214 if test x$gcc_no_link = xyes; then
31215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31217 { (exit 1); exit 1; }; }
31219 cat >conftest.$ac_ext <<_ACEOF
31220 #line $LINENO "configure"
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31226 /* System header to define __stub macros and hopefully few prototypes,
31227 which can conflict with char $ac_func (); below.
31228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31229 <limits.h> exists even on freestanding compilers. */
31231 # include <limits.h>
31233 # include <assert.h>
31235 /* Override any gcc2 internal prototype to avoid an error. */
31240 /* We use char because int might match the return type of a gcc2
31241 builtin and then its argument prototype would still apply. */
31243 /* The GNU C library defines this for functions which it implements
31244 to always fail with ENOSYS. Some functions are actually named
31245 something starting with __ and the normal name is an alias. */
31246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31249 char (*f) () = $ac_func;
31258 return f != $ac_func;
31263 rm -f conftest.$ac_objext conftest$ac_exeext
31264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31265 (eval $ac_link) 2>&5
31267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31268 (exit $ac_status); } &&
31269 { ac_try='test -s conftest$ac_exeext'
31270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31271 (eval $ac_try) 2>&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); }; }; then
31275 eval "$as_ac_var=yes"
31277 echo "$as_me: failed program was:" >&5
31278 sed 's/^/| /' conftest.$ac_ext >&5
31280 eval "$as_ac_var=no"
31282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31286 if test `eval echo '${'$as_ac_var'}'` = yes; then
31287 cat >>confdefs.h <<_ACEOF
31288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31299 echo "$as_me:$LINENO: checking for isinff declaration" >&5
31300 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31301 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31302 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31303 echo $ECHO_N "(cached) $ECHO_C" >&6
31309 ac_cpp='$CXXCPP $CPPFLAGS'
31310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31314 cat >conftest.$ac_ext <<_ACEOF
31315 #line $LINENO "configure"
31318 cat confdefs.h >>conftest.$ac_ext
31319 cat >>conftest.$ac_ext <<_ACEOF
31320 /* end confdefs.h. */
31322 #ifdef HAVE_IEEEFP_H
31323 #include <ieeefp.h>
31334 rm -f conftest.$ac_objext
31335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31336 (eval $ac_compile) 2>&5
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); } &&
31340 { ac_try='test -s conftest.$ac_objext'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; }; then
31346 glibcxx_cv_func_isinff_use=yes
31348 echo "$as_me: failed program was:" >&5
31349 sed 's/^/| /' conftest.$ac_ext >&5
31351 glibcxx_cv_func_isinff_use=no
31353 rm -f conftest.$ac_objext conftest.$ac_ext
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31365 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31367 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31369 for ac_func in isinff
31371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31372 echo "$as_me:$LINENO: checking for $ac_func" >&5
31373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31374 if eval "test \"\${$as_ac_var+set}\" = set"; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31377 if test x$gcc_no_link = xyes; then
31378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31380 { (exit 1); exit 1; }; }
31382 cat >conftest.$ac_ext <<_ACEOF
31383 #line $LINENO "configure"
31386 cat confdefs.h >>conftest.$ac_ext
31387 cat >>conftest.$ac_ext <<_ACEOF
31388 /* end confdefs.h. */
31389 /* System header to define __stub macros and hopefully few prototypes,
31390 which can conflict with char $ac_func (); below.
31391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31392 <limits.h> exists even on freestanding compilers. */
31394 # include <limits.h>
31396 # include <assert.h>
31398 /* Override any gcc2 internal prototype to avoid an error. */
31403 /* We use char because int might match the return type of a gcc2
31404 builtin and then its argument prototype would still apply. */
31406 /* The GNU C library defines this for functions which it implements
31407 to always fail with ENOSYS. Some functions are actually named
31408 something starting with __ and the normal name is an alias. */
31409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31412 char (*f) () = $ac_func;
31421 return f != $ac_func;
31426 rm -f conftest.$ac_objext conftest$ac_exeext
31427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31428 (eval $ac_link) 2>&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } &&
31432 { ac_try='test -s conftest$ac_exeext'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; }; then
31438 eval "$as_ac_var=yes"
31440 echo "$as_me: failed program was:" >&5
31441 sed 's/^/| /' conftest.$ac_ext >&5
31443 eval "$as_ac_var=no"
31445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31449 if test `eval echo '${'$as_ac_var'}'` = yes; then
31450 cat >>confdefs.h <<_ACEOF
31451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31459 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31460 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31461 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31462 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31469 ac_cpp='$CXXCPP $CPPFLAGS'
31470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31474 cat >conftest.$ac_ext <<_ACEOF
31475 #line $LINENO "configure"
31478 cat confdefs.h >>conftest.$ac_ext
31479 cat >>conftest.$ac_ext <<_ACEOF
31480 /* end confdefs.h. */
31482 #ifdef HAVE_IEEEFP_H
31483 #include <ieeefp.h>
31494 rm -f conftest.$ac_objext
31495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31496 (eval $ac_compile) 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); } &&
31500 { ac_try='test -s conftest.$ac_objext'
31501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31502 (eval $ac_try) 2>&5
31504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31505 (exit $ac_status); }; }; then
31506 glibcxx_cv_func__isinff_use=yes
31508 echo "$as_me: failed program was:" >&5
31509 sed 's/^/| /' conftest.$ac_ext >&5
31511 glibcxx_cv_func__isinff_use=no
31513 rm -f conftest.$ac_objext conftest.$ac_ext
31515 ac_cpp='$CPP $CPPFLAGS'
31516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31525 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31527 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31529 for ac_func in _isinff
31531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31532 echo "$as_me:$LINENO: checking for $ac_func" >&5
31533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31534 if eval "test \"\${$as_ac_var+set}\" = set"; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31537 if test x$gcc_no_link = xyes; then
31538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31540 { (exit 1); exit 1; }; }
31542 cat >conftest.$ac_ext <<_ACEOF
31543 #line $LINENO "configure"
31546 cat confdefs.h >>conftest.$ac_ext
31547 cat >>conftest.$ac_ext <<_ACEOF
31548 /* end confdefs.h. */
31549 /* System header to define __stub macros and hopefully few prototypes,
31550 which can conflict with char $ac_func (); below.
31551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31552 <limits.h> exists even on freestanding compilers. */
31554 # include <limits.h>
31556 # include <assert.h>
31558 /* Override any gcc2 internal prototype to avoid an error. */
31563 /* We use char because int might match the return type of a gcc2
31564 builtin and then its argument prototype would still apply. */
31566 /* The GNU C library defines this for functions which it implements
31567 to always fail with ENOSYS. Some functions are actually named
31568 something starting with __ and the normal name is an alias. */
31569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31572 char (*f) () = $ac_func;
31581 return f != $ac_func;
31586 rm -f conftest.$ac_objext conftest$ac_exeext
31587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31588 (eval $ac_link) 2>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); } &&
31592 { ac_try='test -s conftest$ac_exeext'
31593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594 (eval $ac_try) 2>&5
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); }; }; then
31598 eval "$as_ac_var=yes"
31600 echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31603 eval "$as_ac_var=no"
31605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31609 if test `eval echo '${'$as_ac_var'}'` = yes; then
31610 cat >>confdefs.h <<_ACEOF
31611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31622 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31623 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31624 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31625 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31626 echo $ECHO_N "(cached) $ECHO_C" >&6
31632 ac_cpp='$CXXCPP $CPPFLAGS'
31633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31637 cat >conftest.$ac_ext <<_ACEOF
31638 #line $LINENO "configure"
31641 cat confdefs.h >>conftest.$ac_ext
31642 cat >>conftest.$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31653 rm -f conftest.$ac_objext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31655 (eval $ac_compile) 2>&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); } &&
31659 { ac_try='test -s conftest.$ac_objext'
31660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31661 (eval $ac_try) 2>&5
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; }; then
31665 glibcxx_cv_func_atan2f_use=yes
31667 echo "$as_me: failed program was:" >&5
31668 sed 's/^/| /' conftest.$ac_ext >&5
31670 glibcxx_cv_func_atan2f_use=no
31672 rm -f conftest.$ac_objext conftest.$ac_ext
31674 ac_cpp='$CPP $CPPFLAGS'
31675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31684 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31686 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31688 for ac_func in atan2f
31690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31691 echo "$as_me:$LINENO: checking for $ac_func" >&5
31692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31693 if eval "test \"\${$as_ac_var+set}\" = set"; then
31694 echo $ECHO_N "(cached) $ECHO_C" >&6
31696 if test x$gcc_no_link = xyes; then
31697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31699 { (exit 1); exit 1; }; }
31701 cat >conftest.$ac_ext <<_ACEOF
31702 #line $LINENO "configure"
31705 cat confdefs.h >>conftest.$ac_ext
31706 cat >>conftest.$ac_ext <<_ACEOF
31707 /* end confdefs.h. */
31708 /* System header to define __stub macros and hopefully few prototypes,
31709 which can conflict with char $ac_func (); below.
31710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31711 <limits.h> exists even on freestanding compilers. */
31713 # include <limits.h>
31715 # include <assert.h>
31717 /* Override any gcc2 internal prototype to avoid an error. */
31722 /* We use char because int might match the return type of a gcc2
31723 builtin and then its argument prototype would still apply. */
31725 /* The GNU C library defines this for functions which it implements
31726 to always fail with ENOSYS. Some functions are actually named
31727 something starting with __ and the normal name is an alias. */
31728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31731 char (*f) () = $ac_func;
31740 return f != $ac_func;
31745 rm -f conftest.$ac_objext conftest$ac_exeext
31746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31747 (eval $ac_link) 2>&5
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); } &&
31751 { ac_try='test -s conftest$ac_exeext'
31752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31753 (eval $ac_try) 2>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); }; }; then
31757 eval "$as_ac_var=yes"
31759 echo "$as_me: failed program was:" >&5
31760 sed 's/^/| /' conftest.$ac_ext >&5
31762 eval "$as_ac_var=no"
31764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31768 if test `eval echo '${'$as_ac_var'}'` = yes; then
31769 cat >>confdefs.h <<_ACEOF
31770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31778 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31779 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31780 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31781 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31782 echo $ECHO_N "(cached) $ECHO_C" >&6
31788 ac_cpp='$CXXCPP $CPPFLAGS'
31789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31793 cat >conftest.$ac_ext <<_ACEOF
31794 #line $LINENO "configure"
31797 cat confdefs.h >>conftest.$ac_ext
31798 cat >>conftest.$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31809 rm -f conftest.$ac_objext
31810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31811 (eval $ac_compile) 2>&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } &&
31815 { ac_try='test -s conftest.$ac_objext'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; }; then
31821 glibcxx_cv_func__atan2f_use=yes
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.$ac_ext >&5
31826 glibcxx_cv_func__atan2f_use=no
31828 rm -f conftest.$ac_objext conftest.$ac_ext
31830 ac_cpp='$CPP $CPPFLAGS'
31831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31840 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31842 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31844 for ac_func in _atan2f
31846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31847 echo "$as_me:$LINENO: checking for $ac_func" >&5
31848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31849 if eval "test \"\${$as_ac_var+set}\" = set"; then
31850 echo $ECHO_N "(cached) $ECHO_C" >&6
31852 if test x$gcc_no_link = xyes; then
31853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31855 { (exit 1); exit 1; }; }
31857 cat >conftest.$ac_ext <<_ACEOF
31858 #line $LINENO "configure"
31861 cat confdefs.h >>conftest.$ac_ext
31862 cat >>conftest.$ac_ext <<_ACEOF
31863 /* end confdefs.h. */
31864 /* System header to define __stub macros and hopefully few prototypes,
31865 which can conflict with char $ac_func (); below.
31866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31867 <limits.h> exists even on freestanding compilers. */
31869 # include <limits.h>
31871 # include <assert.h>
31873 /* Override any gcc2 internal prototype to avoid an error. */
31878 /* We use char because int might match the return type of a gcc2
31879 builtin and then its argument prototype would still apply. */
31881 /* The GNU C library defines this for functions which it implements
31882 to always fail with ENOSYS. Some functions are actually named
31883 something starting with __ and the normal name is an alias. */
31884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31887 char (*f) () = $ac_func;
31896 return f != $ac_func;
31901 rm -f conftest.$ac_objext conftest$ac_exeext
31902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31903 (eval $ac_link) 2>&5
31905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906 (exit $ac_status); } &&
31907 { ac_try='test -s conftest$ac_exeext'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; }; then
31913 eval "$as_ac_var=yes"
31915 echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.$ac_ext >&5
31918 eval "$as_ac_var=no"
31920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31924 if test `eval echo '${'$as_ac_var'}'` = yes; then
31925 cat >>confdefs.h <<_ACEOF
31926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31937 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
31938 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
31939 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31940 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
31941 echo $ECHO_N "(cached) $ECHO_C" >&6
31947 ac_cpp='$CXXCPP $CPPFLAGS'
31948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31952 cat >conftest.$ac_ext <<_ACEOF
31953 #line $LINENO "configure"
31956 cat confdefs.h >>conftest.$ac_ext
31957 cat >>conftest.$ac_ext <<_ACEOF
31958 /* end confdefs.h. */
31960 #ifdef HAVE_IEEEFP_H
31961 #include <ieeefp.h>
31972 rm -f conftest.$ac_objext
31973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31974 (eval $ac_compile) 2>&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } &&
31978 { ac_try='test -s conftest.$ac_objext'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; }; then
31984 glibcxx_cv_func_fabsf_use=yes
31986 echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.$ac_ext >&5
31989 glibcxx_cv_func_fabsf_use=no
31991 rm -f conftest.$ac_objext conftest.$ac_ext
31993 ac_cpp='$CPP $CPPFLAGS'
31994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32003 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32005 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32007 for ac_func in fabsf
32009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32010 echo "$as_me:$LINENO: checking for $ac_func" >&5
32011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32012 if eval "test \"\${$as_ac_var+set}\" = set"; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 if test x$gcc_no_link = xyes; then
32016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32018 { (exit 1); exit 1; }; }
32020 cat >conftest.$ac_ext <<_ACEOF
32021 #line $LINENO "configure"
32024 cat confdefs.h >>conftest.$ac_ext
32025 cat >>conftest.$ac_ext <<_ACEOF
32026 /* end confdefs.h. */
32027 /* System header to define __stub macros and hopefully few prototypes,
32028 which can conflict with char $ac_func (); below.
32029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32030 <limits.h> exists even on freestanding compilers. */
32032 # include <limits.h>
32034 # include <assert.h>
32036 /* Override any gcc2 internal prototype to avoid an error. */
32041 /* We use char because int might match the return type of a gcc2
32042 builtin and then its argument prototype would still apply. */
32044 /* The GNU C library defines this for functions which it implements
32045 to always fail with ENOSYS. Some functions are actually named
32046 something starting with __ and the normal name is an alias. */
32047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32050 char (*f) () = $ac_func;
32059 return f != $ac_func;
32064 rm -f conftest.$ac_objext conftest$ac_exeext
32065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32066 (eval $ac_link) 2>&5
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); } &&
32070 { ac_try='test -s conftest$ac_exeext'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; }; then
32076 eval "$as_ac_var=yes"
32078 echo "$as_me: failed program was:" >&5
32079 sed 's/^/| /' conftest.$ac_ext >&5
32081 eval "$as_ac_var=no"
32083 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32087 if test `eval echo '${'$as_ac_var'}'` = yes; then
32088 cat >>confdefs.h <<_ACEOF
32089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32097 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32098 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32099 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32100 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 ac_cpp='$CXXCPP $CPPFLAGS'
32108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32112 cat >conftest.$ac_ext <<_ACEOF
32113 #line $LINENO "configure"
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32120 #ifdef HAVE_IEEEFP_H
32121 #include <ieeefp.h>
32132 rm -f conftest.$ac_objext
32133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32134 (eval $ac_compile) 2>&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); } &&
32138 { ac_try='test -s conftest.$ac_objext'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; }; then
32144 glibcxx_cv_func__fabsf_use=yes
32146 echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32149 glibcxx_cv_func__fabsf_use=no
32151 rm -f conftest.$ac_objext conftest.$ac_ext
32153 ac_cpp='$CPP $CPPFLAGS'
32154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32163 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32165 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32167 for ac_func in _fabsf
32169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32170 echo "$as_me:$LINENO: checking for $ac_func" >&5
32171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32172 if eval "test \"\${$as_ac_var+set}\" = set"; then
32173 echo $ECHO_N "(cached) $ECHO_C" >&6
32175 if test x$gcc_no_link = xyes; then
32176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32178 { (exit 1); exit 1; }; }
32180 cat >conftest.$ac_ext <<_ACEOF
32181 #line $LINENO "configure"
32184 cat confdefs.h >>conftest.$ac_ext
32185 cat >>conftest.$ac_ext <<_ACEOF
32186 /* end confdefs.h. */
32187 /* System header to define __stub macros and hopefully few prototypes,
32188 which can conflict with char $ac_func (); below.
32189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32190 <limits.h> exists even on freestanding compilers. */
32192 # include <limits.h>
32194 # include <assert.h>
32196 /* Override any gcc2 internal prototype to avoid an error. */
32201 /* We use char because int might match the return type of a gcc2
32202 builtin and then its argument prototype would still apply. */
32204 /* The GNU C library defines this for functions which it implements
32205 to always fail with ENOSYS. Some functions are actually named
32206 something starting with __ and the normal name is an alias. */
32207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32210 char (*f) () = $ac_func;
32219 return f != $ac_func;
32224 rm -f conftest.$ac_objext conftest$ac_exeext
32225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32226 (eval $ac_link) 2>&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } &&
32230 { ac_try='test -s conftest$ac_exeext'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; }; then
32236 eval "$as_ac_var=yes"
32238 echo "$as_me: failed program was:" >&5
32239 sed 's/^/| /' conftest.$ac_ext >&5
32241 eval "$as_ac_var=no"
32243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32247 if test `eval echo '${'$as_ac_var'}'` = yes; then
32248 cat >>confdefs.h <<_ACEOF
32249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32260 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32261 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32262 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32263 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32270 ac_cpp='$CXXCPP $CPPFLAGS'
32271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32275 cat >conftest.$ac_ext <<_ACEOF
32276 #line $LINENO "configure"
32279 cat confdefs.h >>conftest.$ac_ext
32280 cat >>conftest.$ac_ext <<_ACEOF
32281 /* end confdefs.h. */
32291 rm -f conftest.$ac_objext
32292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32293 (eval $ac_compile) 2>&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } &&
32297 { ac_try='test -s conftest.$ac_objext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32303 glibcxx_cv_func_fmodf_use=yes
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32308 glibcxx_cv_func_fmodf_use=no
32310 rm -f conftest.$ac_objext conftest.$ac_ext
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32322 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32324 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32326 for ac_func in fmodf
32328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32329 echo "$as_me:$LINENO: checking for $ac_func" >&5
32330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32331 if eval "test \"\${$as_ac_var+set}\" = set"; then
32332 echo $ECHO_N "(cached) $ECHO_C" >&6
32334 if test x$gcc_no_link = xyes; then
32335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32337 { (exit 1); exit 1; }; }
32339 cat >conftest.$ac_ext <<_ACEOF
32340 #line $LINENO "configure"
32343 cat confdefs.h >>conftest.$ac_ext
32344 cat >>conftest.$ac_ext <<_ACEOF
32345 /* end confdefs.h. */
32346 /* System header to define __stub macros and hopefully few prototypes,
32347 which can conflict with char $ac_func (); below.
32348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32349 <limits.h> exists even on freestanding compilers. */
32351 # include <limits.h>
32353 # include <assert.h>
32355 /* Override any gcc2 internal prototype to avoid an error. */
32360 /* We use char because int might match the return type of a gcc2
32361 builtin and then its argument prototype would still apply. */
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32369 char (*f) () = $ac_func;
32378 return f != $ac_func;
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32385 (eval $ac_link) 2>&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } &&
32389 { ac_try='test -s conftest$ac_exeext'
32390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32391 (eval $ac_try) 2>&5
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); }; }; then
32395 eval "$as_ac_var=yes"
32397 echo "$as_me: failed program was:" >&5
32398 sed 's/^/| /' conftest.$ac_ext >&5
32400 eval "$as_ac_var=no"
32402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32406 if test `eval echo '${'$as_ac_var'}'` = yes; then
32407 cat >>confdefs.h <<_ACEOF
32408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32416 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32417 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32418 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32419 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32420 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 ac_cpp='$CXXCPP $CPPFLAGS'
32427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32431 cat >conftest.$ac_ext <<_ACEOF
32432 #line $LINENO "configure"
32435 cat confdefs.h >>conftest.$ac_ext
32436 cat >>conftest.$ac_ext <<_ACEOF
32437 /* end confdefs.h. */
32447 rm -f conftest.$ac_objext
32448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32449 (eval $ac_compile) 2>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try='test -s conftest.$ac_objext'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; }; then
32459 glibcxx_cv_func__fmodf_use=yes
32461 echo "$as_me: failed program was:" >&5
32462 sed 's/^/| /' conftest.$ac_ext >&5
32464 glibcxx_cv_func__fmodf_use=no
32466 rm -f conftest.$ac_objext conftest.$ac_ext
32468 ac_cpp='$CPP $CPPFLAGS'
32469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32478 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32480 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32482 for ac_func in _fmodf
32484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32485 echo "$as_me:$LINENO: checking for $ac_func" >&5
32486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32487 if eval "test \"\${$as_ac_var+set}\" = set"; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 if test x$gcc_no_link = xyes; then
32491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32493 { (exit 1); exit 1; }; }
32495 cat >conftest.$ac_ext <<_ACEOF
32496 #line $LINENO "configure"
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32502 /* System header to define __stub macros and hopefully few prototypes,
32503 which can conflict with char $ac_func (); below.
32504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32505 <limits.h> exists even on freestanding compilers. */
32507 # include <limits.h>
32509 # include <assert.h>
32511 /* Override any gcc2 internal prototype to avoid an error. */
32516 /* We use char because int might match the return type of a gcc2
32517 builtin and then its argument prototype would still apply. */
32519 /* The GNU C library defines this for functions which it implements
32520 to always fail with ENOSYS. Some functions are actually named
32521 something starting with __ and the normal name is an alias. */
32522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32525 char (*f) () = $ac_func;
32534 return f != $ac_func;
32539 rm -f conftest.$ac_objext conftest$ac_exeext
32540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32541 (eval $ac_link) 2>&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); } &&
32545 { ac_try='test -s conftest$ac_exeext'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; }; then
32551 eval "$as_ac_var=yes"
32553 echo "$as_me: failed program was:" >&5
32554 sed 's/^/| /' conftest.$ac_ext >&5
32556 eval "$as_ac_var=no"
32558 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32562 if test `eval echo '${'$as_ac_var'}'` = yes; then
32563 cat >>confdefs.h <<_ACEOF
32564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32575 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32576 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32577 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32578 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32590 cat >conftest.$ac_ext <<_ACEOF
32591 #line $LINENO "configure"
32594 cat confdefs.h >>conftest.$ac_ext
32595 cat >>conftest.$ac_ext <<_ACEOF
32596 /* end confdefs.h. */
32606 rm -f conftest.$ac_objext
32607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32608 (eval $ac_compile) 2>&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try='test -s conftest.$ac_objext'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; }; then
32618 glibcxx_cv_func_frexpf_use=yes
32620 echo "$as_me: failed program was:" >&5
32621 sed 's/^/| /' conftest.$ac_ext >&5
32623 glibcxx_cv_func_frexpf_use=no
32625 rm -f conftest.$ac_objext conftest.$ac_ext
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32637 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32639 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32641 for ac_func in frexpf
32643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32644 echo "$as_me:$LINENO: checking for $ac_func" >&5
32645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32646 if eval "test \"\${$as_ac_var+set}\" = set"; then
32647 echo $ECHO_N "(cached) $ECHO_C" >&6
32649 if test x$gcc_no_link = xyes; then
32650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32652 { (exit 1); exit 1; }; }
32654 cat >conftest.$ac_ext <<_ACEOF
32655 #line $LINENO "configure"
32658 cat confdefs.h >>conftest.$ac_ext
32659 cat >>conftest.$ac_ext <<_ACEOF
32660 /* end confdefs.h. */
32661 /* System header to define __stub macros and hopefully few prototypes,
32662 which can conflict with char $ac_func (); below.
32663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32664 <limits.h> exists even on freestanding compilers. */
32666 # include <limits.h>
32668 # include <assert.h>
32670 /* Override any gcc2 internal prototype to avoid an error. */
32675 /* We use char because int might match the return type of a gcc2
32676 builtin and then its argument prototype would still apply. */
32678 /* The GNU C library defines this for functions which it implements
32679 to always fail with ENOSYS. Some functions are actually named
32680 something starting with __ and the normal name is an alias. */
32681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32684 char (*f) () = $ac_func;
32693 return f != $ac_func;
32698 rm -f conftest.$ac_objext conftest$ac_exeext
32699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32700 (eval $ac_link) 2>&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try='test -s conftest$ac_exeext'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; }; then
32710 eval "$as_ac_var=yes"
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32715 eval "$as_ac_var=no"
32717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32721 if test `eval echo '${'$as_ac_var'}'` = yes; then
32722 cat >>confdefs.h <<_ACEOF
32723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32731 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32732 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32733 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32734 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32735 echo $ECHO_N "(cached) $ECHO_C" >&6
32741 ac_cpp='$CXXCPP $CPPFLAGS'
32742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32746 cat >conftest.$ac_ext <<_ACEOF
32747 #line $LINENO "configure"
32750 cat confdefs.h >>conftest.$ac_ext
32751 cat >>conftest.$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32762 rm -f conftest.$ac_objext
32763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32764 (eval $ac_compile) 2>&5
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); } &&
32768 { ac_try='test -s conftest.$ac_objext'
32769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32770 (eval $ac_try) 2>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); }; }; then
32774 glibcxx_cv_func__frexpf_use=yes
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32779 glibcxx_cv_func__frexpf_use=no
32781 rm -f conftest.$ac_objext conftest.$ac_ext
32783 ac_cpp='$CPP $CPPFLAGS'
32784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32793 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32795 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32797 for ac_func in _frexpf
32799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32800 echo "$as_me:$LINENO: checking for $ac_func" >&5
32801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32802 if eval "test \"\${$as_ac_var+set}\" = set"; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 if test x$gcc_no_link = xyes; then
32806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32808 { (exit 1); exit 1; }; }
32810 cat >conftest.$ac_ext <<_ACEOF
32811 #line $LINENO "configure"
32814 cat confdefs.h >>conftest.$ac_ext
32815 cat >>conftest.$ac_ext <<_ACEOF
32816 /* end confdefs.h. */
32817 /* System header to define __stub macros and hopefully few prototypes,
32818 which can conflict with char $ac_func (); below.
32819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32820 <limits.h> exists even on freestanding compilers. */
32822 # include <limits.h>
32824 # include <assert.h>
32826 /* Override any gcc2 internal prototype to avoid an error. */
32831 /* We use char because int might match the return type of a gcc2
32832 builtin and then its argument prototype would still apply. */
32834 /* The GNU C library defines this for functions which it implements
32835 to always fail with ENOSYS. Some functions are actually named
32836 something starting with __ and the normal name is an alias. */
32837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32840 char (*f) () = $ac_func;
32849 return f != $ac_func;
32854 rm -f conftest.$ac_objext conftest$ac_exeext
32855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32856 (eval $ac_link) 2>&5
32858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32859 (exit $ac_status); } &&
32860 { ac_try='test -s conftest$ac_exeext'
32861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32862 (eval $ac_try) 2>&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); }; }; then
32866 eval "$as_ac_var=yes"
32868 echo "$as_me: failed program was:" >&5
32869 sed 's/^/| /' conftest.$ac_ext >&5
32871 eval "$as_ac_var=no"
32873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32877 if test `eval echo '${'$as_ac_var'}'` = yes; then
32878 cat >>confdefs.h <<_ACEOF
32879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32890 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
32891 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
32892 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32893 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905 cat >conftest.$ac_ext <<_ACEOF
32906 #line $LINENO "configure"
32909 cat confdefs.h >>conftest.$ac_ext
32910 cat >>conftest.$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32921 rm -f conftest.$ac_objext
32922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32923 (eval $ac_compile) 2>&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } &&
32927 { ac_try='test -s conftest.$ac_objext'
32928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32929 (eval $ac_try) 2>&5
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; }; then
32933 glibcxx_cv_func_hypotf_use=yes
32935 echo "$as_me: failed program was:" >&5
32936 sed 's/^/| /' conftest.$ac_ext >&5
32938 glibcxx_cv_func_hypotf_use=no
32940 rm -f conftest.$ac_objext conftest.$ac_ext
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
32952 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
32954 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32956 for ac_func in hypotf
32958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32959 echo "$as_me:$LINENO: checking for $ac_func" >&5
32960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32961 if eval "test \"\${$as_ac_var+set}\" = set"; then
32962 echo $ECHO_N "(cached) $ECHO_C" >&6
32964 if test x$gcc_no_link = xyes; then
32965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32967 { (exit 1); exit 1; }; }
32969 cat >conftest.$ac_ext <<_ACEOF
32970 #line $LINENO "configure"
32973 cat confdefs.h >>conftest.$ac_ext
32974 cat >>conftest.$ac_ext <<_ACEOF
32975 /* end confdefs.h. */
32976 /* System header to define __stub macros and hopefully few prototypes,
32977 which can conflict with char $ac_func (); below.
32978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32979 <limits.h> exists even on freestanding compilers. */
32981 # include <limits.h>
32983 # include <assert.h>
32985 /* Override any gcc2 internal prototype to avoid an error. */
32990 /* We use char because int might match the return type of a gcc2
32991 builtin and then its argument prototype would still apply. */
32993 /* The GNU C library defines this for functions which it implements
32994 to always fail with ENOSYS. Some functions are actually named
32995 something starting with __ and the normal name is an alias. */
32996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32999 char (*f) () = $ac_func;
33008 return f != $ac_func;
33013 rm -f conftest.$ac_objext conftest$ac_exeext
33014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33015 (eval $ac_link) 2>&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); } &&
33019 { ac_try='test -s conftest$ac_exeext'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; }; then
33025 eval "$as_ac_var=yes"
33027 echo "$as_me: failed program was:" >&5
33028 sed 's/^/| /' conftest.$ac_ext >&5
33030 eval "$as_ac_var=no"
33032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33036 if test `eval echo '${'$as_ac_var'}'` = yes; then
33037 cat >>confdefs.h <<_ACEOF
33038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33046 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33047 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33048 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33049 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33050 echo $ECHO_N "(cached) $ECHO_C" >&6
33056 ac_cpp='$CXXCPP $CPPFLAGS'
33057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33061 cat >conftest.$ac_ext <<_ACEOF
33062 #line $LINENO "configure"
33065 cat confdefs.h >>conftest.$ac_ext
33066 cat >>conftest.$ac_ext <<_ACEOF
33067 /* end confdefs.h. */
33077 rm -f conftest.$ac_objext
33078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33079 (eval $ac_compile) 2>&5
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); } &&
33083 { ac_try='test -s conftest.$ac_objext'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; }; then
33089 glibcxx_cv_func__hypotf_use=yes
33091 echo "$as_me: failed program was:" >&5
33092 sed 's/^/| /' conftest.$ac_ext >&5
33094 glibcxx_cv_func__hypotf_use=no
33096 rm -f conftest.$ac_objext conftest.$ac_ext
33098 ac_cpp='$CPP $CPPFLAGS'
33099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33107 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33108 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33110 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33112 for ac_func in _hypotf
33114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33115 echo "$as_me:$LINENO: checking for $ac_func" >&5
33116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33117 if eval "test \"\${$as_ac_var+set}\" = set"; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33120 if test x$gcc_no_link = xyes; then
33121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33123 { (exit 1); exit 1; }; }
33125 cat >conftest.$ac_ext <<_ACEOF
33126 #line $LINENO "configure"
33129 cat confdefs.h >>conftest.$ac_ext
33130 cat >>conftest.$ac_ext <<_ACEOF
33131 /* end confdefs.h. */
33132 /* System header to define __stub macros and hopefully few prototypes,
33133 which can conflict with char $ac_func (); below.
33134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33135 <limits.h> exists even on freestanding compilers. */
33137 # include <limits.h>
33139 # include <assert.h>
33141 /* Override any gcc2 internal prototype to avoid an error. */
33146 /* We use char because int might match the return type of a gcc2
33147 builtin and then its argument prototype would still apply. */
33149 /* The GNU C library defines this for functions which it implements
33150 to always fail with ENOSYS. Some functions are actually named
33151 something starting with __ and the normal name is an alias. */
33152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33155 char (*f) () = $ac_func;
33164 return f != $ac_func;
33169 rm -f conftest.$ac_objext conftest$ac_exeext
33170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33171 (eval $ac_link) 2>&5
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); } &&
33175 { ac_try='test -s conftest$ac_exeext'
33176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33177 (eval $ac_try) 2>&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); }; }; then
33181 eval "$as_ac_var=yes"
33183 echo "$as_me: failed program was:" >&5
33184 sed 's/^/| /' conftest.$ac_ext >&5
33186 eval "$as_ac_var=no"
33188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33192 if test `eval echo '${'$as_ac_var'}'` = yes; then
33193 cat >>confdefs.h <<_ACEOF
33194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33205 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33206 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33207 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33208 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33209 echo $ECHO_N "(cached) $ECHO_C" >&6
33215 ac_cpp='$CXXCPP $CPPFLAGS'
33216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33220 cat >conftest.$ac_ext <<_ACEOF
33221 #line $LINENO "configure"
33224 cat confdefs.h >>conftest.$ac_ext
33225 cat >>conftest.$ac_ext <<_ACEOF
33226 /* end confdefs.h. */
33236 rm -f conftest.$ac_objext
33237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33238 (eval $ac_compile) 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } &&
33242 { ac_try='test -s conftest.$ac_objext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33248 glibcxx_cv_func_ldexpf_use=yes
33250 echo "$as_me: failed program was:" >&5
33251 sed 's/^/| /' conftest.$ac_ext >&5
33253 glibcxx_cv_func_ldexpf_use=no
33255 rm -f conftest.$ac_objext conftest.$ac_ext
33257 ac_cpp='$CPP $CPPFLAGS'
33258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33267 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33269 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33271 for ac_func in ldexpf
33273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33274 echo "$as_me:$LINENO: checking for $ac_func" >&5
33275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33276 if eval "test \"\${$as_ac_var+set}\" = set"; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33279 if test x$gcc_no_link = xyes; then
33280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33282 { (exit 1); exit 1; }; }
33284 cat >conftest.$ac_ext <<_ACEOF
33285 #line $LINENO "configure"
33288 cat confdefs.h >>conftest.$ac_ext
33289 cat >>conftest.$ac_ext <<_ACEOF
33290 /* end confdefs.h. */
33291 /* System header to define __stub macros and hopefully few prototypes,
33292 which can conflict with char $ac_func (); below.
33293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33294 <limits.h> exists even on freestanding compilers. */
33296 # include <limits.h>
33298 # include <assert.h>
33300 /* Override any gcc2 internal prototype to avoid an error. */
33305 /* We use char because int might match the return type of a gcc2
33306 builtin and then its argument prototype would still apply. */
33308 /* The GNU C library defines this for functions which it implements
33309 to always fail with ENOSYS. Some functions are actually named
33310 something starting with __ and the normal name is an alias. */
33311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33314 char (*f) () = $ac_func;
33323 return f != $ac_func;
33328 rm -f conftest.$ac_objext conftest$ac_exeext
33329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33330 (eval $ac_link) 2>&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); } &&
33334 { ac_try='test -s conftest$ac_exeext'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; }; then
33340 eval "$as_ac_var=yes"
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.$ac_ext >&5
33345 eval "$as_ac_var=no"
33347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33351 if test `eval echo '${'$as_ac_var'}'` = yes; then
33352 cat >>confdefs.h <<_ACEOF
33353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33361 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33362 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33363 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33364 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33365 echo $ECHO_N "(cached) $ECHO_C" >&6
33371 ac_cpp='$CXXCPP $CPPFLAGS'
33372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33376 cat >conftest.$ac_ext <<_ACEOF
33377 #line $LINENO "configure"
33380 cat confdefs.h >>conftest.$ac_ext
33381 cat >>conftest.$ac_ext <<_ACEOF
33382 /* end confdefs.h. */
33392 rm -f conftest.$ac_objext
33393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33394 (eval $ac_compile) 2>&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); } &&
33398 { ac_try='test -s conftest.$ac_objext'
33399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33400 (eval $ac_try) 2>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); }; }; then
33404 glibcxx_cv_func__ldexpf_use=yes
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.$ac_ext >&5
33409 glibcxx_cv_func__ldexpf_use=no
33411 rm -f conftest.$ac_objext conftest.$ac_ext
33413 ac_cpp='$CPP $CPPFLAGS'
33414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33422 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33423 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33425 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33427 for ac_func in _ldexpf
33429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33430 echo "$as_me:$LINENO: checking for $ac_func" >&5
33431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33432 if eval "test \"\${$as_ac_var+set}\" = set"; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33435 if test x$gcc_no_link = xyes; then
33436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33438 { (exit 1); exit 1; }; }
33440 cat >conftest.$ac_ext <<_ACEOF
33441 #line $LINENO "configure"
33444 cat confdefs.h >>conftest.$ac_ext
33445 cat >>conftest.$ac_ext <<_ACEOF
33446 /* end confdefs.h. */
33447 /* System header to define __stub macros and hopefully few prototypes,
33448 which can conflict with char $ac_func (); below.
33449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33450 <limits.h> exists even on freestanding compilers. */
33452 # include <limits.h>
33454 # include <assert.h>
33456 /* Override any gcc2 internal prototype to avoid an error. */
33461 /* We use char because int might match the return type of a gcc2
33462 builtin and then its argument prototype would still apply. */
33464 /* The GNU C library defines this for functions which it implements
33465 to always fail with ENOSYS. Some functions are actually named
33466 something starting with __ and the normal name is an alias. */
33467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33470 char (*f) () = $ac_func;
33479 return f != $ac_func;
33484 rm -f conftest.$ac_objext conftest$ac_exeext
33485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33486 (eval $ac_link) 2>&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } &&
33490 { ac_try='test -s conftest$ac_exeext'
33491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33492 (eval $ac_try) 2>&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); }; }; then
33496 eval "$as_ac_var=yes"
33498 echo "$as_me: failed program was:" >&5
33499 sed 's/^/| /' conftest.$ac_ext >&5
33501 eval "$as_ac_var=no"
33503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33507 if test `eval echo '${'$as_ac_var'}'` = yes; then
33508 cat >>confdefs.h <<_ACEOF
33509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33520 echo "$as_me:$LINENO: checking for logf declaration" >&5
33521 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33522 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33523 if test "${glibcxx_cv_func_logf_use+set}" = set; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33530 ac_cpp='$CXXCPP $CPPFLAGS'
33531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535 cat >conftest.$ac_ext <<_ACEOF
33536 #line $LINENO "configure"
33539 cat confdefs.h >>conftest.$ac_ext
33540 cat >>conftest.$ac_ext <<_ACEOF
33541 /* end confdefs.h. */
33543 #ifdef HAVE_IEEEFP_H
33544 #include <ieeefp.h>
33555 rm -f conftest.$ac_objext
33556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33557 (eval $ac_compile) 2>&5
33559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33560 (exit $ac_status); } &&
33561 { ac_try='test -s conftest.$ac_objext'
33562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33563 (eval $ac_try) 2>&5
33565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33566 (exit $ac_status); }; }; then
33567 glibcxx_cv_func_logf_use=yes
33569 echo "$as_me: failed program was:" >&5
33570 sed 's/^/| /' conftest.$ac_ext >&5
33572 glibcxx_cv_func_logf_use=no
33574 rm -f conftest.$ac_objext conftest.$ac_ext
33576 ac_cpp='$CPP $CPPFLAGS'
33577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33586 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33588 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33590 for ac_func in logf
33592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33593 echo "$as_me:$LINENO: checking for $ac_func" >&5
33594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33595 if eval "test \"\${$as_ac_var+set}\" = set"; then
33596 echo $ECHO_N "(cached) $ECHO_C" >&6
33598 if test x$gcc_no_link = xyes; then
33599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33601 { (exit 1); exit 1; }; }
33603 cat >conftest.$ac_ext <<_ACEOF
33604 #line $LINENO "configure"
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 /* System header to define __stub macros and hopefully few prototypes,
33611 which can conflict with char $ac_func (); below.
33612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33613 <limits.h> exists even on freestanding compilers. */
33615 # include <limits.h>
33617 # include <assert.h>
33619 /* Override any gcc2 internal prototype to avoid an error. */
33624 /* We use char because int might match the return type of a gcc2
33625 builtin and then its argument prototype would still apply. */
33627 /* The GNU C library defines this for functions which it implements
33628 to always fail with ENOSYS. Some functions are actually named
33629 something starting with __ and the normal name is an alias. */
33630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33633 char (*f) () = $ac_func;
33642 return f != $ac_func;
33647 rm -f conftest.$ac_objext conftest$ac_exeext
33648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33649 (eval $ac_link) 2>&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } &&
33653 { ac_try='test -s conftest$ac_exeext'
33654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33655 (eval $ac_try) 2>&5
33657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33658 (exit $ac_status); }; }; then
33659 eval "$as_ac_var=yes"
33661 echo "$as_me: failed program was:" >&5
33662 sed 's/^/| /' conftest.$ac_ext >&5
33664 eval "$as_ac_var=no"
33666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33670 if test `eval echo '${'$as_ac_var'}'` = yes; then
33671 cat >>confdefs.h <<_ACEOF
33672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33680 echo "$as_me:$LINENO: checking for _logf declaration" >&5
33681 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33682 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33683 if test "${glibcxx_cv_func__logf_use+set}" = set; then
33684 echo $ECHO_N "(cached) $ECHO_C" >&6
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat >conftest.$ac_ext <<_ACEOF
33696 #line $LINENO "configure"
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33703 #ifdef HAVE_IEEEFP_H
33704 #include <ieeefp.h>
33715 rm -f conftest.$ac_objext
33716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33717 (eval $ac_compile) 2>&5
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); } &&
33721 { ac_try='test -s conftest.$ac_objext'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; }; then
33727 glibcxx_cv_func__logf_use=yes
33729 echo "$as_me: failed program was:" >&5
33730 sed 's/^/| /' conftest.$ac_ext >&5
33732 glibcxx_cv_func__logf_use=no
33734 rm -f conftest.$ac_objext conftest.$ac_ext
33736 ac_cpp='$CPP $CPPFLAGS'
33737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33745 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
33746 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
33748 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33750 for ac_func in _logf
33752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33753 echo "$as_me:$LINENO: checking for $ac_func" >&5
33754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33755 if eval "test \"\${$as_ac_var+set}\" = set"; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 if test x$gcc_no_link = xyes; then
33759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33761 { (exit 1); exit 1; }; }
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
33843 echo "$as_me:$LINENO: checking for log10f declaration" >&5
33844 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33845 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33846 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33847 echo $ECHO_N "(cached) $ECHO_C" >&6
33853 ac_cpp='$CXXCPP $CPPFLAGS'
33854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33858 cat >conftest.$ac_ext <<_ACEOF
33859 #line $LINENO "configure"
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33866 #ifdef HAVE_IEEEFP_H
33867 #include <ieeefp.h>
33878 rm -f conftest.$ac_objext
33879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33880 (eval $ac_compile) 2>&5
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); } &&
33884 { ac_try='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 glibcxx_cv_func_log10f_use=yes
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 glibcxx_cv_func_log10f_use=no
33897 rm -f conftest.$ac_objext conftest.$ac_ext
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
33909 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
33911 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
33913 for ac_func in log10f
33915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33916 echo "$as_me:$LINENO: checking for $ac_func" >&5
33917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33918 if eval "test \"\${$as_ac_var+set}\" = set"; then
33919 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 if test x$gcc_no_link = xyes; then
33922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33924 { (exit 1); exit 1; }; }
33926 cat >conftest.$ac_ext <<_ACEOF
33927 #line $LINENO "configure"
33930 cat confdefs.h >>conftest.$ac_ext
33931 cat >>conftest.$ac_ext <<_ACEOF
33932 /* end confdefs.h. */
33933 /* System header to define __stub macros and hopefully few prototypes,
33934 which can conflict with char $ac_func (); below.
33935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33936 <limits.h> exists even on freestanding compilers. */
33938 # include <limits.h>
33940 # include <assert.h>
33942 /* Override any gcc2 internal prototype to avoid an error. */
33947 /* We use char because int might match the return type of a gcc2
33948 builtin and then its argument prototype would still apply. */
33950 /* The GNU C library defines this for functions which it implements
33951 to always fail with ENOSYS. Some functions are actually named
33952 something starting with __ and the normal name is an alias. */
33953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33956 char (*f) () = $ac_func;
33965 return f != $ac_func;
33970 rm -f conftest.$ac_objext conftest$ac_exeext
33971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33972 (eval $ac_link) 2>&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); } &&
33976 { ac_try='test -s conftest$ac_exeext'
33977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33978 (eval $ac_try) 2>&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); }; }; then
33982 eval "$as_ac_var=yes"
33984 echo "$as_me: failed program was:" >&5
33985 sed 's/^/| /' conftest.$ac_ext >&5
33987 eval "$as_ac_var=no"
33989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33993 if test `eval echo '${'$as_ac_var'}'` = yes; then
33994 cat >>confdefs.h <<_ACEOF
33995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34003 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34004 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34005 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34006 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34013 ac_cpp='$CXXCPP $CPPFLAGS'
34014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34018 cat >conftest.$ac_ext <<_ACEOF
34019 #line $LINENO "configure"
34022 cat confdefs.h >>conftest.$ac_ext
34023 cat >>conftest.$ac_ext <<_ACEOF
34024 /* end confdefs.h. */
34026 #ifdef HAVE_IEEEFP_H
34027 #include <ieeefp.h>
34038 rm -f conftest.$ac_objext
34039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34040 (eval $ac_compile) 2>&5
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); } &&
34044 { ac_try='test -s conftest.$ac_objext'
34045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046 (eval $ac_try) 2>&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; }; then
34050 glibcxx_cv_func__log10f_use=yes
34052 echo "$as_me: failed program was:" >&5
34053 sed 's/^/| /' conftest.$ac_ext >&5
34055 glibcxx_cv_func__log10f_use=no
34057 rm -f conftest.$ac_objext conftest.$ac_ext
34059 ac_cpp='$CPP $CPPFLAGS'
34060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34069 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34071 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34073 for ac_func in _log10f
34075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34076 echo "$as_me:$LINENO: checking for $ac_func" >&5
34077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34078 if eval "test \"\${$as_ac_var+set}\" = set"; then
34079 echo $ECHO_N "(cached) $ECHO_C" >&6
34081 if test x$gcc_no_link = xyes; then
34082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34084 { (exit 1); exit 1; }; }
34086 cat >conftest.$ac_ext <<_ACEOF
34087 #line $LINENO "configure"
34090 cat confdefs.h >>conftest.$ac_ext
34091 cat >>conftest.$ac_ext <<_ACEOF
34092 /* end confdefs.h. */
34093 /* System header to define __stub macros and hopefully few prototypes,
34094 which can conflict with char $ac_func (); below.
34095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34096 <limits.h> exists even on freestanding compilers. */
34098 # include <limits.h>
34100 # include <assert.h>
34102 /* Override any gcc2 internal prototype to avoid an error. */
34107 /* We use char because int might match the return type of a gcc2
34108 builtin and then its argument prototype would still apply. */
34110 /* The GNU C library defines this for functions which it implements
34111 to always fail with ENOSYS. Some functions are actually named
34112 something starting with __ and the normal name is an alias. */
34113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34116 char (*f) () = $ac_func;
34125 return f != $ac_func;
34130 rm -f conftest.$ac_objext conftest$ac_exeext
34131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34132 (eval $ac_link) 2>&5
34134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 (exit $ac_status); } &&
34136 { ac_try='test -s conftest$ac_exeext'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; }; then
34142 eval "$as_ac_var=yes"
34144 echo "$as_me: failed program was:" >&5
34145 sed 's/^/| /' conftest.$ac_ext >&5
34147 eval "$as_ac_var=no"
34149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34153 if test `eval echo '${'$as_ac_var'}'` = yes; then
34154 cat >>confdefs.h <<_ACEOF
34155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34166 echo "$as_me:$LINENO: checking for modff declaration" >&5
34167 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34168 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34169 if test "${glibcxx_cv_func_modff_use+set}" = set; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34176 ac_cpp='$CXXCPP $CPPFLAGS'
34177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34181 cat >conftest.$ac_ext <<_ACEOF
34182 #line $LINENO "configure"
34185 cat confdefs.h >>conftest.$ac_ext
34186 cat >>conftest.$ac_ext <<_ACEOF
34187 /* end confdefs.h. */
34197 rm -f conftest.$ac_objext
34198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34199 (eval $ac_compile) 2>&5
34201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34202 (exit $ac_status); } &&
34203 { ac_try='test -s conftest.$ac_objext'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; }; then
34209 glibcxx_cv_func_modff_use=yes
34211 echo "$as_me: failed program was:" >&5
34212 sed 's/^/| /' conftest.$ac_ext >&5
34214 glibcxx_cv_func_modff_use=no
34216 rm -f conftest.$ac_objext conftest.$ac_ext
34218 ac_cpp='$CPP $CPPFLAGS'
34219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34227 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34228 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34230 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34232 for ac_func in modff
34234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34235 echo "$as_me:$LINENO: checking for $ac_func" >&5
34236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34237 if eval "test \"\${$as_ac_var+set}\" = set"; then
34238 echo $ECHO_N "(cached) $ECHO_C" >&6
34240 if test x$gcc_no_link = xyes; then
34241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34243 { (exit 1); exit 1; }; }
34245 cat >conftest.$ac_ext <<_ACEOF
34246 #line $LINENO "configure"
34249 cat confdefs.h >>conftest.$ac_ext
34250 cat >>conftest.$ac_ext <<_ACEOF
34251 /* end confdefs.h. */
34252 /* System header to define __stub macros and hopefully few prototypes,
34253 which can conflict with char $ac_func (); below.
34254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34255 <limits.h> exists even on freestanding compilers. */
34257 # include <limits.h>
34259 # include <assert.h>
34261 /* Override any gcc2 internal prototype to avoid an error. */
34266 /* We use char because int might match the return type of a gcc2
34267 builtin and then its argument prototype would still apply. */
34269 /* The GNU C library defines this for functions which it implements
34270 to always fail with ENOSYS. Some functions are actually named
34271 something starting with __ and the normal name is an alias. */
34272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34275 char (*f) () = $ac_func;
34284 return f != $ac_func;
34289 rm -f conftest.$ac_objext conftest$ac_exeext
34290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34291 (eval $ac_link) 2>&5
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); } &&
34295 { ac_try='test -s conftest$ac_exeext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 eval "$as_ac_var=yes"
34303 echo "$as_me: failed program was:" >&5
34304 sed 's/^/| /' conftest.$ac_ext >&5
34306 eval "$as_ac_var=no"
34308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34312 if test `eval echo '${'$as_ac_var'}'` = yes; then
34313 cat >>confdefs.h <<_ACEOF
34314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34322 echo "$as_me:$LINENO: checking for _modff declaration" >&5
34323 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34324 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34325 if test "${glibcxx_cv_func__modff_use+set}" = set; then
34326 echo $ECHO_N "(cached) $ECHO_C" >&6
34332 ac_cpp='$CXXCPP $CPPFLAGS'
34333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34337 cat >conftest.$ac_ext <<_ACEOF
34338 #line $LINENO "configure"
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34353 rm -f conftest.$ac_objext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34355 (eval $ac_compile) 2>&5
34357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358 (exit $ac_status); } &&
34359 { ac_try='test -s conftest.$ac_objext'
34360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34361 (eval $ac_try) 2>&5
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); }; }; then
34365 glibcxx_cv_func__modff_use=yes
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34370 glibcxx_cv_func__modff_use=no
34372 rm -f conftest.$ac_objext conftest.$ac_ext
34374 ac_cpp='$CPP $CPPFLAGS'
34375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34383 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34384 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34386 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34388 for ac_func in _modff
34390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34391 echo "$as_me:$LINENO: checking for $ac_func" >&5
34392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34393 if eval "test \"\${$as_ac_var+set}\" = set"; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34396 if test x$gcc_no_link = xyes; then
34397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34399 { (exit 1); exit 1; }; }
34401 cat >conftest.$ac_ext <<_ACEOF
34402 #line $LINENO "configure"
34405 cat confdefs.h >>conftest.$ac_ext
34406 cat >>conftest.$ac_ext <<_ACEOF
34407 /* end confdefs.h. */
34408 /* System header to define __stub macros and hopefully few prototypes,
34409 which can conflict with char $ac_func (); below.
34410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34411 <limits.h> exists even on freestanding compilers. */
34413 # include <limits.h>
34415 # include <assert.h>
34417 /* Override any gcc2 internal prototype to avoid an error. */
34422 /* We use char because int might match the return type of a gcc2
34423 builtin and then its argument prototype would still apply. */
34425 /* The GNU C library defines this for functions which it implements
34426 to always fail with ENOSYS. Some functions are actually named
34427 something starting with __ and the normal name is an alias. */
34428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34431 char (*f) () = $ac_func;
34440 return f != $ac_func;
34445 rm -f conftest.$ac_objext conftest$ac_exeext
34446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34447 (eval $ac_link) 2>&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } &&
34451 { ac_try='test -s conftest$ac_exeext'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; }; then
34457 eval "$as_ac_var=yes"
34459 echo "$as_me: failed program was:" >&5
34460 sed 's/^/| /' conftest.$ac_ext >&5
34462 eval "$as_ac_var=no"
34464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34468 if test `eval echo '${'$as_ac_var'}'` = yes; then
34469 cat >>confdefs.h <<_ACEOF
34470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34481 echo "$as_me:$LINENO: checking for powf declaration" >&5
34482 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34483 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34484 if test "${glibcxx_cv_func_powf_use+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 ac_cpp='$CXXCPP $CPPFLAGS'
34492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34496 cat >conftest.$ac_ext <<_ACEOF
34497 #line $LINENO "configure"
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34512 rm -f conftest.$ac_objext
34513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34514 (eval $ac_compile) 2>&5
34516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517 (exit $ac_status); } &&
34518 { ac_try='test -s conftest.$ac_objext'
34519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34520 (eval $ac_try) 2>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); }; }; then
34524 glibcxx_cv_func_powf_use=yes
34526 echo "$as_me: failed program was:" >&5
34527 sed 's/^/| /' conftest.$ac_ext >&5
34529 glibcxx_cv_func_powf_use=no
34531 rm -f conftest.$ac_objext conftest.$ac_ext
34533 ac_cpp='$CPP $CPPFLAGS'
34534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34543 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34545 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34547 for ac_func in powf
34549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34550 echo "$as_me:$LINENO: checking for $ac_func" >&5
34551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34552 if eval "test \"\${$as_ac_var+set}\" = set"; then
34553 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 if test x$gcc_no_link = xyes; then
34556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34558 { (exit 1); exit 1; }; }
34560 cat >conftest.$ac_ext <<_ACEOF
34561 #line $LINENO "configure"
34564 cat confdefs.h >>conftest.$ac_ext
34565 cat >>conftest.$ac_ext <<_ACEOF
34566 /* end confdefs.h. */
34567 /* System header to define __stub macros and hopefully few prototypes,
34568 which can conflict with char $ac_func (); below.
34569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34570 <limits.h> exists even on freestanding compilers. */
34572 # include <limits.h>
34574 # include <assert.h>
34576 /* Override any gcc2 internal prototype to avoid an error. */
34581 /* We use char because int might match the return type of a gcc2
34582 builtin and then its argument prototype would still apply. */
34584 /* The GNU C library defines this for functions which it implements
34585 to always fail with ENOSYS. Some functions are actually named
34586 something starting with __ and the normal name is an alias. */
34587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34590 char (*f) () = $ac_func;
34599 return f != $ac_func;
34604 rm -f conftest.$ac_objext conftest$ac_exeext
34605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34606 (eval $ac_link) 2>&5
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); } &&
34610 { ac_try='test -s conftest$ac_exeext'
34611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34612 (eval $ac_try) 2>&5
34614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615 (exit $ac_status); }; }; then
34616 eval "$as_ac_var=yes"
34618 echo "$as_me: failed program was:" >&5
34619 sed 's/^/| /' conftest.$ac_ext >&5
34621 eval "$as_ac_var=no"
34623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34627 if test `eval echo '${'$as_ac_var'}'` = yes; then
34628 cat >>confdefs.h <<_ACEOF
34629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34637 echo "$as_me:$LINENO: checking for _powf declaration" >&5
34638 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34639 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34640 if test "${glibcxx_cv_func__powf_use+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34647 ac_cpp='$CXXCPP $CPPFLAGS'
34648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34652 cat >conftest.$ac_ext <<_ACEOF
34653 #line $LINENO "configure"
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34668 rm -f conftest.$ac_objext
34669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34670 (eval $ac_compile) 2>&5
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } &&
34674 { ac_try='test -s conftest.$ac_objext'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; }; then
34680 glibcxx_cv_func__powf_use=yes
34682 echo "$as_me: failed program was:" >&5
34683 sed 's/^/| /' conftest.$ac_ext >&5
34685 glibcxx_cv_func__powf_use=no
34687 rm -f conftest.$ac_objext conftest.$ac_ext
34689 ac_cpp='$CPP $CPPFLAGS'
34690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34698 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34699 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34701 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34703 for ac_func in _powf
34705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34706 echo "$as_me:$LINENO: checking for $ac_func" >&5
34707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34708 if eval "test \"\${$as_ac_var+set}\" = set"; then
34709 echo $ECHO_N "(cached) $ECHO_C" >&6
34711 if test x$gcc_no_link = xyes; then
34712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34714 { (exit 1); exit 1; }; }
34716 cat >conftest.$ac_ext <<_ACEOF
34717 #line $LINENO "configure"
34720 cat confdefs.h >>conftest.$ac_ext
34721 cat >>conftest.$ac_ext <<_ACEOF
34722 /* end confdefs.h. */
34723 /* System header to define __stub macros and hopefully few prototypes,
34724 which can conflict with char $ac_func (); below.
34725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34726 <limits.h> exists even on freestanding compilers. */
34728 # include <limits.h>
34730 # include <assert.h>
34732 /* Override any gcc2 internal prototype to avoid an error. */
34737 /* We use char because int might match the return type of a gcc2
34738 builtin and then its argument prototype would still apply. */
34740 /* The GNU C library defines this for functions which it implements
34741 to always fail with ENOSYS. Some functions are actually named
34742 something starting with __ and the normal name is an alias. */
34743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34746 char (*f) () = $ac_func;
34755 return f != $ac_func;
34760 rm -f conftest.$ac_objext conftest$ac_exeext
34761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34762 (eval $ac_link) 2>&5
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); } &&
34766 { ac_try='test -s conftest$ac_exeext'
34767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34768 (eval $ac_try) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); }; }; then
34772 eval "$as_ac_var=yes"
34774 echo "$as_me: failed program was:" >&5
34775 sed 's/^/| /' conftest.$ac_ext >&5
34777 eval "$as_ac_var=no"
34779 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34783 if test `eval echo '${'$as_ac_var'}'` = yes; then
34784 cat >>confdefs.h <<_ACEOF
34785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34796 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34797 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34798 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34799 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34800 echo $ECHO_N "(cached) $ECHO_C" >&6
34806 ac_cpp='$CXXCPP $CPPFLAGS'
34807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34811 cat >conftest.$ac_ext <<_ACEOF
34812 #line $LINENO "configure"
34815 cat confdefs.h >>conftest.$ac_ext
34816 cat >>conftest.$ac_ext <<_ACEOF
34817 /* end confdefs.h. */
34819 #ifdef HAVE_IEEEFP_H
34820 #include <ieeefp.h>
34831 rm -f conftest.$ac_objext
34832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34833 (eval $ac_compile) 2>&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); } &&
34837 { ac_try='test -s conftest.$ac_objext'
34838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34839 (eval $ac_try) 2>&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); }; }; then
34843 glibcxx_cv_func_sqrtf_use=yes
34845 echo "$as_me: failed program was:" >&5
34846 sed 's/^/| /' conftest.$ac_ext >&5
34848 glibcxx_cv_func_sqrtf_use=no
34850 rm -f conftest.$ac_objext conftest.$ac_ext
34852 ac_cpp='$CPP $CPPFLAGS'
34853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
34862 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
34864 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
34866 for ac_func in sqrtf
34868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34869 echo "$as_me:$LINENO: checking for $ac_func" >&5
34870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34871 if eval "test \"\${$as_ac_var+set}\" = set"; then
34872 echo $ECHO_N "(cached) $ECHO_C" >&6
34874 if test x$gcc_no_link = xyes; then
34875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34877 { (exit 1); exit 1; }; }
34879 cat >conftest.$ac_ext <<_ACEOF
34880 #line $LINENO "configure"
34883 cat confdefs.h >>conftest.$ac_ext
34884 cat >>conftest.$ac_ext <<_ACEOF
34885 /* end confdefs.h. */
34886 /* System header to define __stub macros and hopefully few prototypes,
34887 which can conflict with char $ac_func (); below.
34888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34889 <limits.h> exists even on freestanding compilers. */
34891 # include <limits.h>
34893 # include <assert.h>
34895 /* Override any gcc2 internal prototype to avoid an error. */
34900 /* We use char because int might match the return type of a gcc2
34901 builtin and then its argument prototype would still apply. */
34903 /* The GNU C library defines this for functions which it implements
34904 to always fail with ENOSYS. Some functions are actually named
34905 something starting with __ and the normal name is an alias. */
34906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34909 char (*f) () = $ac_func;
34918 return f != $ac_func;
34923 rm -f conftest.$ac_objext conftest$ac_exeext
34924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34925 (eval $ac_link) 2>&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } &&
34929 { ac_try='test -s conftest$ac_exeext'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }; then
34935 eval "$as_ac_var=yes"
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34940 eval "$as_ac_var=no"
34942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34946 if test `eval echo '${'$as_ac_var'}'` = yes; then
34947 cat >>confdefs.h <<_ACEOF
34948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34956 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
34957 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
34958 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
34959 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 ac_cpp='$CXXCPP $CPPFLAGS'
34967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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. */
34979 #ifdef HAVE_IEEEFP_H
34980 #include <ieeefp.h>
34991 rm -f conftest.$ac_objext
34992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34993 (eval $ac_compile) 2>&5
34995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34996 (exit $ac_status); } &&
34997 { ac_try='test -s conftest.$ac_objext'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; }; then
35003 glibcxx_cv_func__sqrtf_use=yes
35005 echo "$as_me: failed program was:" >&5
35006 sed 's/^/| /' conftest.$ac_ext >&5
35008 glibcxx_cv_func__sqrtf_use=no
35010 rm -f conftest.$ac_objext conftest.$ac_ext
35012 ac_cpp='$CPP $CPPFLAGS'
35013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35021 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35022 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35024 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35026 for ac_func in _sqrtf
35028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35029 echo "$as_me:$LINENO: checking for $ac_func" >&5
35030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35031 if eval "test \"\${$as_ac_var+set}\" = set"; then
35032 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 if test x$gcc_no_link = xyes; then
35035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35037 { (exit 1); exit 1; }; }
35039 cat >conftest.$ac_ext <<_ACEOF
35040 #line $LINENO "configure"
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h. */
35046 /* System header to define __stub macros and hopefully few prototypes,
35047 which can conflict with char $ac_func (); below.
35048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35049 <limits.h> exists even on freestanding compilers. */
35051 # include <limits.h>
35053 # include <assert.h>
35055 /* Override any gcc2 internal prototype to avoid an error. */
35060 /* We use char because int might match the return type of a gcc2
35061 builtin and then its argument prototype would still apply. */
35063 /* The GNU C library defines this for functions which it implements
35064 to always fail with ENOSYS. Some functions are actually named
35065 something starting with __ and the normal name is an alias. */
35066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35069 char (*f) () = $ac_func;
35078 return f != $ac_func;
35083 rm -f conftest.$ac_objext conftest$ac_exeext
35084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35085 (eval $ac_link) 2>&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); } &&
35089 { ac_try='test -s conftest$ac_exeext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 eval "$as_ac_var=yes"
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35100 eval "$as_ac_var=no"
35102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35106 if test `eval echo '${'$as_ac_var'}'` = yes; then
35107 cat >>confdefs.h <<_ACEOF
35108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35119 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35120 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35121 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35122 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35123 echo $ECHO_N "(cached) $ECHO_C" >&6
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134 cat >conftest.$ac_ext <<_ACEOF
35135 #line $LINENO "configure"
35138 cat confdefs.h >>conftest.$ac_ext
35139 cat >>conftest.$ac_ext <<_ACEOF
35140 /* end confdefs.h. */
35150 rm -f conftest.$ac_objext
35151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35152 (eval $ac_compile) 2>&5
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); } &&
35156 { ac_try='test -s conftest.$ac_objext'
35157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35158 (eval $ac_try) 2>&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 glibcxx_cv_func_sincosf_use=yes
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35167 glibcxx_cv_func_sincosf_use=no
35169 rm -f conftest.$ac_objext conftest.$ac_ext
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35181 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35183 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35185 for ac_func in sincosf
35187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35188 echo "$as_me:$LINENO: checking for $ac_func" >&5
35189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35190 if eval "test \"\${$as_ac_var+set}\" = set"; then
35191 echo $ECHO_N "(cached) $ECHO_C" >&6
35193 if test x$gcc_no_link = xyes; then
35194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35196 { (exit 1); exit 1; }; }
35198 cat >conftest.$ac_ext <<_ACEOF
35199 #line $LINENO "configure"
35202 cat confdefs.h >>conftest.$ac_ext
35203 cat >>conftest.$ac_ext <<_ACEOF
35204 /* end confdefs.h. */
35205 /* System header to define __stub macros and hopefully few prototypes,
35206 which can conflict with char $ac_func (); below.
35207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35208 <limits.h> exists even on freestanding compilers. */
35210 # include <limits.h>
35212 # include <assert.h>
35214 /* Override any gcc2 internal prototype to avoid an error. */
35219 /* We use char because int might match the return type of a gcc2
35220 builtin and then its argument prototype would still apply. */
35222 /* The GNU C library defines this for functions which it implements
35223 to always fail with ENOSYS. Some functions are actually named
35224 something starting with __ and the normal name is an alias. */
35225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35228 char (*f) () = $ac_func;
35237 return f != $ac_func;
35242 rm -f conftest.$ac_objext conftest$ac_exeext
35243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35244 (eval $ac_link) 2>&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); } &&
35248 { ac_try='test -s conftest$ac_exeext'
35249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35250 (eval $ac_try) 2>&5
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); }; }; then
35254 eval "$as_ac_var=yes"
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.$ac_ext >&5
35259 eval "$as_ac_var=no"
35261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35265 if test `eval echo '${'$as_ac_var'}'` = yes; then
35266 cat >>confdefs.h <<_ACEOF
35267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35275 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35276 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35277 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35278 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35290 cat >conftest.$ac_ext <<_ACEOF
35291 #line $LINENO "configure"
35294 cat confdefs.h >>conftest.$ac_ext
35295 cat >>conftest.$ac_ext <<_ACEOF
35296 /* end confdefs.h. */
35306 rm -f conftest.$ac_objext
35307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35308 (eval $ac_compile) 2>&5
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); } &&
35312 { ac_try='test -s conftest.$ac_objext'
35313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35314 (eval $ac_try) 2>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); }; }; then
35318 glibcxx_cv_func__sincosf_use=yes
35320 echo "$as_me: failed program was:" >&5
35321 sed 's/^/| /' conftest.$ac_ext >&5
35323 glibcxx_cv_func__sincosf_use=no
35325 rm -f conftest.$ac_objext conftest.$ac_ext
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35337 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35339 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35341 for ac_func in _sincosf
35343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35344 echo "$as_me:$LINENO: checking for $ac_func" >&5
35345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35346 if eval "test \"\${$as_ac_var+set}\" = set"; then
35347 echo $ECHO_N "(cached) $ECHO_C" >&6
35349 if test x$gcc_no_link = xyes; then
35350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35352 { (exit 1); exit 1; }; }
35354 cat >conftest.$ac_ext <<_ACEOF
35355 #line $LINENO "configure"
35358 cat confdefs.h >>conftest.$ac_ext
35359 cat >>conftest.$ac_ext <<_ACEOF
35360 /* end confdefs.h. */
35361 /* System header to define __stub macros and hopefully few prototypes,
35362 which can conflict with char $ac_func (); below.
35363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35364 <limits.h> exists even on freestanding compilers. */
35366 # include <limits.h>
35368 # include <assert.h>
35370 /* Override any gcc2 internal prototype to avoid an error. */
35375 /* We use char because int might match the return type of a gcc2
35376 builtin and then its argument prototype would still apply. */
35378 /* The GNU C library defines this for functions which it implements
35379 to always fail with ENOSYS. Some functions are actually named
35380 something starting with __ and the normal name is an alias. */
35381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35384 char (*f) () = $ac_func;
35393 return f != $ac_func;
35398 rm -f conftest.$ac_objext conftest$ac_exeext
35399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35400 (eval $ac_link) 2>&5
35402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35403 (exit $ac_status); } &&
35404 { ac_try='test -s conftest$ac_exeext'
35405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35406 (eval $ac_try) 2>&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); }; }; then
35410 eval "$as_ac_var=yes"
35412 echo "$as_me: failed program was:" >&5
35413 sed 's/^/| /' conftest.$ac_ext >&5
35415 eval "$as_ac_var=no"
35417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35421 if test `eval echo '${'$as_ac_var'}'` = yes; then
35422 cat >>confdefs.h <<_ACEOF
35423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35434 echo "$as_me:$LINENO: checking for finitef declaration" >&5
35435 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35436 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35437 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35438 echo $ECHO_N "(cached) $ECHO_C" >&6
35444 ac_cpp='$CXXCPP $CPPFLAGS'
35445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35449 cat >conftest.$ac_ext <<_ACEOF
35450 #line $LINENO "configure"
35453 cat confdefs.h >>conftest.$ac_ext
35454 cat >>conftest.$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35457 #ifdef HAVE_IEEEFP_H
35458 #include <ieeefp.h>
35469 rm -f conftest.$ac_objext
35470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35471 (eval $ac_compile) 2>&5
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); } &&
35475 { ac_try='test -s conftest.$ac_objext'
35476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35477 (eval $ac_try) 2>&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); }; }; then
35481 glibcxx_cv_func_finitef_use=yes
35483 echo "$as_me: failed program was:" >&5
35484 sed 's/^/| /' conftest.$ac_ext >&5
35486 glibcxx_cv_func_finitef_use=no
35488 rm -f conftest.$ac_objext conftest.$ac_ext
35490 ac_cpp='$CPP $CPPFLAGS'
35491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35500 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35502 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35504 for ac_func in finitef
35506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35507 echo "$as_me:$LINENO: checking for $ac_func" >&5
35508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35509 if eval "test \"\${$as_ac_var+set}\" = set"; then
35510 echo $ECHO_N "(cached) $ECHO_C" >&6
35512 if test x$gcc_no_link = xyes; then
35513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35515 { (exit 1); exit 1; }; }
35517 cat >conftest.$ac_ext <<_ACEOF
35518 #line $LINENO "configure"
35521 cat confdefs.h >>conftest.$ac_ext
35522 cat >>conftest.$ac_ext <<_ACEOF
35523 /* end confdefs.h. */
35524 /* System header to define __stub macros and hopefully few prototypes,
35525 which can conflict with char $ac_func (); below.
35526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35527 <limits.h> exists even on freestanding compilers. */
35529 # include <limits.h>
35531 # include <assert.h>
35533 /* Override any gcc2 internal prototype to avoid an error. */
35538 /* We use char because int might match the return type of a gcc2
35539 builtin and then its argument prototype would still apply. */
35541 /* The GNU C library defines this for functions which it implements
35542 to always fail with ENOSYS. Some functions are actually named
35543 something starting with __ and the normal name is an alias. */
35544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35547 char (*f) () = $ac_func;
35556 return f != $ac_func;
35561 rm -f conftest.$ac_objext conftest$ac_exeext
35562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35563 (eval $ac_link) 2>&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); } &&
35567 { ac_try='test -s conftest$ac_exeext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35573 eval "$as_ac_var=yes"
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35578 eval "$as_ac_var=no"
35580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35584 if test `eval echo '${'$as_ac_var'}'` = yes; then
35585 cat >>confdefs.h <<_ACEOF
35586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35594 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35595 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35596 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35597 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35604 ac_cpp='$CXXCPP $CPPFLAGS'
35605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35609 cat >conftest.$ac_ext <<_ACEOF
35610 #line $LINENO "configure"
35613 cat confdefs.h >>conftest.$ac_ext
35614 cat >>conftest.$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35617 #ifdef HAVE_IEEEFP_H
35618 #include <ieeefp.h>
35629 rm -f conftest.$ac_objext
35630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35631 (eval $ac_compile) 2>&5
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); } &&
35635 { ac_try='test -s conftest.$ac_objext'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; }; then
35641 glibcxx_cv_func__finitef_use=yes
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35646 glibcxx_cv_func__finitef_use=no
35648 rm -f conftest.$ac_objext conftest.$ac_ext
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35660 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35662 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35664 for ac_func in _finitef
35666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35667 echo "$as_me:$LINENO: checking for $ac_func" >&5
35668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35669 if eval "test \"\${$as_ac_var+set}\" = set"; then
35670 echo $ECHO_N "(cached) $ECHO_C" >&6
35672 if test x$gcc_no_link = xyes; then
35673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35675 { (exit 1); exit 1; }; }
35677 cat >conftest.$ac_ext <<_ACEOF
35678 #line $LINENO "configure"
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684 /* System header to define __stub macros and hopefully few prototypes,
35685 which can conflict with char $ac_func (); below.
35686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35687 <limits.h> exists even on freestanding compilers. */
35689 # include <limits.h>
35691 # include <assert.h>
35693 /* Override any gcc2 internal prototype to avoid an error. */
35698 /* We use char because int might match the return type of a gcc2
35699 builtin and then its argument prototype would still apply. */
35701 /* The GNU C library defines this for functions which it implements
35702 to always fail with ENOSYS. Some functions are actually named
35703 something starting with __ and the normal name is an alias. */
35704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35707 char (*f) () = $ac_func;
35716 return f != $ac_func;
35721 rm -f conftest.$ac_objext conftest$ac_exeext
35722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35723 (eval $ac_link) 2>&5
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); } &&
35727 { ac_try='test -s conftest$ac_exeext'
35728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35729 (eval $ac_try) 2>&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); }; }; then
35733 eval "$as_ac_var=yes"
35735 echo "$as_me: failed program was:" >&5
35736 sed 's/^/| /' conftest.$ac_ext >&5
35738 eval "$as_ac_var=no"
35740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35744 if test `eval echo '${'$as_ac_var'}'` = yes; then
35745 cat >>confdefs.h <<_ACEOF
35746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35757 echo "$as_me:$LINENO: checking for long double trig functions" >&5
35758 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35759 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35760 echo $ECHO_N "(cached) $ECHO_C" >&6
35766 ac_cpp='$CXXCPP $CPPFLAGS'
35767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35771 cat >conftest.$ac_ext <<_ACEOF
35772 #line $LINENO "configure"
35775 cat confdefs.h >>conftest.$ac_ext
35776 cat >>conftest.$ac_ext <<_ACEOF
35777 /* end confdefs.h. */
35782 `for x in acosl asinl atanl \
35784 coshl sinhl tanhl; do echo "$x (0);"; done`
35789 rm -f conftest.$ac_objext
35790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35791 (eval $ac_compile) 2>&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } &&
35795 { ac_try='test -s conftest.$ac_objext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 glibcxx_cv_func_long_double_trig_use=yes
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35806 glibcxx_cv_func_long_double_trig_use=no
35808 rm -f conftest.$ac_objext conftest.$ac_ext
35810 ac_cpp='$CPP $CPPFLAGS'
35811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35818 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35819 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35829 for ac_func in acosl asinl atanl \
35833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35834 echo "$as_me:$LINENO: checking for $ac_func" >&5
35835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35836 if eval "test \"\${$as_ac_var+set}\" = set"; then
35837 echo $ECHO_N "(cached) $ECHO_C" >&6
35839 if test x$gcc_no_link = xyes; then
35840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35842 { (exit 1); exit 1; }; }
35844 cat >conftest.$ac_ext <<_ACEOF
35845 #line $LINENO "configure"
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35851 /* System header to define __stub macros and hopefully few prototypes,
35852 which can conflict with char $ac_func (); below.
35853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35854 <limits.h> exists even on freestanding compilers. */
35856 # include <limits.h>
35858 # include <assert.h>
35860 /* Override any gcc2 internal prototype to avoid an error. */
35865 /* We use char because int might match the return type of a gcc2
35866 builtin and then its argument prototype would still apply. */
35868 /* The GNU C library defines this for functions which it implements
35869 to always fail with ENOSYS. Some functions are actually named
35870 something starting with __ and the normal name is an alias. */
35871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35874 char (*f) () = $ac_func;
35883 return f != $ac_func;
35888 rm -f conftest.$ac_objext conftest$ac_exeext
35889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35890 (eval $ac_link) 2>&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } &&
35894 { ac_try='test -s conftest$ac_exeext'
35895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35896 (eval $ac_try) 2>&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); }; }; then
35900 eval "$as_ac_var=yes"
35902 echo "$as_me: failed program was:" >&5
35903 sed 's/^/| /' conftest.$ac_ext >&5
35905 eval "$as_ac_var=no"
35907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35911 if test `eval echo '${'$as_ac_var'}'` = yes; then
35912 cat >>confdefs.h <<_ACEOF
35913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35922 echo "$as_me:$LINENO: checking for long double round functions" >&5
35923 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
35924 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
35925 echo $ECHO_N "(cached) $ECHO_C" >&6
35931 ac_cpp='$CXXCPP $CPPFLAGS'
35932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35936 cat >conftest.$ac_ext <<_ACEOF
35937 #line $LINENO "configure"
35940 cat confdefs.h >>conftest.$ac_ext
35941 cat >>conftest.$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35947 `for x in ceill floorl; do echo "$x (0);"; done`
35952 rm -f conftest.$ac_objext
35953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35954 (eval $ac_compile) 2>&5
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); } &&
35958 { ac_try='test -s conftest.$ac_objext'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; }; then
35964 glibcxx_cv_func_long_double_round_use=yes
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35969 glibcxx_cv_func_long_double_round_use=no
35971 rm -f conftest.$ac_objext conftest.$ac_ext
35973 ac_cpp='$CPP $CPPFLAGS'
35974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
35981 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
35982 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35985 for ac_func in ceill floorl
35987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35988 echo "$as_me:$LINENO: checking for $ac_func" >&5
35989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35990 if eval "test \"\${$as_ac_var+set}\" = set"; then
35991 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 if test x$gcc_no_link = xyes; then
35994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35996 { (exit 1); exit 1; }; }
35998 cat >conftest.$ac_ext <<_ACEOF
35999 #line $LINENO "configure"
36002 cat confdefs.h >>conftest.$ac_ext
36003 cat >>conftest.$ac_ext <<_ACEOF
36004 /* end confdefs.h. */
36005 /* System header to define __stub macros and hopefully few prototypes,
36006 which can conflict with char $ac_func (); below.
36007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36008 <limits.h> exists even on freestanding compilers. */
36010 # include <limits.h>
36012 # include <assert.h>
36014 /* Override any gcc2 internal prototype to avoid an error. */
36019 /* We use char because int might match the return type of a gcc2
36020 builtin and then its argument prototype would still apply. */
36022 /* The GNU C library defines this for functions which it implements
36023 to always fail with ENOSYS. Some functions are actually named
36024 something starting with __ and the normal name is an alias. */
36025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36028 char (*f) () = $ac_func;
36037 return f != $ac_func;
36042 rm -f conftest.$ac_objext conftest$ac_exeext
36043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36044 (eval $ac_link) 2>&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } &&
36048 { ac_try='test -s conftest$ac_exeext'
36049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36050 (eval $ac_try) 2>&5
36052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36053 (exit $ac_status); }; }; then
36054 eval "$as_ac_var=yes"
36056 echo "$as_me: failed program was:" >&5
36057 sed 's/^/| /' conftest.$ac_ext >&5
36059 eval "$as_ac_var=no"
36061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36065 if test `eval echo '${'$as_ac_var'}'` = yes; then
36066 cat >>confdefs.h <<_ACEOF
36067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36077 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36078 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36079 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36080 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36081 echo $ECHO_N "(cached) $ECHO_C" >&6
36087 ac_cpp='$CXXCPP $CPPFLAGS'
36088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36092 cat >conftest.$ac_ext <<_ACEOF
36093 #line $LINENO "configure"
36096 cat confdefs.h >>conftest.$ac_ext
36097 cat >>conftest.$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36100 #ifdef HAVE_IEEEFP_H
36101 #include <ieeefp.h>
36112 rm -f conftest.$ac_objext
36113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36114 (eval $ac_compile) 2>&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); } &&
36118 { ac_try='test -s conftest.$ac_objext'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; }; then
36124 glibcxx_cv_func_isnanl_use=yes
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36129 glibcxx_cv_func_isnanl_use=no
36131 rm -f conftest.$ac_objext conftest.$ac_ext
36133 ac_cpp='$CPP $CPPFLAGS'
36134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36143 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36145 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36147 for ac_func in isnanl
36149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36150 echo "$as_me:$LINENO: checking for $ac_func" >&5
36151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36152 if eval "test \"\${$as_ac_var+set}\" = set"; then
36153 echo $ECHO_N "(cached) $ECHO_C" >&6
36155 if test x$gcc_no_link = xyes; then
36156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36158 { (exit 1); exit 1; }; }
36160 cat >conftest.$ac_ext <<_ACEOF
36161 #line $LINENO "configure"
36164 cat confdefs.h >>conftest.$ac_ext
36165 cat >>conftest.$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36167 /* System header to define __stub macros and hopefully few prototypes,
36168 which can conflict with char $ac_func (); below.
36169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36170 <limits.h> exists even on freestanding compilers. */
36172 # include <limits.h>
36174 # include <assert.h>
36176 /* Override any gcc2 internal prototype to avoid an error. */
36181 /* We use char because int might match the return type of a gcc2
36182 builtin and then its argument prototype would still apply. */
36184 /* The GNU C library defines this for functions which it implements
36185 to always fail with ENOSYS. Some functions are actually named
36186 something starting with __ and the normal name is an alias. */
36187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36190 char (*f) () = $ac_func;
36199 return f != $ac_func;
36204 rm -f conftest.$ac_objext conftest$ac_exeext
36205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36206 (eval $ac_link) 2>&5
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); } &&
36210 { ac_try='test -s conftest$ac_exeext'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; }; then
36216 eval "$as_ac_var=yes"
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 eval "$as_ac_var=no"
36223 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36227 if test `eval echo '${'$as_ac_var'}'` = yes; then
36228 cat >>confdefs.h <<_ACEOF
36229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36237 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36238 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36239 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36240 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36241 echo $ECHO_N "(cached) $ECHO_C" >&6
36247 ac_cpp='$CXXCPP $CPPFLAGS'
36248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36252 cat >conftest.$ac_ext <<_ACEOF
36253 #line $LINENO "configure"
36256 cat confdefs.h >>conftest.$ac_ext
36257 cat >>conftest.$ac_ext <<_ACEOF
36258 /* end confdefs.h. */
36260 #ifdef HAVE_IEEEFP_H
36261 #include <ieeefp.h>
36272 rm -f conftest.$ac_objext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36274 (eval $ac_compile) 2>&5
36276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36277 (exit $ac_status); } &&
36278 { ac_try='test -s conftest.$ac_objext'
36279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36280 (eval $ac_try) 2>&5
36282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36283 (exit $ac_status); }; }; then
36284 glibcxx_cv_func__isnanl_use=yes
36286 echo "$as_me: failed program was:" >&5
36287 sed 's/^/| /' conftest.$ac_ext >&5
36289 glibcxx_cv_func__isnanl_use=no
36291 rm -f conftest.$ac_objext conftest.$ac_ext
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36303 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36305 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36307 for ac_func in _isnanl
36309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36310 echo "$as_me:$LINENO: checking for $ac_func" >&5
36311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36312 if eval "test \"\${$as_ac_var+set}\" = set"; then
36313 echo $ECHO_N "(cached) $ECHO_C" >&6
36315 if test x$gcc_no_link = xyes; then
36316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36318 { (exit 1); exit 1; }; }
36320 cat >conftest.$ac_ext <<_ACEOF
36321 #line $LINENO "configure"
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 /* System header to define __stub macros and hopefully few prototypes,
36328 which can conflict with char $ac_func (); below.
36329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36330 <limits.h> exists even on freestanding compilers. */
36332 # include <limits.h>
36334 # include <assert.h>
36336 /* Override any gcc2 internal prototype to avoid an error. */
36341 /* We use char because int might match the return type of a gcc2
36342 builtin and then its argument prototype would still apply. */
36344 /* The GNU C library defines this for functions which it implements
36345 to always fail with ENOSYS. Some functions are actually named
36346 something starting with __ and the normal name is an alias. */
36347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36350 char (*f) () = $ac_func;
36359 return f != $ac_func;
36364 rm -f conftest.$ac_objext conftest$ac_exeext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36366 (eval $ac_link) 2>&5
36368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36369 (exit $ac_status); } &&
36370 { ac_try='test -s conftest$ac_exeext'
36371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36372 (eval $ac_try) 2>&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); }; }; then
36376 eval "$as_ac_var=yes"
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.$ac_ext >&5
36381 eval "$as_ac_var=no"
36383 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36387 if test `eval echo '${'$as_ac_var'}'` = yes; then
36388 cat >>confdefs.h <<_ACEOF
36389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36400 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36401 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36402 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36403 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36404 echo $ECHO_N "(cached) $ECHO_C" >&6
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415 cat >conftest.$ac_ext <<_ACEOF
36416 #line $LINENO "configure"
36419 cat confdefs.h >>conftest.$ac_ext
36420 cat >>conftest.$ac_ext <<_ACEOF
36421 /* end confdefs.h. */
36423 #ifdef HAVE_IEEEFP_H
36424 #include <ieeefp.h>
36435 rm -f conftest.$ac_objext
36436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36437 (eval $ac_compile) 2>&5
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); } &&
36441 { ac_try='test -s conftest.$ac_objext'
36442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36443 (eval $ac_try) 2>&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); }; }; then
36447 glibcxx_cv_func_isinfl_use=yes
36449 echo "$as_me: failed program was:" >&5
36450 sed 's/^/| /' conftest.$ac_ext >&5
36452 glibcxx_cv_func_isinfl_use=no
36454 rm -f conftest.$ac_objext conftest.$ac_ext
36456 ac_cpp='$CPP $CPPFLAGS'
36457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36466 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36468 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36470 for ac_func in isinfl
36472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36473 echo "$as_me:$LINENO: checking for $ac_func" >&5
36474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36475 if eval "test \"\${$as_ac_var+set}\" = set"; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36478 if test x$gcc_no_link = xyes; then
36479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36481 { (exit 1); exit 1; }; }
36483 cat >conftest.$ac_ext <<_ACEOF
36484 #line $LINENO "configure"
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 /* System header to define __stub macros and hopefully few prototypes,
36491 which can conflict with char $ac_func (); below.
36492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36493 <limits.h> exists even on freestanding compilers. */
36495 # include <limits.h>
36497 # include <assert.h>
36499 /* Override any gcc2 internal prototype to avoid an error. */
36504 /* We use char because int might match the return type of a gcc2
36505 builtin and then its argument prototype would still apply. */
36507 /* The GNU C library defines this for functions which it implements
36508 to always fail with ENOSYS. Some functions are actually named
36509 something starting with __ and the normal name is an alias. */
36510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36513 char (*f) () = $ac_func;
36522 return f != $ac_func;
36527 rm -f conftest.$ac_objext conftest$ac_exeext
36528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36529 (eval $ac_link) 2>&5
36531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36532 (exit $ac_status); } &&
36533 { ac_try='test -s conftest$ac_exeext'
36534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36535 (eval $ac_try) 2>&5
36537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36538 (exit $ac_status); }; }; then
36539 eval "$as_ac_var=yes"
36541 echo "$as_me: failed program was:" >&5
36542 sed 's/^/| /' conftest.$ac_ext >&5
36544 eval "$as_ac_var=no"
36546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36550 if test `eval echo '${'$as_ac_var'}'` = yes; then
36551 cat >>confdefs.h <<_ACEOF
36552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36560 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36561 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36562 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36563 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36564 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 ac_cpp='$CXXCPP $CPPFLAGS'
36571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36575 cat >conftest.$ac_ext <<_ACEOF
36576 #line $LINENO "configure"
36579 cat confdefs.h >>conftest.$ac_ext
36580 cat >>conftest.$ac_ext <<_ACEOF
36581 /* end confdefs.h. */
36583 #ifdef HAVE_IEEEFP_H
36584 #include <ieeefp.h>
36595 rm -f conftest.$ac_objext
36596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36597 (eval $ac_compile) 2>&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try='test -s conftest.$ac_objext'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; }; then
36607 glibcxx_cv_func__isinfl_use=yes
36609 echo "$as_me: failed program was:" >&5
36610 sed 's/^/| /' conftest.$ac_ext >&5
36612 glibcxx_cv_func__isinfl_use=no
36614 rm -f conftest.$ac_objext conftest.$ac_ext
36616 ac_cpp='$CPP $CPPFLAGS'
36617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36626 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36628 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36630 for ac_func in _isinfl
36632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36633 echo "$as_me:$LINENO: checking for $ac_func" >&5
36634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36635 if eval "test \"\${$as_ac_var+set}\" = set"; then
36636 echo $ECHO_N "(cached) $ECHO_C" >&6
36638 if test x$gcc_no_link = xyes; then
36639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36641 { (exit 1); exit 1; }; }
36643 cat >conftest.$ac_ext <<_ACEOF
36644 #line $LINENO "configure"
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* System header to define __stub macros and hopefully few prototypes,
36651 which can conflict with char $ac_func (); below.
36652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36653 <limits.h> exists even on freestanding compilers. */
36655 # include <limits.h>
36657 # include <assert.h>
36659 /* Override any gcc2 internal prototype to avoid an error. */
36664 /* We use char because int might match the return type of a gcc2
36665 builtin and then its argument prototype would still apply. */
36667 /* The GNU C library defines this for functions which it implements
36668 to always fail with ENOSYS. Some functions are actually named
36669 something starting with __ and the normal name is an alias. */
36670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36673 char (*f) () = $ac_func;
36682 return f != $ac_func;
36687 rm -f conftest.$ac_objext conftest$ac_exeext
36688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36689 (eval $ac_link) 2>&5
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); } &&
36693 { ac_try='test -s conftest$ac_exeext'
36694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36695 (eval $ac_try) 2>&5
36697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36698 (exit $ac_status); }; }; then
36699 eval "$as_ac_var=yes"
36701 echo "$as_me: failed program was:" >&5
36702 sed 's/^/| /' conftest.$ac_ext >&5
36704 eval "$as_ac_var=no"
36706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36710 if test `eval echo '${'$as_ac_var'}'` = yes; then
36711 cat >>confdefs.h <<_ACEOF
36712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36723 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36724 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36725 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36726 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36727 echo $ECHO_N "(cached) $ECHO_C" >&6
36733 ac_cpp='$CXXCPP $CPPFLAGS'
36734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36738 cat >conftest.$ac_ext <<_ACEOF
36739 #line $LINENO "configure"
36742 cat confdefs.h >>conftest.$ac_ext
36743 cat >>conftest.$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36754 rm -f conftest.$ac_objext
36755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36756 (eval $ac_compile) 2>&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); } &&
36760 { ac_try='test -s conftest.$ac_objext'
36761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36762 (eval $ac_try) 2>&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); }; }; then
36766 glibcxx_cv_func_copysignl_use=yes
36768 echo "$as_me: failed program was:" >&5
36769 sed 's/^/| /' conftest.$ac_ext >&5
36771 glibcxx_cv_func_copysignl_use=no
36773 rm -f conftest.$ac_objext conftest.$ac_ext
36775 ac_cpp='$CPP $CPPFLAGS'
36776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36785 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36787 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36789 for ac_func in copysignl
36791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36792 echo "$as_me:$LINENO: checking for $ac_func" >&5
36793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36794 if eval "test \"\${$as_ac_var+set}\" = set"; then
36795 echo $ECHO_N "(cached) $ECHO_C" >&6
36797 if test x$gcc_no_link = xyes; then
36798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36800 { (exit 1); exit 1; }; }
36802 cat >conftest.$ac_ext <<_ACEOF
36803 #line $LINENO "configure"
36806 cat confdefs.h >>conftest.$ac_ext
36807 cat >>conftest.$ac_ext <<_ACEOF
36808 /* end confdefs.h. */
36809 /* System header to define __stub macros and hopefully few prototypes,
36810 which can conflict with char $ac_func (); below.
36811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36812 <limits.h> exists even on freestanding compilers. */
36814 # include <limits.h>
36816 # include <assert.h>
36818 /* Override any gcc2 internal prototype to avoid an error. */
36823 /* We use char because int might match the return type of a gcc2
36824 builtin and then its argument prototype would still apply. */
36826 /* The GNU C library defines this for functions which it implements
36827 to always fail with ENOSYS. Some functions are actually named
36828 something starting with __ and the normal name is an alias. */
36829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36832 char (*f) () = $ac_func;
36841 return f != $ac_func;
36846 rm -f conftest.$ac_objext conftest$ac_exeext
36847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36848 (eval $ac_link) 2>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } &&
36852 { ac_try='test -s conftest$ac_exeext'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; }; then
36858 eval "$as_ac_var=yes"
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.$ac_ext >&5
36863 eval "$as_ac_var=no"
36865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36869 if test `eval echo '${'$as_ac_var'}'` = yes; then
36870 cat >>confdefs.h <<_ACEOF
36871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
36880 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
36881 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
36882 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
36883 echo $ECHO_N "(cached) $ECHO_C" >&6
36889 ac_cpp='$CXXCPP $CPPFLAGS'
36890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36894 cat >conftest.$ac_ext <<_ACEOF
36895 #line $LINENO "configure"
36898 cat confdefs.h >>conftest.$ac_ext
36899 cat >>conftest.$ac_ext <<_ACEOF
36900 /* end confdefs.h. */
36910 rm -f conftest.$ac_objext
36911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36912 (eval $ac_compile) 2>&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); } &&
36916 { ac_try='test -s conftest.$ac_objext'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; }; then
36922 glibcxx_cv_func__copysignl_use=yes
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36927 glibcxx_cv_func__copysignl_use=no
36929 rm -f conftest.$ac_objext conftest.$ac_ext
36931 ac_cpp='$CPP $CPPFLAGS'
36932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
36941 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
36943 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
36945 for ac_func in _copysignl
36947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36948 echo "$as_me:$LINENO: checking for $ac_func" >&5
36949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36950 if eval "test \"\${$as_ac_var+set}\" = set"; then
36951 echo $ECHO_N "(cached) $ECHO_C" >&6
36953 if test x$gcc_no_link = xyes; then
36954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36956 { (exit 1); exit 1; }; }
36958 cat >conftest.$ac_ext <<_ACEOF
36959 #line $LINENO "configure"
36962 cat confdefs.h >>conftest.$ac_ext
36963 cat >>conftest.$ac_ext <<_ACEOF
36964 /* end confdefs.h. */
36965 /* System header to define __stub macros and hopefully few prototypes,
36966 which can conflict with char $ac_func (); below.
36967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36968 <limits.h> exists even on freestanding compilers. */
36970 # include <limits.h>
36972 # include <assert.h>
36974 /* Override any gcc2 internal prototype to avoid an error. */
36979 /* We use char because int might match the return type of a gcc2
36980 builtin and then its argument prototype would still apply. */
36982 /* The GNU C library defines this for functions which it implements
36983 to always fail with ENOSYS. Some functions are actually named
36984 something starting with __ and the normal name is an alias. */
36985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36988 char (*f) () = $ac_func;
36997 return f != $ac_func;
37002 rm -f conftest.$ac_objext conftest$ac_exeext
37003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37004 (eval $ac_link) 2>&5
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); } &&
37008 { ac_try='test -s conftest$ac_exeext'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; }; then
37014 eval "$as_ac_var=yes"
37016 echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37019 eval "$as_ac_var=no"
37021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37025 if test `eval echo '${'$as_ac_var'}'` = yes; then
37026 cat >>confdefs.h <<_ACEOF
37027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37038 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37039 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37040 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37041 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37048 ac_cpp='$CXXCPP $CPPFLAGS'
37049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053 cat >conftest.$ac_ext <<_ACEOF
37054 #line $LINENO "configure"
37057 cat confdefs.h >>conftest.$ac_ext
37058 cat >>conftest.$ac_ext <<_ACEOF
37059 /* end confdefs.h. */
37069 rm -f conftest.$ac_objext
37070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37071 (eval $ac_compile) 2>&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } &&
37075 { ac_try='test -s conftest.$ac_objext'
37076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37077 (eval $ac_try) 2>&5
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); }; }; then
37081 glibcxx_cv_func_atan2l_use=yes
37083 echo "$as_me: failed program was:" >&5
37084 sed 's/^/| /' conftest.$ac_ext >&5
37086 glibcxx_cv_func_atan2l_use=no
37088 rm -f conftest.$ac_objext conftest.$ac_ext
37090 ac_cpp='$CPP $CPPFLAGS'
37091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37100 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37102 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37104 for ac_func in atan2l
37106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37107 echo "$as_me:$LINENO: checking for $ac_func" >&5
37108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37109 if eval "test \"\${$as_ac_var+set}\" = set"; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37112 if test x$gcc_no_link = xyes; then
37113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37115 { (exit 1); exit 1; }; }
37117 cat >conftest.$ac_ext <<_ACEOF
37118 #line $LINENO "configure"
37121 cat confdefs.h >>conftest.$ac_ext
37122 cat >>conftest.$ac_ext <<_ACEOF
37123 /* end confdefs.h. */
37124 /* System header to define __stub macros and hopefully few prototypes,
37125 which can conflict with char $ac_func (); below.
37126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37127 <limits.h> exists even on freestanding compilers. */
37129 # include <limits.h>
37131 # include <assert.h>
37133 /* Override any gcc2 internal prototype to avoid an error. */
37138 /* We use char because int might match the return type of a gcc2
37139 builtin and then its argument prototype would still apply. */
37141 /* The GNU C library defines this for functions which it implements
37142 to always fail with ENOSYS. Some functions are actually named
37143 something starting with __ and the normal name is an alias. */
37144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37147 char (*f) () = $ac_func;
37156 return f != $ac_func;
37161 rm -f conftest.$ac_objext conftest$ac_exeext
37162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37163 (eval $ac_link) 2>&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } &&
37167 { ac_try='test -s conftest$ac_exeext'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; }; then
37173 eval "$as_ac_var=yes"
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.$ac_ext >&5
37178 eval "$as_ac_var=no"
37180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37184 if test `eval echo '${'$as_ac_var'}'` = yes; then
37185 cat >>confdefs.h <<_ACEOF
37186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37194 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37195 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37196 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37197 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37198 echo $ECHO_N "(cached) $ECHO_C" >&6
37204 ac_cpp='$CXXCPP $CPPFLAGS'
37205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37209 cat >conftest.$ac_ext <<_ACEOF
37210 #line $LINENO "configure"
37213 cat confdefs.h >>conftest.$ac_ext
37214 cat >>conftest.$ac_ext <<_ACEOF
37215 /* end confdefs.h. */
37225 rm -f conftest.$ac_objext
37226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37227 (eval $ac_compile) 2>&5
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); } &&
37231 { ac_try='test -s conftest.$ac_objext'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; }; then
37237 glibcxx_cv_func__atan2l_use=yes
37239 echo "$as_me: failed program was:" >&5
37240 sed 's/^/| /' conftest.$ac_ext >&5
37242 glibcxx_cv_func__atan2l_use=no
37244 rm -f conftest.$ac_objext conftest.$ac_ext
37246 ac_cpp='$CPP $CPPFLAGS'
37247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37256 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37258 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37260 for ac_func in _atan2l
37262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37263 echo "$as_me:$LINENO: checking for $ac_func" >&5
37264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37265 if eval "test \"\${$as_ac_var+set}\" = set"; then
37266 echo $ECHO_N "(cached) $ECHO_C" >&6
37268 if test x$gcc_no_link = xyes; then
37269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37271 { (exit 1); exit 1; }; }
37273 cat >conftest.$ac_ext <<_ACEOF
37274 #line $LINENO "configure"
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37280 /* System header to define __stub macros and hopefully few prototypes,
37281 which can conflict with char $ac_func (); below.
37282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37283 <limits.h> exists even on freestanding compilers. */
37285 # include <limits.h>
37287 # include <assert.h>
37289 /* Override any gcc2 internal prototype to avoid an error. */
37294 /* We use char because int might match the return type of a gcc2
37295 builtin and then its argument prototype would still apply. */
37297 /* The GNU C library defines this for functions which it implements
37298 to always fail with ENOSYS. Some functions are actually named
37299 something starting with __ and the normal name is an alias. */
37300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37303 char (*f) () = $ac_func;
37312 return f != $ac_func;
37317 rm -f conftest.$ac_objext conftest$ac_exeext
37318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37319 (eval $ac_link) 2>&5
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); } &&
37323 { ac_try='test -s conftest$ac_exeext'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; }; then
37329 eval "$as_ac_var=yes"
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.$ac_ext >&5
37334 eval "$as_ac_var=no"
37336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37340 if test `eval echo '${'$as_ac_var'}'` = yes; then
37341 cat >>confdefs.h <<_ACEOF
37342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37353 echo "$as_me:$LINENO: checking for expl declaration" >&5
37354 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37355 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37356 if test "${glibcxx_cv_func_expl_use+set}" = set; then
37357 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 ac_cpp='$CXXCPP $CPPFLAGS'
37364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37368 cat >conftest.$ac_ext <<_ACEOF
37369 #line $LINENO "configure"
37372 cat confdefs.h >>conftest.$ac_ext
37373 cat >>conftest.$ac_ext <<_ACEOF
37374 /* end confdefs.h. */
37376 #ifdef HAVE_IEEEFP_H
37377 #include <ieeefp.h>
37388 rm -f conftest.$ac_objext
37389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37390 (eval $ac_compile) 2>&5
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); } &&
37394 { ac_try='test -s conftest.$ac_objext'
37395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37396 (eval $ac_try) 2>&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); }; }; then
37400 glibcxx_cv_func_expl_use=yes
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37405 glibcxx_cv_func_expl_use=no
37407 rm -f conftest.$ac_objext conftest.$ac_ext
37409 ac_cpp='$CPP $CPPFLAGS'
37410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37419 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37421 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37423 for ac_func in expl
37425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37426 echo "$as_me:$LINENO: checking for $ac_func" >&5
37427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37428 if eval "test \"\${$as_ac_var+set}\" = set"; then
37429 echo $ECHO_N "(cached) $ECHO_C" >&6
37431 if test x$gcc_no_link = xyes; then
37432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37434 { (exit 1); exit 1; }; }
37436 cat >conftest.$ac_ext <<_ACEOF
37437 #line $LINENO "configure"
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443 /* System header to define __stub macros and hopefully few prototypes,
37444 which can conflict with char $ac_func (); below.
37445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37446 <limits.h> exists even on freestanding compilers. */
37448 # include <limits.h>
37450 # include <assert.h>
37452 /* Override any gcc2 internal prototype to avoid an error. */
37457 /* We use char because int might match the return type of a gcc2
37458 builtin and then its argument prototype would still apply. */
37460 /* The GNU C library defines this for functions which it implements
37461 to always fail with ENOSYS. Some functions are actually named
37462 something starting with __ and the normal name is an alias. */
37463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37466 char (*f) () = $ac_func;
37475 return f != $ac_func;
37480 rm -f conftest.$ac_objext conftest$ac_exeext
37481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37482 (eval $ac_link) 2>&5
37484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485 (exit $ac_status); } &&
37486 { ac_try='test -s conftest$ac_exeext'
37487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37488 (eval $ac_try) 2>&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); }; }; then
37492 eval "$as_ac_var=yes"
37494 echo "$as_me: failed program was:" >&5
37495 sed 's/^/| /' conftest.$ac_ext >&5
37497 eval "$as_ac_var=no"
37499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37503 if test `eval echo '${'$as_ac_var'}'` = yes; then
37504 cat >>confdefs.h <<_ACEOF
37505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37513 echo "$as_me:$LINENO: checking for _expl declaration" >&5
37514 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37515 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37516 if test "${glibcxx_cv_func__expl_use+set}" = set; then
37517 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 ac_cpp='$CXXCPP $CPPFLAGS'
37524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37528 cat >conftest.$ac_ext <<_ACEOF
37529 #line $LINENO "configure"
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37536 #ifdef HAVE_IEEEFP_H
37537 #include <ieeefp.h>
37548 rm -f conftest.$ac_objext
37549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37550 (eval $ac_compile) 2>&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } &&
37554 { ac_try='test -s conftest.$ac_objext'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; }; then
37560 glibcxx_cv_func__expl_use=yes
37562 echo "$as_me: failed program was:" >&5
37563 sed 's/^/| /' conftest.$ac_ext >&5
37565 glibcxx_cv_func__expl_use=no
37567 rm -f conftest.$ac_objext conftest.$ac_ext
37569 ac_cpp='$CPP $CPPFLAGS'
37570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37579 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37581 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37583 for ac_func in _expl
37585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37586 echo "$as_me:$LINENO: checking for $ac_func" >&5
37587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37588 if eval "test \"\${$as_ac_var+set}\" = set"; then
37589 echo $ECHO_N "(cached) $ECHO_C" >&6
37591 if test x$gcc_no_link = xyes; then
37592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37594 { (exit 1); exit 1; }; }
37596 cat >conftest.$ac_ext <<_ACEOF
37597 #line $LINENO "configure"
37600 cat confdefs.h >>conftest.$ac_ext
37601 cat >>conftest.$ac_ext <<_ACEOF
37602 /* end confdefs.h. */
37603 /* System header to define __stub macros and hopefully few prototypes,
37604 which can conflict with char $ac_func (); below.
37605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37606 <limits.h> exists even on freestanding compilers. */
37608 # include <limits.h>
37610 # include <assert.h>
37612 /* Override any gcc2 internal prototype to avoid an error. */
37617 /* We use char because int might match the return type of a gcc2
37618 builtin and then its argument prototype would still apply. */
37620 /* The GNU C library defines this for functions which it implements
37621 to always fail with ENOSYS. Some functions are actually named
37622 something starting with __ and the normal name is an alias. */
37623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37626 char (*f) () = $ac_func;
37635 return f != $ac_func;
37640 rm -f conftest.$ac_objext conftest$ac_exeext
37641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37642 (eval $ac_link) 2>&5
37644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37645 (exit $ac_status); } &&
37646 { ac_try='test -s conftest$ac_exeext'
37647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37648 (eval $ac_try) 2>&5
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); }; }; then
37652 eval "$as_ac_var=yes"
37654 echo "$as_me: failed program was:" >&5
37655 sed 's/^/| /' conftest.$ac_ext >&5
37657 eval "$as_ac_var=no"
37659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37663 if test `eval echo '${'$as_ac_var'}'` = yes; then
37664 cat >>confdefs.h <<_ACEOF
37665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37676 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37677 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37678 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37679 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37680 echo $ECHO_N "(cached) $ECHO_C" >&6
37686 ac_cpp='$CXXCPP $CPPFLAGS'
37687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37691 cat >conftest.$ac_ext <<_ACEOF
37692 #line $LINENO "configure"
37695 cat confdefs.h >>conftest.$ac_ext
37696 cat >>conftest.$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37699 #ifdef HAVE_IEEEFP_H
37700 #include <ieeefp.h>
37711 rm -f conftest.$ac_objext
37712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37713 (eval $ac_compile) 2>&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } &&
37717 { ac_try='test -s conftest.$ac_objext'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; }; then
37723 glibcxx_cv_func_fabsl_use=yes
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.$ac_ext >&5
37728 glibcxx_cv_func_fabsl_use=no
37730 rm -f conftest.$ac_objext conftest.$ac_ext
37732 ac_cpp='$CPP $CPPFLAGS'
37733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37742 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37744 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37746 for ac_func in fabsl
37748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37749 echo "$as_me:$LINENO: checking for $ac_func" >&5
37750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37751 if eval "test \"\${$as_ac_var+set}\" = set"; then
37752 echo $ECHO_N "(cached) $ECHO_C" >&6
37754 if test x$gcc_no_link = xyes; then
37755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37757 { (exit 1); exit 1; }; }
37759 cat >conftest.$ac_ext <<_ACEOF
37760 #line $LINENO "configure"
37763 cat confdefs.h >>conftest.$ac_ext
37764 cat >>conftest.$ac_ext <<_ACEOF
37765 /* end confdefs.h. */
37766 /* System header to define __stub macros and hopefully few prototypes,
37767 which can conflict with char $ac_func (); below.
37768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37769 <limits.h> exists even on freestanding compilers. */
37771 # include <limits.h>
37773 # include <assert.h>
37775 /* Override any gcc2 internal prototype to avoid an error. */
37780 /* We use char because int might match the return type of a gcc2
37781 builtin and then its argument prototype would still apply. */
37783 /* The GNU C library defines this for functions which it implements
37784 to always fail with ENOSYS. Some functions are actually named
37785 something starting with __ and the normal name is an alias. */
37786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37789 char (*f) () = $ac_func;
37798 return f != $ac_func;
37803 rm -f conftest.$ac_objext conftest$ac_exeext
37804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37805 (eval $ac_link) 2>&5
37807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808 (exit $ac_status); } &&
37809 { ac_try='test -s conftest$ac_exeext'
37810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37811 (eval $ac_try) 2>&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); }; }; then
37815 eval "$as_ac_var=yes"
37817 echo "$as_me: failed program was:" >&5
37818 sed 's/^/| /' conftest.$ac_ext >&5
37820 eval "$as_ac_var=no"
37822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37826 if test `eval echo '${'$as_ac_var'}'` = yes; then
37827 cat >>confdefs.h <<_ACEOF
37828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37836 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
37837 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
37838 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37839 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
37840 echo $ECHO_N "(cached) $ECHO_C" >&6
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37851 cat >conftest.$ac_ext <<_ACEOF
37852 #line $LINENO "configure"
37855 cat confdefs.h >>conftest.$ac_ext
37856 cat >>conftest.$ac_ext <<_ACEOF
37857 /* end confdefs.h. */
37859 #ifdef HAVE_IEEEFP_H
37860 #include <ieeefp.h>
37871 rm -f conftest.$ac_objext
37872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37873 (eval $ac_compile) 2>&5
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); } &&
37877 { ac_try='test -s conftest.$ac_objext'
37878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879 (eval $ac_try) 2>&5
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); }; }; then
37883 glibcxx_cv_func__fabsl_use=yes
37885 echo "$as_me: failed program was:" >&5
37886 sed 's/^/| /' conftest.$ac_ext >&5
37888 glibcxx_cv_func__fabsl_use=no
37890 rm -f conftest.$ac_objext conftest.$ac_ext
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
37902 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
37904 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37906 for ac_func in _fabsl
37908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37909 echo "$as_me:$LINENO: checking for $ac_func" >&5
37910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37911 if eval "test \"\${$as_ac_var+set}\" = set"; then
37912 echo $ECHO_N "(cached) $ECHO_C" >&6
37914 if test x$gcc_no_link = xyes; then
37915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37917 { (exit 1); exit 1; }; }
37919 cat >conftest.$ac_ext <<_ACEOF
37920 #line $LINENO "configure"
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37926 /* System header to define __stub macros and hopefully few prototypes,
37927 which can conflict with char $ac_func (); below.
37928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37929 <limits.h> exists even on freestanding compilers. */
37931 # include <limits.h>
37933 # include <assert.h>
37935 /* Override any gcc2 internal prototype to avoid an error. */
37940 /* We use char because int might match the return type of a gcc2
37941 builtin and then its argument prototype would still apply. */
37943 /* The GNU C library defines this for functions which it implements
37944 to always fail with ENOSYS. Some functions are actually named
37945 something starting with __ and the normal name is an alias. */
37946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37949 char (*f) () = $ac_func;
37958 return f != $ac_func;
37963 rm -f conftest.$ac_objext conftest$ac_exeext
37964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37965 (eval $ac_link) 2>&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); } &&
37969 { ac_try='test -s conftest$ac_exeext'
37970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37971 (eval $ac_try) 2>&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); }; }; then
37975 eval "$as_ac_var=yes"
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.$ac_ext >&5
37980 eval "$as_ac_var=no"
37982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37986 if test `eval echo '${'$as_ac_var'}'` = yes; then
37987 cat >>confdefs.h <<_ACEOF
37988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37999 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38000 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38001 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38002 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38003 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014 cat >conftest.$ac_ext <<_ACEOF
38015 #line $LINENO "configure"
38018 cat confdefs.h >>conftest.$ac_ext
38019 cat >>conftest.$ac_ext <<_ACEOF
38020 /* end confdefs.h. */
38030 rm -f conftest.$ac_objext
38031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38032 (eval $ac_compile) 2>&5
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); } &&
38036 { ac_try='test -s conftest.$ac_objext'
38037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38038 (eval $ac_try) 2>&5
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); }; }; then
38042 glibcxx_cv_func_fmodl_use=yes
38044 echo "$as_me: failed program was:" >&5
38045 sed 's/^/| /' conftest.$ac_ext >&5
38047 glibcxx_cv_func_fmodl_use=no
38049 rm -f conftest.$ac_objext conftest.$ac_ext
38051 ac_cpp='$CPP $CPPFLAGS'
38052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38061 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38063 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38065 for ac_func in fmodl
38067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38068 echo "$as_me:$LINENO: checking for $ac_func" >&5
38069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38070 if eval "test \"\${$as_ac_var+set}\" = set"; then
38071 echo $ECHO_N "(cached) $ECHO_C" >&6
38073 if test x$gcc_no_link = xyes; then
38074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38076 { (exit 1); exit 1; }; }
38078 cat >conftest.$ac_ext <<_ACEOF
38079 #line $LINENO "configure"
38082 cat confdefs.h >>conftest.$ac_ext
38083 cat >>conftest.$ac_ext <<_ACEOF
38084 /* end confdefs.h. */
38085 /* System header to define __stub macros and hopefully few prototypes,
38086 which can conflict with char $ac_func (); below.
38087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38088 <limits.h> exists even on freestanding compilers. */
38090 # include <limits.h>
38092 # include <assert.h>
38094 /* Override any gcc2 internal prototype to avoid an error. */
38099 /* We use char because int might match the return type of a gcc2
38100 builtin and then its argument prototype would still apply. */
38102 /* The GNU C library defines this for functions which it implements
38103 to always fail with ENOSYS. Some functions are actually named
38104 something starting with __ and the normal name is an alias. */
38105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38108 char (*f) () = $ac_func;
38117 return f != $ac_func;
38122 rm -f conftest.$ac_objext conftest$ac_exeext
38123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38124 (eval $ac_link) 2>&5
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); } &&
38128 { ac_try='test -s conftest$ac_exeext'
38129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38130 (eval $ac_try) 2>&5
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); }; }; then
38134 eval "$as_ac_var=yes"
38136 echo "$as_me: failed program was:" >&5
38137 sed 's/^/| /' conftest.$ac_ext >&5
38139 eval "$as_ac_var=no"
38141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38145 if test `eval echo '${'$as_ac_var'}'` = yes; then
38146 cat >>confdefs.h <<_ACEOF
38147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38155 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38156 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38157 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38158 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 ac_cpp='$CXXCPP $CPPFLAGS'
38166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38170 cat >conftest.$ac_ext <<_ACEOF
38171 #line $LINENO "configure"
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38186 rm -f conftest.$ac_objext
38187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38188 (eval $ac_compile) 2>&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); } &&
38192 { ac_try='test -s conftest.$ac_objext'
38193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38194 (eval $ac_try) 2>&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); }; }; then
38198 glibcxx_cv_func__fmodl_use=yes
38200 echo "$as_me: failed program was:" >&5
38201 sed 's/^/| /' conftest.$ac_ext >&5
38203 glibcxx_cv_func__fmodl_use=no
38205 rm -f conftest.$ac_objext conftest.$ac_ext
38207 ac_cpp='$CPP $CPPFLAGS'
38208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38217 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38219 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38221 for ac_func in _fmodl
38223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38224 echo "$as_me:$LINENO: checking for $ac_func" >&5
38225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38226 if eval "test \"\${$as_ac_var+set}\" = set"; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 if test x$gcc_no_link = xyes; then
38230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38232 { (exit 1); exit 1; }; }
38234 cat >conftest.$ac_ext <<_ACEOF
38235 #line $LINENO "configure"
38238 cat confdefs.h >>conftest.$ac_ext
38239 cat >>conftest.$ac_ext <<_ACEOF
38240 /* end confdefs.h. */
38241 /* System header to define __stub macros and hopefully few prototypes,
38242 which can conflict with char $ac_func (); below.
38243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38244 <limits.h> exists even on freestanding compilers. */
38246 # include <limits.h>
38248 # include <assert.h>
38250 /* Override any gcc2 internal prototype to avoid an error. */
38255 /* We use char because int might match the return type of a gcc2
38256 builtin and then its argument prototype would still apply. */
38258 /* The GNU C library defines this for functions which it implements
38259 to always fail with ENOSYS. Some functions are actually named
38260 something starting with __ and the normal name is an alias. */
38261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38264 char (*f) () = $ac_func;
38273 return f != $ac_func;
38278 rm -f conftest.$ac_objext conftest$ac_exeext
38279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38280 (eval $ac_link) 2>&5
38282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38283 (exit $ac_status); } &&
38284 { ac_try='test -s conftest$ac_exeext'
38285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38286 (eval $ac_try) 2>&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); }; }; then
38290 eval "$as_ac_var=yes"
38292 echo "$as_me: failed program was:" >&5
38293 sed 's/^/| /' conftest.$ac_ext >&5
38295 eval "$as_ac_var=no"
38297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38301 if test `eval echo '${'$as_ac_var'}'` = yes; then
38302 cat >>confdefs.h <<_ACEOF
38303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38314 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38315 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38316 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38317 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38318 echo $ECHO_N "(cached) $ECHO_C" >&6
38324 ac_cpp='$CXXCPP $CPPFLAGS'
38325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38329 cat >conftest.$ac_ext <<_ACEOF
38330 #line $LINENO "configure"
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38345 rm -f conftest.$ac_objext
38346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38347 (eval $ac_compile) 2>&5
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); } &&
38351 { ac_try='test -s conftest.$ac_objext'
38352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353 (eval $ac_try) 2>&5
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); }; }; then
38357 glibcxx_cv_func_frexpl_use=yes
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38362 glibcxx_cv_func_frexpl_use=no
38364 rm -f conftest.$ac_objext conftest.$ac_ext
38366 ac_cpp='$CPP $CPPFLAGS'
38367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38376 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38378 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38380 for ac_func in frexpl
38382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38383 echo "$as_me:$LINENO: checking for $ac_func" >&5
38384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38385 if eval "test \"\${$as_ac_var+set}\" = set"; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38388 if test x$gcc_no_link = xyes; then
38389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38391 { (exit 1); exit 1; }; }
38393 cat >conftest.$ac_ext <<_ACEOF
38394 #line $LINENO "configure"
38397 cat confdefs.h >>conftest.$ac_ext
38398 cat >>conftest.$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38400 /* System header to define __stub macros and hopefully few prototypes,
38401 which can conflict with char $ac_func (); below.
38402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38403 <limits.h> exists even on freestanding compilers. */
38405 # include <limits.h>
38407 # include <assert.h>
38409 /* Override any gcc2 internal prototype to avoid an error. */
38414 /* We use char because int might match the return type of a gcc2
38415 builtin and then its argument prototype would still apply. */
38417 /* The GNU C library defines this for functions which it implements
38418 to always fail with ENOSYS. Some functions are actually named
38419 something starting with __ and the normal name is an alias. */
38420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38423 char (*f) () = $ac_func;
38432 return f != $ac_func;
38437 rm -f conftest.$ac_objext conftest$ac_exeext
38438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38439 (eval $ac_link) 2>&5
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); } &&
38443 { ac_try='test -s conftest$ac_exeext'
38444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38445 (eval $ac_try) 2>&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); }; }; then
38449 eval "$as_ac_var=yes"
38451 echo "$as_me: failed program was:" >&5
38452 sed 's/^/| /' conftest.$ac_ext >&5
38454 eval "$as_ac_var=no"
38456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38460 if test `eval echo '${'$as_ac_var'}'` = yes; then
38461 cat >>confdefs.h <<_ACEOF
38462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38470 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38471 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38474 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 ac_cpp='$CXXCPP $CPPFLAGS'
38481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38485 cat >conftest.$ac_ext <<_ACEOF
38486 #line $LINENO "configure"
38489 cat confdefs.h >>conftest.$ac_ext
38490 cat >>conftest.$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38501 rm -f conftest.$ac_objext
38502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38503 (eval $ac_compile) 2>&5
38505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38506 (exit $ac_status); } &&
38507 { ac_try='test -s conftest.$ac_objext'
38508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38509 (eval $ac_try) 2>&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); }; }; then
38513 glibcxx_cv_func__frexpl_use=yes
38515 echo "$as_me: failed program was:" >&5
38516 sed 's/^/| /' conftest.$ac_ext >&5
38518 glibcxx_cv_func__frexpl_use=no
38520 rm -f conftest.$ac_objext conftest.$ac_ext
38522 ac_cpp='$CPP $CPPFLAGS'
38523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38532 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38534 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38536 for ac_func in _frexpl
38538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38539 echo "$as_me:$LINENO: checking for $ac_func" >&5
38540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38541 if eval "test \"\${$as_ac_var+set}\" = set"; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38544 if test x$gcc_no_link = xyes; then
38545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38547 { (exit 1); exit 1; }; }
38549 cat >conftest.$ac_ext <<_ACEOF
38550 #line $LINENO "configure"
38553 cat confdefs.h >>conftest.$ac_ext
38554 cat >>conftest.$ac_ext <<_ACEOF
38555 /* end confdefs.h. */
38556 /* System header to define __stub macros and hopefully few prototypes,
38557 which can conflict with char $ac_func (); below.
38558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38559 <limits.h> exists even on freestanding compilers. */
38561 # include <limits.h>
38563 # include <assert.h>
38565 /* Override any gcc2 internal prototype to avoid an error. */
38570 /* We use char because int might match the return type of a gcc2
38571 builtin and then its argument prototype would still apply. */
38573 /* The GNU C library defines this for functions which it implements
38574 to always fail with ENOSYS. Some functions are actually named
38575 something starting with __ and the normal name is an alias. */
38576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38579 char (*f) () = $ac_func;
38588 return f != $ac_func;
38593 rm -f conftest.$ac_objext conftest$ac_exeext
38594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38595 (eval $ac_link) 2>&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } &&
38599 { ac_try='test -s conftest$ac_exeext'
38600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38601 (eval $ac_try) 2>&5
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); }; }; then
38605 eval "$as_ac_var=yes"
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.$ac_ext >&5
38610 eval "$as_ac_var=no"
38612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38616 if test `eval echo '${'$as_ac_var'}'` = yes; then
38617 cat >>confdefs.h <<_ACEOF
38618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38629 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38630 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38631 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38632 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38633 echo $ECHO_N "(cached) $ECHO_C" >&6
38639 ac_cpp='$CXXCPP $CPPFLAGS'
38640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38644 cat >conftest.$ac_ext <<_ACEOF
38645 #line $LINENO "configure"
38648 cat confdefs.h >>conftest.$ac_ext
38649 cat >>conftest.$ac_ext <<_ACEOF
38650 /* end confdefs.h. */
38660 rm -f conftest.$ac_objext
38661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38662 (eval $ac_compile) 2>&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); } &&
38666 { ac_try='test -s conftest.$ac_objext'
38667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38668 (eval $ac_try) 2>&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); }; }; then
38672 glibcxx_cv_func_hypotl_use=yes
38674 echo "$as_me: failed program was:" >&5
38675 sed 's/^/| /' conftest.$ac_ext >&5
38677 glibcxx_cv_func_hypotl_use=no
38679 rm -f conftest.$ac_objext conftest.$ac_ext
38681 ac_cpp='$CPP $CPPFLAGS'
38682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38691 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38693 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38695 for ac_func in hypotl
38697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38698 echo "$as_me:$LINENO: checking for $ac_func" >&5
38699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38700 if eval "test \"\${$as_ac_var+set}\" = set"; then
38701 echo $ECHO_N "(cached) $ECHO_C" >&6
38703 if test x$gcc_no_link = xyes; then
38704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38706 { (exit 1); exit 1; }; }
38708 cat >conftest.$ac_ext <<_ACEOF
38709 #line $LINENO "configure"
38712 cat confdefs.h >>conftest.$ac_ext
38713 cat >>conftest.$ac_ext <<_ACEOF
38714 /* end confdefs.h. */
38715 /* System header to define __stub macros and hopefully few prototypes,
38716 which can conflict with char $ac_func (); below.
38717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38718 <limits.h> exists even on freestanding compilers. */
38720 # include <limits.h>
38722 # include <assert.h>
38724 /* Override any gcc2 internal prototype to avoid an error. */
38729 /* We use char because int might match the return type of a gcc2
38730 builtin and then its argument prototype would still apply. */
38732 /* The GNU C library defines this for functions which it implements
38733 to always fail with ENOSYS. Some functions are actually named
38734 something starting with __ and the normal name is an alias. */
38735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38738 char (*f) () = $ac_func;
38747 return f != $ac_func;
38752 rm -f conftest.$ac_objext conftest$ac_exeext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38754 (eval $ac_link) 2>&5
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); } &&
38758 { ac_try='test -s conftest$ac_exeext'
38759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38760 (eval $ac_try) 2>&5
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); }; }; then
38764 eval "$as_ac_var=yes"
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38769 eval "$as_ac_var=no"
38771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38775 if test `eval echo '${'$as_ac_var'}'` = yes; then
38776 cat >>confdefs.h <<_ACEOF
38777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38785 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38786 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38787 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38788 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38789 echo $ECHO_N "(cached) $ECHO_C" >&6
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38800 cat >conftest.$ac_ext <<_ACEOF
38801 #line $LINENO "configure"
38804 cat confdefs.h >>conftest.$ac_ext
38805 cat >>conftest.$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38816 rm -f conftest.$ac_objext
38817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38818 (eval $ac_compile) 2>&5
38820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821 (exit $ac_status); } &&
38822 { ac_try='test -s conftest.$ac_objext'
38823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38824 (eval $ac_try) 2>&5
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); }; }; then
38828 glibcxx_cv_func__hypotl_use=yes
38830 echo "$as_me: failed program was:" >&5
38831 sed 's/^/| /' conftest.$ac_ext >&5
38833 glibcxx_cv_func__hypotl_use=no
38835 rm -f conftest.$ac_objext conftest.$ac_ext
38837 ac_cpp='$CPP $CPPFLAGS'
38838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
38847 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
38849 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38851 for ac_func in _hypotl
38853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38854 echo "$as_me:$LINENO: checking for $ac_func" >&5
38855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38856 if eval "test \"\${$as_ac_var+set}\" = set"; then
38857 echo $ECHO_N "(cached) $ECHO_C" >&6
38859 if test x$gcc_no_link = xyes; then
38860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38862 { (exit 1); exit 1; }; }
38864 cat >conftest.$ac_ext <<_ACEOF
38865 #line $LINENO "configure"
38868 cat confdefs.h >>conftest.$ac_ext
38869 cat >>conftest.$ac_ext <<_ACEOF
38870 /* end confdefs.h. */
38871 /* System header to define __stub macros and hopefully few prototypes,
38872 which can conflict with char $ac_func (); below.
38873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38874 <limits.h> exists even on freestanding compilers. */
38876 # include <limits.h>
38878 # include <assert.h>
38880 /* Override any gcc2 internal prototype to avoid an error. */
38885 /* We use char because int might match the return type of a gcc2
38886 builtin and then its argument prototype would still apply. */
38888 /* The GNU C library defines this for functions which it implements
38889 to always fail with ENOSYS. Some functions are actually named
38890 something starting with __ and the normal name is an alias. */
38891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38894 char (*f) () = $ac_func;
38903 return f != $ac_func;
38908 rm -f conftest.$ac_objext conftest$ac_exeext
38909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38910 (eval $ac_link) 2>&5
38912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913 (exit $ac_status); } &&
38914 { ac_try='test -s conftest$ac_exeext'
38915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38916 (eval $ac_try) 2>&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); }; }; then
38920 eval "$as_ac_var=yes"
38922 echo "$as_me: failed program was:" >&5
38923 sed 's/^/| /' conftest.$ac_ext >&5
38925 eval "$as_ac_var=no"
38927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38931 if test `eval echo '${'$as_ac_var'}'` = yes; then
38932 cat >>confdefs.h <<_ACEOF
38933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38944 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
38945 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
38946 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38947 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
38948 echo $ECHO_N "(cached) $ECHO_C" >&6
38954 ac_cpp='$CXXCPP $CPPFLAGS'
38955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38959 cat >conftest.$ac_ext <<_ACEOF
38960 #line $LINENO "configure"
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38975 rm -f conftest.$ac_objext
38976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38977 (eval $ac_compile) 2>&5
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); } &&
38981 { ac_try='test -s conftest.$ac_objext'
38982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38983 (eval $ac_try) 2>&5
38985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38986 (exit $ac_status); }; }; then
38987 glibcxx_cv_func_ldexpl_use=yes
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38992 glibcxx_cv_func_ldexpl_use=no
38994 rm -f conftest.$ac_objext conftest.$ac_ext
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39006 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39008 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39010 for ac_func in ldexpl
39012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39013 echo "$as_me:$LINENO: checking for $ac_func" >&5
39014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39015 if eval "test \"\${$as_ac_var+set}\" = set"; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39018 if test x$gcc_no_link = xyes; then
39019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39021 { (exit 1); exit 1; }; }
39023 cat >conftest.$ac_ext <<_ACEOF
39024 #line $LINENO "configure"
39027 cat confdefs.h >>conftest.$ac_ext
39028 cat >>conftest.$ac_ext <<_ACEOF
39029 /* end confdefs.h. */
39030 /* System header to define __stub macros and hopefully few prototypes,
39031 which can conflict with char $ac_func (); below.
39032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39033 <limits.h> exists even on freestanding compilers. */
39035 # include <limits.h>
39037 # include <assert.h>
39039 /* Override any gcc2 internal prototype to avoid an error. */
39044 /* We use char because int might match the return type of a gcc2
39045 builtin and then its argument prototype would still apply. */
39047 /* The GNU C library defines this for functions which it implements
39048 to always fail with ENOSYS. Some functions are actually named
39049 something starting with __ and the normal name is an alias. */
39050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39053 char (*f) () = $ac_func;
39062 return f != $ac_func;
39067 rm -f conftest.$ac_objext conftest$ac_exeext
39068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39069 (eval $ac_link) 2>&5
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); } &&
39073 { ac_try='test -s conftest$ac_exeext'
39074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39075 (eval $ac_try) 2>&5
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); }; }; then
39079 eval "$as_ac_var=yes"
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39084 eval "$as_ac_var=no"
39086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39090 if test `eval echo '${'$as_ac_var'}'` = yes; then
39091 cat >>confdefs.h <<_ACEOF
39092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39100 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39101 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39102 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39103 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39104 echo $ECHO_N "(cached) $ECHO_C" >&6
39110 ac_cpp='$CXXCPP $CPPFLAGS'
39111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39115 cat >conftest.$ac_ext <<_ACEOF
39116 #line $LINENO "configure"
39119 cat confdefs.h >>conftest.$ac_ext
39120 cat >>conftest.$ac_ext <<_ACEOF
39121 /* end confdefs.h. */
39131 rm -f conftest.$ac_objext
39132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39133 (eval $ac_compile) 2>&5
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); } &&
39137 { ac_try='test -s conftest.$ac_objext'
39138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39139 (eval $ac_try) 2>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); }; }; then
39143 glibcxx_cv_func__ldexpl_use=yes
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39148 glibcxx_cv_func__ldexpl_use=no
39150 rm -f conftest.$ac_objext conftest.$ac_ext
39152 ac_cpp='$CPP $CPPFLAGS'
39153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39162 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39164 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39166 for ac_func in _ldexpl
39168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39169 echo "$as_me:$LINENO: checking for $ac_func" >&5
39170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39171 if eval "test \"\${$as_ac_var+set}\" = set"; then
39172 echo $ECHO_N "(cached) $ECHO_C" >&6
39174 if test x$gcc_no_link = xyes; then
39175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39177 { (exit 1); exit 1; }; }
39179 cat >conftest.$ac_ext <<_ACEOF
39180 #line $LINENO "configure"
39183 cat confdefs.h >>conftest.$ac_ext
39184 cat >>conftest.$ac_ext <<_ACEOF
39185 /* end confdefs.h. */
39186 /* System header to define __stub macros and hopefully few prototypes,
39187 which can conflict with char $ac_func (); below.
39188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39189 <limits.h> exists even on freestanding compilers. */
39191 # include <limits.h>
39193 # include <assert.h>
39195 /* Override any gcc2 internal prototype to avoid an error. */
39200 /* We use char because int might match the return type of a gcc2
39201 builtin and then its argument prototype would still apply. */
39203 /* The GNU C library defines this for functions which it implements
39204 to always fail with ENOSYS. Some functions are actually named
39205 something starting with __ and the normal name is an alias. */
39206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39209 char (*f) () = $ac_func;
39218 return f != $ac_func;
39223 rm -f conftest.$ac_objext conftest$ac_exeext
39224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39225 (eval $ac_link) 2>&5
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); } &&
39229 { ac_try='test -s conftest$ac_exeext'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; }; then
39235 eval "$as_ac_var=yes"
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.$ac_ext >&5
39240 eval "$as_ac_var=no"
39242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39246 if test `eval echo '${'$as_ac_var'}'` = yes; then
39247 cat >>confdefs.h <<_ACEOF
39248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39259 echo "$as_me:$LINENO: checking for logl declaration" >&5
39260 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39261 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39262 if test "${glibcxx_cv_func_logl_use+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39269 ac_cpp='$CXXCPP $CPPFLAGS'
39270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39274 cat >conftest.$ac_ext <<_ACEOF
39275 #line $LINENO "configure"
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39282 #ifdef HAVE_IEEEFP_H
39283 #include <ieeefp.h>
39294 rm -f conftest.$ac_objext
39295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39296 (eval $ac_compile) 2>&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } &&
39300 { ac_try='test -s conftest.$ac_objext'
39301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39302 (eval $ac_try) 2>&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); }; }; then
39306 glibcxx_cv_func_logl_use=yes
39308 echo "$as_me: failed program was:" >&5
39309 sed 's/^/| /' conftest.$ac_ext >&5
39311 glibcxx_cv_func_logl_use=no
39313 rm -f conftest.$ac_objext conftest.$ac_ext
39315 ac_cpp='$CPP $CPPFLAGS'
39316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39324 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39325 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39327 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39329 for ac_func in logl
39331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39332 echo "$as_me:$LINENO: checking for $ac_func" >&5
39333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39334 if eval "test \"\${$as_ac_var+set}\" = set"; then
39335 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 if test x$gcc_no_link = xyes; then
39338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39340 { (exit 1); exit 1; }; }
39342 cat >conftest.$ac_ext <<_ACEOF
39343 #line $LINENO "configure"
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h. */
39349 /* System header to define __stub macros and hopefully few prototypes,
39350 which can conflict with char $ac_func (); below.
39351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39352 <limits.h> exists even on freestanding compilers. */
39354 # include <limits.h>
39356 # include <assert.h>
39358 /* Override any gcc2 internal prototype to avoid an error. */
39363 /* We use char because int might match the return type of a gcc2
39364 builtin and then its argument prototype would still apply. */
39366 /* The GNU C library defines this for functions which it implements
39367 to always fail with ENOSYS. Some functions are actually named
39368 something starting with __ and the normal name is an alias. */
39369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39372 char (*f) () = $ac_func;
39381 return f != $ac_func;
39386 rm -f conftest.$ac_objext conftest$ac_exeext
39387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39388 (eval $ac_link) 2>&5
39390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39391 (exit $ac_status); } &&
39392 { ac_try='test -s conftest$ac_exeext'
39393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39394 (eval $ac_try) 2>&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); }; }; then
39398 eval "$as_ac_var=yes"
39400 echo "$as_me: failed program was:" >&5
39401 sed 's/^/| /' conftest.$ac_ext >&5
39403 eval "$as_ac_var=no"
39405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39409 if test `eval echo '${'$as_ac_var'}'` = yes; then
39410 cat >>confdefs.h <<_ACEOF
39411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39419 echo "$as_me:$LINENO: checking for _logl declaration" >&5
39420 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39421 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39422 if test "${glibcxx_cv_func__logl_use+set}" = set; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39429 ac_cpp='$CXXCPP $CPPFLAGS'
39430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39434 cat >conftest.$ac_ext <<_ACEOF
39435 #line $LINENO "configure"
39438 cat confdefs.h >>conftest.$ac_ext
39439 cat >>conftest.$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39442 #ifdef HAVE_IEEEFP_H
39443 #include <ieeefp.h>
39454 rm -f conftest.$ac_objext
39455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39456 (eval $ac_compile) 2>&5
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); } &&
39460 { ac_try='test -s conftest.$ac_objext'
39461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462 (eval $ac_try) 2>&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; }; then
39466 glibcxx_cv_func__logl_use=yes
39468 echo "$as_me: failed program was:" >&5
39469 sed 's/^/| /' conftest.$ac_ext >&5
39471 glibcxx_cv_func__logl_use=no
39473 rm -f conftest.$ac_objext conftest.$ac_ext
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39485 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39487 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39489 for ac_func in _logl
39491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39492 echo "$as_me:$LINENO: checking for $ac_func" >&5
39493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39494 if eval "test \"\${$as_ac_var+set}\" = set"; then
39495 echo $ECHO_N "(cached) $ECHO_C" >&6
39497 if test x$gcc_no_link = xyes; then
39498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39500 { (exit 1); exit 1; }; }
39502 cat >conftest.$ac_ext <<_ACEOF
39503 #line $LINENO "configure"
39506 cat confdefs.h >>conftest.$ac_ext
39507 cat >>conftest.$ac_ext <<_ACEOF
39508 /* end confdefs.h. */
39509 /* System header to define __stub macros and hopefully few prototypes,
39510 which can conflict with char $ac_func (); below.
39511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39512 <limits.h> exists even on freestanding compilers. */
39514 # include <limits.h>
39516 # include <assert.h>
39518 /* Override any gcc2 internal prototype to avoid an error. */
39523 /* We use char because int might match the return type of a gcc2
39524 builtin and then its argument prototype would still apply. */
39526 /* The GNU C library defines this for functions which it implements
39527 to always fail with ENOSYS. Some functions are actually named
39528 something starting with __ and the normal name is an alias. */
39529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39532 char (*f) () = $ac_func;
39541 return f != $ac_func;
39546 rm -f conftest.$ac_objext conftest$ac_exeext
39547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39548 (eval $ac_link) 2>&5
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); } &&
39552 { ac_try='test -s conftest$ac_exeext'
39553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39554 (eval $ac_try) 2>&5
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); }; }; then
39558 eval "$as_ac_var=yes"
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39563 eval "$as_ac_var=no"
39565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39569 if test `eval echo '${'$as_ac_var'}'` = yes; then
39570 cat >>confdefs.h <<_ACEOF
39571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39582 echo "$as_me:$LINENO: checking for log10l declaration" >&5
39583 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39584 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39585 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39586 echo $ECHO_N "(cached) $ECHO_C" >&6
39592 ac_cpp='$CXXCPP $CPPFLAGS'
39593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39597 cat >conftest.$ac_ext <<_ACEOF
39598 #line $LINENO "configure"
39601 cat confdefs.h >>conftest.$ac_ext
39602 cat >>conftest.$ac_ext <<_ACEOF
39603 /* end confdefs.h. */
39605 #ifdef HAVE_IEEEFP_H
39606 #include <ieeefp.h>
39617 rm -f conftest.$ac_objext
39618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39619 (eval $ac_compile) 2>&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); } &&
39623 { ac_try='test -s conftest.$ac_objext'
39624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39625 (eval $ac_try) 2>&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); }; }; then
39629 glibcxx_cv_func_log10l_use=yes
39631 echo "$as_me: failed program was:" >&5
39632 sed 's/^/| /' conftest.$ac_ext >&5
39634 glibcxx_cv_func_log10l_use=no
39636 rm -f conftest.$ac_objext conftest.$ac_ext
39638 ac_cpp='$CPP $CPPFLAGS'
39639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39648 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39650 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39652 for ac_func in log10l
39654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39655 echo "$as_me:$LINENO: checking for $ac_func" >&5
39656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39657 if eval "test \"\${$as_ac_var+set}\" = set"; then
39658 echo $ECHO_N "(cached) $ECHO_C" >&6
39660 if test x$gcc_no_link = xyes; then
39661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39663 { (exit 1); exit 1; }; }
39665 cat >conftest.$ac_ext <<_ACEOF
39666 #line $LINENO "configure"
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 /* System header to define __stub macros and hopefully few prototypes,
39673 which can conflict with char $ac_func (); below.
39674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39675 <limits.h> exists even on freestanding compilers. */
39677 # include <limits.h>
39679 # include <assert.h>
39681 /* Override any gcc2 internal prototype to avoid an error. */
39686 /* We use char because int might match the return type of a gcc2
39687 builtin and then its argument prototype would still apply. */
39689 /* The GNU C library defines this for functions which it implements
39690 to always fail with ENOSYS. Some functions are actually named
39691 something starting with __ and the normal name is an alias. */
39692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39695 char (*f) () = $ac_func;
39704 return f != $ac_func;
39709 rm -f conftest.$ac_objext conftest$ac_exeext
39710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39711 (eval $ac_link) 2>&5
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); } &&
39715 { ac_try='test -s conftest$ac_exeext'
39716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39717 (eval $ac_try) 2>&5
39719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39720 (exit $ac_status); }; }; then
39721 eval "$as_ac_var=yes"
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39726 eval "$as_ac_var=no"
39728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39732 if test `eval echo '${'$as_ac_var'}'` = yes; then
39733 cat >>confdefs.h <<_ACEOF
39734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39742 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
39743 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
39744 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39745 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
39746 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 ac_cpp='$CXXCPP $CPPFLAGS'
39753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39757 cat >conftest.$ac_ext <<_ACEOF
39758 #line $LINENO "configure"
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39765 #ifdef HAVE_IEEEFP_H
39766 #include <ieeefp.h>
39777 rm -f conftest.$ac_objext
39778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39779 (eval $ac_compile) 2>&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } &&
39783 { ac_try='test -s conftest.$ac_objext'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; }; then
39789 glibcxx_cv_func__log10l_use=yes
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39794 glibcxx_cv_func__log10l_use=no
39796 rm -f conftest.$ac_objext conftest.$ac_ext
39798 ac_cpp='$CPP $CPPFLAGS'
39799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
39808 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
39810 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39812 for ac_func in _log10l
39814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39815 echo "$as_me:$LINENO: checking for $ac_func" >&5
39816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39817 if eval "test \"\${$as_ac_var+set}\" = set"; then
39818 echo $ECHO_N "(cached) $ECHO_C" >&6
39820 if test x$gcc_no_link = xyes; then
39821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39823 { (exit 1); exit 1; }; }
39825 cat >conftest.$ac_ext <<_ACEOF
39826 #line $LINENO "configure"
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832 /* System header to define __stub macros and hopefully few prototypes,
39833 which can conflict with char $ac_func (); below.
39834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39835 <limits.h> exists even on freestanding compilers. */
39837 # include <limits.h>
39839 # include <assert.h>
39841 /* Override any gcc2 internal prototype to avoid an error. */
39846 /* We use char because int might match the return type of a gcc2
39847 builtin and then its argument prototype would still apply. */
39849 /* The GNU C library defines this for functions which it implements
39850 to always fail with ENOSYS. Some functions are actually named
39851 something starting with __ and the normal name is an alias. */
39852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39855 char (*f) () = $ac_func;
39864 return f != $ac_func;
39869 rm -f conftest.$ac_objext conftest$ac_exeext
39870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39871 (eval $ac_link) 2>&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } &&
39875 { ac_try='test -s conftest$ac_exeext'
39876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39877 (eval $ac_try) 2>&5
39879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39880 (exit $ac_status); }; }; then
39881 eval "$as_ac_var=yes"
39883 echo "$as_me: failed program was:" >&5
39884 sed 's/^/| /' conftest.$ac_ext >&5
39886 eval "$as_ac_var=no"
39888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39892 if test `eval echo '${'$as_ac_var'}'` = yes; then
39893 cat >>confdefs.h <<_ACEOF
39894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39905 echo "$as_me:$LINENO: checking for modfl declaration" >&5
39906 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
39907 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39908 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
39909 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 ac_cpp='$CXXCPP $CPPFLAGS'
39916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39920 cat >conftest.$ac_ext <<_ACEOF
39921 #line $LINENO "configure"
39924 cat confdefs.h >>conftest.$ac_ext
39925 cat >>conftest.$ac_ext <<_ACEOF
39926 /* end confdefs.h. */
39936 rm -f conftest.$ac_objext
39937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39938 (eval $ac_compile) 2>&5
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); } &&
39942 { ac_try='test -s conftest.$ac_objext'
39943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39944 (eval $ac_try) 2>&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); }; }; then
39948 glibcxx_cv_func_modfl_use=yes
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39953 glibcxx_cv_func_modfl_use=no
39955 rm -f conftest.$ac_objext conftest.$ac_ext
39957 ac_cpp='$CPP $CPPFLAGS'
39958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39966 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
39967 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
39969 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39971 for ac_func in modfl
39973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39974 echo "$as_me:$LINENO: checking for $ac_func" >&5
39975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39976 if eval "test \"\${$as_ac_var+set}\" = set"; then
39977 echo $ECHO_N "(cached) $ECHO_C" >&6
39979 if test x$gcc_no_link = xyes; then
39980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39982 { (exit 1); exit 1; }; }
39984 cat >conftest.$ac_ext <<_ACEOF
39985 #line $LINENO "configure"
39988 cat confdefs.h >>conftest.$ac_ext
39989 cat >>conftest.$ac_ext <<_ACEOF
39990 /* end confdefs.h. */
39991 /* System header to define __stub macros and hopefully few prototypes,
39992 which can conflict with char $ac_func (); below.
39993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39994 <limits.h> exists even on freestanding compilers. */
39996 # include <limits.h>
39998 # include <assert.h>
40000 /* Override any gcc2 internal prototype to avoid an error. */
40005 /* We use char because int might match the return type of a gcc2
40006 builtin and then its argument prototype would still apply. */
40008 /* The GNU C library defines this for functions which it implements
40009 to always fail with ENOSYS. Some functions are actually named
40010 something starting with __ and the normal name is an alias. */
40011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40014 char (*f) () = $ac_func;
40023 return f != $ac_func;
40028 rm -f conftest.$ac_objext conftest$ac_exeext
40029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40030 (eval $ac_link) 2>&5
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); } &&
40034 { ac_try='test -s conftest$ac_exeext'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; }; then
40040 eval "$as_ac_var=yes"
40042 echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.$ac_ext >&5
40045 eval "$as_ac_var=no"
40047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40051 if test `eval echo '${'$as_ac_var'}'` = yes; then
40052 cat >>confdefs.h <<_ACEOF
40053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40061 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40062 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40063 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40064 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40065 echo $ECHO_N "(cached) $ECHO_C" >&6
40071 ac_cpp='$CXXCPP $CPPFLAGS'
40072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40076 cat >conftest.$ac_ext <<_ACEOF
40077 #line $LINENO "configure"
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40092 rm -f conftest.$ac_objext
40093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40094 (eval $ac_compile) 2>&5
40096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097 (exit $ac_status); } &&
40098 { ac_try='test -s conftest.$ac_objext'
40099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40100 (eval $ac_try) 2>&5
40102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40103 (exit $ac_status); }; }; then
40104 glibcxx_cv_func__modfl_use=yes
40106 echo "$as_me: failed program was:" >&5
40107 sed 's/^/| /' conftest.$ac_ext >&5
40109 glibcxx_cv_func__modfl_use=no
40111 rm -f conftest.$ac_objext conftest.$ac_ext
40113 ac_cpp='$CPP $CPPFLAGS'
40114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40123 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40125 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40127 for ac_func in _modfl
40129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40130 echo "$as_me:$LINENO: checking for $ac_func" >&5
40131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40132 if eval "test \"\${$as_ac_var+set}\" = set"; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 if test x$gcc_no_link = xyes; then
40136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40138 { (exit 1); exit 1; }; }
40140 cat >conftest.$ac_ext <<_ACEOF
40141 #line $LINENO "configure"
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147 /* System header to define __stub macros and hopefully few prototypes,
40148 which can conflict with char $ac_func (); below.
40149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40150 <limits.h> exists even on freestanding compilers. */
40152 # include <limits.h>
40154 # include <assert.h>
40156 /* Override any gcc2 internal prototype to avoid an error. */
40161 /* We use char because int might match the return type of a gcc2
40162 builtin and then its argument prototype would still apply. */
40164 /* The GNU C library defines this for functions which it implements
40165 to always fail with ENOSYS. Some functions are actually named
40166 something starting with __ and the normal name is an alias. */
40167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40170 char (*f) () = $ac_func;
40179 return f != $ac_func;
40184 rm -f conftest.$ac_objext conftest$ac_exeext
40185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40186 (eval $ac_link) 2>&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } &&
40190 { ac_try='test -s conftest$ac_exeext'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; }; then
40196 eval "$as_ac_var=yes"
40198 echo "$as_me: failed program was:" >&5
40199 sed 's/^/| /' conftest.$ac_ext >&5
40201 eval "$as_ac_var=no"
40203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40207 if test `eval echo '${'$as_ac_var'}'` = yes; then
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40220 echo "$as_me:$LINENO: checking for powl declaration" >&5
40221 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40222 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40223 if test "${glibcxx_cv_func_powl_use+set}" = set; then
40224 echo $ECHO_N "(cached) $ECHO_C" >&6
40230 ac_cpp='$CXXCPP $CPPFLAGS'
40231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40235 cat >conftest.$ac_ext <<_ACEOF
40236 #line $LINENO "configure"
40239 cat confdefs.h >>conftest.$ac_ext
40240 cat >>conftest.$ac_ext <<_ACEOF
40241 /* end confdefs.h. */
40251 rm -f conftest.$ac_objext
40252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40253 (eval $ac_compile) 2>&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); } &&
40257 { ac_try='test -s conftest.$ac_objext'
40258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40259 (eval $ac_try) 2>&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); }; }; then
40263 glibcxx_cv_func_powl_use=yes
40265 echo "$as_me: failed program was:" >&5
40266 sed 's/^/| /' conftest.$ac_ext >&5
40268 glibcxx_cv_func_powl_use=no
40270 rm -f conftest.$ac_objext conftest.$ac_ext
40272 ac_cpp='$CPP $CPPFLAGS'
40273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40282 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40284 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40286 for ac_func in powl
40288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40289 echo "$as_me:$LINENO: checking for $ac_func" >&5
40290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40291 if eval "test \"\${$as_ac_var+set}\" = set"; then
40292 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 if test x$gcc_no_link = xyes; then
40295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40297 { (exit 1); exit 1; }; }
40299 cat >conftest.$ac_ext <<_ACEOF
40300 #line $LINENO "configure"
40303 cat confdefs.h >>conftest.$ac_ext
40304 cat >>conftest.$ac_ext <<_ACEOF
40305 /* end confdefs.h. */
40306 /* System header to define __stub macros and hopefully few prototypes,
40307 which can conflict with char $ac_func (); below.
40308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40309 <limits.h> exists even on freestanding compilers. */
40311 # include <limits.h>
40313 # include <assert.h>
40315 /* Override any gcc2 internal prototype to avoid an error. */
40320 /* We use char because int might match the return type of a gcc2
40321 builtin and then its argument prototype would still apply. */
40323 /* The GNU C library defines this for functions which it implements
40324 to always fail with ENOSYS. Some functions are actually named
40325 something starting with __ and the normal name is an alias. */
40326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40329 char (*f) () = $ac_func;
40338 return f != $ac_func;
40343 rm -f conftest.$ac_objext conftest$ac_exeext
40344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40345 (eval $ac_link) 2>&5
40347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40348 (exit $ac_status); } &&
40349 { ac_try='test -s conftest$ac_exeext'
40350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40351 (eval $ac_try) 2>&5
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); }; }; then
40355 eval "$as_ac_var=yes"
40357 echo "$as_me: failed program was:" >&5
40358 sed 's/^/| /' conftest.$ac_ext >&5
40360 eval "$as_ac_var=no"
40362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40366 if test `eval echo '${'$as_ac_var'}'` = yes; then
40367 cat >>confdefs.h <<_ACEOF
40368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40376 echo "$as_me:$LINENO: checking for _powl declaration" >&5
40377 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40378 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40379 if test "${glibcxx_cv_func__powl_use+set}" = set; then
40380 echo $ECHO_N "(cached) $ECHO_C" >&6
40386 ac_cpp='$CXXCPP $CPPFLAGS'
40387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40391 cat >conftest.$ac_ext <<_ACEOF
40392 #line $LINENO "configure"
40395 cat confdefs.h >>conftest.$ac_ext
40396 cat >>conftest.$ac_ext <<_ACEOF
40397 /* end confdefs.h. */
40407 rm -f conftest.$ac_objext
40408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40409 (eval $ac_compile) 2>&5
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); } &&
40413 { ac_try='test -s conftest.$ac_objext'
40414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40415 (eval $ac_try) 2>&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); }; }; then
40419 glibcxx_cv_func__powl_use=yes
40421 echo "$as_me: failed program was:" >&5
40422 sed 's/^/| /' conftest.$ac_ext >&5
40424 glibcxx_cv_func__powl_use=no
40426 rm -f conftest.$ac_objext conftest.$ac_ext
40428 ac_cpp='$CPP $CPPFLAGS'
40429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40437 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40438 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40440 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40442 for ac_func in _powl
40444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40445 echo "$as_me:$LINENO: checking for $ac_func" >&5
40446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40447 if eval "test \"\${$as_ac_var+set}\" = set"; then
40448 echo $ECHO_N "(cached) $ECHO_C" >&6
40450 if test x$gcc_no_link = xyes; then
40451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40453 { (exit 1); exit 1; }; }
40455 cat >conftest.$ac_ext <<_ACEOF
40456 #line $LINENO "configure"
40459 cat confdefs.h >>conftest.$ac_ext
40460 cat >>conftest.$ac_ext <<_ACEOF
40461 /* end confdefs.h. */
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char $ac_func (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40467 # include <limits.h>
40469 # include <assert.h>
40471 /* Override any gcc2 internal prototype to avoid an error. */
40476 /* We use char because int might match the return type of a gcc2
40477 builtin and then its argument prototype would still apply. */
40479 /* The GNU C library defines this for functions which it implements
40480 to always fail with ENOSYS. Some functions are actually named
40481 something starting with __ and the normal name is an alias. */
40482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40485 char (*f) () = $ac_func;
40494 return f != $ac_func;
40499 rm -f conftest.$ac_objext conftest$ac_exeext
40500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40501 (eval $ac_link) 2>&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } &&
40505 { ac_try='test -s conftest$ac_exeext'
40506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40507 (eval $ac_try) 2>&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); }; }; then
40511 eval "$as_ac_var=yes"
40513 echo "$as_me: failed program was:" >&5
40514 sed 's/^/| /' conftest.$ac_ext >&5
40516 eval "$as_ac_var=no"
40518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40522 if test `eval echo '${'$as_ac_var'}'` = yes; then
40523 cat >>confdefs.h <<_ACEOF
40524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40535 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40536 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40537 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40538 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40539 echo $ECHO_N "(cached) $ECHO_C" >&6
40545 ac_cpp='$CXXCPP $CPPFLAGS'
40546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40550 cat >conftest.$ac_ext <<_ACEOF
40551 #line $LINENO "configure"
40554 cat confdefs.h >>conftest.$ac_ext
40555 cat >>conftest.$ac_ext <<_ACEOF
40556 /* end confdefs.h. */
40558 #ifdef HAVE_IEEEFP_H
40559 #include <ieeefp.h>
40570 rm -f conftest.$ac_objext
40571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40572 (eval $ac_compile) 2>&5
40574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40575 (exit $ac_status); } &&
40576 { ac_try='test -s conftest.$ac_objext'
40577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40578 (eval $ac_try) 2>&5
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); }; }; then
40582 glibcxx_cv_func_sqrtl_use=yes
40584 echo "$as_me: failed program was:" >&5
40585 sed 's/^/| /' conftest.$ac_ext >&5
40587 glibcxx_cv_func_sqrtl_use=no
40589 rm -f conftest.$ac_objext conftest.$ac_ext
40591 ac_cpp='$CPP $CPPFLAGS'
40592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40601 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40603 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40605 for ac_func in sqrtl
40607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40608 echo "$as_me:$LINENO: checking for $ac_func" >&5
40609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40610 if eval "test \"\${$as_ac_var+set}\" = set"; then
40611 echo $ECHO_N "(cached) $ECHO_C" >&6
40613 if test x$gcc_no_link = xyes; then
40614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40616 { (exit 1); exit 1; }; }
40618 cat >conftest.$ac_ext <<_ACEOF
40619 #line $LINENO "configure"
40622 cat confdefs.h >>conftest.$ac_ext
40623 cat >>conftest.$ac_ext <<_ACEOF
40624 /* end confdefs.h. */
40625 /* System header to define __stub macros and hopefully few prototypes,
40626 which can conflict with char $ac_func (); below.
40627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40628 <limits.h> exists even on freestanding compilers. */
40630 # include <limits.h>
40632 # include <assert.h>
40634 /* Override any gcc2 internal prototype to avoid an error. */
40639 /* We use char because int might match the return type of a gcc2
40640 builtin and then its argument prototype would still apply. */
40642 /* The GNU C library defines this for functions which it implements
40643 to always fail with ENOSYS. Some functions are actually named
40644 something starting with __ and the normal name is an alias. */
40645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40648 char (*f) () = $ac_func;
40657 return f != $ac_func;
40662 rm -f conftest.$ac_objext conftest$ac_exeext
40663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40664 (eval $ac_link) 2>&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); } &&
40668 { ac_try='test -s conftest$ac_exeext'
40669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40670 (eval $ac_try) 2>&5
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; }; then
40674 eval "$as_ac_var=yes"
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.$ac_ext >&5
40679 eval "$as_ac_var=no"
40681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40685 if test `eval echo '${'$as_ac_var'}'` = yes; then
40686 cat >>confdefs.h <<_ACEOF
40687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40695 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40696 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40697 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40698 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40705 ac_cpp='$CXXCPP $CPPFLAGS'
40706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40710 cat >conftest.$ac_ext <<_ACEOF
40711 #line $LINENO "configure"
40714 cat confdefs.h >>conftest.$ac_ext
40715 cat >>conftest.$ac_ext <<_ACEOF
40716 /* end confdefs.h. */
40718 #ifdef HAVE_IEEEFP_H
40719 #include <ieeefp.h>
40730 rm -f conftest.$ac_objext
40731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40732 (eval $ac_compile) 2>&5
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); } &&
40736 { ac_try='test -s conftest.$ac_objext'
40737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40738 (eval $ac_try) 2>&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); }; }; then
40742 glibcxx_cv_func__sqrtl_use=yes
40744 echo "$as_me: failed program was:" >&5
40745 sed 's/^/| /' conftest.$ac_ext >&5
40747 glibcxx_cv_func__sqrtl_use=no
40749 rm -f conftest.$ac_objext conftest.$ac_ext
40751 ac_cpp='$CPP $CPPFLAGS'
40752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
40761 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
40763 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40765 for ac_func in _sqrtl
40767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40768 echo "$as_me:$LINENO: checking for $ac_func" >&5
40769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40770 if eval "test \"\${$as_ac_var+set}\" = set"; then
40771 echo $ECHO_N "(cached) $ECHO_C" >&6
40773 if test x$gcc_no_link = xyes; then
40774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40776 { (exit 1); exit 1; }; }
40778 cat >conftest.$ac_ext <<_ACEOF
40779 #line $LINENO "configure"
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40785 /* System header to define __stub macros and hopefully few prototypes,
40786 which can conflict with char $ac_func (); below.
40787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40788 <limits.h> exists even on freestanding compilers. */
40790 # include <limits.h>
40792 # include <assert.h>
40794 /* Override any gcc2 internal prototype to avoid an error. */
40799 /* We use char because int might match the return type of a gcc2
40800 builtin and then its argument prototype would still apply. */
40802 /* The GNU C library defines this for functions which it implements
40803 to always fail with ENOSYS. Some functions are actually named
40804 something starting with __ and the normal name is an alias. */
40805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40808 char (*f) () = $ac_func;
40817 return f != $ac_func;
40822 rm -f conftest.$ac_objext conftest$ac_exeext
40823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40824 (eval $ac_link) 2>&5
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); } &&
40828 { ac_try='test -s conftest$ac_exeext'
40829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40830 (eval $ac_try) 2>&5
40832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40833 (exit $ac_status); }; }; then
40834 eval "$as_ac_var=yes"
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.$ac_ext >&5
40839 eval "$as_ac_var=no"
40841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40845 if test `eval echo '${'$as_ac_var'}'` = yes; then
40846 cat >>confdefs.h <<_ACEOF
40847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40858 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
40859 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
40860 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40861 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
40862 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 ac_cpp='$CXXCPP $CPPFLAGS'
40869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40873 cat >conftest.$ac_ext <<_ACEOF
40874 #line $LINENO "configure"
40877 cat confdefs.h >>conftest.$ac_ext
40878 cat >>conftest.$ac_ext <<_ACEOF
40879 /* end confdefs.h. */
40889 rm -f conftest.$ac_objext
40890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40891 (eval $ac_compile) 2>&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } &&
40895 { ac_try='test -s conftest.$ac_objext'
40896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40897 (eval $ac_try) 2>&5
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); }; }; then
40901 glibcxx_cv_func_sincosl_use=yes
40903 echo "$as_me: failed program was:" >&5
40904 sed 's/^/| /' conftest.$ac_ext >&5
40906 glibcxx_cv_func_sincosl_use=no
40908 rm -f conftest.$ac_objext conftest.$ac_ext
40910 ac_cpp='$CPP $CPPFLAGS'
40911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
40920 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
40922 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40924 for ac_func in sincosl
40926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40927 echo "$as_me:$LINENO: checking for $ac_func" >&5
40928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40929 if eval "test \"\${$as_ac_var+set}\" = set"; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40932 if test x$gcc_no_link = xyes; then
40933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40935 { (exit 1); exit 1; }; }
40937 cat >conftest.$ac_ext <<_ACEOF
40938 #line $LINENO "configure"
40941 cat confdefs.h >>conftest.$ac_ext
40942 cat >>conftest.$ac_ext <<_ACEOF
40943 /* end confdefs.h. */
40944 /* System header to define __stub macros and hopefully few prototypes,
40945 which can conflict with char $ac_func (); below.
40946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40947 <limits.h> exists even on freestanding compilers. */
40949 # include <limits.h>
40951 # include <assert.h>
40953 /* Override any gcc2 internal prototype to avoid an error. */
40958 /* We use char because int might match the return type of a gcc2
40959 builtin and then its argument prototype would still apply. */
40961 /* The GNU C library defines this for functions which it implements
40962 to always fail with ENOSYS. Some functions are actually named
40963 something starting with __ and the normal name is an alias. */
40964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40967 char (*f) () = $ac_func;
40976 return f != $ac_func;
40981 rm -f conftest.$ac_objext conftest$ac_exeext
40982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40983 (eval $ac_link) 2>&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); } &&
40987 { ac_try='test -s conftest$ac_exeext'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; }; then
40993 eval "$as_ac_var=yes"
40995 echo "$as_me: failed program was:" >&5
40996 sed 's/^/| /' conftest.$ac_ext >&5
40998 eval "$as_ac_var=no"
41000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41004 if test `eval echo '${'$as_ac_var'}'` = yes; then
41005 cat >>confdefs.h <<_ACEOF
41006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41014 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41015 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41016 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41017 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41018 echo $ECHO_N "(cached) $ECHO_C" >&6
41024 ac_cpp='$CXXCPP $CPPFLAGS'
41025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41029 cat >conftest.$ac_ext <<_ACEOF
41030 #line $LINENO "configure"
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41045 rm -f conftest.$ac_objext
41046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41047 (eval $ac_compile) 2>&5
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); } &&
41051 { ac_try='test -s conftest.$ac_objext'
41052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053 (eval $ac_try) 2>&5
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); }; }; then
41057 glibcxx_cv_func__sincosl_use=yes
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.$ac_ext >&5
41062 glibcxx_cv_func__sincosl_use=no
41064 rm -f conftest.$ac_objext conftest.$ac_ext
41066 ac_cpp='$CPP $CPPFLAGS'
41067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41076 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41078 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41080 for ac_func in _sincosl
41082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41083 echo "$as_me:$LINENO: checking for $ac_func" >&5
41084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41085 if eval "test \"\${$as_ac_var+set}\" = set"; then
41086 echo $ECHO_N "(cached) $ECHO_C" >&6
41088 if test x$gcc_no_link = xyes; then
41089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41091 { (exit 1); exit 1; }; }
41093 cat >conftest.$ac_ext <<_ACEOF
41094 #line $LINENO "configure"
41097 cat confdefs.h >>conftest.$ac_ext
41098 cat >>conftest.$ac_ext <<_ACEOF
41099 /* end confdefs.h. */
41100 /* System header to define __stub macros and hopefully few prototypes,
41101 which can conflict with char $ac_func (); below.
41102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41103 <limits.h> exists even on freestanding compilers. */
41105 # include <limits.h>
41107 # include <assert.h>
41109 /* Override any gcc2 internal prototype to avoid an error. */
41114 /* We use char because int might match the return type of a gcc2
41115 builtin and then its argument prototype would still apply. */
41117 /* The GNU C library defines this for functions which it implements
41118 to always fail with ENOSYS. Some functions are actually named
41119 something starting with __ and the normal name is an alias. */
41120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41123 char (*f) () = $ac_func;
41132 return f != $ac_func;
41137 rm -f conftest.$ac_objext conftest$ac_exeext
41138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41139 (eval $ac_link) 2>&5
41141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41142 (exit $ac_status); } &&
41143 { ac_try='test -s conftest$ac_exeext'
41144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41145 (eval $ac_try) 2>&5
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); }; }; then
41149 eval "$as_ac_var=yes"
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.$ac_ext >&5
41154 eval "$as_ac_var=no"
41156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41160 if test `eval echo '${'$as_ac_var'}'` = yes; then
41161 cat >>confdefs.h <<_ACEOF
41162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41173 echo "$as_me:$LINENO: checking for finitel declaration" >&5
41174 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41175 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41176 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41177 echo $ECHO_N "(cached) $ECHO_C" >&6
41183 ac_cpp='$CXXCPP $CPPFLAGS'
41184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41188 cat >conftest.$ac_ext <<_ACEOF
41189 #line $LINENO "configure"
41192 cat confdefs.h >>conftest.$ac_ext
41193 cat >>conftest.$ac_ext <<_ACEOF
41194 /* end confdefs.h. */
41196 #ifdef HAVE_IEEEFP_H
41197 #include <ieeefp.h>
41208 rm -f conftest.$ac_objext
41209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41210 (eval $ac_compile) 2>&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } &&
41214 { ac_try='test -s conftest.$ac_objext'
41215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41216 (eval $ac_try) 2>&5
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); }; }; then
41220 glibcxx_cv_func_finitel_use=yes
41222 echo "$as_me: failed program was:" >&5
41223 sed 's/^/| /' conftest.$ac_ext >&5
41225 glibcxx_cv_func_finitel_use=no
41227 rm -f conftest.$ac_objext conftest.$ac_ext
41229 ac_cpp='$CPP $CPPFLAGS'
41230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41239 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41241 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41243 for ac_func in finitel
41245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41246 echo "$as_me:$LINENO: checking for $ac_func" >&5
41247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41248 if eval "test \"\${$as_ac_var+set}\" = set"; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41251 if test x$gcc_no_link = xyes; then
41252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41254 { (exit 1); exit 1; }; }
41256 cat >conftest.$ac_ext <<_ACEOF
41257 #line $LINENO "configure"
41260 cat confdefs.h >>conftest.$ac_ext
41261 cat >>conftest.$ac_ext <<_ACEOF
41262 /* end confdefs.h. */
41263 /* System header to define __stub macros and hopefully few prototypes,
41264 which can conflict with char $ac_func (); below.
41265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41266 <limits.h> exists even on freestanding compilers. */
41268 # include <limits.h>
41270 # include <assert.h>
41272 /* Override any gcc2 internal prototype to avoid an error. */
41277 /* We use char because int might match the return type of a gcc2
41278 builtin and then its argument prototype would still apply. */
41280 /* The GNU C library defines this for functions which it implements
41281 to always fail with ENOSYS. Some functions are actually named
41282 something starting with __ and the normal name is an alias. */
41283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41286 char (*f) () = $ac_func;
41295 return f != $ac_func;
41300 rm -f conftest.$ac_objext conftest$ac_exeext
41301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41302 (eval $ac_link) 2>&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); } &&
41306 { ac_try='test -s conftest$ac_exeext'
41307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41308 (eval $ac_try) 2>&5
41310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41311 (exit $ac_status); }; }; then
41312 eval "$as_ac_var=yes"
41314 echo "$as_me: failed program was:" >&5
41315 sed 's/^/| /' conftest.$ac_ext >&5
41317 eval "$as_ac_var=no"
41319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41323 if test `eval echo '${'$as_ac_var'}'` = yes; then
41324 cat >>confdefs.h <<_ACEOF
41325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41333 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41334 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41335 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41336 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41337 echo $ECHO_N "(cached) $ECHO_C" >&6
41343 ac_cpp='$CXXCPP $CPPFLAGS'
41344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41348 cat >conftest.$ac_ext <<_ACEOF
41349 #line $LINENO "configure"
41352 cat confdefs.h >>conftest.$ac_ext
41353 cat >>conftest.$ac_ext <<_ACEOF
41354 /* end confdefs.h. */
41356 #ifdef HAVE_IEEEFP_H
41357 #include <ieeefp.h>
41368 rm -f conftest.$ac_objext
41369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41370 (eval $ac_compile) 2>&5
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); } &&
41374 { ac_try='test -s conftest.$ac_objext'
41375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376 (eval $ac_try) 2>&5
41378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379 (exit $ac_status); }; }; then
41380 glibcxx_cv_func__finitel_use=yes
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41385 glibcxx_cv_func__finitel_use=no
41387 rm -f conftest.$ac_objext conftest.$ac_ext
41389 ac_cpp='$CPP $CPPFLAGS'
41390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41398 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41399 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41401 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41403 for ac_func in _finitel
41405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41406 echo "$as_me:$LINENO: checking for $ac_func" >&5
41407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41408 if eval "test \"\${$as_ac_var+set}\" = set"; then
41409 echo $ECHO_N "(cached) $ECHO_C" >&6
41411 if test x$gcc_no_link = xyes; then
41412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41414 { (exit 1); exit 1; }; }
41416 cat >conftest.$ac_ext <<_ACEOF
41417 #line $LINENO "configure"
41420 cat confdefs.h >>conftest.$ac_ext
41421 cat >>conftest.$ac_ext <<_ACEOF
41422 /* end confdefs.h. */
41423 /* System header to define __stub macros and hopefully few prototypes,
41424 which can conflict with char $ac_func (); below.
41425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41426 <limits.h> exists even on freestanding compilers. */
41428 # include <limits.h>
41430 # include <assert.h>
41432 /* Override any gcc2 internal prototype to avoid an error. */
41437 /* We use char because int might match the return type of a gcc2
41438 builtin and then its argument prototype would still apply. */
41440 /* The GNU C library defines this for functions which it implements
41441 to always fail with ENOSYS. Some functions are actually named
41442 something starting with __ and the normal name is an alias. */
41443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41446 char (*f) () = $ac_func;
41455 return f != $ac_func;
41460 rm -f conftest.$ac_objext conftest$ac_exeext
41461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41462 (eval $ac_link) 2>&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); } &&
41466 { ac_try='test -s conftest$ac_exeext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 eval "$as_ac_var=yes"
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.$ac_ext >&5
41477 eval "$as_ac_var=no"
41479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41483 if test `eval echo '${'$as_ac_var'}'` = yes; then
41484 cat >>confdefs.h <<_ACEOF
41485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41497 echo "$as_me:$LINENO: checking for _float trig functions" >&5
41498 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41499 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41500 echo $ECHO_N "(cached) $ECHO_C" >&6
41506 ac_cpp='$CXXCPP $CPPFLAGS'
41507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41511 cat >conftest.$ac_ext <<_ACEOF
41512 #line $LINENO "configure"
41515 cat confdefs.h >>conftest.$ac_ext
41516 cat >>conftest.$ac_ext <<_ACEOF
41517 /* end confdefs.h. */
41522 `for x in _acosf _asinf _atanf \
41523 _cosf _sinf _tanf \
41524 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41529 rm -f conftest.$ac_objext
41530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41531 (eval $ac_compile) 2>&5
41533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41534 (exit $ac_status); } &&
41535 { ac_try='test -s conftest.$ac_objext'
41536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41537 (eval $ac_try) 2>&5
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); }; }; then
41541 glibcxx_cv_func__float_trig_use=yes
41543 echo "$as_me: failed program was:" >&5
41544 sed 's/^/| /' conftest.$ac_ext >&5
41546 glibcxx_cv_func__float_trig_use=no
41548 rm -f conftest.$ac_objext conftest.$ac_ext
41550 ac_cpp='$CPP $CPPFLAGS'
41551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41558 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41559 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41569 for ac_func in _acosf _asinf _atanf \
41570 _cosf _sinf _tanf \
41571 _coshf _sinhf _tanhf
41573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41574 echo "$as_me:$LINENO: checking for $ac_func" >&5
41575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41576 if eval "test \"\${$as_ac_var+set}\" = set"; then
41577 echo $ECHO_N "(cached) $ECHO_C" >&6
41579 if test x$gcc_no_link = xyes; then
41580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41582 { (exit 1); exit 1; }; }
41584 cat >conftest.$ac_ext <<_ACEOF
41585 #line $LINENO "configure"
41588 cat confdefs.h >>conftest.$ac_ext
41589 cat >>conftest.$ac_ext <<_ACEOF
41590 /* end confdefs.h. */
41591 /* System header to define __stub macros and hopefully few prototypes,
41592 which can conflict with char $ac_func (); below.
41593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41594 <limits.h> exists even on freestanding compilers. */
41596 # include <limits.h>
41598 # include <assert.h>
41600 /* Override any gcc2 internal prototype to avoid an error. */
41605 /* We use char because int might match the return type of a gcc2
41606 builtin and then its argument prototype would still apply. */
41608 /* The GNU C library defines this for functions which it implements
41609 to always fail with ENOSYS. Some functions are actually named
41610 something starting with __ and the normal name is an alias. */
41611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41614 char (*f) () = $ac_func;
41623 return f != $ac_func;
41628 rm -f conftest.$ac_objext conftest$ac_exeext
41629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41630 (eval $ac_link) 2>&5
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); } &&
41634 { ac_try='test -s conftest$ac_exeext'
41635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41636 (eval $ac_try) 2>&5
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); }; }; then
41640 eval "$as_ac_var=yes"
41642 echo "$as_me: failed program was:" >&5
41643 sed 's/^/| /' conftest.$ac_ext >&5
41645 eval "$as_ac_var=no"
41647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41651 if test `eval echo '${'$as_ac_var'}'` = yes; then
41652 cat >>confdefs.h <<_ACEOF
41653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41662 echo "$as_me:$LINENO: checking for _float round functions" >&5
41663 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41664 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41665 echo $ECHO_N "(cached) $ECHO_C" >&6
41671 ac_cpp='$CXXCPP $CPPFLAGS'
41672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41676 cat >conftest.$ac_ext <<_ACEOF
41677 #line $LINENO "configure"
41680 cat confdefs.h >>conftest.$ac_ext
41681 cat >>conftest.$ac_ext <<_ACEOF
41682 /* end confdefs.h. */
41687 `for x in _ceilf _floorf; do echo "$x (0);"; done`
41692 rm -f conftest.$ac_objext
41693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41694 (eval $ac_compile) 2>&5
41696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41697 (exit $ac_status); } &&
41698 { ac_try='test -s conftest.$ac_objext'
41699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41700 (eval $ac_try) 2>&5
41702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703 (exit $ac_status); }; }; then
41704 glibcxx_cv_func__float_round_use=yes
41706 echo "$as_me: failed program was:" >&5
41707 sed 's/^/| /' conftest.$ac_ext >&5
41709 glibcxx_cv_func__float_round_use=no
41711 rm -f conftest.$ac_objext conftest.$ac_ext
41713 ac_cpp='$CPP $CPPFLAGS'
41714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41721 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41722 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41725 for ac_func in _ceilf _floorf
41727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41728 echo "$as_me:$LINENO: checking for $ac_func" >&5
41729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41730 if eval "test \"\${$as_ac_var+set}\" = set"; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41733 if test x$gcc_no_link = xyes; then
41734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41736 { (exit 1); exit 1; }; }
41738 cat >conftest.$ac_ext <<_ACEOF
41739 #line $LINENO "configure"
41742 cat confdefs.h >>conftest.$ac_ext
41743 cat >>conftest.$ac_ext <<_ACEOF
41744 /* end confdefs.h. */
41745 /* System header to define __stub macros and hopefully few prototypes,
41746 which can conflict with char $ac_func (); below.
41747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41748 <limits.h> exists even on freestanding compilers. */
41750 # include <limits.h>
41752 # include <assert.h>
41754 /* Override any gcc2 internal prototype to avoid an error. */
41759 /* We use char because int might match the return type of a gcc2
41760 builtin and then its argument prototype would still apply. */
41762 /* The GNU C library defines this for functions which it implements
41763 to always fail with ENOSYS. Some functions are actually named
41764 something starting with __ and the normal name is an alias. */
41765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41768 char (*f) () = $ac_func;
41777 return f != $ac_func;
41782 rm -f conftest.$ac_objext conftest$ac_exeext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41784 (eval $ac_link) 2>&5
41786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787 (exit $ac_status); } &&
41788 { ac_try='test -s conftest$ac_exeext'
41789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41790 (eval $ac_try) 2>&5
41792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41793 (exit $ac_status); }; }; then
41794 eval "$as_ac_var=yes"
41796 echo "$as_me: failed program was:" >&5
41797 sed 's/^/| /' conftest.$ac_ext >&5
41799 eval "$as_ac_var=no"
41801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41805 if test `eval echo '${'$as_ac_var'}'` = yes; then
41806 cat >>confdefs.h <<_ACEOF
41807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41817 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41818 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41819 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41820 echo $ECHO_N "(cached) $ECHO_C" >&6
41826 ac_cpp='$CXXCPP $CPPFLAGS'
41827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41831 cat >conftest.$ac_ext <<_ACEOF
41832 #line $LINENO "configure"
41835 cat confdefs.h >>conftest.$ac_ext
41836 cat >>conftest.$ac_ext <<_ACEOF
41837 /* end confdefs.h. */
41842 `for x in _acosl _asinl _atanl \
41843 _cosl _sinl _tanl \
41844 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
41849 rm -f conftest.$ac_objext
41850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41851 (eval $ac_compile) 2>&5
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); } &&
41855 { ac_try='test -s conftest.$ac_objext'
41856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41857 (eval $ac_try) 2>&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); }; }; then
41861 glibcxx_cv_func__long_double_trig_use=yes
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41866 glibcxx_cv_func__long_double_trig_use=no
41868 rm -f conftest.$ac_objext conftest.$ac_ext
41870 ac_cpp='$CPP $CPPFLAGS'
41871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41878 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41879 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41889 for ac_func in _acosl _asinl _atanl \
41890 _cosl _sinl _tanl \
41891 _coshl _sinhl _tanhl
41893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41894 echo "$as_me:$LINENO: checking for $ac_func" >&5
41895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41896 if eval "test \"\${$as_ac_var+set}\" = set"; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41899 if test x$gcc_no_link = xyes; then
41900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41902 { (exit 1); exit 1; }; }
41904 cat >conftest.$ac_ext <<_ACEOF
41905 #line $LINENO "configure"
41908 cat confdefs.h >>conftest.$ac_ext
41909 cat >>conftest.$ac_ext <<_ACEOF
41910 /* end confdefs.h. */
41911 /* System header to define __stub macros and hopefully few prototypes,
41912 which can conflict with char $ac_func (); below.
41913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41914 <limits.h> exists even on freestanding compilers. */
41916 # include <limits.h>
41918 # include <assert.h>
41920 /* Override any gcc2 internal prototype to avoid an error. */
41925 /* We use char because int might match the return type of a gcc2
41926 builtin and then its argument prototype would still apply. */
41928 /* The GNU C library defines this for functions which it implements
41929 to always fail with ENOSYS. Some functions are actually named
41930 something starting with __ and the normal name is an alias. */
41931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41934 char (*f) () = $ac_func;
41943 return f != $ac_func;
41948 rm -f conftest.$ac_objext conftest$ac_exeext
41949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41950 (eval $ac_link) 2>&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } &&
41954 { ac_try='test -s conftest$ac_exeext'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; }; then
41960 eval "$as_ac_var=yes"
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.$ac_ext >&5
41965 eval "$as_ac_var=no"
41967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41971 if test `eval echo '${'$as_ac_var'}'` = yes; then
41972 cat >>confdefs.h <<_ACEOF
41973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41982 echo "$as_me:$LINENO: checking for _long double round functions" >&5
41983 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
41984 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41996 cat >conftest.$ac_ext <<_ACEOF
41997 #line $LINENO "configure"
42000 cat confdefs.h >>conftest.$ac_ext
42001 cat >>conftest.$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42007 `for x in _ceill _floorl; do echo "$x (0);"; done`
42012 rm -f conftest.$ac_objext
42013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42014 (eval $ac_compile) 2>&5
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); } &&
42018 { ac_try='test -s conftest.$ac_objext'
42019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42020 (eval $ac_try) 2>&5
42022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42023 (exit $ac_status); }; }; then
42024 glibcxx_cv_func__long_double_round_use=yes
42026 echo "$as_me: failed program was:" >&5
42027 sed 's/^/| /' conftest.$ac_ext >&5
42029 glibcxx_cv_func__long_double_round_use=no
42031 rm -f conftest.$ac_objext conftest.$ac_ext
42033 ac_cpp='$CPP $CPPFLAGS'
42034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42041 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42042 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42045 for ac_func in _ceill _floorl
42047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42048 echo "$as_me:$LINENO: checking for $ac_func" >&5
42049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42050 if eval "test \"\${$as_ac_var+set}\" = set"; then
42051 echo $ECHO_N "(cached) $ECHO_C" >&6
42053 if test x$gcc_no_link = xyes; then
42054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42056 { (exit 1); exit 1; }; }
42058 cat >conftest.$ac_ext <<_ACEOF
42059 #line $LINENO "configure"
42062 cat confdefs.h >>conftest.$ac_ext
42063 cat >>conftest.$ac_ext <<_ACEOF
42064 /* end confdefs.h. */
42065 /* System header to define __stub macros and hopefully few prototypes,
42066 which can conflict with char $ac_func (); below.
42067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42068 <limits.h> exists even on freestanding compilers. */
42070 # include <limits.h>
42072 # include <assert.h>
42074 /* Override any gcc2 internal prototype to avoid an error. */
42079 /* We use char because int might match the return type of a gcc2
42080 builtin and then its argument prototype would still apply. */
42082 /* The GNU C library defines this for functions which it implements
42083 to always fail with ENOSYS. Some functions are actually named
42084 something starting with __ and the normal name is an alias. */
42085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42088 char (*f) () = $ac_func;
42097 return f != $ac_func;
42102 rm -f conftest.$ac_objext conftest$ac_exeext
42103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42104 (eval $ac_link) 2>&5
42106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42107 (exit $ac_status); } &&
42108 { ac_try='test -s conftest$ac_exeext'
42109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42110 (eval $ac_try) 2>&5
42112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42113 (exit $ac_status); }; }; then
42114 eval "$as_ac_var=yes"
42116 echo "$as_me: failed program was:" >&5
42117 sed 's/^/| /' conftest.$ac_ext >&5
42119 eval "$as_ac_var=no"
42121 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42125 if test `eval echo '${'$as_ac_var'}'` = yes; then
42126 cat >>confdefs.h <<_ACEOF
42127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42136 LIBS="$ac_save_LIBS"
42137 CXXFLAGS="$ac_save_CXXFLAGS"
42141 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42142 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42143 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42144 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42145 echo $ECHO_N "(cached) $ECHO_C" >&6
42151 ac_cpp='$CXXCPP $CPPFLAGS'
42152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42156 cat >conftest.$ac_ext <<_ACEOF
42157 #line $LINENO "configure"
42160 cat confdefs.h >>conftest.$ac_ext
42161 cat >>conftest.$ac_ext <<_ACEOF
42162 /* end confdefs.h. */
42172 rm -f conftest.$ac_objext
42173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42174 (eval $ac_compile) 2>&5
42176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42177 (exit $ac_status); } &&
42178 { ac_try='test -s conftest.$ac_objext'
42179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42180 (eval $ac_try) 2>&5
42182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42183 (exit $ac_status); }; }; then
42184 glibcxx_cv_func___builtin_abs_use=yes
42186 echo "$as_me: failed program was:" >&5
42187 sed 's/^/| /' conftest.$ac_ext >&5
42189 glibcxx_cv_func___builtin_abs_use=no
42191 rm -f conftest.$ac_objext conftest.$ac_ext
42193 ac_cpp='$CPP $CPPFLAGS'
42194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42203 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42204 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42205 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42206 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42207 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42208 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42209 echo $ECHO_N "(cached) $ECHO_C" >&6
42212 if test x$gcc_no_link = xyes; then
42213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42215 { (exit 1); exit 1; }; }
42217 cat >conftest.$ac_ext <<_ACEOF
42218 #line $LINENO "configure"
42221 cat confdefs.h >>conftest.$ac_ext
42222 cat >>conftest.$ac_ext <<_ACEOF
42223 /* end confdefs.h. */
42233 rm -f conftest.$ac_objext conftest$ac_exeext
42234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42235 (eval $ac_link) 2>&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); } &&
42239 { ac_try='test -s conftest$ac_exeext'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 glibcxx_cv_func___builtin_abs_link=yes
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.$ac_ext >&5
42250 glibcxx_cv_func___builtin_abs_link=no
42252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42258 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42259 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42260 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42261 cat >>confdefs.h <<_ACEOF
42262 #define ${ac_tr_func} 1
42269 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42270 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42271 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42272 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42273 echo $ECHO_N "(cached) $ECHO_C" >&6
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42284 cat >conftest.$ac_ext <<_ACEOF
42285 #line $LINENO "configure"
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42295 __builtin_fabsf(0);
42300 rm -f conftest.$ac_objext
42301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42302 (eval $ac_compile) 2>&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } &&
42306 { ac_try='test -s conftest.$ac_objext'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; }; then
42312 glibcxx_cv_func___builtin_fabsf_use=yes
42314 echo "$as_me: failed program was:" >&5
42315 sed 's/^/| /' conftest.$ac_ext >&5
42317 glibcxx_cv_func___builtin_fabsf_use=no
42319 rm -f conftest.$ac_objext conftest.$ac_ext
42321 ac_cpp='$CPP $CPPFLAGS'
42322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42331 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42332 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42333 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42334 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42335 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42336 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42337 echo $ECHO_N "(cached) $ECHO_C" >&6
42340 if test x$gcc_no_link = xyes; then
42341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42343 { (exit 1); exit 1; }; }
42345 cat >conftest.$ac_ext <<_ACEOF
42346 #line $LINENO "configure"
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42356 __builtin_fabsf(0);
42361 rm -f conftest.$ac_objext conftest$ac_exeext
42362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42363 (eval $ac_link) 2>&5
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); } &&
42367 { ac_try='test -s conftest$ac_exeext'
42368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42369 (eval $ac_try) 2>&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); }; }; then
42373 glibcxx_cv_func___builtin_fabsf_link=yes
42375 echo "$as_me: failed program was:" >&5
42376 sed 's/^/| /' conftest.$ac_ext >&5
42378 glibcxx_cv_func___builtin_fabsf_link=no
42380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42385 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42386 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42387 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42388 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42389 cat >>confdefs.h <<_ACEOF
42390 #define ${ac_tr_func} 1
42397 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42398 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42399 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42400 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42401 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42412 cat >conftest.$ac_ext <<_ACEOF
42413 #line $LINENO "configure"
42416 cat confdefs.h >>conftest.$ac_ext
42417 cat >>conftest.$ac_ext <<_ACEOF
42418 /* end confdefs.h. */
42428 rm -f conftest.$ac_objext
42429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42430 (eval $ac_compile) 2>&5
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); } &&
42434 { ac_try='test -s conftest.$ac_objext'
42435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42436 (eval $ac_try) 2>&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; }; then
42440 glibcxx_cv_func___builtin_fabs_use=yes
42442 echo "$as_me: failed program was:" >&5
42443 sed 's/^/| /' conftest.$ac_ext >&5
42445 glibcxx_cv_func___builtin_fabs_use=no
42447 rm -f conftest.$ac_objext conftest.$ac_ext
42449 ac_cpp='$CPP $CPPFLAGS'
42450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42458 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42459 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42460 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42461 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42462 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42463 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42464 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42465 echo $ECHO_N "(cached) $ECHO_C" >&6
42468 if test x$gcc_no_link = xyes; then
42469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42471 { (exit 1); exit 1; }; }
42473 cat >conftest.$ac_ext <<_ACEOF
42474 #line $LINENO "configure"
42477 cat confdefs.h >>conftest.$ac_ext
42478 cat >>conftest.$ac_ext <<_ACEOF
42479 /* end confdefs.h. */
42489 rm -f conftest.$ac_objext conftest$ac_exeext
42490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42491 (eval $ac_link) 2>&5
42493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42494 (exit $ac_status); } &&
42495 { ac_try='test -s conftest$ac_exeext'
42496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42497 (eval $ac_try) 2>&5
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); }; }; then
42501 glibcxx_cv_func___builtin_fabs_link=yes
42503 echo "$as_me: failed program was:" >&5
42504 sed 's/^/| /' conftest.$ac_ext >&5
42506 glibcxx_cv_func___builtin_fabs_link=no
42508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42514 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42515 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42516 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42517 cat >>confdefs.h <<_ACEOF
42518 #define ${ac_tr_func} 1
42525 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42526 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42527 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42528 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42529 echo $ECHO_N "(cached) $ECHO_C" >&6
42535 ac_cpp='$CXXCPP $CPPFLAGS'
42536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42540 cat >conftest.$ac_ext <<_ACEOF
42541 #line $LINENO "configure"
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42551 __builtin_fabsl(0);
42556 rm -f conftest.$ac_objext
42557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42558 (eval $ac_compile) 2>&5
42560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42561 (exit $ac_status); } &&
42562 { ac_try='test -s conftest.$ac_objext'
42563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42564 (eval $ac_try) 2>&5
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); }; }; then
42568 glibcxx_cv_func___builtin_fabsl_use=yes
42570 echo "$as_me: failed program was:" >&5
42571 sed 's/^/| /' conftest.$ac_ext >&5
42573 glibcxx_cv_func___builtin_fabsl_use=no
42575 rm -f conftest.$ac_objext conftest.$ac_ext
42577 ac_cpp='$CPP $CPPFLAGS'
42578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42586 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42587 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42588 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42589 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42590 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42591 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42592 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42593 echo $ECHO_N "(cached) $ECHO_C" >&6
42596 if test x$gcc_no_link = xyes; then
42597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42599 { (exit 1); exit 1; }; }
42601 cat >conftest.$ac_ext <<_ACEOF
42602 #line $LINENO "configure"
42605 cat confdefs.h >>conftest.$ac_ext
42606 cat >>conftest.$ac_ext <<_ACEOF
42607 /* end confdefs.h. */
42612 __builtin_fabsl(0);
42617 rm -f conftest.$ac_objext conftest$ac_exeext
42618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42619 (eval $ac_link) 2>&5
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); } &&
42623 { ac_try='test -s conftest$ac_exeext'
42624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42625 (eval $ac_try) 2>&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42629 glibcxx_cv_func___builtin_fabsl_link=yes
42631 echo "$as_me: failed program was:" >&5
42632 sed 's/^/| /' conftest.$ac_ext >&5
42634 glibcxx_cv_func___builtin_fabsl_link=no
42636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42642 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42643 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42644 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42645 cat >>confdefs.h <<_ACEOF
42646 #define ${ac_tr_func} 1
42653 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42654 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42655 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42656 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42657 echo $ECHO_N "(cached) $ECHO_C" >&6
42663 ac_cpp='$CXXCPP $CPPFLAGS'
42664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42668 cat >conftest.$ac_ext <<_ACEOF
42669 #line $LINENO "configure"
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42684 rm -f conftest.$ac_objext
42685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42686 (eval $ac_compile) 2>&5
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); } &&
42690 { ac_try='test -s conftest.$ac_objext'
42691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42692 (eval $ac_try) 2>&5
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); }; }; then
42696 glibcxx_cv_func___builtin_labs_use=yes
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42701 glibcxx_cv_func___builtin_labs_use=no
42703 rm -f conftest.$ac_objext conftest.$ac_ext
42705 ac_cpp='$CPP $CPPFLAGS'
42706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42714 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
42715 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42716 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42717 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42718 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42719 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42720 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42721 echo $ECHO_N "(cached) $ECHO_C" >&6
42724 if test x$gcc_no_link = xyes; then
42725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42727 { (exit 1); exit 1; }; }
42729 cat >conftest.$ac_ext <<_ACEOF
42730 #line $LINENO "configure"
42733 cat confdefs.h >>conftest.$ac_ext
42734 cat >>conftest.$ac_ext <<_ACEOF
42735 /* end confdefs.h. */
42745 rm -f conftest.$ac_objext conftest$ac_exeext
42746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42747 (eval $ac_link) 2>&5
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); } &&
42751 { ac_try='test -s conftest$ac_exeext'
42752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753 (eval $ac_try) 2>&5
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; }; then
42757 glibcxx_cv_func___builtin_labs_link=yes
42759 echo "$as_me: failed program was:" >&5
42760 sed 's/^/| /' conftest.$ac_ext >&5
42762 glibcxx_cv_func___builtin_labs_link=no
42764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42770 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42771 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42772 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42773 cat >>confdefs.h <<_ACEOF
42774 #define ${ac_tr_func} 1
42782 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42783 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42784 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42785 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42786 echo $ECHO_N "(cached) $ECHO_C" >&6
42792 ac_cpp='$CXXCPP $CPPFLAGS'
42793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42797 cat >conftest.$ac_ext <<_ACEOF
42798 #line $LINENO "configure"
42801 cat confdefs.h >>conftest.$ac_ext
42802 cat >>conftest.$ac_ext <<_ACEOF
42803 /* end confdefs.h. */
42808 __builtin_sqrtf(0);
42813 rm -f conftest.$ac_objext
42814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42815 (eval $ac_compile) 2>&5
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); } &&
42819 { ac_try='test -s conftest.$ac_objext'
42820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42821 (eval $ac_try) 2>&5
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); }; }; then
42825 glibcxx_cv_func___builtin_sqrtf_use=yes
42827 echo "$as_me: failed program was:" >&5
42828 sed 's/^/| /' conftest.$ac_ext >&5
42830 glibcxx_cv_func___builtin_sqrtf_use=no
42832 rm -f conftest.$ac_objext conftest.$ac_ext
42834 ac_cpp='$CPP $CPPFLAGS'
42835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
42844 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
42845 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
42846 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
42847 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
42848 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
42849 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
42850 echo $ECHO_N "(cached) $ECHO_C" >&6
42853 if test x$gcc_no_link = xyes; then
42854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42856 { (exit 1); exit 1; }; }
42858 cat >conftest.$ac_ext <<_ACEOF
42859 #line $LINENO "configure"
42862 cat confdefs.h >>conftest.$ac_ext
42863 cat >>conftest.$ac_ext <<_ACEOF
42864 /* end confdefs.h. */
42869 __builtin_sqrtf(0);
42874 rm -f conftest.$ac_objext conftest$ac_exeext
42875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42876 (eval $ac_link) 2>&5
42878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42879 (exit $ac_status); } &&
42880 { ac_try='test -s conftest$ac_exeext'
42881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42882 (eval $ac_try) 2>&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; }; then
42886 glibcxx_cv_func___builtin_sqrtf_link=yes
42888 echo "$as_me: failed program was:" >&5
42889 sed 's/^/| /' conftest.$ac_ext >&5
42891 glibcxx_cv_func___builtin_sqrtf_link=no
42893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42898 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
42899 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
42900 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
42901 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42902 cat >>confdefs.h <<_ACEOF
42903 #define ${ac_tr_func} 1
42910 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
42911 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
42912 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
42913 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
42914 echo $ECHO_N "(cached) $ECHO_C" >&6
42920 ac_cpp='$CXXCPP $CPPFLAGS'
42921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42925 cat >conftest.$ac_ext <<_ACEOF
42926 #line $LINENO "configure"
42929 cat confdefs.h >>conftest.$ac_ext
42930 cat >>conftest.$ac_ext <<_ACEOF
42931 /* end confdefs.h. */
42941 rm -f conftest.$ac_objext
42942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42943 (eval $ac_compile) 2>&5
42945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42946 (exit $ac_status); } &&
42947 { ac_try='test -s conftest.$ac_objext'
42948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42949 (eval $ac_try) 2>&5
42951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42952 (exit $ac_status); }; }; then
42953 glibcxx_cv_func___builtin_sqrt_use=yes
42955 echo "$as_me: failed program was:" >&5
42956 sed 's/^/| /' conftest.$ac_ext >&5
42958 glibcxx_cv_func___builtin_sqrt_use=no
42960 rm -f conftest.$ac_objext conftest.$ac_ext
42962 ac_cpp='$CPP $CPPFLAGS'
42963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
42972 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
42973 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
42974 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
42975 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
42976 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
42977 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
42978 echo $ECHO_N "(cached) $ECHO_C" >&6
42981 if test x$gcc_no_link = xyes; then
42982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42984 { (exit 1); exit 1; }; }
42986 cat >conftest.$ac_ext <<_ACEOF
42987 #line $LINENO "configure"
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
43002 rm -f conftest.$ac_objext conftest$ac_exeext
43003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43004 (eval $ac_link) 2>&5
43006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43007 (exit $ac_status); } &&
43008 { ac_try='test -s conftest$ac_exeext'
43009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43010 (eval $ac_try) 2>&5
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); }; }; then
43014 glibcxx_cv_func___builtin_sqrt_link=yes
43016 echo "$as_me: failed program was:" >&5
43017 sed 's/^/| /' conftest.$ac_ext >&5
43019 glibcxx_cv_func___builtin_sqrt_link=no
43021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43026 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43027 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43028 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43029 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43030 cat >>confdefs.h <<_ACEOF
43031 #define ${ac_tr_func} 1
43038 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43039 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43040 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43041 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43042 echo $ECHO_N "(cached) $ECHO_C" >&6
43048 ac_cpp='$CXXCPP $CPPFLAGS'
43049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43053 cat >conftest.$ac_ext <<_ACEOF
43054 #line $LINENO "configure"
43057 cat confdefs.h >>conftest.$ac_ext
43058 cat >>conftest.$ac_ext <<_ACEOF
43059 /* end confdefs.h. */
43064 __builtin_sqrtl(0);
43069 rm -f conftest.$ac_objext
43070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43071 (eval $ac_compile) 2>&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } &&
43075 { ac_try='test -s conftest.$ac_objext'
43076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43077 (eval $ac_try) 2>&5
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); }; }; then
43081 glibcxx_cv_func___builtin_sqrtl_use=yes
43083 echo "$as_me: failed program was:" >&5
43084 sed 's/^/| /' conftest.$ac_ext >&5
43086 glibcxx_cv_func___builtin_sqrtl_use=no
43088 rm -f conftest.$ac_objext conftest.$ac_ext
43090 ac_cpp='$CPP $CPPFLAGS'
43091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43100 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43101 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43102 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43103 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43104 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43105 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43106 echo $ECHO_N "(cached) $ECHO_C" >&6
43109 if test x$gcc_no_link = xyes; then
43110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43112 { (exit 1); exit 1; }; }
43114 cat >conftest.$ac_ext <<_ACEOF
43115 #line $LINENO "configure"
43118 cat confdefs.h >>conftest.$ac_ext
43119 cat >>conftest.$ac_ext <<_ACEOF
43120 /* end confdefs.h. */
43125 __builtin_sqrtl(0);
43130 rm -f conftest.$ac_objext conftest$ac_exeext
43131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43132 (eval $ac_link) 2>&5
43134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43135 (exit $ac_status); } &&
43136 { ac_try='test -s conftest$ac_exeext'
43137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43138 (eval $ac_try) 2>&5
43140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43141 (exit $ac_status); }; }; then
43142 glibcxx_cv_func___builtin_sqrtl_link=yes
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43147 glibcxx_cv_func___builtin_sqrtl_link=no
43149 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43154 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43155 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43156 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43157 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43158 cat >>confdefs.h <<_ACEOF
43159 #define ${ac_tr_func} 1
43167 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43168 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43169 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43170 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 ac_cpp='$CXXCPP $CPPFLAGS'
43178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43182 cat >conftest.$ac_ext <<_ACEOF
43183 #line $LINENO "configure"
43186 cat confdefs.h >>conftest.$ac_ext
43187 cat >>conftest.$ac_ext <<_ACEOF
43188 /* end confdefs.h. */
43198 rm -f conftest.$ac_objext
43199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43200 (eval $ac_compile) 2>&5
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); } &&
43204 { ac_try='test -s conftest.$ac_objext'
43205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43206 (eval $ac_try) 2>&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); }; }; then
43210 glibcxx_cv_func___builtin_sinf_use=yes
43212 echo "$as_me: failed program was:" >&5
43213 sed 's/^/| /' conftest.$ac_ext >&5
43215 glibcxx_cv_func___builtin_sinf_use=no
43217 rm -f conftest.$ac_objext conftest.$ac_ext
43219 ac_cpp='$CPP $CPPFLAGS'
43220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43228 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43229 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43230 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43231 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43232 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43233 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43234 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43235 echo $ECHO_N "(cached) $ECHO_C" >&6
43238 if test x$gcc_no_link = xyes; then
43239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43241 { (exit 1); exit 1; }; }
43243 cat >conftest.$ac_ext <<_ACEOF
43244 #line $LINENO "configure"
43247 cat confdefs.h >>conftest.$ac_ext
43248 cat >>conftest.$ac_ext <<_ACEOF
43249 /* end confdefs.h. */
43259 rm -f conftest.$ac_objext conftest$ac_exeext
43260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43261 (eval $ac_link) 2>&5
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); } &&
43265 { ac_try='test -s conftest$ac_exeext'
43266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43267 (eval $ac_try) 2>&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); }; }; then
43271 glibcxx_cv_func___builtin_sinf_link=yes
43273 echo "$as_me: failed program was:" >&5
43274 sed 's/^/| /' conftest.$ac_ext >&5
43276 glibcxx_cv_func___builtin_sinf_link=no
43278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43284 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43285 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43286 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43287 cat >>confdefs.h <<_ACEOF
43288 #define ${ac_tr_func} 1
43295 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43296 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43297 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43298 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43299 echo $ECHO_N "(cached) $ECHO_C" >&6
43305 ac_cpp='$CXXCPP $CPPFLAGS'
43306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43310 cat >conftest.$ac_ext <<_ACEOF
43311 #line $LINENO "configure"
43314 cat confdefs.h >>conftest.$ac_ext
43315 cat >>conftest.$ac_ext <<_ACEOF
43316 /* end confdefs.h. */
43326 rm -f conftest.$ac_objext
43327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43328 (eval $ac_compile) 2>&5
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); } &&
43332 { ac_try='test -s conftest.$ac_objext'
43333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43334 (eval $ac_try) 2>&5
43336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43337 (exit $ac_status); }; }; then
43338 glibcxx_cv_func___builtin_sin_use=yes
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.$ac_ext >&5
43343 glibcxx_cv_func___builtin_sin_use=no
43345 rm -f conftest.$ac_objext conftest.$ac_ext
43347 ac_cpp='$CPP $CPPFLAGS'
43348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43358 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43359 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43360 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43361 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43362 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43363 echo $ECHO_N "(cached) $ECHO_C" >&6
43366 if test x$gcc_no_link = xyes; then
43367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43369 { (exit 1); exit 1; }; }
43371 cat >conftest.$ac_ext <<_ACEOF
43372 #line $LINENO "configure"
43375 cat confdefs.h >>conftest.$ac_ext
43376 cat >>conftest.$ac_ext <<_ACEOF
43377 /* end confdefs.h. */
43387 rm -f conftest.$ac_objext conftest$ac_exeext
43388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43389 (eval $ac_link) 2>&5
43391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43392 (exit $ac_status); } &&
43393 { ac_try='test -s conftest$ac_exeext'
43394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43395 (eval $ac_try) 2>&5
43397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43398 (exit $ac_status); }; }; then
43399 glibcxx_cv_func___builtin_sin_link=yes
43401 echo "$as_me: failed program was:" >&5
43402 sed 's/^/| /' conftest.$ac_ext >&5
43404 glibcxx_cv_func___builtin_sin_link=no
43406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43412 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43413 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43414 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43415 cat >>confdefs.h <<_ACEOF
43416 #define ${ac_tr_func} 1
43423 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43424 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43425 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43426 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43427 echo $ECHO_N "(cached) $ECHO_C" >&6
43433 ac_cpp='$CXXCPP $CPPFLAGS'
43434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43438 cat >conftest.$ac_ext <<_ACEOF
43439 #line $LINENO "configure"
43442 cat confdefs.h >>conftest.$ac_ext
43443 cat >>conftest.$ac_ext <<_ACEOF
43444 /* end confdefs.h. */
43454 rm -f conftest.$ac_objext
43455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43456 (eval $ac_compile) 2>&5
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); } &&
43460 { ac_try='test -s conftest.$ac_objext'
43461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43462 (eval $ac_try) 2>&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); }; }; then
43466 glibcxx_cv_func___builtin_sinl_use=yes
43468 echo "$as_me: failed program was:" >&5
43469 sed 's/^/| /' conftest.$ac_ext >&5
43471 glibcxx_cv_func___builtin_sinl_use=no
43473 rm -f conftest.$ac_objext conftest.$ac_ext
43475 ac_cpp='$CPP $CPPFLAGS'
43476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43485 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43486 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43487 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43488 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43489 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43490 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43491 echo $ECHO_N "(cached) $ECHO_C" >&6
43494 if test x$gcc_no_link = xyes; then
43495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43497 { (exit 1); exit 1; }; }
43499 cat >conftest.$ac_ext <<_ACEOF
43500 #line $LINENO "configure"
43503 cat confdefs.h >>conftest.$ac_ext
43504 cat >>conftest.$ac_ext <<_ACEOF
43505 /* end confdefs.h. */
43515 rm -f conftest.$ac_objext conftest$ac_exeext
43516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43517 (eval $ac_link) 2>&5
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); } &&
43521 { ac_try='test -s conftest$ac_exeext'
43522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43523 (eval $ac_try) 2>&5
43525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43526 (exit $ac_status); }; }; then
43527 glibcxx_cv_func___builtin_sinl_link=yes
43529 echo "$as_me: failed program was:" >&5
43530 sed 's/^/| /' conftest.$ac_ext >&5
43532 glibcxx_cv_func___builtin_sinl_link=no
43534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43539 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43540 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43541 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43542 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43543 cat >>confdefs.h <<_ACEOF
43544 #define ${ac_tr_func} 1
43552 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43553 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43554 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43555 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43556 echo $ECHO_N "(cached) $ECHO_C" >&6
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43567 cat >conftest.$ac_ext <<_ACEOF
43568 #line $LINENO "configure"
43571 cat confdefs.h >>conftest.$ac_ext
43572 cat >>conftest.$ac_ext <<_ACEOF
43573 /* end confdefs.h. */
43583 rm -f conftest.$ac_objext
43584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43585 (eval $ac_compile) 2>&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); } &&
43589 { ac_try='test -s conftest.$ac_objext'
43590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43591 (eval $ac_try) 2>&5
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); }; }; then
43595 glibcxx_cv_func___builtin_cosf_use=yes
43597 echo "$as_me: failed program was:" >&5
43598 sed 's/^/| /' conftest.$ac_ext >&5
43600 glibcxx_cv_func___builtin_cosf_use=no
43602 rm -f conftest.$ac_objext conftest.$ac_ext
43604 ac_cpp='$CPP $CPPFLAGS'
43605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43614 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43615 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43616 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43617 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43618 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43619 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43620 echo $ECHO_N "(cached) $ECHO_C" >&6
43623 if test x$gcc_no_link = xyes; then
43624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43626 { (exit 1); exit 1; }; }
43628 cat >conftest.$ac_ext <<_ACEOF
43629 #line $LINENO "configure"
43632 cat confdefs.h >>conftest.$ac_ext
43633 cat >>conftest.$ac_ext <<_ACEOF
43634 /* end confdefs.h. */
43644 rm -f conftest.$ac_objext conftest$ac_exeext
43645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43646 (eval $ac_link) 2>&5
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); } &&
43650 { ac_try='test -s conftest$ac_exeext'
43651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43652 (eval $ac_try) 2>&5
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); }; }; then
43656 glibcxx_cv_func___builtin_cosf_link=yes
43658 echo "$as_me: failed program was:" >&5
43659 sed 's/^/| /' conftest.$ac_ext >&5
43661 glibcxx_cv_func___builtin_cosf_link=no
43663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43668 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43669 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43670 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43671 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43672 cat >>confdefs.h <<_ACEOF
43673 #define ${ac_tr_func} 1
43680 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43681 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43682 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43683 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43684 echo $ECHO_N "(cached) $ECHO_C" >&6
43690 ac_cpp='$CXXCPP $CPPFLAGS'
43691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43695 cat >conftest.$ac_ext <<_ACEOF
43696 #line $LINENO "configure"
43699 cat confdefs.h >>conftest.$ac_ext
43700 cat >>conftest.$ac_ext <<_ACEOF
43701 /* end confdefs.h. */
43711 rm -f conftest.$ac_objext
43712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43713 (eval $ac_compile) 2>&5
43715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43716 (exit $ac_status); } &&
43717 { ac_try='test -s conftest.$ac_objext'
43718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43719 (eval $ac_try) 2>&5
43721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43722 (exit $ac_status); }; }; then
43723 glibcxx_cv_func___builtin_cos_use=yes
43725 echo "$as_me: failed program was:" >&5
43726 sed 's/^/| /' conftest.$ac_ext >&5
43728 glibcxx_cv_func___builtin_cos_use=no
43730 rm -f conftest.$ac_objext conftest.$ac_ext
43732 ac_cpp='$CPP $CPPFLAGS'
43733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43742 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43743 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43744 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43745 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43746 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43747 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43748 echo $ECHO_N "(cached) $ECHO_C" >&6
43751 if test x$gcc_no_link = xyes; then
43752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43754 { (exit 1); exit 1; }; }
43756 cat >conftest.$ac_ext <<_ACEOF
43757 #line $LINENO "configure"
43760 cat confdefs.h >>conftest.$ac_ext
43761 cat >>conftest.$ac_ext <<_ACEOF
43762 /* end confdefs.h. */
43772 rm -f conftest.$ac_objext conftest$ac_exeext
43773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43774 (eval $ac_link) 2>&5
43776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777 (exit $ac_status); } &&
43778 { ac_try='test -s conftest$ac_exeext'
43779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43780 (eval $ac_try) 2>&5
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); }; }; then
43784 glibcxx_cv_func___builtin_cos_link=yes
43786 echo "$as_me: failed program was:" >&5
43787 sed 's/^/| /' conftest.$ac_ext >&5
43789 glibcxx_cv_func___builtin_cos_link=no
43791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43797 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43798 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43799 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43800 cat >>confdefs.h <<_ACEOF
43801 #define ${ac_tr_func} 1
43808 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43809 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43810 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43811 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43818 ac_cpp='$CXXCPP $CPPFLAGS'
43819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43823 cat >conftest.$ac_ext <<_ACEOF
43824 #line $LINENO "configure"
43827 cat confdefs.h >>conftest.$ac_ext
43828 cat >>conftest.$ac_ext <<_ACEOF
43829 /* end confdefs.h. */
43839 rm -f conftest.$ac_objext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43841 (eval $ac_compile) 2>&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); } &&
43845 { ac_try='test -s conftest.$ac_objext'
43846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43847 (eval $ac_try) 2>&5
43849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850 (exit $ac_status); }; }; then
43851 glibcxx_cv_func___builtin_cosl_use=yes
43853 echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43856 glibcxx_cv_func___builtin_cosl_use=no
43858 rm -f conftest.$ac_objext conftest.$ac_ext
43860 ac_cpp='$CPP $CPPFLAGS'
43861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43869 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
43870 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
43871 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
43872 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
43873 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
43874 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
43875 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
43876 echo $ECHO_N "(cached) $ECHO_C" >&6
43879 if test x$gcc_no_link = xyes; then
43880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43882 { (exit 1); exit 1; }; }
43884 cat >conftest.$ac_ext <<_ACEOF
43885 #line $LINENO "configure"
43888 cat confdefs.h >>conftest.$ac_ext
43889 cat >>conftest.$ac_ext <<_ACEOF
43890 /* end confdefs.h. */
43900 rm -f conftest.$ac_objext conftest$ac_exeext
43901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43902 (eval $ac_link) 2>&5
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); } &&
43906 { ac_try='test -s conftest$ac_exeext'
43907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43908 (eval $ac_try) 2>&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; }; then
43912 glibcxx_cv_func___builtin_cosl_link=yes
43914 echo "$as_me: failed program was:" >&5
43915 sed 's/^/| /' conftest.$ac_ext >&5
43917 glibcxx_cv_func___builtin_cosl_link=no
43919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
43925 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
43926 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
43927 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43928 cat >>confdefs.h <<_ACEOF
43929 #define ${ac_tr_func} 1
43937 if test x$dummyvar = x"yes"; then
43938 cat >>confdefs.h <<\_ACEOF
43939 #define HAVE___BUILTIN_ABS 1
43942 cat >>confdefs.h <<\_ACEOF
43943 #define HAVE___BUILTIN_LABS 1
43946 cat >>confdefs.h <<\_ACEOF
43947 #define HAVE___BUILTIN_COS 1
43950 cat >>confdefs.h <<\_ACEOF
43951 #define HAVE___BUILTIN_COSF 1
43954 cat >>confdefs.h <<\_ACEOF
43955 #define HAVE___BUILTIN_COSL 1
43958 cat >>confdefs.h <<\_ACEOF
43959 #define HAVE___BUILTIN_FABS 1
43962 cat >>confdefs.h <<\_ACEOF
43963 #define HAVE___BUILTIN_FABSF 1
43966 cat >>confdefs.h <<\_ACEOF
43967 #define HAVE___BUILTIN_FABSL 1
43970 cat >>confdefs.h <<\_ACEOF
43971 #define HAVE___BUILTIN_SIN 1
43974 cat >>confdefs.h <<\_ACEOF
43975 #define HAVE___BUILTIN_SINF 1
43978 cat >>confdefs.h <<\_ACEOF
43979 #define HAVE___BUILTIN_SINL 1
43982 cat >>confdefs.h <<\_ACEOF
43983 #define HAVE___BUILTIN_SQRT 1
43986 cat >>confdefs.h <<\_ACEOF
43987 #define HAVE___BUILTIN_SQRTF 1
43990 cat >>confdefs.h <<\_ACEOF
43991 #define HAVE___BUILTIN_SQRTL 1
43998 echo "$as_me:$LINENO: checking for main in -lm" >&5
43999 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44000 if test "${ac_cv_lib_m_main+set}" = set; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44003 ac_check_lib_save_LIBS=$LIBS
44005 if test x$gcc_no_link = xyes; then
44006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44008 { (exit 1); exit 1; }; }
44010 cat >conftest.$ac_ext <<_ACEOF
44011 #line $LINENO "configure"
44014 cat confdefs.h >>conftest.$ac_ext
44015 cat >>conftest.$ac_ext <<_ACEOF
44016 /* end confdefs.h. */
44027 rm -f conftest.$ac_objext conftest$ac_exeext
44028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44029 (eval $ac_link) 2>&5
44031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44032 (exit $ac_status); } &&
44033 { ac_try='test -s conftest$ac_exeext'
44034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44035 (eval $ac_try) 2>&5
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); }; }; then
44039 ac_cv_lib_m_main=yes
44041 echo "$as_me: failed program was:" >&5
44042 sed 's/^/| /' conftest.$ac_ext >&5
44044 ac_cv_lib_m_main=no
44046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44047 LIBS=$ac_check_lib_save_LIBS
44049 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44050 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44051 if test $ac_cv_lib_m_main = yes; then
44052 cat >>confdefs.h <<_ACEOF
44053 #define HAVE_LIBM 1
44062 for ac_func in nan copysignf
44064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44065 echo "$as_me:$LINENO: checking for $ac_func" >&5
44066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44067 if eval "test \"\${$as_ac_var+set}\" = set"; then
44068 echo $ECHO_N "(cached) $ECHO_C" >&6
44070 if test x$gcc_no_link = xyes; then
44071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44073 { (exit 1); exit 1; }; }
44075 cat >conftest.$ac_ext <<_ACEOF
44076 #line $LINENO "configure"
44079 cat confdefs.h >>conftest.$ac_ext
44080 cat >>conftest.$ac_ext <<_ACEOF
44081 /* end confdefs.h. */
44082 /* System header to define __stub macros and hopefully few prototypes,
44083 which can conflict with char $ac_func (); below.
44084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44085 <limits.h> exists even on freestanding compilers. */
44087 # include <limits.h>
44089 # include <assert.h>
44091 /* Override any gcc2 internal prototype to avoid an error. */
44096 /* We use char because int might match the return type of a gcc2
44097 builtin and then its argument prototype would still apply. */
44099 /* The GNU C library defines this for functions which it implements
44100 to always fail with ENOSYS. Some functions are actually named
44101 something starting with __ and the normal name is an alias. */
44102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44105 char (*f) () = $ac_func;
44114 return f != $ac_func;
44119 rm -f conftest.$ac_objext conftest$ac_exeext
44120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44121 (eval $ac_link) 2>&5
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); } &&
44125 { ac_try='test -s conftest$ac_exeext'
44126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44127 (eval $ac_try) 2>&5
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; }; then
44131 eval "$as_ac_var=yes"
44133 echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44136 eval "$as_ac_var=no"
44138 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44142 if test `eval echo '${'$as_ac_var'}'` = yes; then
44143 cat >>confdefs.h <<_ACEOF
44144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44148 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44154 for ac_func in __signbit
44156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44157 echo "$as_me:$LINENO: checking for $ac_func" >&5
44158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44159 if eval "test \"\${$as_ac_var+set}\" = set"; then
44160 echo $ECHO_N "(cached) $ECHO_C" >&6
44162 if test x$gcc_no_link = xyes; then
44163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44165 { (exit 1); exit 1; }; }
44167 cat >conftest.$ac_ext <<_ACEOF
44168 #line $LINENO "configure"
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 /* System header to define __stub macros and hopefully few prototypes,
44175 which can conflict with char $ac_func (); below.
44176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44177 <limits.h> exists even on freestanding compilers. */
44179 # include <limits.h>
44181 # include <assert.h>
44183 /* Override any gcc2 internal prototype to avoid an error. */
44188 /* We use char because int might match the return type of a gcc2
44189 builtin and then its argument prototype would still apply. */
44191 /* The GNU C library defines this for functions which it implements
44192 to always fail with ENOSYS. Some functions are actually named
44193 something starting with __ and the normal name is an alias. */
44194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44197 char (*f) () = $ac_func;
44206 return f != $ac_func;
44211 rm -f conftest.$ac_objext conftest$ac_exeext
44212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44213 (eval $ac_link) 2>&5
44215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44216 (exit $ac_status); } &&
44217 { ac_try='test -s conftest$ac_exeext'
44218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44219 (eval $ac_try) 2>&5
44221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44222 (exit $ac_status); }; }; then
44223 eval "$as_ac_var=yes"
44225 echo "$as_me: failed program was:" >&5
44226 sed 's/^/| /' conftest.$ac_ext >&5
44228 eval "$as_ac_var=no"
44230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44234 if test `eval echo '${'$as_ac_var'}'` = yes; then
44235 cat >>confdefs.h <<_ACEOF
44236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44240 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44245 for ac_func in __signbitf
44247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44248 echo "$as_me:$LINENO: checking for $ac_func" >&5
44249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44250 if eval "test \"\${$as_ac_var+set}\" = set"; then
44251 echo $ECHO_N "(cached) $ECHO_C" >&6
44253 if test x$gcc_no_link = xyes; then
44254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44256 { (exit 1); exit 1; }; }
44258 cat >conftest.$ac_ext <<_ACEOF
44259 #line $LINENO "configure"
44262 cat confdefs.h >>conftest.$ac_ext
44263 cat >>conftest.$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44265 /* System header to define __stub macros and hopefully few prototypes,
44266 which can conflict with char $ac_func (); below.
44267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44268 <limits.h> exists even on freestanding compilers. */
44270 # include <limits.h>
44272 # include <assert.h>
44274 /* Override any gcc2 internal prototype to avoid an error. */
44279 /* We use char because int might match the return type of a gcc2
44280 builtin and then its argument prototype would still apply. */
44282 /* The GNU C library defines this for functions which it implements
44283 to always fail with ENOSYS. Some functions are actually named
44284 something starting with __ and the normal name is an alias. */
44285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44288 char (*f) () = $ac_func;
44297 return f != $ac_func;
44302 rm -f conftest.$ac_objext conftest$ac_exeext
44303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44304 (eval $ac_link) 2>&5
44306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307 (exit $ac_status); } &&
44308 { ac_try='test -s conftest$ac_exeext'
44309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44310 (eval $ac_try) 2>&5
44312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44313 (exit $ac_status); }; }; then
44314 eval "$as_ac_var=yes"
44316 echo "$as_me: failed program was:" >&5
44317 sed 's/^/| /' conftest.$ac_ext >&5
44319 eval "$as_ac_var=no"
44321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44325 if test `eval echo '${'$as_ac_var'}'` = yes; then
44326 cat >>confdefs.h <<_ACEOF
44327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44331 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44336 if test x$ac_cv_func_copysignl = x"yes"; then
44338 for ac_func in __signbitl
44340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44341 echo "$as_me:$LINENO: checking for $ac_func" >&5
44342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44343 if eval "test \"\${$as_ac_var+set}\" = set"; then
44344 echo $ECHO_N "(cached) $ECHO_C" >&6
44346 if test x$gcc_no_link = xyes; then
44347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44349 { (exit 1); exit 1; }; }
44351 cat >conftest.$ac_ext <<_ACEOF
44352 #line $LINENO "configure"
44355 cat confdefs.h >>conftest.$ac_ext
44356 cat >>conftest.$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44358 /* System header to define __stub macros and hopefully few prototypes,
44359 which can conflict with char $ac_func (); below.
44360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44361 <limits.h> exists even on freestanding compilers. */
44363 # include <limits.h>
44365 # include <assert.h>
44367 /* Override any gcc2 internal prototype to avoid an error. */
44372 /* We use char because int might match the return type of a gcc2
44373 builtin and then its argument prototype would still apply. */
44375 /* The GNU C library defines this for functions which it implements
44376 to always fail with ENOSYS. Some functions are actually named
44377 something starting with __ and the normal name is an alias. */
44378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44381 char (*f) () = $ac_func;
44390 return f != $ac_func;
44395 rm -f conftest.$ac_objext conftest$ac_exeext
44396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44397 (eval $ac_link) 2>&5
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); } &&
44401 { ac_try='test -s conftest$ac_exeext'
44402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44403 (eval $ac_try) 2>&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); }; }; then
44407 eval "$as_ac_var=yes"
44409 echo "$as_me: failed program was:" >&5
44410 sed 's/^/| /' conftest.$ac_ext >&5
44412 eval "$as_ac_var=no"
44414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44418 if test `eval echo '${'$as_ac_var'}'` = yes; then
44419 cat >>confdefs.h <<_ACEOF
44420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44424 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44430 # XXX Review this. Nothing uses it.
44431 if test -n "$LIBMATHOBJS"; then
44437 # Test wchar.h for mbstate_t, which is needed for char_traits and
44438 # others even if wchar_t support is not on.
44439 echo "$as_me:$LINENO: checking for mbstate_t" >&5
44440 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44441 cat >conftest.$ac_ext <<_ACEOF
44442 #line $LINENO "configure"
44445 cat confdefs.h >>conftest.$ac_ext
44446 cat >>conftest.$ac_ext <<_ACEOF
44447 /* end confdefs.h. */
44452 mbstate_t teststate;
44457 rm -f conftest.$ac_objext
44458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44459 (eval $ac_compile) 2>&5
44461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462 (exit $ac_status); } &&
44463 { ac_try='test -s conftest.$ac_objext'
44464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44465 (eval $ac_try) 2>&5
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); }; }; then
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44476 rm -f conftest.$ac_objext conftest.$ac_ext
44477 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44478 echo "${ECHO_T}$have_mbstate_t" >&6
44479 if test x"$have_mbstate_t" = xyes; then
44480 cat >>confdefs.h <<\_ACEOF
44481 #define HAVE_MBSTATE_T 1
44486 # Sanity check for existence of ISO C99 headers for extended encoding.
44488 for ac_header in wchar.h
44490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44492 echo "$as_me:$LINENO: checking for $ac_header" >&5
44493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44495 echo $ECHO_N "(cached) $ECHO_C" >&6
44497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44500 # Is the header compilable?
44501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44503 cat >conftest.$ac_ext <<_ACEOF
44504 #line $LINENO "configure"
44507 cat confdefs.h >>conftest.$ac_ext
44508 cat >>conftest.$ac_ext <<_ACEOF
44509 /* end confdefs.h. */
44510 $ac_includes_default
44511 #include <$ac_header>
44513 rm -f conftest.$ac_objext
44514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44515 (eval $ac_compile) 2>&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try='test -s conftest.$ac_objext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44525 ac_header_compiler=yes
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44530 ac_header_compiler=no
44532 rm -f conftest.$ac_objext conftest.$ac_ext
44533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44534 echo "${ECHO_T}$ac_header_compiler" >&6
44536 # Is the header present?
44537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44539 cat >conftest.$ac_ext <<_ACEOF
44540 #line $LINENO "configure"
44543 cat confdefs.h >>conftest.$ac_ext
44544 cat >>conftest.$ac_ext <<_ACEOF
44545 /* end confdefs.h. */
44546 #include <$ac_header>
44548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44551 grep -v '^ *+' conftest.er1 >conftest.err
44553 cat conftest.err >&5
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); } >/dev/null; then
44556 if test -s conftest.err; then
44557 ac_cpp_err=$ac_c_preproc_warn_flag
44564 if test -z "$ac_cpp_err"; then
44565 ac_header_preproc=yes
44567 echo "$as_me: failed program was:" >&5
44568 sed 's/^/| /' conftest.$ac_ext >&5
44570 ac_header_preproc=no
44572 rm -f conftest.err conftest.$ac_ext
44573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44574 echo "${ECHO_T}$ac_header_preproc" >&6
44576 # So? What about this header?
44577 case $ac_header_compiler:$ac_header_preproc in
44579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44585 ## ------------------------------------ ##
44586 ## Report this to bug-autoconf@gnu.org. ##
44587 ## ------------------------------------ ##
44590 sed "s/^/$as_me: WARNING: /" >&2
44593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44601 ## ------------------------------------ ##
44602 ## Report this to bug-autoconf@gnu.org. ##
44603 ## ------------------------------------ ##
44606 sed "s/^/$as_me: WARNING: /" >&2
44609 echo "$as_me:$LINENO: checking for $ac_header" >&5
44610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44612 echo $ECHO_N "(cached) $ECHO_C" >&6
44614 eval "$as_ac_Header=$ac_header_preproc"
44616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44621 cat >>confdefs.h <<_ACEOF
44622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44632 for ac_header in wctype.h
44634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44636 echo "$as_me:$LINENO: checking for $ac_header" >&5
44637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44639 echo $ECHO_N "(cached) $ECHO_C" >&6
44641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44644 # Is the header compilable?
44645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44647 cat >conftest.$ac_ext <<_ACEOF
44648 #line $LINENO "configure"
44651 cat confdefs.h >>conftest.$ac_ext
44652 cat >>conftest.$ac_ext <<_ACEOF
44653 /* end confdefs.h. */
44654 $ac_includes_default
44655 #include <$ac_header>
44657 rm -f conftest.$ac_objext
44658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44659 (eval $ac_compile) 2>&5
44661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44662 (exit $ac_status); } &&
44663 { ac_try='test -s conftest.$ac_objext'
44664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44665 (eval $ac_try) 2>&5
44667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44668 (exit $ac_status); }; }; then
44669 ac_header_compiler=yes
44671 echo "$as_me: failed program was:" >&5
44672 sed 's/^/| /' conftest.$ac_ext >&5
44674 ac_header_compiler=no
44676 rm -f conftest.$ac_objext conftest.$ac_ext
44677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44678 echo "${ECHO_T}$ac_header_compiler" >&6
44680 # Is the header present?
44681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44683 cat >conftest.$ac_ext <<_ACEOF
44684 #line $LINENO "configure"
44687 cat confdefs.h >>conftest.$ac_ext
44688 cat >>conftest.$ac_ext <<_ACEOF
44689 /* end confdefs.h. */
44690 #include <$ac_header>
44692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44695 grep -v '^ *+' conftest.er1 >conftest.err
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } >/dev/null; then
44700 if test -s conftest.err; then
44701 ac_cpp_err=$ac_c_preproc_warn_flag
44708 if test -z "$ac_cpp_err"; then
44709 ac_header_preproc=yes
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44714 ac_header_preproc=no
44716 rm -f conftest.err conftest.$ac_ext
44717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44718 echo "${ECHO_T}$ac_header_preproc" >&6
44720 # So? What about this header?
44721 case $ac_header_compiler:$ac_header_preproc in
44723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44729 ## ------------------------------------ ##
44730 ## Report this to bug-autoconf@gnu.org. ##
44731 ## ------------------------------------ ##
44734 sed "s/^/$as_me: WARNING: /" >&2
44737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44742 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44745 ## ------------------------------------ ##
44746 ## Report this to bug-autoconf@gnu.org. ##
44747 ## ------------------------------------ ##
44750 sed "s/^/$as_me: WARNING: /" >&2
44753 echo "$as_me:$LINENO: checking for $ac_header" >&5
44754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44756 echo $ECHO_N "(cached) $ECHO_C" >&6
44758 eval "$as_ac_Header=$ac_header_preproc"
44760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44765 cat >>confdefs.h <<_ACEOF
44766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44768 ac_has_wctype_h=yes
44776 # Only continue checking if the ISO C99 headers exist and support is on.
44777 if test x"$ac_has_wchar_h" = xyes &&
44778 test x"$ac_has_wctype_h" = xyes &&
44779 test x"$enable_c_mbchar" != xno; then
44781 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44782 # numeric_limits can instantiate type_traits<wchar_t>
44783 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44784 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44785 cat >conftest.$ac_ext <<_ACEOF
44786 #line $LINENO "configure"
44789 cat confdefs.h >>conftest.$ac_ext
44790 cat >>conftest.$ac_ext <<_ACEOF
44791 /* end confdefs.h. */
44796 int i = WCHAR_MIN; int j = WCHAR_MAX;
44801 rm -f conftest.$ac_objext
44802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44803 (eval $ac_compile) 2>&5
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); } &&
44807 { ac_try='test -s conftest.$ac_objext'
44808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44809 (eval $ac_try) 2>&5
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); }; }; then
44813 has_wchar_minmax=yes
44815 echo "$as_me: failed program was:" >&5
44816 sed 's/^/| /' conftest.$ac_ext >&5
44818 has_wchar_minmax=no
44820 rm -f conftest.$ac_objext conftest.$ac_ext
44821 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44822 echo "${ECHO_T}$has_wchar_minmax" >&6
44824 # Test wchar.h for WEOF, which is what we use to determine whether
44825 # to specialize for char_traits<wchar_t> or not.
44826 echo "$as_me:$LINENO: checking for WEOF" >&5
44827 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44828 cat >conftest.$ac_ext <<_ACEOF
44829 #line $LINENO "configure"
44832 cat confdefs.h >>conftest.$ac_ext
44833 cat >>conftest.$ac_ext <<_ACEOF
44834 /* end confdefs.h. */
44837 #include <stddef.h>
44846 rm -f conftest.$ac_objext
44847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44848 (eval $ac_compile) 2>&5
44850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44851 (exit $ac_status); } &&
44852 { ac_try='test -s conftest.$ac_objext'
44853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44854 (eval $ac_try) 2>&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); }; }; then
44860 echo "$as_me: failed program was:" >&5
44861 sed 's/^/| /' conftest.$ac_ext >&5
44865 rm -f conftest.$ac_objext conftest.$ac_ext
44866 echo "$as_me:$LINENO: result: $has_weof" >&5
44867 echo "${ECHO_T}$has_weof" >&6
44869 # Tests for wide character functions used in char_traits<wchar_t>.
44877 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
44879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44880 echo "$as_me:$LINENO: checking for $ac_func" >&5
44881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44882 if eval "test \"\${$as_ac_var+set}\" = set"; then
44883 echo $ECHO_N "(cached) $ECHO_C" >&6
44885 if test x$gcc_no_link = xyes; then
44886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44888 { (exit 1); exit 1; }; }
44890 cat >conftest.$ac_ext <<_ACEOF
44891 #line $LINENO "configure"
44894 cat confdefs.h >>conftest.$ac_ext
44895 cat >>conftest.$ac_ext <<_ACEOF
44896 /* end confdefs.h. */
44897 /* System header to define __stub macros and hopefully few prototypes,
44898 which can conflict with char $ac_func (); below.
44899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44900 <limits.h> exists even on freestanding compilers. */
44902 # include <limits.h>
44904 # include <assert.h>
44906 /* Override any gcc2 internal prototype to avoid an error. */
44911 /* We use char because int might match the return type of a gcc2
44912 builtin and then its argument prototype would still apply. */
44914 /* The GNU C library defines this for functions which it implements
44915 to always fail with ENOSYS. Some functions are actually named
44916 something starting with __ and the normal name is an alias. */
44917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44920 char (*f) () = $ac_func;
44929 return f != $ac_func;
44934 rm -f conftest.$ac_objext conftest$ac_exeext
44935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44936 (eval $ac_link) 2>&5
44938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44939 (exit $ac_status); } &&
44940 { ac_try='test -s conftest$ac_exeext'
44941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44942 (eval $ac_try) 2>&5
44944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44945 (exit $ac_status); }; }; then
44946 eval "$as_ac_var=yes"
44948 echo "$as_me: failed program was:" >&5
44949 sed 's/^/| /' conftest.$ac_ext >&5
44951 eval "$as_ac_var=no"
44953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44957 if test `eval echo '${'$as_ac_var'}'` = yes; then
44958 cat >>confdefs.h <<_ACEOF
44959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44968 # Checks for names injected into std:: by the c_std headers.
45019 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45020 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
45021 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45022 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
45023 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45024 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45027 echo "$as_me:$LINENO: checking for $ac_func" >&5
45028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45029 if eval "test \"\${$as_ac_var+set}\" = set"; then
45030 echo $ECHO_N "(cached) $ECHO_C" >&6
45032 if test x$gcc_no_link = xyes; then
45033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45035 { (exit 1); exit 1; }; }
45037 cat >conftest.$ac_ext <<_ACEOF
45038 #line $LINENO "configure"
45041 cat confdefs.h >>conftest.$ac_ext
45042 cat >>conftest.$ac_ext <<_ACEOF
45043 /* end confdefs.h. */
45044 /* System header to define __stub macros and hopefully few prototypes,
45045 which can conflict with char $ac_func (); below.
45046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45047 <limits.h> exists even on freestanding compilers. */
45049 # include <limits.h>
45051 # include <assert.h>
45053 /* Override any gcc2 internal prototype to avoid an error. */
45058 /* We use char because int might match the return type of a gcc2
45059 builtin and then its argument prototype would still apply. */
45061 /* The GNU C library defines this for functions which it implements
45062 to always fail with ENOSYS. Some functions are actually named
45063 something starting with __ and the normal name is an alias. */
45064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45067 char (*f) () = $ac_func;
45076 return f != $ac_func;
45081 rm -f conftest.$ac_objext conftest$ac_exeext
45082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45083 (eval $ac_link) 2>&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } &&
45087 { ac_try='test -s conftest$ac_exeext'
45088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45089 (eval $ac_try) 2>&5
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); }; }; then
45093 eval "$as_ac_var=yes"
45095 echo "$as_me: failed program was:" >&5
45096 sed 's/^/| /' conftest.$ac_ext >&5
45098 eval "$as_ac_var=no"
45100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45104 if test `eval echo '${'$as_ac_var'}'` = yes; then
45105 cat >>confdefs.h <<_ACEOF
45106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45115 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45116 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45117 if test x"$has_weof" = xyes &&
45118 test x"$has_wchar_minmax" = xyes &&
45119 test x"$ac_wfuncs" = xyes;
45121 ac_isoC99_wchar_t=yes
45123 ac_isoC99_wchar_t=no
45125 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45126 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45128 # Use iconv for wchar_t to char conversions. As such, check for
45129 # X/Open Portability Guide, version 2 features (XPG2).
45130 if test "${ac_cv_header_iconv_h+set}" = set; then
45131 echo "$as_me:$LINENO: checking for iconv.h" >&5
45132 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45133 if test "${ac_cv_header_iconv_h+set}" = set; then
45134 echo $ECHO_N "(cached) $ECHO_C" >&6
45136 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45137 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45139 # Is the header compilable?
45140 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45141 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45142 cat >conftest.$ac_ext <<_ACEOF
45143 #line $LINENO "configure"
45146 cat confdefs.h >>conftest.$ac_ext
45147 cat >>conftest.$ac_ext <<_ACEOF
45148 /* end confdefs.h. */
45149 $ac_includes_default
45152 rm -f conftest.$ac_objext
45153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45154 (eval $ac_compile) 2>&5
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); } &&
45158 { ac_try='test -s conftest.$ac_objext'
45159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45160 (eval $ac_try) 2>&5
45162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45163 (exit $ac_status); }; }; then
45164 ac_header_compiler=yes
45166 echo "$as_me: failed program was:" >&5
45167 sed 's/^/| /' conftest.$ac_ext >&5
45169 ac_header_compiler=no
45171 rm -f conftest.$ac_objext conftest.$ac_ext
45172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45173 echo "${ECHO_T}$ac_header_compiler" >&6
45175 # Is the header present?
45176 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45177 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45178 cat >conftest.$ac_ext <<_ACEOF
45179 #line $LINENO "configure"
45182 cat confdefs.h >>conftest.$ac_ext
45183 cat >>conftest.$ac_ext <<_ACEOF
45184 /* end confdefs.h. */
45187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45190 grep -v '^ *+' conftest.er1 >conftest.err
45192 cat conftest.err >&5
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); } >/dev/null; then
45195 if test -s conftest.err; then
45196 ac_cpp_err=$ac_c_preproc_warn_flag
45203 if test -z "$ac_cpp_err"; then
45204 ac_header_preproc=yes
45206 echo "$as_me: failed program was:" >&5
45207 sed 's/^/| /' conftest.$ac_ext >&5
45209 ac_header_preproc=no
45211 rm -f conftest.err conftest.$ac_ext
45212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45213 echo "${ECHO_T}$ac_header_preproc" >&6
45215 # So? What about this header?
45216 case $ac_header_compiler:$ac_header_preproc in
45218 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45219 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45220 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45221 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45224 ## ------------------------------------ ##
45225 ## Report this to bug-autoconf@gnu.org. ##
45226 ## ------------------------------------ ##
45229 sed "s/^/$as_me: WARNING: /" >&2
45232 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45233 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45234 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45235 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45236 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45237 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45240 ## ------------------------------------ ##
45241 ## Report this to bug-autoconf@gnu.org. ##
45242 ## ------------------------------------ ##
45245 sed "s/^/$as_me: WARNING: /" >&2
45248 echo "$as_me:$LINENO: checking for iconv.h" >&5
45249 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45250 if test "${ac_cv_header_iconv_h+set}" = set; then
45251 echo $ECHO_N "(cached) $ECHO_C" >&6
45253 ac_cv_header_iconv_h=$ac_header_preproc
45255 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45256 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45259 if test $ac_cv_header_iconv_h = yes; then
45266 if test "${ac_cv_header_langinfo_h+set}" = set; then
45267 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45268 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45269 if test "${ac_cv_header_langinfo_h+set}" = set; then
45270 echo $ECHO_N "(cached) $ECHO_C" >&6
45272 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45273 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45275 # Is the header compilable?
45276 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45277 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45278 cat >conftest.$ac_ext <<_ACEOF
45279 #line $LINENO "configure"
45282 cat confdefs.h >>conftest.$ac_ext
45283 cat >>conftest.$ac_ext <<_ACEOF
45284 /* end confdefs.h. */
45285 $ac_includes_default
45286 #include <langinfo.h>
45288 rm -f conftest.$ac_objext
45289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45290 (eval $ac_compile) 2>&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } &&
45294 { ac_try='test -s conftest.$ac_objext'
45295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45296 (eval $ac_try) 2>&5
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); }; }; then
45300 ac_header_compiler=yes
45302 echo "$as_me: failed program was:" >&5
45303 sed 's/^/| /' conftest.$ac_ext >&5
45305 ac_header_compiler=no
45307 rm -f conftest.$ac_objext conftest.$ac_ext
45308 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45309 echo "${ECHO_T}$ac_header_compiler" >&6
45311 # Is the header present?
45312 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45313 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45314 cat >conftest.$ac_ext <<_ACEOF
45315 #line $LINENO "configure"
45318 cat confdefs.h >>conftest.$ac_ext
45319 cat >>conftest.$ac_ext <<_ACEOF
45320 /* end confdefs.h. */
45321 #include <langinfo.h>
45323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45326 grep -v '^ *+' conftest.er1 >conftest.err
45328 cat conftest.err >&5
45329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45330 (exit $ac_status); } >/dev/null; then
45331 if test -s conftest.err; then
45332 ac_cpp_err=$ac_c_preproc_warn_flag
45339 if test -z "$ac_cpp_err"; then
45340 ac_header_preproc=yes
45342 echo "$as_me: failed program was:" >&5
45343 sed 's/^/| /' conftest.$ac_ext >&5
45345 ac_header_preproc=no
45347 rm -f conftest.err conftest.$ac_ext
45348 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45349 echo "${ECHO_T}$ac_header_preproc" >&6
45351 # So? What about this header?
45352 case $ac_header_compiler:$ac_header_preproc in
45354 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45355 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45356 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45357 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45360 ## ------------------------------------ ##
45361 ## Report this to bug-autoconf@gnu.org. ##
45362 ## ------------------------------------ ##
45365 sed "s/^/$as_me: WARNING: /" >&2
45368 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45369 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45370 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45371 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45372 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45373 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45376 ## ------------------------------------ ##
45377 ## Report this to bug-autoconf@gnu.org. ##
45378 ## ------------------------------------ ##
45381 sed "s/^/$as_me: WARNING: /" >&2
45384 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45385 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45386 if test "${ac_cv_header_langinfo_h+set}" = set; then
45387 echo $ECHO_N "(cached) $ECHO_C" >&6
45389 ac_cv_header_langinfo_h=$ac_header_preproc
45391 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45392 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45395 if test $ac_cv_header_langinfo_h = yes; then
45396 ac_has_langinfo_h=yes
45398 ac_has_langinfo_h=no
45403 # Check for existence of libiconv.a providing XPG2 wchar_t support.
45404 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45405 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45406 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45407 echo $ECHO_N "(cached) $ECHO_C" >&6
45409 ac_check_lib_save_LIBS=$LIBS
45410 LIBS="-liconv $LIBS"
45411 if test x$gcc_no_link = xyes; then
45412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45414 { (exit 1); exit 1; }; }
45416 cat >conftest.$ac_ext <<_ACEOF
45417 #line $LINENO "configure"
45420 cat confdefs.h >>conftest.$ac_ext
45421 cat >>conftest.$ac_ext <<_ACEOF
45422 /* end confdefs.h. */
45424 /* Override any gcc2 internal prototype to avoid an error. */
45428 /* We use char because int might match the return type of a gcc2
45429 builtin and then its argument prototype would still apply. */
45439 rm -f conftest.$ac_objext conftest$ac_exeext
45440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45441 (eval $ac_link) 2>&5
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); } &&
45445 { ac_try='test -s conftest$ac_exeext'
45446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45447 (eval $ac_try) 2>&5
45449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45450 (exit $ac_status); }; }; then
45451 ac_cv_lib_iconv_iconv=yes
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45456 ac_cv_lib_iconv_iconv=no
45458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45459 LIBS=$ac_check_lib_save_LIBS
45461 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45462 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45463 if test $ac_cv_lib_iconv_iconv = yes; then
45467 ac_save_LIBS="$LIBS"
45468 LIBS="$LIBS $libiconv"
45474 for ac_func in iconv_open iconv_close iconv nl_langinfo
45476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45477 echo "$as_me:$LINENO: checking for $ac_func" >&5
45478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45479 if eval "test \"\${$as_ac_var+set}\" = set"; then
45480 echo $ECHO_N "(cached) $ECHO_C" >&6
45482 if test x$gcc_no_link = xyes; then
45483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45485 { (exit 1); exit 1; }; }
45487 cat >conftest.$ac_ext <<_ACEOF
45488 #line $LINENO "configure"
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 /* System header to define __stub macros and hopefully few prototypes,
45495 which can conflict with char $ac_func (); below.
45496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45497 <limits.h> exists even on freestanding compilers. */
45499 # include <limits.h>
45501 # include <assert.h>
45503 /* Override any gcc2 internal prototype to avoid an error. */
45508 /* We use char because int might match the return type of a gcc2
45509 builtin and then its argument prototype would still apply. */
45511 /* The GNU C library defines this for functions which it implements
45512 to always fail with ENOSYS. Some functions are actually named
45513 something starting with __ and the normal name is an alias. */
45514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45517 char (*f) () = $ac_func;
45526 return f != $ac_func;
45531 rm -f conftest.$ac_objext conftest$ac_exeext
45532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45533 (eval $ac_link) 2>&5
45535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45536 (exit $ac_status); } &&
45537 { ac_try='test -s conftest$ac_exeext'
45538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45539 (eval $ac_try) 2>&5
45541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45542 (exit $ac_status); }; }; then
45543 eval "$as_ac_var=yes"
45545 echo "$as_me: failed program was:" >&5
45546 sed 's/^/| /' conftest.$ac_ext >&5
45548 eval "$as_ac_var=no"
45550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45554 if test `eval echo '${'$as_ac_var'}'` = yes; then
45555 cat >>confdefs.h <<_ACEOF
45556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45565 LIBS="$ac_save_LIBS"
45567 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45568 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45569 if test x"$ac_has_iconv_h" = xyes &&
45570 test x"$ac_has_langinfo_h" = xyes &&
45571 test x"$ac_XPG2funcs" = xyes;
45573 ac_XPG2_wchar_t=yes
45577 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45578 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45580 # At the moment, only enable wchar_t specializations if all the
45581 # above support is present.
45582 if test x"$ac_isoC99_wchar_t" = xyes &&
45583 test x"$ac_XPG2_wchar_t" = xyes;
45585 cat >>confdefs.h <<\_ACEOF
45586 #define _GLIBCXX_USE_WCHAR_T 1
45592 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45593 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45594 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45595 echo "${ECHO_T}$enable_wchar_t" >&6
45598 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45599 ac_save_CXXFLAGS="$CXXFLAGS"
45600 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45603 echo "$as_me:$LINENO: checking for strtold declaration" >&5
45604 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45605 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45606 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45607 echo $ECHO_N "(cached) $ECHO_C" >&6
45613 ac_cpp='$CXXCPP $CPPFLAGS'
45614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45618 cat >conftest.$ac_ext <<_ACEOF
45619 #line $LINENO "configure"
45622 cat confdefs.h >>conftest.$ac_ext
45623 cat >>conftest.$ac_ext <<_ACEOF
45624 /* end confdefs.h. */
45625 #include <stdlib.h>
45634 rm -f conftest.$ac_objext
45635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45636 (eval $ac_compile) 2>&5
45638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45639 (exit $ac_status); } &&
45640 { ac_try='test -s conftest.$ac_objext'
45641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45642 (eval $ac_try) 2>&5
45644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45645 (exit $ac_status); }; }; then
45646 glibcxx_cv_func_strtold_use=yes
45648 echo "$as_me: failed program was:" >&5
45649 sed 's/^/| /' conftest.$ac_ext >&5
45651 glibcxx_cv_func_strtold_use=no
45653 rm -f conftest.$ac_objext conftest.$ac_ext
45655 ac_cpp='$CPP $CPPFLAGS'
45656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45665 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45666 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45668 for ac_func in strtold
45670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45671 echo "$as_me:$LINENO: checking for $ac_func" >&5
45672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45673 if eval "test \"\${$as_ac_var+set}\" = set"; then
45674 echo $ECHO_N "(cached) $ECHO_C" >&6
45676 if test x$gcc_no_link = xyes; then
45677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45679 { (exit 1); exit 1; }; }
45681 cat >conftest.$ac_ext <<_ACEOF
45682 #line $LINENO "configure"
45685 cat confdefs.h >>conftest.$ac_ext
45686 cat >>conftest.$ac_ext <<_ACEOF
45687 /* end confdefs.h. */
45688 /* System header to define __stub macros and hopefully few prototypes,
45689 which can conflict with char $ac_func (); below.
45690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45691 <limits.h> exists even on freestanding compilers. */
45693 # include <limits.h>
45695 # include <assert.h>
45697 /* Override any gcc2 internal prototype to avoid an error. */
45702 /* We use char because int might match the return type of a gcc2
45703 builtin and then its argument prototype would still apply. */
45705 /* The GNU C library defines this for functions which it implements
45706 to always fail with ENOSYS. Some functions are actually named
45707 something starting with __ and the normal name is an alias. */
45708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45711 char (*f) () = $ac_func;
45720 return f != $ac_func;
45725 rm -f conftest.$ac_objext conftest$ac_exeext
45726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45727 (eval $ac_link) 2>&5
45729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45730 (exit $ac_status); } &&
45731 { ac_try='test -s conftest$ac_exeext'
45732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45733 (eval $ac_try) 2>&5
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); }; }; then
45737 eval "$as_ac_var=yes"
45739 echo "$as_me: failed program was:" >&5
45740 sed 's/^/| /' conftest.$ac_ext >&5
45742 eval "$as_ac_var=no"
45744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45748 if test `eval echo '${'$as_ac_var'}'` = yes; then
45749 cat >>confdefs.h <<_ACEOF
45750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45759 echo "$as_me:$LINENO: checking for strtof declaration" >&5
45760 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
45761 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45762 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
45763 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 ac_cpp='$CXXCPP $CPPFLAGS'
45770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45774 cat >conftest.$ac_ext <<_ACEOF
45775 #line $LINENO "configure"
45778 cat confdefs.h >>conftest.$ac_ext
45779 cat >>conftest.$ac_ext <<_ACEOF
45780 /* end confdefs.h. */
45781 #include <stdlib.h>
45790 rm -f conftest.$ac_objext
45791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45792 (eval $ac_compile) 2>&5
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); } &&
45796 { ac_try='test -s conftest.$ac_objext'
45797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45798 (eval $ac_try) 2>&5
45800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45801 (exit $ac_status); }; }; then
45802 glibcxx_cv_func_strtof_use=yes
45804 echo "$as_me: failed program was:" >&5
45805 sed 's/^/| /' conftest.$ac_ext >&5
45807 glibcxx_cv_func_strtof_use=no
45809 rm -f conftest.$ac_objext conftest.$ac_ext
45811 ac_cpp='$CPP $CPPFLAGS'
45812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
45821 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
45822 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45824 for ac_func in strtof
45826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45827 echo "$as_me:$LINENO: checking for $ac_func" >&5
45828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45829 if eval "test \"\${$as_ac_var+set}\" = set"; then
45830 echo $ECHO_N "(cached) $ECHO_C" >&6
45832 if test x$gcc_no_link = xyes; then
45833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45835 { (exit 1); exit 1; }; }
45837 cat >conftest.$ac_ext <<_ACEOF
45838 #line $LINENO "configure"
45841 cat confdefs.h >>conftest.$ac_ext
45842 cat >>conftest.$ac_ext <<_ACEOF
45843 /* end confdefs.h. */
45844 /* System header to define __stub macros and hopefully few prototypes,
45845 which can conflict with char $ac_func (); below.
45846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45847 <limits.h> exists even on freestanding compilers. */
45849 # include <limits.h>
45851 # include <assert.h>
45853 /* Override any gcc2 internal prototype to avoid an error. */
45858 /* We use char because int might match the return type of a gcc2
45859 builtin and then its argument prototype would still apply. */
45861 /* The GNU C library defines this for functions which it implements
45862 to always fail with ENOSYS. Some functions are actually named
45863 something starting with __ and the normal name is an alias. */
45864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45867 char (*f) () = $ac_func;
45876 return f != $ac_func;
45881 rm -f conftest.$ac_objext conftest$ac_exeext
45882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45883 (eval $ac_link) 2>&5
45885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45886 (exit $ac_status); } &&
45887 { ac_try='test -s conftest$ac_exeext'
45888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45889 (eval $ac_try) 2>&5
45891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45892 (exit $ac_status); }; }; then
45893 eval "$as_ac_var=yes"
45895 echo "$as_me: failed program was:" >&5
45896 sed 's/^/| /' conftest.$ac_ext >&5
45898 eval "$as_ac_var=no"
45900 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45904 if test `eval echo '${'$as_ac_var'}'` = yes; then
45905 cat >>confdefs.h <<_ACEOF
45906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45915 for ac_func in drand48
45917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45918 echo "$as_me:$LINENO: checking for $ac_func" >&5
45919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45920 if eval "test \"\${$as_ac_var+set}\" = set"; then
45921 echo $ECHO_N "(cached) $ECHO_C" >&6
45923 if test x$gcc_no_link = xyes; then
45924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45926 { (exit 1); exit 1; }; }
45928 cat >conftest.$ac_ext <<_ACEOF
45929 #line $LINENO "configure"
45932 cat confdefs.h >>conftest.$ac_ext
45933 cat >>conftest.$ac_ext <<_ACEOF
45934 /* end confdefs.h. */
45935 /* System header to define __stub macros and hopefully few prototypes,
45936 which can conflict with char $ac_func (); below.
45937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45938 <limits.h> exists even on freestanding compilers. */
45940 # include <limits.h>
45942 # include <assert.h>
45944 /* Override any gcc2 internal prototype to avoid an error. */
45949 /* We use char because int might match the return type of a gcc2
45950 builtin and then its argument prototype would still apply. */
45952 /* The GNU C library defines this for functions which it implements
45953 to always fail with ENOSYS. Some functions are actually named
45954 something starting with __ and the normal name is an alias. */
45955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45958 char (*f) () = $ac_func;
45967 return f != $ac_func;
45972 rm -f conftest.$ac_objext conftest$ac_exeext
45973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45974 (eval $ac_link) 2>&5
45976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45977 (exit $ac_status); } &&
45978 { ac_try='test -s conftest$ac_exeext'
45979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45980 (eval $ac_try) 2>&5
45982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45983 (exit $ac_status); }; }; then
45984 eval "$as_ac_var=yes"
45986 echo "$as_me: failed program was:" >&5
45987 sed 's/^/| /' conftest.$ac_ext >&5
45989 eval "$as_ac_var=no"
45991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45995 if test `eval echo '${'$as_ac_var'}'` = yes; then
45996 cat >>confdefs.h <<_ACEOF
45997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46004 CXXFLAGS="$ac_save_CXXFLAGS"
46007 # For showmanyc_helper().
46010 for ac_header in sys/ioctl.h sys/filio.h
46012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46014 echo "$as_me:$LINENO: checking for $ac_header" >&5
46015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46017 echo $ECHO_N "(cached) $ECHO_C" >&6
46019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46020 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46022 # Is the header compilable?
46023 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46024 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46025 cat >conftest.$ac_ext <<_ACEOF
46026 #line $LINENO "configure"
46029 cat confdefs.h >>conftest.$ac_ext
46030 cat >>conftest.$ac_ext <<_ACEOF
46031 /* end confdefs.h. */
46032 $ac_includes_default
46033 #include <$ac_header>
46035 rm -f conftest.$ac_objext
46036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46037 (eval $ac_compile) 2>&5
46039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040 (exit $ac_status); } &&
46041 { ac_try='test -s conftest.$ac_objext'
46042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46043 (eval $ac_try) 2>&5
46045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46046 (exit $ac_status); }; }; then
46047 ac_header_compiler=yes
46049 echo "$as_me: failed program was:" >&5
46050 sed 's/^/| /' conftest.$ac_ext >&5
46052 ac_header_compiler=no
46054 rm -f conftest.$ac_objext conftest.$ac_ext
46055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46056 echo "${ECHO_T}$ac_header_compiler" >&6
46058 # Is the header present?
46059 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46060 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46061 cat >conftest.$ac_ext <<_ACEOF
46062 #line $LINENO "configure"
46065 cat confdefs.h >>conftest.$ac_ext
46066 cat >>conftest.$ac_ext <<_ACEOF
46067 /* end confdefs.h. */
46068 #include <$ac_header>
46070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46073 grep -v '^ *+' conftest.er1 >conftest.err
46075 cat conftest.err >&5
46076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46077 (exit $ac_status); } >/dev/null; then
46078 if test -s conftest.err; then
46079 ac_cpp_err=$ac_c_preproc_warn_flag
46086 if test -z "$ac_cpp_err"; then
46087 ac_header_preproc=yes
46089 echo "$as_me: failed program was:" >&5
46090 sed 's/^/| /' conftest.$ac_ext >&5
46092 ac_header_preproc=no
46094 rm -f conftest.err conftest.$ac_ext
46095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46096 echo "${ECHO_T}$ac_header_preproc" >&6
46098 # So? What about this header?
46099 case $ac_header_compiler:$ac_header_preproc in
46101 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46102 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46107 ## ------------------------------------ ##
46108 ## Report this to bug-autoconf@gnu.org. ##
46109 ## ------------------------------------ ##
46112 sed "s/^/$as_me: WARNING: /" >&2
46115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46120 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46123 ## ------------------------------------ ##
46124 ## Report this to bug-autoconf@gnu.org. ##
46125 ## ------------------------------------ ##
46128 sed "s/^/$as_me: WARNING: /" >&2
46131 echo "$as_me:$LINENO: checking for $ac_header" >&5
46132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46134 echo $ECHO_N "(cached) $ECHO_C" >&6
46136 eval "$as_ac_Header=$ac_header_preproc"
46138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46143 cat >>confdefs.h <<_ACEOF
46144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46152 if test "${glibcxx_cv_POLL+set}" = set; then
46153 echo $ECHO_N "(cached) $ECHO_C" >&6
46156 cat >conftest.$ac_ext <<_ACEOF
46157 #line $LINENO "configure"
46160 cat confdefs.h >>conftest.$ac_ext
46161 cat >>conftest.$ac_ext <<_ACEOF
46162 /* end confdefs.h. */
46167 struct pollfd pfd[1];
46168 pfd[0].events = POLLIN;
46174 rm -f conftest.$ac_objext
46175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46176 (eval $ac_compile) 2>&5
46178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46179 (exit $ac_status); } &&
46180 { ac_try='test -s conftest.$ac_objext'
46181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46182 (eval $ac_try) 2>&5
46184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185 (exit $ac_status); }; }; then
46186 glibcxx_cv_POLL=yes
46188 echo "$as_me: failed program was:" >&5
46189 sed 's/^/| /' conftest.$ac_ext >&5
46193 rm -f conftest.$ac_objext conftest.$ac_ext
46197 if test $glibcxx_cv_POLL = yes; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define HAVE_POLL 1
46205 if test "${glibcxx_cv_S_ISREG+set}" = set; then
46206 echo $ECHO_N "(cached) $ECHO_C" >&6
46209 if test x$gcc_no_link = xyes; then
46210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46212 { (exit 1); exit 1; }; }
46214 cat >conftest.$ac_ext <<_ACEOF
46215 #line $LINENO "configure"
46218 cat confdefs.h >>conftest.$ac_ext
46219 cat >>conftest.$ac_ext <<_ACEOF
46220 /* end confdefs.h. */
46221 #include <sys/stat.h>
46225 struct stat buffer;
46227 S_ISREG(buffer.st_mode);
46232 rm -f conftest.$ac_objext conftest$ac_exeext
46233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46234 (eval $ac_link) 2>&5
46236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46237 (exit $ac_status); } &&
46238 { ac_try='test -s conftest$ac_exeext'
46239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46240 (eval $ac_try) 2>&5
46242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46243 (exit $ac_status); }; }; then
46244 glibcxx_cv_S_ISREG=yes
46246 echo "$as_me: failed program was:" >&5
46247 sed 's/^/| /' conftest.$ac_ext >&5
46249 glibcxx_cv_S_ISREG=no
46251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46255 if test "${glibcxx_cv_S_IFREG+set}" = set; then
46256 echo $ECHO_N "(cached) $ECHO_C" >&6
46259 if test x$gcc_no_link = xyes; then
46260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46262 { (exit 1); exit 1; }; }
46264 cat >conftest.$ac_ext <<_ACEOF
46265 #line $LINENO "configure"
46268 cat confdefs.h >>conftest.$ac_ext
46269 cat >>conftest.$ac_ext <<_ACEOF
46270 /* end confdefs.h. */
46271 #include <sys/stat.h>
46275 struct stat buffer;
46277 S_IFREG & buffer.st_mode;
46282 rm -f conftest.$ac_objext conftest$ac_exeext
46283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46284 (eval $ac_link) 2>&5
46286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46287 (exit $ac_status); } &&
46288 { ac_try='test -s conftest$ac_exeext'
46289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46290 (eval $ac_try) 2>&5
46292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46293 (exit $ac_status); }; }; then
46294 glibcxx_cv_S_IFREG=yes
46296 echo "$as_me: failed program was:" >&5
46297 sed 's/^/| /' conftest.$ac_ext >&5
46299 glibcxx_cv_S_IFREG=no
46301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46305 if test $glibcxx_cv_S_ISREG = yes; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define HAVE_S_ISREG 1
46310 elif test $glibcxx_cv_S_IFREG = yes; then
46311 cat >>confdefs.h <<\_ACEOF
46312 #define HAVE_S_IFREG 1
46320 for ac_header in sys/uio.h
46322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46324 echo "$as_me:$LINENO: checking for $ac_header" >&5
46325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46327 echo $ECHO_N "(cached) $ECHO_C" >&6
46329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46332 # Is the header compilable?
46333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46335 cat >conftest.$ac_ext <<_ACEOF
46336 #line $LINENO "configure"
46339 cat confdefs.h >>conftest.$ac_ext
46340 cat >>conftest.$ac_ext <<_ACEOF
46341 /* end confdefs.h. */
46342 $ac_includes_default
46343 #include <$ac_header>
46345 rm -f conftest.$ac_objext
46346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46347 (eval $ac_compile) 2>&5
46349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46350 (exit $ac_status); } &&
46351 { ac_try='test -s conftest.$ac_objext'
46352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46353 (eval $ac_try) 2>&5
46355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46356 (exit $ac_status); }; }; then
46357 ac_header_compiler=yes
46359 echo "$as_me: failed program was:" >&5
46360 sed 's/^/| /' conftest.$ac_ext >&5
46362 ac_header_compiler=no
46364 rm -f conftest.$ac_objext conftest.$ac_ext
46365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46366 echo "${ECHO_T}$ac_header_compiler" >&6
46368 # Is the header present?
46369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46371 cat >conftest.$ac_ext <<_ACEOF
46372 #line $LINENO "configure"
46375 cat confdefs.h >>conftest.$ac_ext
46376 cat >>conftest.$ac_ext <<_ACEOF
46377 /* end confdefs.h. */
46378 #include <$ac_header>
46380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46383 grep -v '^ *+' conftest.er1 >conftest.err
46385 cat conftest.err >&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); } >/dev/null; then
46388 if test -s conftest.err; then
46389 ac_cpp_err=$ac_c_preproc_warn_flag
46396 if test -z "$ac_cpp_err"; then
46397 ac_header_preproc=yes
46399 echo "$as_me: failed program was:" >&5
46400 sed 's/^/| /' conftest.$ac_ext >&5
46402 ac_header_preproc=no
46404 rm -f conftest.err conftest.$ac_ext
46405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46406 echo "${ECHO_T}$ac_header_preproc" >&6
46408 # So? What about this header?
46409 case $ac_header_compiler:$ac_header_preproc in
46411 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46417 ## ------------------------------------ ##
46418 ## Report this to bug-autoconf@gnu.org. ##
46419 ## ------------------------------------ ##
46422 sed "s/^/$as_me: WARNING: /" >&2
46425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46433 ## ------------------------------------ ##
46434 ## Report this to bug-autoconf@gnu.org. ##
46435 ## ------------------------------------ ##
46438 sed "s/^/$as_me: WARNING: /" >&2
46441 echo "$as_me:$LINENO: checking for $ac_header" >&5
46442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46444 echo $ECHO_N "(cached) $ECHO_C" >&6
46446 eval "$as_ac_Header=$ac_header_preproc"
46448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46453 cat >>confdefs.h <<_ACEOF
46454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46462 if test "${glibcxx_cv_WRITEV+set}" = set; then
46463 echo $ECHO_N "(cached) $ECHO_C" >&6
46466 cat >conftest.$ac_ext <<_ACEOF
46467 #line $LINENO "configure"
46470 cat confdefs.h >>conftest.$ac_ext
46471 cat >>conftest.$ac_ext <<_ACEOF
46472 /* end confdefs.h. */
46473 #include <sys/uio.h>
46477 struct iovec iov[2];
46483 rm -f conftest.$ac_objext
46484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46485 (eval $ac_compile) 2>&5
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); } &&
46489 { ac_try='test -s conftest.$ac_objext'
46490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46491 (eval $ac_try) 2>&5
46493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46494 (exit $ac_status); }; }; then
46495 glibcxx_cv_WRITEV=yes
46497 echo "$as_me: failed program was:" >&5
46498 sed 's/^/| /' conftest.$ac_ext >&5
46500 glibcxx_cv_WRITEV=no
46502 rm -f conftest.$ac_objext conftest.$ac_ext
46506 if test $glibcxx_cv_WRITEV = yes; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define HAVE_WRITEV 1
46514 cat >>confdefs.h <<\_ACEOF
46515 #define HAVE_LC_MESSAGES 1
46519 cat >conftest.$ac_ext <<_ACEOF
46520 #line $LINENO "configure"
46523 cat confdefs.h >>conftest.$ac_ext
46524 cat >>conftest.$ac_ext <<_ACEOF
46525 /* end confdefs.h. */
46526 #include <setjmp.h>
46531 while (! sigsetjmp (env, 1))
46532 siglongjmp (env, 1);
46538 rm -f conftest.$ac_objext
46539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46540 (eval $ac_compile) 2>&5
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); } &&
46544 { ac_try='test -s conftest.$ac_objext'
46545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46546 (eval $ac_try) 2>&5
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); }; }; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define HAVE_SIGSETJMP 1
46556 echo "$as_me: failed program was:" >&5
46557 sed 's/^/| /' conftest.$ac_ext >&5
46560 rm -f conftest.$ac_objext conftest.$ac_ext
46562 cat >>confdefs.h <<\_ACEOF
46563 #define HAVE_MMAP 1
46569 #os_include_dir="os/bsd/freebsd"
46586 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
46587 machine/endian.h machine/param.h sys/machine.h sys/types.h \
46588 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
46589 sys/time.h unistd.h
46591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46593 echo "$as_me:$LINENO: checking for $ac_header" >&5
46594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46596 echo $ECHO_N "(cached) $ECHO_C" >&6
46598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46601 # Is the header compilable?
46602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46604 cat >conftest.$ac_ext <<_ACEOF
46605 #line $LINENO "configure"
46608 cat confdefs.h >>conftest.$ac_ext
46609 cat >>conftest.$ac_ext <<_ACEOF
46610 /* end confdefs.h. */
46611 $ac_includes_default
46612 #include <$ac_header>
46614 rm -f conftest.$ac_objext
46615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46616 (eval $ac_compile) 2>&5
46618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619 (exit $ac_status); } &&
46620 { ac_try='test -s conftest.$ac_objext'
46621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46622 (eval $ac_try) 2>&5
46624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46625 (exit $ac_status); }; }; then
46626 ac_header_compiler=yes
46628 echo "$as_me: failed program was:" >&5
46629 sed 's/^/| /' conftest.$ac_ext >&5
46631 ac_header_compiler=no
46633 rm -f conftest.$ac_objext conftest.$ac_ext
46634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46635 echo "${ECHO_T}$ac_header_compiler" >&6
46637 # Is the header present?
46638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46640 cat >conftest.$ac_ext <<_ACEOF
46641 #line $LINENO "configure"
46644 cat confdefs.h >>conftest.$ac_ext
46645 cat >>conftest.$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46647 #include <$ac_header>
46649 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46650 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46652 grep -v '^ *+' conftest.er1 >conftest.err
46654 cat conftest.err >&5
46655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46656 (exit $ac_status); } >/dev/null; then
46657 if test -s conftest.err; then
46658 ac_cpp_err=$ac_c_preproc_warn_flag
46665 if test -z "$ac_cpp_err"; then
46666 ac_header_preproc=yes
46668 echo "$as_me: failed program was:" >&5
46669 sed 's/^/| /' conftest.$ac_ext >&5
46671 ac_header_preproc=no
46673 rm -f conftest.err conftest.$ac_ext
46674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46675 echo "${ECHO_T}$ac_header_preproc" >&6
46677 # So? What about this header?
46678 case $ac_header_compiler:$ac_header_preproc in
46680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46686 ## ------------------------------------ ##
46687 ## Report this to bug-autoconf@gnu.org. ##
46688 ## ------------------------------------ ##
46691 sed "s/^/$as_me: WARNING: /" >&2
46694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46702 ## ------------------------------------ ##
46703 ## Report this to bug-autoconf@gnu.org. ##
46704 ## ------------------------------------ ##
46707 sed "s/^/$as_me: WARNING: /" >&2
46710 echo "$as_me:$LINENO: checking for $ac_header" >&5
46711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46713 echo $ECHO_N "(cached) $ECHO_C" >&6
46715 eval "$as_ac_Header=$ac_header_preproc"
46717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46722 cat >>confdefs.h <<_ACEOF
46723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46730 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46733 # If we're not using GNU ld, then there's no point in even trying these
46734 # tests. Check for that first. We should have already tested for gld
46735 # by now (in libtool), but require it now just to be safe...
46736 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46737 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46741 # The name set by libtool depends on the version of libtool. Shame on us
46742 # for depending on an impl detail, but c'est la vie. Older versions used
46743 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46744 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46745 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46746 # set (hence we're using an older libtool), then set it.
46747 if test x${with_gnu_ld+set} != xset; then
46748 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46749 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46752 with_gnu_ld=$ac_cv_prog_gnu_ld
46756 # Start by getting the version number. I think the libtool test already
46757 # does some of this, but throws away the result.
46759 ldver=`$LD --version 2>/dev/null | head -1 | \
46760 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
46762 glibcxx_gnu_ld_version=`echo $ldver | \
46763 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46765 # Set --gc-sections.
46766 if test "$with_gnu_ld" = "notbroken"; then
46767 # GNU ld it is! Joy and bunny rabbits!
46769 # All these tests are for C++; save the language and the compiler flags.
46770 # Need to do this so that g++ won't try to link in libstdc++
46771 ac_test_CFLAGS="${CFLAGS+set}"
46772 ac_save_CFLAGS="$CFLAGS"
46773 CFLAGS='-x c++ -Wl,--gc-sections'
46775 # Check for -Wl,--gc-sections
46776 # XXX This test is broken at the moment, as symbols required for linking
46777 # are now in libsupc++ (not built yet). In addition, this test has
46778 # cored on solaris in the past. In addition, --gc-sections doesn't
46779 # really work at the moment (keeps on discarding used sections, first
46780 # .eh_frame and now some of the glibc sections for iconv).
46781 # Bzzzzt. Thanks for playing, maybe next time.
46782 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
46783 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
46784 if test "$cross_compiling" = yes; then
46785 ac_sectionLDflags=yes
46787 cat >conftest.$ac_ext <<_ACEOF
46788 #line $LINENO "configure"
46791 cat confdefs.h >>conftest.$ac_ext
46792 cat >>conftest.$ac_ext <<_ACEOF
46793 /* end confdefs.h. */
46803 rm -f conftest$ac_exeext
46804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46805 (eval $ac_link) 2>&5
46807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46810 (eval $ac_try) 2>&5
46812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813 (exit $ac_status); }; }; then
46814 ac_sectionLDflags=yes
46816 echo "$as_me: program exited with status $ac_status" >&5
46817 echo "$as_me: failed program was:" >&5
46818 sed 's/^/| /' conftest.$ac_ext >&5
46820 ( exit $ac_status )
46821 ac_sectionLDflags=no
46823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46825 if test "$ac_test_CFLAGS" = set; then
46826 CFLAGS="$ac_save_CFLAGS"
46828 # this is the suspicious part
46831 if test "$ac_sectionLDflags" = "yes"; then
46832 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46834 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
46835 echo "${ECHO_T}$ac_sectionLDflags" >&6
46838 # Set linker optimization flags.
46839 if test x"$with_gnu_ld" = x"yes"; then
46840 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46848 echo "$as_me:$LINENO: checking for main in -lm" >&5
46849 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
46850 if test "${ac_cv_lib_m_main+set}" = set; then
46851 echo $ECHO_N "(cached) $ECHO_C" >&6
46853 ac_check_lib_save_LIBS=$LIBS
46855 if test x$gcc_no_link = xyes; then
46856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46858 { (exit 1); exit 1; }; }
46860 cat >conftest.$ac_ext <<_ACEOF
46861 #line $LINENO "configure"
46864 cat confdefs.h >>conftest.$ac_ext
46865 cat >>conftest.$ac_ext <<_ACEOF
46866 /* end confdefs.h. */
46877 rm -f conftest.$ac_objext conftest$ac_exeext
46878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46879 (eval $ac_link) 2>&5
46881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46882 (exit $ac_status); } &&
46883 { ac_try='test -s conftest$ac_exeext'
46884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46885 (eval $ac_try) 2>&5
46887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46888 (exit $ac_status); }; }; then
46889 ac_cv_lib_m_main=yes
46891 echo "$as_me: failed program was:" >&5
46892 sed 's/^/| /' conftest.$ac_ext >&5
46894 ac_cv_lib_m_main=no
46896 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46897 LIBS=$ac_check_lib_save_LIBS
46899 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
46900 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
46901 if test $ac_cv_lib_m_main = yes; then
46902 cat >>confdefs.h <<_ACEOF
46903 #define HAVE_LIBM 1
46912 for ac_func in nan copysignf
46914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46915 echo "$as_me:$LINENO: checking for $ac_func" >&5
46916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46917 if eval "test \"\${$as_ac_var+set}\" = set"; then
46918 echo $ECHO_N "(cached) $ECHO_C" >&6
46920 if test x$gcc_no_link = xyes; then
46921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46923 { (exit 1); exit 1; }; }
46925 cat >conftest.$ac_ext <<_ACEOF
46926 #line $LINENO "configure"
46929 cat confdefs.h >>conftest.$ac_ext
46930 cat >>conftest.$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46932 /* System header to define __stub macros and hopefully few prototypes,
46933 which can conflict with char $ac_func (); below.
46934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46935 <limits.h> exists even on freestanding compilers. */
46937 # include <limits.h>
46939 # include <assert.h>
46941 /* Override any gcc2 internal prototype to avoid an error. */
46946 /* We use char because int might match the return type of a gcc2
46947 builtin and then its argument prototype would still apply. */
46949 /* The GNU C library defines this for functions which it implements
46950 to always fail with ENOSYS. Some functions are actually named
46951 something starting with __ and the normal name is an alias. */
46952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46955 char (*f) () = $ac_func;
46964 return f != $ac_func;
46969 rm -f conftest.$ac_objext conftest$ac_exeext
46970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46971 (eval $ac_link) 2>&5
46973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46974 (exit $ac_status); } &&
46975 { ac_try='test -s conftest$ac_exeext'
46976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46977 (eval $ac_try) 2>&5
46979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46980 (exit $ac_status); }; }; then
46981 eval "$as_ac_var=yes"
46983 echo "$as_me: failed program was:" >&5
46984 sed 's/^/| /' conftest.$ac_ext >&5
46986 eval "$as_ac_var=no"
46988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46992 if test `eval echo '${'$as_ac_var'}'` = yes; then
46993 cat >>confdefs.h <<_ACEOF
46994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46998 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47004 for ac_func in __signbit
47006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47007 echo "$as_me:$LINENO: checking for $ac_func" >&5
47008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47009 if eval "test \"\${$as_ac_var+set}\" = set"; then
47010 echo $ECHO_N "(cached) $ECHO_C" >&6
47012 if test x$gcc_no_link = xyes; then
47013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47015 { (exit 1); exit 1; }; }
47017 cat >conftest.$ac_ext <<_ACEOF
47018 #line $LINENO "configure"
47021 cat confdefs.h >>conftest.$ac_ext
47022 cat >>conftest.$ac_ext <<_ACEOF
47023 /* end confdefs.h. */
47024 /* System header to define __stub macros and hopefully few prototypes,
47025 which can conflict with char $ac_func (); below.
47026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47027 <limits.h> exists even on freestanding compilers. */
47029 # include <limits.h>
47031 # include <assert.h>
47033 /* Override any gcc2 internal prototype to avoid an error. */
47038 /* We use char because int might match the return type of a gcc2
47039 builtin and then its argument prototype would still apply. */
47041 /* The GNU C library defines this for functions which it implements
47042 to always fail with ENOSYS. Some functions are actually named
47043 something starting with __ and the normal name is an alias. */
47044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47047 char (*f) () = $ac_func;
47056 return f != $ac_func;
47061 rm -f conftest.$ac_objext conftest$ac_exeext
47062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47063 (eval $ac_link) 2>&5
47065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47066 (exit $ac_status); } &&
47067 { ac_try='test -s conftest$ac_exeext'
47068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47069 (eval $ac_try) 2>&5
47071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47072 (exit $ac_status); }; }; then
47073 eval "$as_ac_var=yes"
47075 echo "$as_me: failed program was:" >&5
47076 sed 's/^/| /' conftest.$ac_ext >&5
47078 eval "$as_ac_var=no"
47080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47084 if test `eval echo '${'$as_ac_var'}'` = yes; then
47085 cat >>confdefs.h <<_ACEOF
47086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47090 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47095 for ac_func in __signbitf
47097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47098 echo "$as_me:$LINENO: checking for $ac_func" >&5
47099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47100 if eval "test \"\${$as_ac_var+set}\" = set"; then
47101 echo $ECHO_N "(cached) $ECHO_C" >&6
47103 if test x$gcc_no_link = xyes; then
47104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47106 { (exit 1); exit 1; }; }
47108 cat >conftest.$ac_ext <<_ACEOF
47109 #line $LINENO "configure"
47112 cat confdefs.h >>conftest.$ac_ext
47113 cat >>conftest.$ac_ext <<_ACEOF
47114 /* end confdefs.h. */
47115 /* System header to define __stub macros and hopefully few prototypes,
47116 which can conflict with char $ac_func (); below.
47117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47118 <limits.h> exists even on freestanding compilers. */
47120 # include <limits.h>
47122 # include <assert.h>
47124 /* Override any gcc2 internal prototype to avoid an error. */
47129 /* We use char because int might match the return type of a gcc2
47130 builtin and then its argument prototype would still apply. */
47132 /* The GNU C library defines this for functions which it implements
47133 to always fail with ENOSYS. Some functions are actually named
47134 something starting with __ and the normal name is an alias. */
47135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47138 char (*f) () = $ac_func;
47147 return f != $ac_func;
47152 rm -f conftest.$ac_objext conftest$ac_exeext
47153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47154 (eval $ac_link) 2>&5
47156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157 (exit $ac_status); } &&
47158 { ac_try='test -s conftest$ac_exeext'
47159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47160 (eval $ac_try) 2>&5
47162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163 (exit $ac_status); }; }; then
47164 eval "$as_ac_var=yes"
47166 echo "$as_me: failed program was:" >&5
47167 sed 's/^/| /' conftest.$ac_ext >&5
47169 eval "$as_ac_var=no"
47171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47175 if test `eval echo '${'$as_ac_var'}'` = yes; then
47176 cat >>confdefs.h <<_ACEOF
47177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47181 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47186 if test x$ac_cv_func_copysignl = x"yes"; then
47188 for ac_func in __signbitl
47190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47191 echo "$as_me:$LINENO: checking for $ac_func" >&5
47192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47193 if eval "test \"\${$as_ac_var+set}\" = set"; then
47194 echo $ECHO_N "(cached) $ECHO_C" >&6
47196 if test x$gcc_no_link = xyes; then
47197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47199 { (exit 1); exit 1; }; }
47201 cat >conftest.$ac_ext <<_ACEOF
47202 #line $LINENO "configure"
47205 cat confdefs.h >>conftest.$ac_ext
47206 cat >>conftest.$ac_ext <<_ACEOF
47207 /* end confdefs.h. */
47208 /* System header to define __stub macros and hopefully few prototypes,
47209 which can conflict with char $ac_func (); below.
47210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47211 <limits.h> exists even on freestanding compilers. */
47213 # include <limits.h>
47215 # include <assert.h>
47217 /* Override any gcc2 internal prototype to avoid an error. */
47222 /* We use char because int might match the return type of a gcc2
47223 builtin and then its argument prototype would still apply. */
47225 /* The GNU C library defines this for functions which it implements
47226 to always fail with ENOSYS. Some functions are actually named
47227 something starting with __ and the normal name is an alias. */
47228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47231 char (*f) () = $ac_func;
47240 return f != $ac_func;
47245 rm -f conftest.$ac_objext conftest$ac_exeext
47246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47247 (eval $ac_link) 2>&5
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); } &&
47251 { ac_try='test -s conftest$ac_exeext'
47252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47253 (eval $ac_try) 2>&5
47255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256 (exit $ac_status); }; }; then
47257 eval "$as_ac_var=yes"
47259 echo "$as_me: failed program was:" >&5
47260 sed 's/^/| /' conftest.$ac_ext >&5
47262 eval "$as_ac_var=no"
47264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47268 if test `eval echo '${'$as_ac_var'}'` = yes; then
47269 cat >>confdefs.h <<_ACEOF
47270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47274 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47280 # XXX Review this. Nothing uses it.
47281 if test -n "$LIBMATHOBJS"; then
47287 # Test wchar.h for mbstate_t, which is needed for char_traits and
47288 # others even if wchar_t support is not on.
47289 echo "$as_me:$LINENO: checking for mbstate_t" >&5
47290 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47291 cat >conftest.$ac_ext <<_ACEOF
47292 #line $LINENO "configure"
47295 cat confdefs.h >>conftest.$ac_ext
47296 cat >>conftest.$ac_ext <<_ACEOF
47297 /* end confdefs.h. */
47302 mbstate_t teststate;
47307 rm -f conftest.$ac_objext
47308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47309 (eval $ac_compile) 2>&5
47311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47312 (exit $ac_status); } &&
47313 { ac_try='test -s conftest.$ac_objext'
47314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47315 (eval $ac_try) 2>&5
47317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47318 (exit $ac_status); }; }; then
47321 echo "$as_me: failed program was:" >&5
47322 sed 's/^/| /' conftest.$ac_ext >&5
47326 rm -f conftest.$ac_objext conftest.$ac_ext
47327 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47328 echo "${ECHO_T}$have_mbstate_t" >&6
47329 if test x"$have_mbstate_t" = xyes; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define HAVE_MBSTATE_T 1
47336 # Sanity check for existence of ISO C99 headers for extended encoding.
47338 for ac_header in wchar.h
47340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47342 echo "$as_me:$LINENO: checking for $ac_header" >&5
47343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47345 echo $ECHO_N "(cached) $ECHO_C" >&6
47347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47350 # Is the header compilable?
47351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47353 cat >conftest.$ac_ext <<_ACEOF
47354 #line $LINENO "configure"
47357 cat confdefs.h >>conftest.$ac_ext
47358 cat >>conftest.$ac_ext <<_ACEOF
47359 /* end confdefs.h. */
47360 $ac_includes_default
47361 #include <$ac_header>
47363 rm -f conftest.$ac_objext
47364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47365 (eval $ac_compile) 2>&5
47367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47368 (exit $ac_status); } &&
47369 { ac_try='test -s conftest.$ac_objext'
47370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47371 (eval $ac_try) 2>&5
47373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47374 (exit $ac_status); }; }; then
47375 ac_header_compiler=yes
47377 echo "$as_me: failed program was:" >&5
47378 sed 's/^/| /' conftest.$ac_ext >&5
47380 ac_header_compiler=no
47382 rm -f conftest.$ac_objext conftest.$ac_ext
47383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47384 echo "${ECHO_T}$ac_header_compiler" >&6
47386 # Is the header present?
47387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47389 cat >conftest.$ac_ext <<_ACEOF
47390 #line $LINENO "configure"
47393 cat confdefs.h >>conftest.$ac_ext
47394 cat >>conftest.$ac_ext <<_ACEOF
47395 /* end confdefs.h. */
47396 #include <$ac_header>
47398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47401 grep -v '^ *+' conftest.er1 >conftest.err
47403 cat conftest.err >&5
47404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47405 (exit $ac_status); } >/dev/null; then
47406 if test -s conftest.err; then
47407 ac_cpp_err=$ac_c_preproc_warn_flag
47414 if test -z "$ac_cpp_err"; then
47415 ac_header_preproc=yes
47417 echo "$as_me: failed program was:" >&5
47418 sed 's/^/| /' conftest.$ac_ext >&5
47420 ac_header_preproc=no
47422 rm -f conftest.err conftest.$ac_ext
47423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47424 echo "${ECHO_T}$ac_header_preproc" >&6
47426 # So? What about this header?
47427 case $ac_header_compiler:$ac_header_preproc in
47429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47435 ## ------------------------------------ ##
47436 ## Report this to bug-autoconf@gnu.org. ##
47437 ## ------------------------------------ ##
47440 sed "s/^/$as_me: WARNING: /" >&2
47443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47451 ## ------------------------------------ ##
47452 ## Report this to bug-autoconf@gnu.org. ##
47453 ## ------------------------------------ ##
47456 sed "s/^/$as_me: WARNING: /" >&2
47459 echo "$as_me:$LINENO: checking for $ac_header" >&5
47460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47462 echo $ECHO_N "(cached) $ECHO_C" >&6
47464 eval "$as_ac_Header=$ac_header_preproc"
47466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47471 cat >>confdefs.h <<_ACEOF
47472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47482 for ac_header in wctype.h
47484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47486 echo "$as_me:$LINENO: checking for $ac_header" >&5
47487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47489 echo $ECHO_N "(cached) $ECHO_C" >&6
47491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47494 # Is the header compilable?
47495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47497 cat >conftest.$ac_ext <<_ACEOF
47498 #line $LINENO "configure"
47501 cat confdefs.h >>conftest.$ac_ext
47502 cat >>conftest.$ac_ext <<_ACEOF
47503 /* end confdefs.h. */
47504 $ac_includes_default
47505 #include <$ac_header>
47507 rm -f conftest.$ac_objext
47508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47509 (eval $ac_compile) 2>&5
47511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47512 (exit $ac_status); } &&
47513 { ac_try='test -s conftest.$ac_objext'
47514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47515 (eval $ac_try) 2>&5
47517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47518 (exit $ac_status); }; }; then
47519 ac_header_compiler=yes
47521 echo "$as_me: failed program was:" >&5
47522 sed 's/^/| /' conftest.$ac_ext >&5
47524 ac_header_compiler=no
47526 rm -f conftest.$ac_objext conftest.$ac_ext
47527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47528 echo "${ECHO_T}$ac_header_compiler" >&6
47530 # Is the header present?
47531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47533 cat >conftest.$ac_ext <<_ACEOF
47534 #line $LINENO "configure"
47537 cat confdefs.h >>conftest.$ac_ext
47538 cat >>conftest.$ac_ext <<_ACEOF
47539 /* end confdefs.h. */
47540 #include <$ac_header>
47542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47545 grep -v '^ *+' conftest.er1 >conftest.err
47547 cat conftest.err >&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } >/dev/null; then
47550 if test -s conftest.err; then
47551 ac_cpp_err=$ac_c_preproc_warn_flag
47558 if test -z "$ac_cpp_err"; then
47559 ac_header_preproc=yes
47561 echo "$as_me: failed program was:" >&5
47562 sed 's/^/| /' conftest.$ac_ext >&5
47564 ac_header_preproc=no
47566 rm -f conftest.err conftest.$ac_ext
47567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47568 echo "${ECHO_T}$ac_header_preproc" >&6
47570 # So? What about this header?
47571 case $ac_header_compiler:$ac_header_preproc in
47573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47579 ## ------------------------------------ ##
47580 ## Report this to bug-autoconf@gnu.org. ##
47581 ## ------------------------------------ ##
47584 sed "s/^/$as_me: WARNING: /" >&2
47587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47595 ## ------------------------------------ ##
47596 ## Report this to bug-autoconf@gnu.org. ##
47597 ## ------------------------------------ ##
47600 sed "s/^/$as_me: WARNING: /" >&2
47603 echo "$as_me:$LINENO: checking for $ac_header" >&5
47604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47606 echo $ECHO_N "(cached) $ECHO_C" >&6
47608 eval "$as_ac_Header=$ac_header_preproc"
47610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47615 cat >>confdefs.h <<_ACEOF
47616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47618 ac_has_wctype_h=yes
47626 # Only continue checking if the ISO C99 headers exist and support is on.
47627 if test x"$ac_has_wchar_h" = xyes &&
47628 test x"$ac_has_wctype_h" = xyes &&
47629 test x"$enable_c_mbchar" != xno; then
47631 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
47632 # numeric_limits can instantiate type_traits<wchar_t>
47633 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
47634 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
47635 cat >conftest.$ac_ext <<_ACEOF
47636 #line $LINENO "configure"
47639 cat confdefs.h >>conftest.$ac_ext
47640 cat >>conftest.$ac_ext <<_ACEOF
47641 /* end confdefs.h. */
47646 int i = WCHAR_MIN; int j = WCHAR_MAX;
47651 rm -f conftest.$ac_objext
47652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47653 (eval $ac_compile) 2>&5
47655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47656 (exit $ac_status); } &&
47657 { ac_try='test -s conftest.$ac_objext'
47658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47659 (eval $ac_try) 2>&5
47661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47662 (exit $ac_status); }; }; then
47663 has_wchar_minmax=yes
47665 echo "$as_me: failed program was:" >&5
47666 sed 's/^/| /' conftest.$ac_ext >&5
47668 has_wchar_minmax=no
47670 rm -f conftest.$ac_objext conftest.$ac_ext
47671 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
47672 echo "${ECHO_T}$has_wchar_minmax" >&6
47674 # Test wchar.h for WEOF, which is what we use to determine whether
47675 # to specialize for char_traits<wchar_t> or not.
47676 echo "$as_me:$LINENO: checking for WEOF" >&5
47677 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
47678 cat >conftest.$ac_ext <<_ACEOF
47679 #line $LINENO "configure"
47682 cat confdefs.h >>conftest.$ac_ext
47683 cat >>conftest.$ac_ext <<_ACEOF
47684 /* end confdefs.h. */
47687 #include <stddef.h>
47696 rm -f conftest.$ac_objext
47697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47698 (eval $ac_compile) 2>&5
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); } &&
47702 { ac_try='test -s conftest.$ac_objext'
47703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47704 (eval $ac_try) 2>&5
47706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707 (exit $ac_status); }; }; then
47710 echo "$as_me: failed program was:" >&5
47711 sed 's/^/| /' conftest.$ac_ext >&5
47715 rm -f conftest.$ac_objext conftest.$ac_ext
47716 echo "$as_me:$LINENO: result: $has_weof" >&5
47717 echo "${ECHO_T}$has_weof" >&6
47719 # Tests for wide character functions used in char_traits<wchar_t>.
47727 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
47729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47730 echo "$as_me:$LINENO: checking for $ac_func" >&5
47731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47732 if eval "test \"\${$as_ac_var+set}\" = set"; then
47733 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 if test x$gcc_no_link = xyes; then
47736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47738 { (exit 1); exit 1; }; }
47740 cat >conftest.$ac_ext <<_ACEOF
47741 #line $LINENO "configure"
47744 cat confdefs.h >>conftest.$ac_ext
47745 cat >>conftest.$ac_ext <<_ACEOF
47746 /* end confdefs.h. */
47747 /* System header to define __stub macros and hopefully few prototypes,
47748 which can conflict with char $ac_func (); below.
47749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47750 <limits.h> exists even on freestanding compilers. */
47752 # include <limits.h>
47754 # include <assert.h>
47756 /* Override any gcc2 internal prototype to avoid an error. */
47761 /* We use char because int might match the return type of a gcc2
47762 builtin and then its argument prototype would still apply. */
47764 /* The GNU C library defines this for functions which it implements
47765 to always fail with ENOSYS. Some functions are actually named
47766 something starting with __ and the normal name is an alias. */
47767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47770 char (*f) () = $ac_func;
47779 return f != $ac_func;
47784 rm -f conftest.$ac_objext conftest$ac_exeext
47785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47786 (eval $ac_link) 2>&5
47788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789 (exit $ac_status); } &&
47790 { ac_try='test -s conftest$ac_exeext'
47791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47792 (eval $ac_try) 2>&5
47794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47795 (exit $ac_status); }; }; then
47796 eval "$as_ac_var=yes"
47798 echo "$as_me: failed program was:" >&5
47799 sed 's/^/| /' conftest.$ac_ext >&5
47801 eval "$as_ac_var=no"
47803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47807 if test `eval echo '${'$as_ac_var'}'` = yes; then
47808 cat >>confdefs.h <<_ACEOF
47809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47818 # Checks for names injected into std:: by the c_std headers.
47869 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
47870 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
47871 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
47872 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
47873 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
47874 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
47876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47877 echo "$as_me:$LINENO: checking for $ac_func" >&5
47878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47879 if eval "test \"\${$as_ac_var+set}\" = set"; then
47880 echo $ECHO_N "(cached) $ECHO_C" >&6
47882 if test x$gcc_no_link = xyes; then
47883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47885 { (exit 1); exit 1; }; }
47887 cat >conftest.$ac_ext <<_ACEOF
47888 #line $LINENO "configure"
47891 cat confdefs.h >>conftest.$ac_ext
47892 cat >>conftest.$ac_ext <<_ACEOF
47893 /* end confdefs.h. */
47894 /* System header to define __stub macros and hopefully few prototypes,
47895 which can conflict with char $ac_func (); below.
47896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47897 <limits.h> exists even on freestanding compilers. */
47899 # include <limits.h>
47901 # include <assert.h>
47903 /* Override any gcc2 internal prototype to avoid an error. */
47908 /* We use char because int might match the return type of a gcc2
47909 builtin and then its argument prototype would still apply. */
47911 /* The GNU C library defines this for functions which it implements
47912 to always fail with ENOSYS. Some functions are actually named
47913 something starting with __ and the normal name is an alias. */
47914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47917 char (*f) () = $ac_func;
47926 return f != $ac_func;
47931 rm -f conftest.$ac_objext conftest$ac_exeext
47932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47933 (eval $ac_link) 2>&5
47935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47936 (exit $ac_status); } &&
47937 { ac_try='test -s conftest$ac_exeext'
47938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47939 (eval $ac_try) 2>&5
47941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47942 (exit $ac_status); }; }; then
47943 eval "$as_ac_var=yes"
47945 echo "$as_me: failed program was:" >&5
47946 sed 's/^/| /' conftest.$ac_ext >&5
47948 eval "$as_ac_var=no"
47950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47954 if test `eval echo '${'$as_ac_var'}'` = yes; then
47955 cat >>confdefs.h <<_ACEOF
47956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47965 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
47966 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
47967 if test x"$has_weof" = xyes &&
47968 test x"$has_wchar_minmax" = xyes &&
47969 test x"$ac_wfuncs" = xyes;
47971 ac_isoC99_wchar_t=yes
47973 ac_isoC99_wchar_t=no
47975 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
47976 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
47978 # Use iconv for wchar_t to char conversions. As such, check for
47979 # X/Open Portability Guide, version 2 features (XPG2).
47980 if test "${ac_cv_header_iconv_h+set}" = set; then
47981 echo "$as_me:$LINENO: checking for iconv.h" >&5
47982 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
47983 if test "${ac_cv_header_iconv_h+set}" = set; then
47984 echo $ECHO_N "(cached) $ECHO_C" >&6
47986 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
47987 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
47989 # Is the header compilable?
47990 echo "$as_me:$LINENO: checking iconv.h usability" >&5
47991 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
47992 cat >conftest.$ac_ext <<_ACEOF
47993 #line $LINENO "configure"
47996 cat confdefs.h >>conftest.$ac_ext
47997 cat >>conftest.$ac_ext <<_ACEOF
47998 /* end confdefs.h. */
47999 $ac_includes_default
48002 rm -f conftest.$ac_objext
48003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48004 (eval $ac_compile) 2>&5
48006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48007 (exit $ac_status); } &&
48008 { ac_try='test -s conftest.$ac_objext'
48009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48010 (eval $ac_try) 2>&5
48012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48013 (exit $ac_status); }; }; then
48014 ac_header_compiler=yes
48016 echo "$as_me: failed program was:" >&5
48017 sed 's/^/| /' conftest.$ac_ext >&5
48019 ac_header_compiler=no
48021 rm -f conftest.$ac_objext conftest.$ac_ext
48022 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48023 echo "${ECHO_T}$ac_header_compiler" >&6
48025 # Is the header present?
48026 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48027 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48028 cat >conftest.$ac_ext <<_ACEOF
48029 #line $LINENO "configure"
48032 cat confdefs.h >>conftest.$ac_ext
48033 cat >>conftest.$ac_ext <<_ACEOF
48034 /* end confdefs.h. */
48037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48040 grep -v '^ *+' conftest.er1 >conftest.err
48042 cat conftest.err >&5
48043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044 (exit $ac_status); } >/dev/null; then
48045 if test -s conftest.err; then
48046 ac_cpp_err=$ac_c_preproc_warn_flag
48053 if test -z "$ac_cpp_err"; then
48054 ac_header_preproc=yes
48056 echo "$as_me: failed program was:" >&5
48057 sed 's/^/| /' conftest.$ac_ext >&5
48059 ac_header_preproc=no
48061 rm -f conftest.err conftest.$ac_ext
48062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48063 echo "${ECHO_T}$ac_header_preproc" >&6
48065 # So? What about this header?
48066 case $ac_header_compiler:$ac_header_preproc in
48068 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48069 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48070 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48071 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48074 ## ------------------------------------ ##
48075 ## Report this to bug-autoconf@gnu.org. ##
48076 ## ------------------------------------ ##
48079 sed "s/^/$as_me: WARNING: /" >&2
48082 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48083 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48084 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48085 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48086 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48087 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48090 ## ------------------------------------ ##
48091 ## Report this to bug-autoconf@gnu.org. ##
48092 ## ------------------------------------ ##
48095 sed "s/^/$as_me: WARNING: /" >&2
48098 echo "$as_me:$LINENO: checking for iconv.h" >&5
48099 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48100 if test "${ac_cv_header_iconv_h+set}" = set; then
48101 echo $ECHO_N "(cached) $ECHO_C" >&6
48103 ac_cv_header_iconv_h=$ac_header_preproc
48105 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48106 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48109 if test $ac_cv_header_iconv_h = yes; then
48116 if test "${ac_cv_header_langinfo_h+set}" = set; then
48117 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48118 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48119 if test "${ac_cv_header_langinfo_h+set}" = set; then
48120 echo $ECHO_N "(cached) $ECHO_C" >&6
48122 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48123 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48125 # Is the header compilable?
48126 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48127 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48128 cat >conftest.$ac_ext <<_ACEOF
48129 #line $LINENO "configure"
48132 cat confdefs.h >>conftest.$ac_ext
48133 cat >>conftest.$ac_ext <<_ACEOF
48134 /* end confdefs.h. */
48135 $ac_includes_default
48136 #include <langinfo.h>
48138 rm -f conftest.$ac_objext
48139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48140 (eval $ac_compile) 2>&5
48142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48143 (exit $ac_status); } &&
48144 { ac_try='test -s conftest.$ac_objext'
48145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48146 (eval $ac_try) 2>&5
48148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48149 (exit $ac_status); }; }; then
48150 ac_header_compiler=yes
48152 echo "$as_me: failed program was:" >&5
48153 sed 's/^/| /' conftest.$ac_ext >&5
48155 ac_header_compiler=no
48157 rm -f conftest.$ac_objext conftest.$ac_ext
48158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48159 echo "${ECHO_T}$ac_header_compiler" >&6
48161 # Is the header present?
48162 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48163 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48164 cat >conftest.$ac_ext <<_ACEOF
48165 #line $LINENO "configure"
48168 cat confdefs.h >>conftest.$ac_ext
48169 cat >>conftest.$ac_ext <<_ACEOF
48170 /* end confdefs.h. */
48171 #include <langinfo.h>
48173 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48174 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48176 grep -v '^ *+' conftest.er1 >conftest.err
48178 cat conftest.err >&5
48179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48180 (exit $ac_status); } >/dev/null; then
48181 if test -s conftest.err; then
48182 ac_cpp_err=$ac_c_preproc_warn_flag
48189 if test -z "$ac_cpp_err"; then
48190 ac_header_preproc=yes
48192 echo "$as_me: failed program was:" >&5
48193 sed 's/^/| /' conftest.$ac_ext >&5
48195 ac_header_preproc=no
48197 rm -f conftest.err conftest.$ac_ext
48198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48199 echo "${ECHO_T}$ac_header_preproc" >&6
48201 # So? What about this header?
48202 case $ac_header_compiler:$ac_header_preproc in
48204 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48205 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48206 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48207 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48210 ## ------------------------------------ ##
48211 ## Report this to bug-autoconf@gnu.org. ##
48212 ## ------------------------------------ ##
48215 sed "s/^/$as_me: WARNING: /" >&2
48218 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48219 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48220 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48221 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48222 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48223 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48226 ## ------------------------------------ ##
48227 ## Report this to bug-autoconf@gnu.org. ##
48228 ## ------------------------------------ ##
48231 sed "s/^/$as_me: WARNING: /" >&2
48234 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48235 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48236 if test "${ac_cv_header_langinfo_h+set}" = set; then
48237 echo $ECHO_N "(cached) $ECHO_C" >&6
48239 ac_cv_header_langinfo_h=$ac_header_preproc
48241 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48242 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48245 if test $ac_cv_header_langinfo_h = yes; then
48246 ac_has_langinfo_h=yes
48248 ac_has_langinfo_h=no
48253 # Check for existence of libiconv.a providing XPG2 wchar_t support.
48254 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48255 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48256 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48257 echo $ECHO_N "(cached) $ECHO_C" >&6
48259 ac_check_lib_save_LIBS=$LIBS
48260 LIBS="-liconv $LIBS"
48261 if test x$gcc_no_link = xyes; then
48262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48264 { (exit 1); exit 1; }; }
48266 cat >conftest.$ac_ext <<_ACEOF
48267 #line $LINENO "configure"
48270 cat confdefs.h >>conftest.$ac_ext
48271 cat >>conftest.$ac_ext <<_ACEOF
48272 /* end confdefs.h. */
48274 /* Override any gcc2 internal prototype to avoid an error. */
48278 /* We use char because int might match the return type of a gcc2
48279 builtin and then its argument prototype would still apply. */
48289 rm -f conftest.$ac_objext conftest$ac_exeext
48290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48291 (eval $ac_link) 2>&5
48293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48294 (exit $ac_status); } &&
48295 { ac_try='test -s conftest$ac_exeext'
48296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48297 (eval $ac_try) 2>&5
48299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48300 (exit $ac_status); }; }; then
48301 ac_cv_lib_iconv_iconv=yes
48303 echo "$as_me: failed program was:" >&5
48304 sed 's/^/| /' conftest.$ac_ext >&5
48306 ac_cv_lib_iconv_iconv=no
48308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48309 LIBS=$ac_check_lib_save_LIBS
48311 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48312 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48313 if test $ac_cv_lib_iconv_iconv = yes; then
48317 ac_save_LIBS="$LIBS"
48318 LIBS="$LIBS $libiconv"
48324 for ac_func in iconv_open iconv_close iconv nl_langinfo
48326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48327 echo "$as_me:$LINENO: checking for $ac_func" >&5
48328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48329 if eval "test \"\${$as_ac_var+set}\" = set"; then
48330 echo $ECHO_N "(cached) $ECHO_C" >&6
48332 if test x$gcc_no_link = xyes; then
48333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48335 { (exit 1); exit 1; }; }
48337 cat >conftest.$ac_ext <<_ACEOF
48338 #line $LINENO "configure"
48341 cat confdefs.h >>conftest.$ac_ext
48342 cat >>conftest.$ac_ext <<_ACEOF
48343 /* end confdefs.h. */
48344 /* System header to define __stub macros and hopefully few prototypes,
48345 which can conflict with char $ac_func (); below.
48346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48347 <limits.h> exists even on freestanding compilers. */
48349 # include <limits.h>
48351 # include <assert.h>
48353 /* Override any gcc2 internal prototype to avoid an error. */
48358 /* We use char because int might match the return type of a gcc2
48359 builtin and then its argument prototype would still apply. */
48361 /* The GNU C library defines this for functions which it implements
48362 to always fail with ENOSYS. Some functions are actually named
48363 something starting with __ and the normal name is an alias. */
48364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48367 char (*f) () = $ac_func;
48376 return f != $ac_func;
48381 rm -f conftest.$ac_objext conftest$ac_exeext
48382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48383 (eval $ac_link) 2>&5
48385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48386 (exit $ac_status); } &&
48387 { ac_try='test -s conftest$ac_exeext'
48388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48389 (eval $ac_try) 2>&5
48391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392 (exit $ac_status); }; }; then
48393 eval "$as_ac_var=yes"
48395 echo "$as_me: failed program was:" >&5
48396 sed 's/^/| /' conftest.$ac_ext >&5
48398 eval "$as_ac_var=no"
48400 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48404 if test `eval echo '${'$as_ac_var'}'` = yes; then
48405 cat >>confdefs.h <<_ACEOF
48406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48415 LIBS="$ac_save_LIBS"
48417 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48418 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48419 if test x"$ac_has_iconv_h" = xyes &&
48420 test x"$ac_has_langinfo_h" = xyes &&
48421 test x"$ac_XPG2funcs" = xyes;
48423 ac_XPG2_wchar_t=yes
48427 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48428 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48430 # At the moment, only enable wchar_t specializations if all the
48431 # above support is present.
48432 if test x"$ac_isoC99_wchar_t" = xyes &&
48433 test x"$ac_XPG2_wchar_t" = xyes;
48435 cat >>confdefs.h <<\_ACEOF
48436 #define _GLIBCXX_USE_WCHAR_T 1
48442 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
48443 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
48444 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
48445 echo "${ECHO_T}$enable_wchar_t" >&6
48447 cat >>confdefs.h <<\_ACEOF
48448 #define HAVE_LC_MESSAGES 1
48451 cat >>confdefs.h <<\_ACEOF
48452 #define HAVE_DRAND48 1
48455 cat >>confdefs.h <<\_ACEOF
48456 #define HAVE_GETPAGESIZE 1
48459 cat >>confdefs.h <<\_ACEOF
48460 #define HAVE_SETENV 1
48463 cat >>confdefs.h <<\_ACEOF
48464 #define HAVE_SIGSETJMP 1
48467 cat >>confdefs.h <<\_ACEOF
48468 #define HAVE_COPYSIGN 1
48471 cat >>confdefs.h <<\_ACEOF
48472 #define HAVE_COPYSIGNF 1
48475 cat >>confdefs.h <<\_ACEOF
48476 #define HAVE_FINITEF 1
48479 cat >>confdefs.h <<\_ACEOF
48480 #define HAVE_FINITE 1
48483 cat >>confdefs.h <<\_ACEOF
48484 #define HAVE_FREXPF 1
48487 cat >>confdefs.h <<\_ACEOF
48488 #define HAVE_HYPOT 1
48491 cat >>confdefs.h <<\_ACEOF
48492 #define HAVE_HYPOTF 1
48495 cat >>confdefs.h <<\_ACEOF
48496 #define HAVE_ISINF 1
48499 cat >>confdefs.h <<\_ACEOF
48500 #define HAVE_ISNAN 1
48503 cat >>confdefs.h <<\_ACEOF
48504 #define HAVE_ISNANF 1
48508 cat >>confdefs.h <<\_ACEOF
48509 #define HAVE_MMAP 1
48512 cat >>confdefs.h <<\_ACEOF
48513 #define HAVE_ACOSF 1
48516 cat >>confdefs.h <<\_ACEOF
48517 #define HAVE_ASINF 1
48520 cat >>confdefs.h <<\_ACEOF
48521 #define HAVE_ATAN2F 1
48524 cat >>confdefs.h <<\_ACEOF
48525 #define HAVE_ATANF 1
48528 cat >>confdefs.h <<\_ACEOF
48529 #define HAVE_CEILF 1
48532 cat >>confdefs.h <<\_ACEOF
48533 #define HAVE_COPYSIGN 1
48536 cat >>confdefs.h <<\_ACEOF
48537 #define HAVE_COPYSIGNF 1
48540 cat >>confdefs.h <<\_ACEOF
48541 #define HAVE_COSF 1
48544 cat >>confdefs.h <<\_ACEOF
48545 #define HAVE_COSHF 1
48548 cat >>confdefs.h <<\_ACEOF
48549 #define HAVE_EXPF 1
48552 cat >>confdefs.h <<\_ACEOF
48553 #define HAVE_FABSF 1
48556 cat >>confdefs.h <<\_ACEOF
48557 #define HAVE_FLOORF 1
48560 cat >>confdefs.h <<\_ACEOF
48561 #define HAVE_FMODF 1
48564 cat >>confdefs.h <<\_ACEOF
48565 #define HAVE_FREXPF 1
48568 cat >>confdefs.h <<\_ACEOF
48569 #define HAVE_LDEXPF 1
48572 cat >>confdefs.h <<\_ACEOF
48573 #define HAVE_LOG10F 1
48576 cat >>confdefs.h <<\_ACEOF
48577 #define HAVE_LOGF 1
48580 cat >>confdefs.h <<\_ACEOF
48581 #define HAVE_MODFF 1
48584 cat >>confdefs.h <<\_ACEOF
48585 #define HAVE_POWF 1
48588 cat >>confdefs.h <<\_ACEOF
48589 #define HAVE_SINF 1
48592 cat >>confdefs.h <<\_ACEOF
48593 #define HAVE_SINHF 1
48596 cat >>confdefs.h <<\_ACEOF
48597 #define HAVE_SQRTF 1
48600 cat >>confdefs.h <<\_ACEOF
48601 #define HAVE_TANF 1
48604 cat >>confdefs.h <<\_ACEOF
48605 #define HAVE_TANHF 1
48608 if test x"long_double_math_on_this_cpu" = x"yes"; then
48609 cat >>confdefs.h <<\_ACEOF
48610 #define HAVE_FINITEL 1
48613 cat >>confdefs.h <<\_ACEOF
48614 #define HAVE_ISINFL 1
48617 cat >>confdefs.h <<\_ACEOF
48618 #define HAVE_ISNANL 1
48624 #os_include_dir="os/hpux"
48637 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
48638 machine/endian.h machine/param.h sys/machine.h sys/types.h \
48639 fp.h locale.h float.h inttypes.h
48641 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48643 echo "$as_me:$LINENO: checking for $ac_header" >&5
48644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48646 echo $ECHO_N "(cached) $ECHO_C" >&6
48648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48651 # Is the header compilable?
48652 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48653 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48654 cat >conftest.$ac_ext <<_ACEOF
48655 #line $LINENO "configure"
48658 cat confdefs.h >>conftest.$ac_ext
48659 cat >>conftest.$ac_ext <<_ACEOF
48660 /* end confdefs.h. */
48661 $ac_includes_default
48662 #include <$ac_header>
48664 rm -f conftest.$ac_objext
48665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48666 (eval $ac_compile) 2>&5
48668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48669 (exit $ac_status); } &&
48670 { ac_try='test -s conftest.$ac_objext'
48671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48672 (eval $ac_try) 2>&5
48674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48675 (exit $ac_status); }; }; then
48676 ac_header_compiler=yes
48678 echo "$as_me: failed program was:" >&5
48679 sed 's/^/| /' conftest.$ac_ext >&5
48681 ac_header_compiler=no
48683 rm -f conftest.$ac_objext conftest.$ac_ext
48684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48685 echo "${ECHO_T}$ac_header_compiler" >&6
48687 # Is the header present?
48688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48690 cat >conftest.$ac_ext <<_ACEOF
48691 #line $LINENO "configure"
48694 cat confdefs.h >>conftest.$ac_ext
48695 cat >>conftest.$ac_ext <<_ACEOF
48696 /* end confdefs.h. */
48697 #include <$ac_header>
48699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48702 grep -v '^ *+' conftest.er1 >conftest.err
48704 cat conftest.err >&5
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); } >/dev/null; then
48707 if test -s conftest.err; then
48708 ac_cpp_err=$ac_c_preproc_warn_flag
48715 if test -z "$ac_cpp_err"; then
48716 ac_header_preproc=yes
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48721 ac_header_preproc=no
48723 rm -f conftest.err conftest.$ac_ext
48724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48725 echo "${ECHO_T}$ac_header_preproc" >&6
48727 # So? What about this header?
48728 case $ac_header_compiler:$ac_header_preproc in
48730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48736 ## ------------------------------------ ##
48737 ## Report this to bug-autoconf@gnu.org. ##
48738 ## ------------------------------------ ##
48741 sed "s/^/$as_me: WARNING: /" >&2
48744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48752 ## ------------------------------------ ##
48753 ## Report this to bug-autoconf@gnu.org. ##
48754 ## ------------------------------------ ##
48757 sed "s/^/$as_me: WARNING: /" >&2
48760 echo "$as_me:$LINENO: checking for $ac_header" >&5
48761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48763 echo $ECHO_N "(cached) $ECHO_C" >&6
48765 eval "$as_ac_Header=$ac_header_preproc"
48767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48772 cat >>confdefs.h <<_ACEOF
48773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48780 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48783 # If we're not using GNU ld, then there's no point in even trying these
48784 # tests. Check for that first. We should have already tested for gld
48785 # by now (in libtool), but require it now just to be safe...
48786 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48787 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48791 # The name set by libtool depends on the version of libtool. Shame on us
48792 # for depending on an impl detail, but c'est la vie. Older versions used
48793 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48794 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48795 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48796 # set (hence we're using an older libtool), then set it.
48797 if test x${with_gnu_ld+set} != xset; then
48798 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48799 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48802 with_gnu_ld=$ac_cv_prog_gnu_ld
48806 # Start by getting the version number. I think the libtool test already
48807 # does some of this, but throws away the result.
48809 ldver=`$LD --version 2>/dev/null | head -1 | \
48810 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
48812 glibcxx_gnu_ld_version=`echo $ldver | \
48813 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48815 # Set --gc-sections.
48816 if test "$with_gnu_ld" = "notbroken"; then
48817 # GNU ld it is! Joy and bunny rabbits!
48819 # All these tests are for C++; save the language and the compiler flags.
48820 # Need to do this so that g++ won't try to link in libstdc++
48821 ac_test_CFLAGS="${CFLAGS+set}"
48822 ac_save_CFLAGS="$CFLAGS"
48823 CFLAGS='-x c++ -Wl,--gc-sections'
48825 # Check for -Wl,--gc-sections
48826 # XXX This test is broken at the moment, as symbols required for linking
48827 # are now in libsupc++ (not built yet). In addition, this test has
48828 # cored on solaris in the past. In addition, --gc-sections doesn't
48829 # really work at the moment (keeps on discarding used sections, first
48830 # .eh_frame and now some of the glibc sections for iconv).
48831 # Bzzzzt. Thanks for playing, maybe next time.
48832 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
48833 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
48834 if test "$cross_compiling" = yes; then
48835 ac_sectionLDflags=yes
48837 cat >conftest.$ac_ext <<_ACEOF
48838 #line $LINENO "configure"
48841 cat confdefs.h >>conftest.$ac_ext
48842 cat >>conftest.$ac_ext <<_ACEOF
48843 /* end confdefs.h. */
48853 rm -f conftest$ac_exeext
48854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48855 (eval $ac_link) 2>&5
48857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
48859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48860 (eval $ac_try) 2>&5
48862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48863 (exit $ac_status); }; }; then
48864 ac_sectionLDflags=yes
48866 echo "$as_me: program exited with status $ac_status" >&5
48867 echo "$as_me: failed program was:" >&5
48868 sed 's/^/| /' conftest.$ac_ext >&5
48870 ( exit $ac_status )
48871 ac_sectionLDflags=no
48873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
48875 if test "$ac_test_CFLAGS" = set; then
48876 CFLAGS="$ac_save_CFLAGS"
48878 # this is the suspicious part
48881 if test "$ac_sectionLDflags" = "yes"; then
48882 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48884 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
48885 echo "${ECHO_T}$ac_sectionLDflags" >&6
48888 # Set linker optimization flags.
48889 if test x"$with_gnu_ld" = x"yes"; then
48890 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48898 echo "$as_me:$LINENO: checking for main in -lm" >&5
48899 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
48900 if test "${ac_cv_lib_m_main+set}" = set; then
48901 echo $ECHO_N "(cached) $ECHO_C" >&6
48903 ac_check_lib_save_LIBS=$LIBS
48905 if test x$gcc_no_link = xyes; then
48906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48908 { (exit 1); exit 1; }; }
48910 cat >conftest.$ac_ext <<_ACEOF
48911 #line $LINENO "configure"
48914 cat confdefs.h >>conftest.$ac_ext
48915 cat >>conftest.$ac_ext <<_ACEOF
48916 /* end confdefs.h. */
48927 rm -f conftest.$ac_objext conftest$ac_exeext
48928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48929 (eval $ac_link) 2>&5
48931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48932 (exit $ac_status); } &&
48933 { ac_try='test -s conftest$ac_exeext'
48934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48935 (eval $ac_try) 2>&5
48937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48938 (exit $ac_status); }; }; then
48939 ac_cv_lib_m_main=yes
48941 echo "$as_me: failed program was:" >&5
48942 sed 's/^/| /' conftest.$ac_ext >&5
48944 ac_cv_lib_m_main=no
48946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48947 LIBS=$ac_check_lib_save_LIBS
48949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
48950 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
48951 if test $ac_cv_lib_m_main = yes; then
48952 cat >>confdefs.h <<_ACEOF
48953 #define HAVE_LIBM 1
48962 for ac_func in nan copysignf
48964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48965 echo "$as_me:$LINENO: checking for $ac_func" >&5
48966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48967 if eval "test \"\${$as_ac_var+set}\" = set"; then
48968 echo $ECHO_N "(cached) $ECHO_C" >&6
48970 if test x$gcc_no_link = xyes; then
48971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48973 { (exit 1); exit 1; }; }
48975 cat >conftest.$ac_ext <<_ACEOF
48976 #line $LINENO "configure"
48979 cat confdefs.h >>conftest.$ac_ext
48980 cat >>conftest.$ac_ext <<_ACEOF
48981 /* end confdefs.h. */
48982 /* System header to define __stub macros and hopefully few prototypes,
48983 which can conflict with char $ac_func (); below.
48984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48985 <limits.h> exists even on freestanding compilers. */
48987 # include <limits.h>
48989 # include <assert.h>
48991 /* Override any gcc2 internal prototype to avoid an error. */
48996 /* We use char because int might match the return type of a gcc2
48997 builtin and then its argument prototype would still apply. */
48999 /* The GNU C library defines this for functions which it implements
49000 to always fail with ENOSYS. Some functions are actually named
49001 something starting with __ and the normal name is an alias. */
49002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49005 char (*f) () = $ac_func;
49014 return f != $ac_func;
49019 rm -f conftest.$ac_objext conftest$ac_exeext
49020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49021 (eval $ac_link) 2>&5
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); } &&
49025 { ac_try='test -s conftest$ac_exeext'
49026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49027 (eval $ac_try) 2>&5
49029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49030 (exit $ac_status); }; }; then
49031 eval "$as_ac_var=yes"
49033 echo "$as_me: failed program was:" >&5
49034 sed 's/^/| /' conftest.$ac_ext >&5
49036 eval "$as_ac_var=no"
49038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49042 if test `eval echo '${'$as_ac_var'}'` = yes; then
49043 cat >>confdefs.h <<_ACEOF
49044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49048 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49054 for ac_func in __signbit
49056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49057 echo "$as_me:$LINENO: checking for $ac_func" >&5
49058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49059 if eval "test \"\${$as_ac_var+set}\" = set"; then
49060 echo $ECHO_N "(cached) $ECHO_C" >&6
49062 if test x$gcc_no_link = xyes; then
49063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49065 { (exit 1); exit 1; }; }
49067 cat >conftest.$ac_ext <<_ACEOF
49068 #line $LINENO "configure"
49071 cat confdefs.h >>conftest.$ac_ext
49072 cat >>conftest.$ac_ext <<_ACEOF
49073 /* end confdefs.h. */
49074 /* System header to define __stub macros and hopefully few prototypes,
49075 which can conflict with char $ac_func (); below.
49076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49077 <limits.h> exists even on freestanding compilers. */
49079 # include <limits.h>
49081 # include <assert.h>
49083 /* Override any gcc2 internal prototype to avoid an error. */
49088 /* We use char because int might match the return type of a gcc2
49089 builtin and then its argument prototype would still apply. */
49091 /* The GNU C library defines this for functions which it implements
49092 to always fail with ENOSYS. Some functions are actually named
49093 something starting with __ and the normal name is an alias. */
49094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49097 char (*f) () = $ac_func;
49106 return f != $ac_func;
49111 rm -f conftest.$ac_objext conftest$ac_exeext
49112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49113 (eval $ac_link) 2>&5
49115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49116 (exit $ac_status); } &&
49117 { ac_try='test -s conftest$ac_exeext'
49118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49119 (eval $ac_try) 2>&5
49121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49122 (exit $ac_status); }; }; then
49123 eval "$as_ac_var=yes"
49125 echo "$as_me: failed program was:" >&5
49126 sed 's/^/| /' conftest.$ac_ext >&5
49128 eval "$as_ac_var=no"
49130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49134 if test `eval echo '${'$as_ac_var'}'` = yes; then
49135 cat >>confdefs.h <<_ACEOF
49136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49140 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49145 for ac_func in __signbitf
49147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49148 echo "$as_me:$LINENO: checking for $ac_func" >&5
49149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49150 if eval "test \"\${$as_ac_var+set}\" = set"; then
49151 echo $ECHO_N "(cached) $ECHO_C" >&6
49153 if test x$gcc_no_link = xyes; then
49154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49156 { (exit 1); exit 1; }; }
49158 cat >conftest.$ac_ext <<_ACEOF
49159 #line $LINENO "configure"
49162 cat confdefs.h >>conftest.$ac_ext
49163 cat >>conftest.$ac_ext <<_ACEOF
49164 /* end confdefs.h. */
49165 /* System header to define __stub macros and hopefully few prototypes,
49166 which can conflict with char $ac_func (); below.
49167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49168 <limits.h> exists even on freestanding compilers. */
49170 # include <limits.h>
49172 # include <assert.h>
49174 /* Override any gcc2 internal prototype to avoid an error. */
49179 /* We use char because int might match the return type of a gcc2
49180 builtin and then its argument prototype would still apply. */
49182 /* The GNU C library defines this for functions which it implements
49183 to always fail with ENOSYS. Some functions are actually named
49184 something starting with __ and the normal name is an alias. */
49185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49188 char (*f) () = $ac_func;
49197 return f != $ac_func;
49202 rm -f conftest.$ac_objext conftest$ac_exeext
49203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49204 (eval $ac_link) 2>&5
49206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49207 (exit $ac_status); } &&
49208 { ac_try='test -s conftest$ac_exeext'
49209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49210 (eval $ac_try) 2>&5
49212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49213 (exit $ac_status); }; }; then
49214 eval "$as_ac_var=yes"
49216 echo "$as_me: failed program was:" >&5
49217 sed 's/^/| /' conftest.$ac_ext >&5
49219 eval "$as_ac_var=no"
49221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49225 if test `eval echo '${'$as_ac_var'}'` = yes; then
49226 cat >>confdefs.h <<_ACEOF
49227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49231 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49236 if test x$ac_cv_func_copysignl = x"yes"; then
49238 for ac_func in __signbitl
49240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49241 echo "$as_me:$LINENO: checking for $ac_func" >&5
49242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49243 if eval "test \"\${$as_ac_var+set}\" = set"; then
49244 echo $ECHO_N "(cached) $ECHO_C" >&6
49246 if test x$gcc_no_link = xyes; then
49247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49249 { (exit 1); exit 1; }; }
49251 cat >conftest.$ac_ext <<_ACEOF
49252 #line $LINENO "configure"
49255 cat confdefs.h >>conftest.$ac_ext
49256 cat >>conftest.$ac_ext <<_ACEOF
49257 /* end confdefs.h. */
49258 /* System header to define __stub macros and hopefully few prototypes,
49259 which can conflict with char $ac_func (); below.
49260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49261 <limits.h> exists even on freestanding compilers. */
49263 # include <limits.h>
49265 # include <assert.h>
49267 /* Override any gcc2 internal prototype to avoid an error. */
49272 /* We use char because int might match the return type of a gcc2
49273 builtin and then its argument prototype would still apply. */
49275 /* The GNU C library defines this for functions which it implements
49276 to always fail with ENOSYS. Some functions are actually named
49277 something starting with __ and the normal name is an alias. */
49278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49281 char (*f) () = $ac_func;
49290 return f != $ac_func;
49295 rm -f conftest.$ac_objext conftest$ac_exeext
49296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49297 (eval $ac_link) 2>&5
49299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49300 (exit $ac_status); } &&
49301 { ac_try='test -s conftest$ac_exeext'
49302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49303 (eval $ac_try) 2>&5
49305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49306 (exit $ac_status); }; }; then
49307 eval "$as_ac_var=yes"
49309 echo "$as_me: failed program was:" >&5
49310 sed 's/^/| /' conftest.$ac_ext >&5
49312 eval "$as_ac_var=no"
49314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49318 if test `eval echo '${'$as_ac_var'}'` = yes; then
49319 cat >>confdefs.h <<_ACEOF
49320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49324 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49330 # XXX Review this. Nothing uses it.
49331 if test -n "$LIBMATHOBJS"; then
49337 # Test wchar.h for mbstate_t, which is needed for char_traits and
49338 # others even if wchar_t support is not on.
49339 echo "$as_me:$LINENO: checking for mbstate_t" >&5
49340 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49341 cat >conftest.$ac_ext <<_ACEOF
49342 #line $LINENO "configure"
49345 cat confdefs.h >>conftest.$ac_ext
49346 cat >>conftest.$ac_ext <<_ACEOF
49347 /* end confdefs.h. */
49352 mbstate_t teststate;
49357 rm -f conftest.$ac_objext
49358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49359 (eval $ac_compile) 2>&5
49361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362 (exit $ac_status); } &&
49363 { ac_try='test -s conftest.$ac_objext'
49364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49365 (eval $ac_try) 2>&5
49367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49368 (exit $ac_status); }; }; then
49371 echo "$as_me: failed program was:" >&5
49372 sed 's/^/| /' conftest.$ac_ext >&5
49376 rm -f conftest.$ac_objext conftest.$ac_ext
49377 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49378 echo "${ECHO_T}$have_mbstate_t" >&6
49379 if test x"$have_mbstate_t" = xyes; then
49380 cat >>confdefs.h <<\_ACEOF
49381 #define HAVE_MBSTATE_T 1
49386 # Sanity check for existence of ISO C99 headers for extended encoding.
49388 for ac_header in wchar.h
49390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49392 echo "$as_me:$LINENO: checking for $ac_header" >&5
49393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49395 echo $ECHO_N "(cached) $ECHO_C" >&6
49397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49400 # Is the header compilable?
49401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49403 cat >conftest.$ac_ext <<_ACEOF
49404 #line $LINENO "configure"
49407 cat confdefs.h >>conftest.$ac_ext
49408 cat >>conftest.$ac_ext <<_ACEOF
49409 /* end confdefs.h. */
49410 $ac_includes_default
49411 #include <$ac_header>
49413 rm -f conftest.$ac_objext
49414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49415 (eval $ac_compile) 2>&5
49417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49418 (exit $ac_status); } &&
49419 { ac_try='test -s conftest.$ac_objext'
49420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49421 (eval $ac_try) 2>&5
49423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49424 (exit $ac_status); }; }; then
49425 ac_header_compiler=yes
49427 echo "$as_me: failed program was:" >&5
49428 sed 's/^/| /' conftest.$ac_ext >&5
49430 ac_header_compiler=no
49432 rm -f conftest.$ac_objext conftest.$ac_ext
49433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49434 echo "${ECHO_T}$ac_header_compiler" >&6
49436 # Is the header present?
49437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49439 cat >conftest.$ac_ext <<_ACEOF
49440 #line $LINENO "configure"
49443 cat confdefs.h >>conftest.$ac_ext
49444 cat >>conftest.$ac_ext <<_ACEOF
49445 /* end confdefs.h. */
49446 #include <$ac_header>
49448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49451 grep -v '^ *+' conftest.er1 >conftest.err
49453 cat conftest.err >&5
49454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49455 (exit $ac_status); } >/dev/null; then
49456 if test -s conftest.err; then
49457 ac_cpp_err=$ac_c_preproc_warn_flag
49464 if test -z "$ac_cpp_err"; then
49465 ac_header_preproc=yes
49467 echo "$as_me: failed program was:" >&5
49468 sed 's/^/| /' conftest.$ac_ext >&5
49470 ac_header_preproc=no
49472 rm -f conftest.err conftest.$ac_ext
49473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49474 echo "${ECHO_T}$ac_header_preproc" >&6
49476 # So? What about this header?
49477 case $ac_header_compiler:$ac_header_preproc in
49479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49485 ## ------------------------------------ ##
49486 ## Report this to bug-autoconf@gnu.org. ##
49487 ## ------------------------------------ ##
49490 sed "s/^/$as_me: WARNING: /" >&2
49493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49501 ## ------------------------------------ ##
49502 ## Report this to bug-autoconf@gnu.org. ##
49503 ## ------------------------------------ ##
49506 sed "s/^/$as_me: WARNING: /" >&2
49509 echo "$as_me:$LINENO: checking for $ac_header" >&5
49510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49512 echo $ECHO_N "(cached) $ECHO_C" >&6
49514 eval "$as_ac_Header=$ac_header_preproc"
49516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49521 cat >>confdefs.h <<_ACEOF
49522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49532 for ac_header in wctype.h
49534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49536 echo "$as_me:$LINENO: checking for $ac_header" >&5
49537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49544 # Is the header compilable?
49545 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49546 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49547 cat >conftest.$ac_ext <<_ACEOF
49548 #line $LINENO "configure"
49551 cat confdefs.h >>conftest.$ac_ext
49552 cat >>conftest.$ac_ext <<_ACEOF
49553 /* end confdefs.h. */
49554 $ac_includes_default
49555 #include <$ac_header>
49557 rm -f conftest.$ac_objext
49558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49559 (eval $ac_compile) 2>&5
49561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49562 (exit $ac_status); } &&
49563 { ac_try='test -s conftest.$ac_objext'
49564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49565 (eval $ac_try) 2>&5
49567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568 (exit $ac_status); }; }; then
49569 ac_header_compiler=yes
49571 echo "$as_me: failed program was:" >&5
49572 sed 's/^/| /' conftest.$ac_ext >&5
49574 ac_header_compiler=no
49576 rm -f conftest.$ac_objext conftest.$ac_ext
49577 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49578 echo "${ECHO_T}$ac_header_compiler" >&6
49580 # Is the header present?
49581 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49582 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49583 cat >conftest.$ac_ext <<_ACEOF
49584 #line $LINENO "configure"
49587 cat confdefs.h >>conftest.$ac_ext
49588 cat >>conftest.$ac_ext <<_ACEOF
49589 /* end confdefs.h. */
49590 #include <$ac_header>
49592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49595 grep -v '^ *+' conftest.er1 >conftest.err
49597 cat conftest.err >&5
49598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49599 (exit $ac_status); } >/dev/null; then
49600 if test -s conftest.err; then
49601 ac_cpp_err=$ac_c_preproc_warn_flag
49608 if test -z "$ac_cpp_err"; then
49609 ac_header_preproc=yes
49611 echo "$as_me: failed program was:" >&5
49612 sed 's/^/| /' conftest.$ac_ext >&5
49614 ac_header_preproc=no
49616 rm -f conftest.err conftest.$ac_ext
49617 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49618 echo "${ECHO_T}$ac_header_preproc" >&6
49620 # So? What about this header?
49621 case $ac_header_compiler:$ac_header_preproc in
49623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49629 ## ------------------------------------ ##
49630 ## Report this to bug-autoconf@gnu.org. ##
49631 ## ------------------------------------ ##
49634 sed "s/^/$as_me: WARNING: /" >&2
49637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49645 ## ------------------------------------ ##
49646 ## Report this to bug-autoconf@gnu.org. ##
49647 ## ------------------------------------ ##
49650 sed "s/^/$as_me: WARNING: /" >&2
49653 echo "$as_me:$LINENO: checking for $ac_header" >&5
49654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49656 echo $ECHO_N "(cached) $ECHO_C" >&6
49658 eval "$as_ac_Header=$ac_header_preproc"
49660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49665 cat >>confdefs.h <<_ACEOF
49666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49668 ac_has_wctype_h=yes
49676 # Only continue checking if the ISO C99 headers exist and support is on.
49677 if test x"$ac_has_wchar_h" = xyes &&
49678 test x"$ac_has_wctype_h" = xyes &&
49679 test x"$enable_c_mbchar" != xno; then
49681 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
49682 # numeric_limits can instantiate type_traits<wchar_t>
49683 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
49684 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
49685 cat >conftest.$ac_ext <<_ACEOF
49686 #line $LINENO "configure"
49689 cat confdefs.h >>conftest.$ac_ext
49690 cat >>conftest.$ac_ext <<_ACEOF
49691 /* end confdefs.h. */
49696 int i = WCHAR_MIN; int j = WCHAR_MAX;
49701 rm -f conftest.$ac_objext
49702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49703 (eval $ac_compile) 2>&5
49705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49706 (exit $ac_status); } &&
49707 { ac_try='test -s conftest.$ac_objext'
49708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49709 (eval $ac_try) 2>&5
49711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49712 (exit $ac_status); }; }; then
49713 has_wchar_minmax=yes
49715 echo "$as_me: failed program was:" >&5
49716 sed 's/^/| /' conftest.$ac_ext >&5
49718 has_wchar_minmax=no
49720 rm -f conftest.$ac_objext conftest.$ac_ext
49721 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
49722 echo "${ECHO_T}$has_wchar_minmax" >&6
49724 # Test wchar.h for WEOF, which is what we use to determine whether
49725 # to specialize for char_traits<wchar_t> or not.
49726 echo "$as_me:$LINENO: checking for WEOF" >&5
49727 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
49728 cat >conftest.$ac_ext <<_ACEOF
49729 #line $LINENO "configure"
49732 cat confdefs.h >>conftest.$ac_ext
49733 cat >>conftest.$ac_ext <<_ACEOF
49734 /* end confdefs.h. */
49737 #include <stddef.h>
49746 rm -f conftest.$ac_objext
49747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49748 (eval $ac_compile) 2>&5
49750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751 (exit $ac_status); } &&
49752 { ac_try='test -s conftest.$ac_objext'
49753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49754 (eval $ac_try) 2>&5
49756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49757 (exit $ac_status); }; }; then
49760 echo "$as_me: failed program was:" >&5
49761 sed 's/^/| /' conftest.$ac_ext >&5
49765 rm -f conftest.$ac_objext conftest.$ac_ext
49766 echo "$as_me:$LINENO: result: $has_weof" >&5
49767 echo "${ECHO_T}$has_weof" >&6
49769 # Tests for wide character functions used in char_traits<wchar_t>.
49777 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
49779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49780 echo "$as_me:$LINENO: checking for $ac_func" >&5
49781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49782 if eval "test \"\${$as_ac_var+set}\" = set"; then
49783 echo $ECHO_N "(cached) $ECHO_C" >&6
49785 if test x$gcc_no_link = xyes; then
49786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49788 { (exit 1); exit 1; }; }
49790 cat >conftest.$ac_ext <<_ACEOF
49791 #line $LINENO "configure"
49794 cat confdefs.h >>conftest.$ac_ext
49795 cat >>conftest.$ac_ext <<_ACEOF
49796 /* end confdefs.h. */
49797 /* System header to define __stub macros and hopefully few prototypes,
49798 which can conflict with char $ac_func (); below.
49799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49800 <limits.h> exists even on freestanding compilers. */
49802 # include <limits.h>
49804 # include <assert.h>
49806 /* Override any gcc2 internal prototype to avoid an error. */
49811 /* We use char because int might match the return type of a gcc2
49812 builtin and then its argument prototype would still apply. */
49814 /* The GNU C library defines this for functions which it implements
49815 to always fail with ENOSYS. Some functions are actually named
49816 something starting with __ and the normal name is an alias. */
49817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49820 char (*f) () = $ac_func;
49829 return f != $ac_func;
49834 rm -f conftest.$ac_objext conftest$ac_exeext
49835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49836 (eval $ac_link) 2>&5
49838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839 (exit $ac_status); } &&
49840 { ac_try='test -s conftest$ac_exeext'
49841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49842 (eval $ac_try) 2>&5
49844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49845 (exit $ac_status); }; }; then
49846 eval "$as_ac_var=yes"
49848 echo "$as_me: failed program was:" >&5
49849 sed 's/^/| /' conftest.$ac_ext >&5
49851 eval "$as_ac_var=no"
49853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49857 if test `eval echo '${'$as_ac_var'}'` = yes; then
49858 cat >>confdefs.h <<_ACEOF
49859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49868 # Checks for names injected into std:: by the c_std headers.
49919 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
49920 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
49921 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
49922 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
49923 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
49924 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
49926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49927 echo "$as_me:$LINENO: checking for $ac_func" >&5
49928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49929 if eval "test \"\${$as_ac_var+set}\" = set"; then
49930 echo $ECHO_N "(cached) $ECHO_C" >&6
49932 if test x$gcc_no_link = xyes; then
49933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49935 { (exit 1); exit 1; }; }
49937 cat >conftest.$ac_ext <<_ACEOF
49938 #line $LINENO "configure"
49941 cat confdefs.h >>conftest.$ac_ext
49942 cat >>conftest.$ac_ext <<_ACEOF
49943 /* end confdefs.h. */
49944 /* System header to define __stub macros and hopefully few prototypes,
49945 which can conflict with char $ac_func (); below.
49946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49947 <limits.h> exists even on freestanding compilers. */
49949 # include <limits.h>
49951 # include <assert.h>
49953 /* Override any gcc2 internal prototype to avoid an error. */
49958 /* We use char because int might match the return type of a gcc2
49959 builtin and then its argument prototype would still apply. */
49961 /* The GNU C library defines this for functions which it implements
49962 to always fail with ENOSYS. Some functions are actually named
49963 something starting with __ and the normal name is an alias. */
49964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49967 char (*f) () = $ac_func;
49976 return f != $ac_func;
49981 rm -f conftest.$ac_objext conftest$ac_exeext
49982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49983 (eval $ac_link) 2>&5
49985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49986 (exit $ac_status); } &&
49987 { ac_try='test -s conftest$ac_exeext'
49988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49989 (eval $ac_try) 2>&5
49991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49992 (exit $ac_status); }; }; then
49993 eval "$as_ac_var=yes"
49995 echo "$as_me: failed program was:" >&5
49996 sed 's/^/| /' conftest.$ac_ext >&5
49998 eval "$as_ac_var=no"
50000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50004 if test `eval echo '${'$as_ac_var'}'` = yes; then
50005 cat >>confdefs.h <<_ACEOF
50006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50015 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50016 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50017 if test x"$has_weof" = xyes &&
50018 test x"$has_wchar_minmax" = xyes &&
50019 test x"$ac_wfuncs" = xyes;
50021 ac_isoC99_wchar_t=yes
50023 ac_isoC99_wchar_t=no
50025 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50026 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50028 # Use iconv for wchar_t to char conversions. As such, check for
50029 # X/Open Portability Guide, version 2 features (XPG2).
50030 if test "${ac_cv_header_iconv_h+set}" = set; then
50031 echo "$as_me:$LINENO: checking for iconv.h" >&5
50032 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50033 if test "${ac_cv_header_iconv_h+set}" = set; then
50034 echo $ECHO_N "(cached) $ECHO_C" >&6
50036 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50037 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50039 # Is the header compilable?
50040 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50041 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50042 cat >conftest.$ac_ext <<_ACEOF
50043 #line $LINENO "configure"
50046 cat confdefs.h >>conftest.$ac_ext
50047 cat >>conftest.$ac_ext <<_ACEOF
50048 /* end confdefs.h. */
50049 $ac_includes_default
50052 rm -f conftest.$ac_objext
50053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50054 (eval $ac_compile) 2>&5
50056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50057 (exit $ac_status); } &&
50058 { ac_try='test -s conftest.$ac_objext'
50059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50060 (eval $ac_try) 2>&5
50062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50063 (exit $ac_status); }; }; then
50064 ac_header_compiler=yes
50066 echo "$as_me: failed program was:" >&5
50067 sed 's/^/| /' conftest.$ac_ext >&5
50069 ac_header_compiler=no
50071 rm -f conftest.$ac_objext conftest.$ac_ext
50072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50073 echo "${ECHO_T}$ac_header_compiler" >&6
50075 # Is the header present?
50076 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50077 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50078 cat >conftest.$ac_ext <<_ACEOF
50079 #line $LINENO "configure"
50082 cat confdefs.h >>conftest.$ac_ext
50083 cat >>conftest.$ac_ext <<_ACEOF
50084 /* end confdefs.h. */
50087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50090 grep -v '^ *+' conftest.er1 >conftest.err
50092 cat conftest.err >&5
50093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50094 (exit $ac_status); } >/dev/null; then
50095 if test -s conftest.err; then
50096 ac_cpp_err=$ac_c_preproc_warn_flag
50103 if test -z "$ac_cpp_err"; then
50104 ac_header_preproc=yes
50106 echo "$as_me: failed program was:" >&5
50107 sed 's/^/| /' conftest.$ac_ext >&5
50109 ac_header_preproc=no
50111 rm -f conftest.err conftest.$ac_ext
50112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50113 echo "${ECHO_T}$ac_header_preproc" >&6
50115 # So? What about this header?
50116 case $ac_header_compiler:$ac_header_preproc in
50118 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50119 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50120 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50121 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50124 ## ------------------------------------ ##
50125 ## Report this to bug-autoconf@gnu.org. ##
50126 ## ------------------------------------ ##
50129 sed "s/^/$as_me: WARNING: /" >&2
50132 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50133 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50134 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50135 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50136 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50137 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50140 ## ------------------------------------ ##
50141 ## Report this to bug-autoconf@gnu.org. ##
50142 ## ------------------------------------ ##
50145 sed "s/^/$as_me: WARNING: /" >&2
50148 echo "$as_me:$LINENO: checking for iconv.h" >&5
50149 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50150 if test "${ac_cv_header_iconv_h+set}" = set; then
50151 echo $ECHO_N "(cached) $ECHO_C" >&6
50153 ac_cv_header_iconv_h=$ac_header_preproc
50155 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50156 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50159 if test $ac_cv_header_iconv_h = yes; then
50166 if test "${ac_cv_header_langinfo_h+set}" = set; then
50167 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50168 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50169 if test "${ac_cv_header_langinfo_h+set}" = set; then
50170 echo $ECHO_N "(cached) $ECHO_C" >&6
50172 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50173 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50175 # Is the header compilable?
50176 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50177 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50178 cat >conftest.$ac_ext <<_ACEOF
50179 #line $LINENO "configure"
50182 cat confdefs.h >>conftest.$ac_ext
50183 cat >>conftest.$ac_ext <<_ACEOF
50184 /* end confdefs.h. */
50185 $ac_includes_default
50186 #include <langinfo.h>
50188 rm -f conftest.$ac_objext
50189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50190 (eval $ac_compile) 2>&5
50192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50193 (exit $ac_status); } &&
50194 { ac_try='test -s conftest.$ac_objext'
50195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50196 (eval $ac_try) 2>&5
50198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50199 (exit $ac_status); }; }; then
50200 ac_header_compiler=yes
50202 echo "$as_me: failed program was:" >&5
50203 sed 's/^/| /' conftest.$ac_ext >&5
50205 ac_header_compiler=no
50207 rm -f conftest.$ac_objext conftest.$ac_ext
50208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50209 echo "${ECHO_T}$ac_header_compiler" >&6
50211 # Is the header present?
50212 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50213 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50214 cat >conftest.$ac_ext <<_ACEOF
50215 #line $LINENO "configure"
50218 cat confdefs.h >>conftest.$ac_ext
50219 cat >>conftest.$ac_ext <<_ACEOF
50220 /* end confdefs.h. */
50221 #include <langinfo.h>
50223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50226 grep -v '^ *+' conftest.er1 >conftest.err
50228 cat conftest.err >&5
50229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50230 (exit $ac_status); } >/dev/null; then
50231 if test -s conftest.err; then
50232 ac_cpp_err=$ac_c_preproc_warn_flag
50239 if test -z "$ac_cpp_err"; then
50240 ac_header_preproc=yes
50242 echo "$as_me: failed program was:" >&5
50243 sed 's/^/| /' conftest.$ac_ext >&5
50245 ac_header_preproc=no
50247 rm -f conftest.err conftest.$ac_ext
50248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50249 echo "${ECHO_T}$ac_header_preproc" >&6
50251 # So? What about this header?
50252 case $ac_header_compiler:$ac_header_preproc in
50254 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50255 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50256 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50257 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50260 ## ------------------------------------ ##
50261 ## Report this to bug-autoconf@gnu.org. ##
50262 ## ------------------------------------ ##
50265 sed "s/^/$as_me: WARNING: /" >&2
50268 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50269 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50270 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50271 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50272 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50273 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50276 ## ------------------------------------ ##
50277 ## Report this to bug-autoconf@gnu.org. ##
50278 ## ------------------------------------ ##
50281 sed "s/^/$as_me: WARNING: /" >&2
50284 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50285 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50286 if test "${ac_cv_header_langinfo_h+set}" = set; then
50287 echo $ECHO_N "(cached) $ECHO_C" >&6
50289 ac_cv_header_langinfo_h=$ac_header_preproc
50291 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50292 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50295 if test $ac_cv_header_langinfo_h = yes; then
50296 ac_has_langinfo_h=yes
50298 ac_has_langinfo_h=no
50303 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50304 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50305 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50306 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50307 echo $ECHO_N "(cached) $ECHO_C" >&6
50309 ac_check_lib_save_LIBS=$LIBS
50310 LIBS="-liconv $LIBS"
50311 if test x$gcc_no_link = xyes; then
50312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50314 { (exit 1); exit 1; }; }
50316 cat >conftest.$ac_ext <<_ACEOF
50317 #line $LINENO "configure"
50320 cat confdefs.h >>conftest.$ac_ext
50321 cat >>conftest.$ac_ext <<_ACEOF
50322 /* end confdefs.h. */
50324 /* Override any gcc2 internal prototype to avoid an error. */
50328 /* We use char because int might match the return type of a gcc2
50329 builtin and then its argument prototype would still apply. */
50339 rm -f conftest.$ac_objext conftest$ac_exeext
50340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50341 (eval $ac_link) 2>&5
50343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50344 (exit $ac_status); } &&
50345 { ac_try='test -s conftest$ac_exeext'
50346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50347 (eval $ac_try) 2>&5
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); }; }; then
50351 ac_cv_lib_iconv_iconv=yes
50353 echo "$as_me: failed program was:" >&5
50354 sed 's/^/| /' conftest.$ac_ext >&5
50356 ac_cv_lib_iconv_iconv=no
50358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50359 LIBS=$ac_check_lib_save_LIBS
50361 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50362 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50363 if test $ac_cv_lib_iconv_iconv = yes; then
50367 ac_save_LIBS="$LIBS"
50368 LIBS="$LIBS $libiconv"
50374 for ac_func in iconv_open iconv_close iconv nl_langinfo
50376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50377 echo "$as_me:$LINENO: checking for $ac_func" >&5
50378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50379 if eval "test \"\${$as_ac_var+set}\" = set"; then
50380 echo $ECHO_N "(cached) $ECHO_C" >&6
50382 if test x$gcc_no_link = xyes; then
50383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50385 { (exit 1); exit 1; }; }
50387 cat >conftest.$ac_ext <<_ACEOF
50388 #line $LINENO "configure"
50391 cat confdefs.h >>conftest.$ac_ext
50392 cat >>conftest.$ac_ext <<_ACEOF
50393 /* end confdefs.h. */
50394 /* System header to define __stub macros and hopefully few prototypes,
50395 which can conflict with char $ac_func (); below.
50396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50397 <limits.h> exists even on freestanding compilers. */
50399 # include <limits.h>
50401 # include <assert.h>
50403 /* Override any gcc2 internal prototype to avoid an error. */
50408 /* We use char because int might match the return type of a gcc2
50409 builtin and then its argument prototype would still apply. */
50411 /* The GNU C library defines this for functions which it implements
50412 to always fail with ENOSYS. Some functions are actually named
50413 something starting with __ and the normal name is an alias. */
50414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50417 char (*f) () = $ac_func;
50426 return f != $ac_func;
50431 rm -f conftest.$ac_objext conftest$ac_exeext
50432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50433 (eval $ac_link) 2>&5
50435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50436 (exit $ac_status); } &&
50437 { ac_try='test -s conftest$ac_exeext'
50438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50439 (eval $ac_try) 2>&5
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); }; }; then
50443 eval "$as_ac_var=yes"
50445 echo "$as_me: failed program was:" >&5
50446 sed 's/^/| /' conftest.$ac_ext >&5
50448 eval "$as_ac_var=no"
50450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50454 if test `eval echo '${'$as_ac_var'}'` = yes; then
50455 cat >>confdefs.h <<_ACEOF
50456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50465 LIBS="$ac_save_LIBS"
50467 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
50468 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
50469 if test x"$ac_has_iconv_h" = xyes &&
50470 test x"$ac_has_langinfo_h" = xyes &&
50471 test x"$ac_XPG2funcs" = xyes;
50473 ac_XPG2_wchar_t=yes
50477 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
50478 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
50480 # At the moment, only enable wchar_t specializations if all the
50481 # above support is present.
50482 if test x"$ac_isoC99_wchar_t" = xyes &&
50483 test x"$ac_XPG2_wchar_t" = xyes;
50485 cat >>confdefs.h <<\_ACEOF
50486 #define _GLIBCXX_USE_WCHAR_T 1
50492 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
50493 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
50494 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
50495 echo "${ECHO_T}$enable_wchar_t" >&6
50497 cat >>confdefs.h <<\_ACEOF
50498 #define HAVE_COPYSIGN 1
50501 cat >>confdefs.h <<\_ACEOF
50502 #define HAVE_COPYSIGNF 1
50505 cat >>confdefs.h <<\_ACEOF
50506 #define HAVE_FREXPF 1
50509 cat >>confdefs.h <<\_ACEOF
50510 #define HAVE_HYPOT 1
50515 cat >>confdefs.h <<\_ACEOF
50516 #define HAVE_FINITE 1
50519 cat >>confdefs.h <<\_ACEOF
50520 #define HAVE_FINITEF 1
50523 cat >>confdefs.h <<\_ACEOF
50524 #define HAVE_ISINF 1
50527 cat >>confdefs.h <<\_ACEOF
50528 #define HAVE_ISINFF 1
50531 cat >>confdefs.h <<\_ACEOF
50532 #define HAVE_ISNAN 1
50535 cat >>confdefs.h <<\_ACEOF
50536 #define HAVE_ISNANF 1
50543 #os_include_dir="os/gnu-linux"
50556 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
50557 machine/endian.h machine/param.h sys/machine.h sys/types.h \
50558 fp.h locale.h float.h inttypes.h
50560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50562 echo "$as_me:$LINENO: checking for $ac_header" >&5
50563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50565 echo $ECHO_N "(cached) $ECHO_C" >&6
50567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50570 # Is the header compilable?
50571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50573 cat >conftest.$ac_ext <<_ACEOF
50574 #line $LINENO "configure"
50577 cat confdefs.h >>conftest.$ac_ext
50578 cat >>conftest.$ac_ext <<_ACEOF
50579 /* end confdefs.h. */
50580 $ac_includes_default
50581 #include <$ac_header>
50583 rm -f conftest.$ac_objext
50584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50585 (eval $ac_compile) 2>&5
50587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50588 (exit $ac_status); } &&
50589 { ac_try='test -s conftest.$ac_objext'
50590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50591 (eval $ac_try) 2>&5
50593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50594 (exit $ac_status); }; }; then
50595 ac_header_compiler=yes
50597 echo "$as_me: failed program was:" >&5
50598 sed 's/^/| /' conftest.$ac_ext >&5
50600 ac_header_compiler=no
50602 rm -f conftest.$ac_objext conftest.$ac_ext
50603 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50604 echo "${ECHO_T}$ac_header_compiler" >&6
50606 # Is the header present?
50607 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50608 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50609 cat >conftest.$ac_ext <<_ACEOF
50610 #line $LINENO "configure"
50613 cat confdefs.h >>conftest.$ac_ext
50614 cat >>conftest.$ac_ext <<_ACEOF
50615 /* end confdefs.h. */
50616 #include <$ac_header>
50618 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50619 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50621 grep -v '^ *+' conftest.er1 >conftest.err
50623 cat conftest.err >&5
50624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50625 (exit $ac_status); } >/dev/null; then
50626 if test -s conftest.err; then
50627 ac_cpp_err=$ac_c_preproc_warn_flag
50634 if test -z "$ac_cpp_err"; then
50635 ac_header_preproc=yes
50637 echo "$as_me: failed program was:" >&5
50638 sed 's/^/| /' conftest.$ac_ext >&5
50640 ac_header_preproc=no
50642 rm -f conftest.err conftest.$ac_ext
50643 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50644 echo "${ECHO_T}$ac_header_preproc" >&6
50646 # So? What about this header?
50647 case $ac_header_compiler:$ac_header_preproc in
50649 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50650 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50651 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50652 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50655 ## ------------------------------------ ##
50656 ## Report this to bug-autoconf@gnu.org. ##
50657 ## ------------------------------------ ##
50660 sed "s/^/$as_me: WARNING: /" >&2
50663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50671 ## ------------------------------------ ##
50672 ## Report this to bug-autoconf@gnu.org. ##
50673 ## ------------------------------------ ##
50676 sed "s/^/$as_me: WARNING: /" >&2
50679 echo "$as_me:$LINENO: checking for $ac_header" >&5
50680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50682 echo $ECHO_N "(cached) $ECHO_C" >&6
50684 eval "$as_ac_Header=$ac_header_preproc"
50686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50691 cat >>confdefs.h <<_ACEOF
50692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50699 SECTION_FLAGS='-ffunction-sections -fdata-sections'
50702 # If we're not using GNU ld, then there's no point in even trying these
50703 # tests. Check for that first. We should have already tested for gld
50704 # by now (in libtool), but require it now just to be safe...
50705 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50706 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50710 # The name set by libtool depends on the version of libtool. Shame on us
50711 # for depending on an impl detail, but c'est la vie. Older versions used
50712 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50713 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50714 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50715 # set (hence we're using an older libtool), then set it.
50716 if test x${with_gnu_ld+set} != xset; then
50717 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50718 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50721 with_gnu_ld=$ac_cv_prog_gnu_ld
50725 # Start by getting the version number. I think the libtool test already
50726 # does some of this, but throws away the result.
50728 ldver=`$LD --version 2>/dev/null | head -1 | \
50729 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
50731 glibcxx_gnu_ld_version=`echo $ldver | \
50732 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50734 # Set --gc-sections.
50735 if test "$with_gnu_ld" = "notbroken"; then
50736 # GNU ld it is! Joy and bunny rabbits!
50738 # All these tests are for C++; save the language and the compiler flags.
50739 # Need to do this so that g++ won't try to link in libstdc++
50740 ac_test_CFLAGS="${CFLAGS+set}"
50741 ac_save_CFLAGS="$CFLAGS"
50742 CFLAGS='-x c++ -Wl,--gc-sections'
50744 # Check for -Wl,--gc-sections
50745 # XXX This test is broken at the moment, as symbols required for linking
50746 # are now in libsupc++ (not built yet). In addition, this test has
50747 # cored on solaris in the past. In addition, --gc-sections doesn't
50748 # really work at the moment (keeps on discarding used sections, first
50749 # .eh_frame and now some of the glibc sections for iconv).
50750 # Bzzzzt. Thanks for playing, maybe next time.
50751 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
50752 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
50753 if test "$cross_compiling" = yes; then
50754 ac_sectionLDflags=yes
50756 cat >conftest.$ac_ext <<_ACEOF
50757 #line $LINENO "configure"
50760 cat confdefs.h >>conftest.$ac_ext
50761 cat >>conftest.$ac_ext <<_ACEOF
50762 /* end confdefs.h. */
50772 rm -f conftest$ac_exeext
50773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50774 (eval $ac_link) 2>&5
50776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
50778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50779 (eval $ac_try) 2>&5
50781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50782 (exit $ac_status); }; }; then
50783 ac_sectionLDflags=yes
50785 echo "$as_me: program exited with status $ac_status" >&5
50786 echo "$as_me: failed program was:" >&5
50787 sed 's/^/| /' conftest.$ac_ext >&5
50789 ( exit $ac_status )
50790 ac_sectionLDflags=no
50792 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
50794 if test "$ac_test_CFLAGS" = set; then
50795 CFLAGS="$ac_save_CFLAGS"
50797 # this is the suspicious part
50800 if test "$ac_sectionLDflags" = "yes"; then
50801 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50803 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
50804 echo "${ECHO_T}$ac_sectionLDflags" >&6
50807 # Set linker optimization flags.
50808 if test x"$with_gnu_ld" = x"yes"; then
50809 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50817 echo "$as_me:$LINENO: checking for main in -lm" >&5
50818 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50819 if test "${ac_cv_lib_m_main+set}" = set; then
50820 echo $ECHO_N "(cached) $ECHO_C" >&6
50822 ac_check_lib_save_LIBS=$LIBS
50824 if test x$gcc_no_link = xyes; then
50825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50827 { (exit 1); exit 1; }; }
50829 cat >conftest.$ac_ext <<_ACEOF
50830 #line $LINENO "configure"
50833 cat confdefs.h >>conftest.$ac_ext
50834 cat >>conftest.$ac_ext <<_ACEOF
50835 /* end confdefs.h. */
50846 rm -f conftest.$ac_objext conftest$ac_exeext
50847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50848 (eval $ac_link) 2>&5
50850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50851 (exit $ac_status); } &&
50852 { ac_try='test -s conftest$ac_exeext'
50853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50854 (eval $ac_try) 2>&5
50856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50857 (exit $ac_status); }; }; then
50858 ac_cv_lib_m_main=yes
50860 echo "$as_me: failed program was:" >&5
50861 sed 's/^/| /' conftest.$ac_ext >&5
50863 ac_cv_lib_m_main=no
50865 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50866 LIBS=$ac_check_lib_save_LIBS
50868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50869 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50870 if test $ac_cv_lib_m_main = yes; then
50871 cat >>confdefs.h <<_ACEOF
50872 #define HAVE_LIBM 1
50881 for ac_func in nan copysignf
50883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50884 echo "$as_me:$LINENO: checking for $ac_func" >&5
50885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50886 if eval "test \"\${$as_ac_var+set}\" = set"; then
50887 echo $ECHO_N "(cached) $ECHO_C" >&6
50889 if test x$gcc_no_link = xyes; then
50890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50892 { (exit 1); exit 1; }; }
50894 cat >conftest.$ac_ext <<_ACEOF
50895 #line $LINENO "configure"
50898 cat confdefs.h >>conftest.$ac_ext
50899 cat >>conftest.$ac_ext <<_ACEOF
50900 /* end confdefs.h. */
50901 /* System header to define __stub macros and hopefully few prototypes,
50902 which can conflict with char $ac_func (); below.
50903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50904 <limits.h> exists even on freestanding compilers. */
50906 # include <limits.h>
50908 # include <assert.h>
50910 /* Override any gcc2 internal prototype to avoid an error. */
50915 /* We use char because int might match the return type of a gcc2
50916 builtin and then its argument prototype would still apply. */
50918 /* The GNU C library defines this for functions which it implements
50919 to always fail with ENOSYS. Some functions are actually named
50920 something starting with __ and the normal name is an alias. */
50921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50924 char (*f) () = $ac_func;
50933 return f != $ac_func;
50938 rm -f conftest.$ac_objext conftest$ac_exeext
50939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50940 (eval $ac_link) 2>&5
50942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50943 (exit $ac_status); } &&
50944 { ac_try='test -s conftest$ac_exeext'
50945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50946 (eval $ac_try) 2>&5
50948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50949 (exit $ac_status); }; }; then
50950 eval "$as_ac_var=yes"
50952 echo "$as_me: failed program was:" >&5
50953 sed 's/^/| /' conftest.$ac_ext >&5
50955 eval "$as_ac_var=no"
50957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50961 if test `eval echo '${'$as_ac_var'}'` = yes; then
50962 cat >>confdefs.h <<_ACEOF
50963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50967 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50973 for ac_func in __signbit
50975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50976 echo "$as_me:$LINENO: checking for $ac_func" >&5
50977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50978 if eval "test \"\${$as_ac_var+set}\" = set"; then
50979 echo $ECHO_N "(cached) $ECHO_C" >&6
50981 if test x$gcc_no_link = xyes; then
50982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50984 { (exit 1); exit 1; }; }
50986 cat >conftest.$ac_ext <<_ACEOF
50987 #line $LINENO "configure"
50990 cat confdefs.h >>conftest.$ac_ext
50991 cat >>conftest.$ac_ext <<_ACEOF
50992 /* end confdefs.h. */
50993 /* System header to define __stub macros and hopefully few prototypes,
50994 which can conflict with char $ac_func (); below.
50995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50996 <limits.h> exists even on freestanding compilers. */
50998 # include <limits.h>
51000 # include <assert.h>
51002 /* Override any gcc2 internal prototype to avoid an error. */
51007 /* We use char because int might match the return type of a gcc2
51008 builtin and then its argument prototype would still apply. */
51010 /* The GNU C library defines this for functions which it implements
51011 to always fail with ENOSYS. Some functions are actually named
51012 something starting with __ and the normal name is an alias. */
51013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51016 char (*f) () = $ac_func;
51025 return f != $ac_func;
51030 rm -f conftest.$ac_objext conftest$ac_exeext
51031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51032 (eval $ac_link) 2>&5
51034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51035 (exit $ac_status); } &&
51036 { ac_try='test -s conftest$ac_exeext'
51037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51038 (eval $ac_try) 2>&5
51040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51041 (exit $ac_status); }; }; then
51042 eval "$as_ac_var=yes"
51044 echo "$as_me: failed program was:" >&5
51045 sed 's/^/| /' conftest.$ac_ext >&5
51047 eval "$as_ac_var=no"
51049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51053 if test `eval echo '${'$as_ac_var'}'` = yes; then
51054 cat >>confdefs.h <<_ACEOF
51055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51059 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51064 for ac_func in __signbitf
51066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51067 echo "$as_me:$LINENO: checking for $ac_func" >&5
51068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51069 if eval "test \"\${$as_ac_var+set}\" = set"; then
51070 echo $ECHO_N "(cached) $ECHO_C" >&6
51072 if test x$gcc_no_link = xyes; then
51073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51075 { (exit 1); exit 1; }; }
51077 cat >conftest.$ac_ext <<_ACEOF
51078 #line $LINENO "configure"
51081 cat confdefs.h >>conftest.$ac_ext
51082 cat >>conftest.$ac_ext <<_ACEOF
51083 /* end confdefs.h. */
51084 /* System header to define __stub macros and hopefully few prototypes,
51085 which can conflict with char $ac_func (); below.
51086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51087 <limits.h> exists even on freestanding compilers. */
51089 # include <limits.h>
51091 # include <assert.h>
51093 /* Override any gcc2 internal prototype to avoid an error. */
51098 /* We use char because int might match the return type of a gcc2
51099 builtin and then its argument prototype would still apply. */
51101 /* The GNU C library defines this for functions which it implements
51102 to always fail with ENOSYS. Some functions are actually named
51103 something starting with __ and the normal name is an alias. */
51104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51107 char (*f) () = $ac_func;
51116 return f != $ac_func;
51121 rm -f conftest.$ac_objext conftest$ac_exeext
51122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51123 (eval $ac_link) 2>&5
51125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51126 (exit $ac_status); } &&
51127 { ac_try='test -s conftest$ac_exeext'
51128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51129 (eval $ac_try) 2>&5
51131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51132 (exit $ac_status); }; }; then
51133 eval "$as_ac_var=yes"
51135 echo "$as_me: failed program was:" >&5
51136 sed 's/^/| /' conftest.$ac_ext >&5
51138 eval "$as_ac_var=no"
51140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51144 if test `eval echo '${'$as_ac_var'}'` = yes; then
51145 cat >>confdefs.h <<_ACEOF
51146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51150 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51155 if test x$ac_cv_func_copysignl = x"yes"; then
51157 for ac_func in __signbitl
51159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51160 echo "$as_me:$LINENO: checking for $ac_func" >&5
51161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51162 if eval "test \"\${$as_ac_var+set}\" = set"; then
51163 echo $ECHO_N "(cached) $ECHO_C" >&6
51165 if test x$gcc_no_link = xyes; then
51166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51168 { (exit 1); exit 1; }; }
51170 cat >conftest.$ac_ext <<_ACEOF
51171 #line $LINENO "configure"
51174 cat confdefs.h >>conftest.$ac_ext
51175 cat >>conftest.$ac_ext <<_ACEOF
51176 /* end confdefs.h. */
51177 /* System header to define __stub macros and hopefully few prototypes,
51178 which can conflict with char $ac_func (); below.
51179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51180 <limits.h> exists even on freestanding compilers. */
51182 # include <limits.h>
51184 # include <assert.h>
51186 /* Override any gcc2 internal prototype to avoid an error. */
51191 /* We use char because int might match the return type of a gcc2
51192 builtin and then its argument prototype would still apply. */
51194 /* The GNU C library defines this for functions which it implements
51195 to always fail with ENOSYS. Some functions are actually named
51196 something starting with __ and the normal name is an alias. */
51197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51200 char (*f) () = $ac_func;
51209 return f != $ac_func;
51214 rm -f conftest.$ac_objext conftest$ac_exeext
51215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51216 (eval $ac_link) 2>&5
51218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51219 (exit $ac_status); } &&
51220 { ac_try='test -s conftest$ac_exeext'
51221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51222 (eval $ac_try) 2>&5
51224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51225 (exit $ac_status); }; }; then
51226 eval "$as_ac_var=yes"
51228 echo "$as_me: failed program was:" >&5
51229 sed 's/^/| /' conftest.$ac_ext >&5
51231 eval "$as_ac_var=no"
51233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51237 if test `eval echo '${'$as_ac_var'}'` = yes; then
51238 cat >>confdefs.h <<_ACEOF
51239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51243 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51249 # XXX Review this. Nothing uses it.
51250 if test -n "$LIBMATHOBJS"; then
51256 # Test wchar.h for mbstate_t, which is needed for char_traits and
51257 # others even if wchar_t support is not on.
51258 echo "$as_me:$LINENO: checking for mbstate_t" >&5
51259 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51260 cat >conftest.$ac_ext <<_ACEOF
51261 #line $LINENO "configure"
51264 cat confdefs.h >>conftest.$ac_ext
51265 cat >>conftest.$ac_ext <<_ACEOF
51266 /* end confdefs.h. */
51271 mbstate_t teststate;
51276 rm -f conftest.$ac_objext
51277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51278 (eval $ac_compile) 2>&5
51280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51281 (exit $ac_status); } &&
51282 { ac_try='test -s conftest.$ac_objext'
51283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51284 (eval $ac_try) 2>&5
51286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51287 (exit $ac_status); }; }; then
51290 echo "$as_me: failed program was:" >&5
51291 sed 's/^/| /' conftest.$ac_ext >&5
51295 rm -f conftest.$ac_objext conftest.$ac_ext
51296 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51297 echo "${ECHO_T}$have_mbstate_t" >&6
51298 if test x"$have_mbstate_t" = xyes; then
51299 cat >>confdefs.h <<\_ACEOF
51300 #define HAVE_MBSTATE_T 1
51305 # Sanity check for existence of ISO C99 headers for extended encoding.
51307 for ac_header in wchar.h
51309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51311 echo "$as_me:$LINENO: checking for $ac_header" >&5
51312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51314 echo $ECHO_N "(cached) $ECHO_C" >&6
51316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51319 # Is the header compilable?
51320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51322 cat >conftest.$ac_ext <<_ACEOF
51323 #line $LINENO "configure"
51326 cat confdefs.h >>conftest.$ac_ext
51327 cat >>conftest.$ac_ext <<_ACEOF
51328 /* end confdefs.h. */
51329 $ac_includes_default
51330 #include <$ac_header>
51332 rm -f conftest.$ac_objext
51333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51334 (eval $ac_compile) 2>&5
51336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337 (exit $ac_status); } &&
51338 { ac_try='test -s conftest.$ac_objext'
51339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51340 (eval $ac_try) 2>&5
51342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51343 (exit $ac_status); }; }; then
51344 ac_header_compiler=yes
51346 echo "$as_me: failed program was:" >&5
51347 sed 's/^/| /' conftest.$ac_ext >&5
51349 ac_header_compiler=no
51351 rm -f conftest.$ac_objext conftest.$ac_ext
51352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51353 echo "${ECHO_T}$ac_header_compiler" >&6
51355 # Is the header present?
51356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51358 cat >conftest.$ac_ext <<_ACEOF
51359 #line $LINENO "configure"
51362 cat confdefs.h >>conftest.$ac_ext
51363 cat >>conftest.$ac_ext <<_ACEOF
51364 /* end confdefs.h. */
51365 #include <$ac_header>
51367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51370 grep -v '^ *+' conftest.er1 >conftest.err
51372 cat conftest.err >&5
51373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51374 (exit $ac_status); } >/dev/null; then
51375 if test -s conftest.err; then
51376 ac_cpp_err=$ac_c_preproc_warn_flag
51383 if test -z "$ac_cpp_err"; then
51384 ac_header_preproc=yes
51386 echo "$as_me: failed program was:" >&5
51387 sed 's/^/| /' conftest.$ac_ext >&5
51389 ac_header_preproc=no
51391 rm -f conftest.err conftest.$ac_ext
51392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51393 echo "${ECHO_T}$ac_header_preproc" >&6
51395 # So? What about this header?
51396 case $ac_header_compiler:$ac_header_preproc in
51398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51404 ## ------------------------------------ ##
51405 ## Report this to bug-autoconf@gnu.org. ##
51406 ## ------------------------------------ ##
51409 sed "s/^/$as_me: WARNING: /" >&2
51412 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51413 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51414 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51415 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51417 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51420 ## ------------------------------------ ##
51421 ## Report this to bug-autoconf@gnu.org. ##
51422 ## ------------------------------------ ##
51425 sed "s/^/$as_me: WARNING: /" >&2
51428 echo "$as_me:$LINENO: checking for $ac_header" >&5
51429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51431 echo $ECHO_N "(cached) $ECHO_C" >&6
51433 eval "$as_ac_Header=$ac_header_preproc"
51435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51440 cat >>confdefs.h <<_ACEOF
51441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51451 for ac_header in wctype.h
51453 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51455 echo "$as_me:$LINENO: checking for $ac_header" >&5
51456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51458 echo $ECHO_N "(cached) $ECHO_C" >&6
51460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51463 # Is the header compilable?
51464 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51465 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51466 cat >conftest.$ac_ext <<_ACEOF
51467 #line $LINENO "configure"
51470 cat confdefs.h >>conftest.$ac_ext
51471 cat >>conftest.$ac_ext <<_ACEOF
51472 /* end confdefs.h. */
51473 $ac_includes_default
51474 #include <$ac_header>
51476 rm -f conftest.$ac_objext
51477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51478 (eval $ac_compile) 2>&5
51480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51481 (exit $ac_status); } &&
51482 { ac_try='test -s conftest.$ac_objext'
51483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51484 (eval $ac_try) 2>&5
51486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51487 (exit $ac_status); }; }; then
51488 ac_header_compiler=yes
51490 echo "$as_me: failed program was:" >&5
51491 sed 's/^/| /' conftest.$ac_ext >&5
51493 ac_header_compiler=no
51495 rm -f conftest.$ac_objext conftest.$ac_ext
51496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51497 echo "${ECHO_T}$ac_header_compiler" >&6
51499 # Is the header present?
51500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51502 cat >conftest.$ac_ext <<_ACEOF
51503 #line $LINENO "configure"
51506 cat confdefs.h >>conftest.$ac_ext
51507 cat >>conftest.$ac_ext <<_ACEOF
51508 /* end confdefs.h. */
51509 #include <$ac_header>
51511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51514 grep -v '^ *+' conftest.er1 >conftest.err
51516 cat conftest.err >&5
51517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51518 (exit $ac_status); } >/dev/null; then
51519 if test -s conftest.err; then
51520 ac_cpp_err=$ac_c_preproc_warn_flag
51527 if test -z "$ac_cpp_err"; then
51528 ac_header_preproc=yes
51530 echo "$as_me: failed program was:" >&5
51531 sed 's/^/| /' conftest.$ac_ext >&5
51533 ac_header_preproc=no
51535 rm -f conftest.err conftest.$ac_ext
51536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51537 echo "${ECHO_T}$ac_header_preproc" >&6
51539 # So? What about this header?
51540 case $ac_header_compiler:$ac_header_preproc in
51542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51548 ## ------------------------------------ ##
51549 ## Report this to bug-autoconf@gnu.org. ##
51550 ## ------------------------------------ ##
51553 sed "s/^/$as_me: WARNING: /" >&2
51556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51564 ## ------------------------------------ ##
51565 ## Report this to bug-autoconf@gnu.org. ##
51566 ## ------------------------------------ ##
51569 sed "s/^/$as_me: WARNING: /" >&2
51572 echo "$as_me:$LINENO: checking for $ac_header" >&5
51573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51575 echo $ECHO_N "(cached) $ECHO_C" >&6
51577 eval "$as_ac_Header=$ac_header_preproc"
51579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51584 cat >>confdefs.h <<_ACEOF
51585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51587 ac_has_wctype_h=yes
51595 # Only continue checking if the ISO C99 headers exist and support is on.
51596 if test x"$ac_has_wchar_h" = xyes &&
51597 test x"$ac_has_wctype_h" = xyes &&
51598 test x"$enable_c_mbchar" != xno; then
51600 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51601 # numeric_limits can instantiate type_traits<wchar_t>
51602 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51603 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51604 cat >conftest.$ac_ext <<_ACEOF
51605 #line $LINENO "configure"
51608 cat confdefs.h >>conftest.$ac_ext
51609 cat >>conftest.$ac_ext <<_ACEOF
51610 /* end confdefs.h. */
51615 int i = WCHAR_MIN; int j = WCHAR_MAX;
51620 rm -f conftest.$ac_objext
51621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51622 (eval $ac_compile) 2>&5
51624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51625 (exit $ac_status); } &&
51626 { ac_try='test -s conftest.$ac_objext'
51627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51628 (eval $ac_try) 2>&5
51630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51631 (exit $ac_status); }; }; then
51632 has_wchar_minmax=yes
51634 echo "$as_me: failed program was:" >&5
51635 sed 's/^/| /' conftest.$ac_ext >&5
51637 has_wchar_minmax=no
51639 rm -f conftest.$ac_objext conftest.$ac_ext
51640 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51641 echo "${ECHO_T}$has_wchar_minmax" >&6
51643 # Test wchar.h for WEOF, which is what we use to determine whether
51644 # to specialize for char_traits<wchar_t> or not.
51645 echo "$as_me:$LINENO: checking for WEOF" >&5
51646 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51647 cat >conftest.$ac_ext <<_ACEOF
51648 #line $LINENO "configure"
51651 cat confdefs.h >>conftest.$ac_ext
51652 cat >>conftest.$ac_ext <<_ACEOF
51653 /* end confdefs.h. */
51656 #include <stddef.h>
51665 rm -f conftest.$ac_objext
51666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51667 (eval $ac_compile) 2>&5
51669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51670 (exit $ac_status); } &&
51671 { ac_try='test -s conftest.$ac_objext'
51672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51673 (eval $ac_try) 2>&5
51675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51676 (exit $ac_status); }; }; then
51679 echo "$as_me: failed program was:" >&5
51680 sed 's/^/| /' conftest.$ac_ext >&5
51684 rm -f conftest.$ac_objext conftest.$ac_ext
51685 echo "$as_me:$LINENO: result: $has_weof" >&5
51686 echo "${ECHO_T}$has_weof" >&6
51688 # Tests for wide character functions used in char_traits<wchar_t>.
51696 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51699 echo "$as_me:$LINENO: checking for $ac_func" >&5
51700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51701 if eval "test \"\${$as_ac_var+set}\" = set"; then
51702 echo $ECHO_N "(cached) $ECHO_C" >&6
51704 if test x$gcc_no_link = xyes; then
51705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51707 { (exit 1); exit 1; }; }
51709 cat >conftest.$ac_ext <<_ACEOF
51710 #line $LINENO "configure"
51713 cat confdefs.h >>conftest.$ac_ext
51714 cat >>conftest.$ac_ext <<_ACEOF
51715 /* end confdefs.h. */
51716 /* System header to define __stub macros and hopefully few prototypes,
51717 which can conflict with char $ac_func (); below.
51718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51719 <limits.h> exists even on freestanding compilers. */
51721 # include <limits.h>
51723 # include <assert.h>
51725 /* Override any gcc2 internal prototype to avoid an error. */
51730 /* We use char because int might match the return type of a gcc2
51731 builtin and then its argument prototype would still apply. */
51733 /* The GNU C library defines this for functions which it implements
51734 to always fail with ENOSYS. Some functions are actually named
51735 something starting with __ and the normal name is an alias. */
51736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51739 char (*f) () = $ac_func;
51748 return f != $ac_func;
51753 rm -f conftest.$ac_objext conftest$ac_exeext
51754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51755 (eval $ac_link) 2>&5
51757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51758 (exit $ac_status); } &&
51759 { ac_try='test -s conftest$ac_exeext'
51760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51761 (eval $ac_try) 2>&5
51763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51764 (exit $ac_status); }; }; then
51765 eval "$as_ac_var=yes"
51767 echo "$as_me: failed program was:" >&5
51768 sed 's/^/| /' conftest.$ac_ext >&5
51770 eval "$as_ac_var=no"
51772 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51776 if test `eval echo '${'$as_ac_var'}'` = yes; then
51777 cat >>confdefs.h <<_ACEOF
51778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51787 # Checks for names injected into std:: by the c_std headers.
51838 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51839 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
51840 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51841 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
51842 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51843 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51846 echo "$as_me:$LINENO: checking for $ac_func" >&5
51847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51848 if eval "test \"\${$as_ac_var+set}\" = set"; then
51849 echo $ECHO_N "(cached) $ECHO_C" >&6
51851 if test x$gcc_no_link = xyes; then
51852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51854 { (exit 1); exit 1; }; }
51856 cat >conftest.$ac_ext <<_ACEOF
51857 #line $LINENO "configure"
51860 cat confdefs.h >>conftest.$ac_ext
51861 cat >>conftest.$ac_ext <<_ACEOF
51862 /* end confdefs.h. */
51863 /* System header to define __stub macros and hopefully few prototypes,
51864 which can conflict with char $ac_func (); below.
51865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51866 <limits.h> exists even on freestanding compilers. */
51868 # include <limits.h>
51870 # include <assert.h>
51872 /* Override any gcc2 internal prototype to avoid an error. */
51877 /* We use char because int might match the return type of a gcc2
51878 builtin and then its argument prototype would still apply. */
51880 /* The GNU C library defines this for functions which it implements
51881 to always fail with ENOSYS. Some functions are actually named
51882 something starting with __ and the normal name is an alias. */
51883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51886 char (*f) () = $ac_func;
51895 return f != $ac_func;
51900 rm -f conftest.$ac_objext conftest$ac_exeext
51901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51902 (eval $ac_link) 2>&5
51904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51905 (exit $ac_status); } &&
51906 { ac_try='test -s conftest$ac_exeext'
51907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51908 (eval $ac_try) 2>&5
51910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51911 (exit $ac_status); }; }; then
51912 eval "$as_ac_var=yes"
51914 echo "$as_me: failed program was:" >&5
51915 sed 's/^/| /' conftest.$ac_ext >&5
51917 eval "$as_ac_var=no"
51919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51923 if test `eval echo '${'$as_ac_var'}'` = yes; then
51924 cat >>confdefs.h <<_ACEOF
51925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51934 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51935 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51936 if test x"$has_weof" = xyes &&
51937 test x"$has_wchar_minmax" = xyes &&
51938 test x"$ac_wfuncs" = xyes;
51940 ac_isoC99_wchar_t=yes
51942 ac_isoC99_wchar_t=no
51944 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51945 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51947 # Use iconv for wchar_t to char conversions. As such, check for
51948 # X/Open Portability Guide, version 2 features (XPG2).
51949 if test "${ac_cv_header_iconv_h+set}" = set; then
51950 echo "$as_me:$LINENO: checking for iconv.h" >&5
51951 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51952 if test "${ac_cv_header_iconv_h+set}" = set; then
51953 echo $ECHO_N "(cached) $ECHO_C" >&6
51955 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51956 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51958 # Is the header compilable?
51959 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51960 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51961 cat >conftest.$ac_ext <<_ACEOF
51962 #line $LINENO "configure"
51965 cat confdefs.h >>conftest.$ac_ext
51966 cat >>conftest.$ac_ext <<_ACEOF
51967 /* end confdefs.h. */
51968 $ac_includes_default
51971 rm -f conftest.$ac_objext
51972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51973 (eval $ac_compile) 2>&5
51975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51976 (exit $ac_status); } &&
51977 { ac_try='test -s conftest.$ac_objext'
51978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51979 (eval $ac_try) 2>&5
51981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51982 (exit $ac_status); }; }; then
51983 ac_header_compiler=yes
51985 echo "$as_me: failed program was:" >&5
51986 sed 's/^/| /' conftest.$ac_ext >&5
51988 ac_header_compiler=no
51990 rm -f conftest.$ac_objext conftest.$ac_ext
51991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51992 echo "${ECHO_T}$ac_header_compiler" >&6
51994 # Is the header present?
51995 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51996 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51997 cat >conftest.$ac_ext <<_ACEOF
51998 #line $LINENO "configure"
52001 cat confdefs.h >>conftest.$ac_ext
52002 cat >>conftest.$ac_ext <<_ACEOF
52003 /* end confdefs.h. */
52006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52009 grep -v '^ *+' conftest.er1 >conftest.err
52011 cat conftest.err >&5
52012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52013 (exit $ac_status); } >/dev/null; then
52014 if test -s conftest.err; then
52015 ac_cpp_err=$ac_c_preproc_warn_flag
52022 if test -z "$ac_cpp_err"; then
52023 ac_header_preproc=yes
52025 echo "$as_me: failed program was:" >&5
52026 sed 's/^/| /' conftest.$ac_ext >&5
52028 ac_header_preproc=no
52030 rm -f conftest.err conftest.$ac_ext
52031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52032 echo "${ECHO_T}$ac_header_preproc" >&6
52034 # So? What about this header?
52035 case $ac_header_compiler:$ac_header_preproc in
52037 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52038 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52039 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52040 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52043 ## ------------------------------------ ##
52044 ## Report this to bug-autoconf@gnu.org. ##
52045 ## ------------------------------------ ##
52048 sed "s/^/$as_me: WARNING: /" >&2
52051 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52052 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52053 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52054 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52055 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52056 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52059 ## ------------------------------------ ##
52060 ## Report this to bug-autoconf@gnu.org. ##
52061 ## ------------------------------------ ##
52064 sed "s/^/$as_me: WARNING: /" >&2
52067 echo "$as_me:$LINENO: checking for iconv.h" >&5
52068 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52069 if test "${ac_cv_header_iconv_h+set}" = set; then
52070 echo $ECHO_N "(cached) $ECHO_C" >&6
52072 ac_cv_header_iconv_h=$ac_header_preproc
52074 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52075 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52078 if test $ac_cv_header_iconv_h = yes; then
52085 if test "${ac_cv_header_langinfo_h+set}" = set; then
52086 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52087 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52088 if test "${ac_cv_header_langinfo_h+set}" = set; then
52089 echo $ECHO_N "(cached) $ECHO_C" >&6
52091 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52092 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52094 # Is the header compilable?
52095 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52096 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52097 cat >conftest.$ac_ext <<_ACEOF
52098 #line $LINENO "configure"
52101 cat confdefs.h >>conftest.$ac_ext
52102 cat >>conftest.$ac_ext <<_ACEOF
52103 /* end confdefs.h. */
52104 $ac_includes_default
52105 #include <langinfo.h>
52107 rm -f conftest.$ac_objext
52108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52109 (eval $ac_compile) 2>&5
52111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52112 (exit $ac_status); } &&
52113 { ac_try='test -s conftest.$ac_objext'
52114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52115 (eval $ac_try) 2>&5
52117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52118 (exit $ac_status); }; }; then
52119 ac_header_compiler=yes
52121 echo "$as_me: failed program was:" >&5
52122 sed 's/^/| /' conftest.$ac_ext >&5
52124 ac_header_compiler=no
52126 rm -f conftest.$ac_objext conftest.$ac_ext
52127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52128 echo "${ECHO_T}$ac_header_compiler" >&6
52130 # Is the header present?
52131 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52132 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52133 cat >conftest.$ac_ext <<_ACEOF
52134 #line $LINENO "configure"
52137 cat confdefs.h >>conftest.$ac_ext
52138 cat >>conftest.$ac_ext <<_ACEOF
52139 /* end confdefs.h. */
52140 #include <langinfo.h>
52142 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52143 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52145 grep -v '^ *+' conftest.er1 >conftest.err
52147 cat conftest.err >&5
52148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52149 (exit $ac_status); } >/dev/null; then
52150 if test -s conftest.err; then
52151 ac_cpp_err=$ac_c_preproc_warn_flag
52158 if test -z "$ac_cpp_err"; then
52159 ac_header_preproc=yes
52161 echo "$as_me: failed program was:" >&5
52162 sed 's/^/| /' conftest.$ac_ext >&5
52164 ac_header_preproc=no
52166 rm -f conftest.err conftest.$ac_ext
52167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52168 echo "${ECHO_T}$ac_header_preproc" >&6
52170 # So? What about this header?
52171 case $ac_header_compiler:$ac_header_preproc in
52173 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52174 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52175 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52176 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52179 ## ------------------------------------ ##
52180 ## Report this to bug-autoconf@gnu.org. ##
52181 ## ------------------------------------ ##
52184 sed "s/^/$as_me: WARNING: /" >&2
52187 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52188 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52189 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52190 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52191 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52192 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52195 ## ------------------------------------ ##
52196 ## Report this to bug-autoconf@gnu.org. ##
52197 ## ------------------------------------ ##
52200 sed "s/^/$as_me: WARNING: /" >&2
52203 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52204 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52205 if test "${ac_cv_header_langinfo_h+set}" = set; then
52206 echo $ECHO_N "(cached) $ECHO_C" >&6
52208 ac_cv_header_langinfo_h=$ac_header_preproc
52210 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52211 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52214 if test $ac_cv_header_langinfo_h = yes; then
52215 ac_has_langinfo_h=yes
52217 ac_has_langinfo_h=no
52222 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52223 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52224 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52225 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52226 echo $ECHO_N "(cached) $ECHO_C" >&6
52228 ac_check_lib_save_LIBS=$LIBS
52229 LIBS="-liconv $LIBS"
52230 if test x$gcc_no_link = xyes; then
52231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52233 { (exit 1); exit 1; }; }
52235 cat >conftest.$ac_ext <<_ACEOF
52236 #line $LINENO "configure"
52239 cat confdefs.h >>conftest.$ac_ext
52240 cat >>conftest.$ac_ext <<_ACEOF
52241 /* end confdefs.h. */
52243 /* Override any gcc2 internal prototype to avoid an error. */
52247 /* We use char because int might match the return type of a gcc2
52248 builtin and then its argument prototype would still apply. */
52258 rm -f conftest.$ac_objext conftest$ac_exeext
52259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52260 (eval $ac_link) 2>&5
52262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52263 (exit $ac_status); } &&
52264 { ac_try='test -s conftest$ac_exeext'
52265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52266 (eval $ac_try) 2>&5
52268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52269 (exit $ac_status); }; }; then
52270 ac_cv_lib_iconv_iconv=yes
52272 echo "$as_me: failed program was:" >&5
52273 sed 's/^/| /' conftest.$ac_ext >&5
52275 ac_cv_lib_iconv_iconv=no
52277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52278 LIBS=$ac_check_lib_save_LIBS
52280 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52281 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52282 if test $ac_cv_lib_iconv_iconv = yes; then
52286 ac_save_LIBS="$LIBS"
52287 LIBS="$LIBS $libiconv"
52293 for ac_func in iconv_open iconv_close iconv nl_langinfo
52295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52296 echo "$as_me:$LINENO: checking for $ac_func" >&5
52297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52298 if eval "test \"\${$as_ac_var+set}\" = set"; then
52299 echo $ECHO_N "(cached) $ECHO_C" >&6
52301 if test x$gcc_no_link = xyes; then
52302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52304 { (exit 1); exit 1; }; }
52306 cat >conftest.$ac_ext <<_ACEOF
52307 #line $LINENO "configure"
52310 cat confdefs.h >>conftest.$ac_ext
52311 cat >>conftest.$ac_ext <<_ACEOF
52312 /* end confdefs.h. */
52313 /* System header to define __stub macros and hopefully few prototypes,
52314 which can conflict with char $ac_func (); below.
52315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52316 <limits.h> exists even on freestanding compilers. */
52318 # include <limits.h>
52320 # include <assert.h>
52322 /* Override any gcc2 internal prototype to avoid an error. */
52327 /* We use char because int might match the return type of a gcc2
52328 builtin and then its argument prototype would still apply. */
52330 /* The GNU C library defines this for functions which it implements
52331 to always fail with ENOSYS. Some functions are actually named
52332 something starting with __ and the normal name is an alias. */
52333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52336 char (*f) () = $ac_func;
52345 return f != $ac_func;
52350 rm -f conftest.$ac_objext conftest$ac_exeext
52351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52352 (eval $ac_link) 2>&5
52354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52355 (exit $ac_status); } &&
52356 { ac_try='test -s conftest$ac_exeext'
52357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52358 (eval $ac_try) 2>&5
52360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52361 (exit $ac_status); }; }; then
52362 eval "$as_ac_var=yes"
52364 echo "$as_me: failed program was:" >&5
52365 sed 's/^/| /' conftest.$ac_ext >&5
52367 eval "$as_ac_var=no"
52369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52373 if test `eval echo '${'$as_ac_var'}'` = yes; then
52374 cat >>confdefs.h <<_ACEOF
52375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52384 LIBS="$ac_save_LIBS"
52386 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52387 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52388 if test x"$ac_has_iconv_h" = xyes &&
52389 test x"$ac_has_langinfo_h" = xyes &&
52390 test x"$ac_XPG2funcs" = xyes;
52392 ac_XPG2_wchar_t=yes
52396 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52397 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52399 # At the moment, only enable wchar_t specializations if all the
52400 # above support is present.
52401 if test x"$ac_isoC99_wchar_t" = xyes &&
52402 test x"$ac_XPG2_wchar_t" = xyes;
52404 cat >>confdefs.h <<\_ACEOF
52405 #define _GLIBCXX_USE_WCHAR_T 1
52411 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52412 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52413 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52414 echo "${ECHO_T}$enable_wchar_t" >&6
52416 cat >>confdefs.h <<\_ACEOF
52417 #define HAVE_COPYSIGN 1
52420 cat >>confdefs.h <<\_ACEOF
52421 #define HAVE_COPYSIGNF 1
52424 cat >>confdefs.h <<\_ACEOF
52425 #define HAVE_FINITE 1
52428 cat >>confdefs.h <<\_ACEOF
52429 #define HAVE_FINITEF 1
52432 cat >>confdefs.h <<\_ACEOF
52433 #define HAVE_FREXPF 1
52436 cat >>confdefs.h <<\_ACEOF
52437 #define HAVE_HYPOTF 1
52440 cat >>confdefs.h <<\_ACEOF
52441 #define HAVE_ISINF 1
52444 cat >>confdefs.h <<\_ACEOF
52445 #define HAVE_ISINFF 1
52448 cat >>confdefs.h <<\_ACEOF
52449 #define HAVE_ISNAN 1
52452 cat >>confdefs.h <<\_ACEOF
52453 #define HAVE_ISNANF 1
52456 cat >>confdefs.h <<\_ACEOF
52457 #define HAVE_SINCOS 1
52460 cat >>confdefs.h <<\_ACEOF
52461 #define HAVE_SINCOSF 1
52464 if test x"long_double_math_on_this_cpu" = x"yes"; then
52465 cat >>confdefs.h <<\_ACEOF
52466 #define HAVE_FINITEL 1
52469 cat >>confdefs.h <<\_ACEOF
52470 #define HAVE_HYPOTL 1
52473 cat >>confdefs.h <<\_ACEOF
52474 #define HAVE_ISINFL 1
52477 cat >>confdefs.h <<\_ACEOF
52478 #define HAVE_ISNANL 1
52484 #os_include_dir="os/mingw32"
52488 for ac_header in sys/types.h locale.h float.h
52490 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52492 echo "$as_me:$LINENO: checking for $ac_header" >&5
52493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52495 echo $ECHO_N "(cached) $ECHO_C" >&6
52497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52500 # Is the header compilable?
52501 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52502 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52503 cat >conftest.$ac_ext <<_ACEOF
52504 #line $LINENO "configure"
52507 cat confdefs.h >>conftest.$ac_ext
52508 cat >>conftest.$ac_ext <<_ACEOF
52509 /* end confdefs.h. */
52510 $ac_includes_default
52511 #include <$ac_header>
52513 rm -f conftest.$ac_objext
52514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52515 (eval $ac_compile) 2>&5
52517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518 (exit $ac_status); } &&
52519 { ac_try='test -s conftest.$ac_objext'
52520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52521 (eval $ac_try) 2>&5
52523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52524 (exit $ac_status); }; }; then
52525 ac_header_compiler=yes
52527 echo "$as_me: failed program was:" >&5
52528 sed 's/^/| /' conftest.$ac_ext >&5
52530 ac_header_compiler=no
52532 rm -f conftest.$ac_objext conftest.$ac_ext
52533 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52534 echo "${ECHO_T}$ac_header_compiler" >&6
52536 # Is the header present?
52537 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52539 cat >conftest.$ac_ext <<_ACEOF
52540 #line $LINENO "configure"
52543 cat confdefs.h >>conftest.$ac_ext
52544 cat >>conftest.$ac_ext <<_ACEOF
52545 /* end confdefs.h. */
52546 #include <$ac_header>
52548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52551 grep -v '^ *+' conftest.er1 >conftest.err
52553 cat conftest.err >&5
52554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52555 (exit $ac_status); } >/dev/null; then
52556 if test -s conftest.err; then
52557 ac_cpp_err=$ac_c_preproc_warn_flag
52564 if test -z "$ac_cpp_err"; then
52565 ac_header_preproc=yes
52567 echo "$as_me: failed program was:" >&5
52568 sed 's/^/| /' conftest.$ac_ext >&5
52570 ac_header_preproc=no
52572 rm -f conftest.err conftest.$ac_ext
52573 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52574 echo "${ECHO_T}$ac_header_preproc" >&6
52576 # So? What about this header?
52577 case $ac_header_compiler:$ac_header_preproc in
52579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52585 ## ------------------------------------ ##
52586 ## Report this to bug-autoconf@gnu.org. ##
52587 ## ------------------------------------ ##
52590 sed "s/^/$as_me: WARNING: /" >&2
52593 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52594 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52595 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52596 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52601 ## ------------------------------------ ##
52602 ## Report this to bug-autoconf@gnu.org. ##
52603 ## ------------------------------------ ##
52606 sed "s/^/$as_me: WARNING: /" >&2
52609 echo "$as_me:$LINENO: checking for $ac_header" >&5
52610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52612 echo $ECHO_N "(cached) $ECHO_C" >&6
52614 eval "$as_ac_Header=$ac_header_preproc"
52616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52621 cat >>confdefs.h <<_ACEOF
52622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52630 # If we're not using GNU ld, then there's no point in even trying these
52631 # tests. Check for that first. We should have already tested for gld
52632 # by now (in libtool), but require it now just to be safe...
52633 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52634 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52638 # The name set by libtool depends on the version of libtool. Shame on us
52639 # for depending on an impl detail, but c'est la vie. Older versions used
52640 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52641 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52642 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52643 # set (hence we're using an older libtool), then set it.
52644 if test x${with_gnu_ld+set} != xset; then
52645 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52646 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52649 with_gnu_ld=$ac_cv_prog_gnu_ld
52653 # Start by getting the version number. I think the libtool test already
52654 # does some of this, but throws away the result.
52656 ldver=`$LD --version 2>/dev/null | head -1 | \
52657 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
52659 glibcxx_gnu_ld_version=`echo $ldver | \
52660 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52662 # Set --gc-sections.
52663 if test "$with_gnu_ld" = "notbroken"; then
52664 # GNU ld it is! Joy and bunny rabbits!
52666 # All these tests are for C++; save the language and the compiler flags.
52667 # Need to do this so that g++ won't try to link in libstdc++
52668 ac_test_CFLAGS="${CFLAGS+set}"
52669 ac_save_CFLAGS="$CFLAGS"
52670 CFLAGS='-x c++ -Wl,--gc-sections'
52672 # Check for -Wl,--gc-sections
52673 # XXX This test is broken at the moment, as symbols required for linking
52674 # are now in libsupc++ (not built yet). In addition, this test has
52675 # cored on solaris in the past. In addition, --gc-sections doesn't
52676 # really work at the moment (keeps on discarding used sections, first
52677 # .eh_frame and now some of the glibc sections for iconv).
52678 # Bzzzzt. Thanks for playing, maybe next time.
52679 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
52680 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
52681 if test "$cross_compiling" = yes; then
52682 ac_sectionLDflags=yes
52684 cat >conftest.$ac_ext <<_ACEOF
52685 #line $LINENO "configure"
52688 cat confdefs.h >>conftest.$ac_ext
52689 cat >>conftest.$ac_ext <<_ACEOF
52690 /* end confdefs.h. */
52700 rm -f conftest$ac_exeext
52701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52702 (eval $ac_link) 2>&5
52704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52705 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
52706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52707 (eval $ac_try) 2>&5
52709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52710 (exit $ac_status); }; }; then
52711 ac_sectionLDflags=yes
52713 echo "$as_me: program exited with status $ac_status" >&5
52714 echo "$as_me: failed program was:" >&5
52715 sed 's/^/| /' conftest.$ac_ext >&5
52717 ( exit $ac_status )
52718 ac_sectionLDflags=no
52720 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
52722 if test "$ac_test_CFLAGS" = set; then
52723 CFLAGS="$ac_save_CFLAGS"
52725 # this is the suspicious part
52728 if test "$ac_sectionLDflags" = "yes"; then
52729 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52731 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
52732 echo "${ECHO_T}$ac_sectionLDflags" >&6
52735 # Set linker optimization flags.
52736 if test x"$with_gnu_ld" = x"yes"; then
52737 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52745 echo "$as_me:$LINENO: checking for main in -lm" >&5
52746 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52747 if test "${ac_cv_lib_m_main+set}" = set; then
52748 echo $ECHO_N "(cached) $ECHO_C" >&6
52750 ac_check_lib_save_LIBS=$LIBS
52752 if test x$gcc_no_link = xyes; then
52753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52755 { (exit 1); exit 1; }; }
52757 cat >conftest.$ac_ext <<_ACEOF
52758 #line $LINENO "configure"
52761 cat confdefs.h >>conftest.$ac_ext
52762 cat >>conftest.$ac_ext <<_ACEOF
52763 /* end confdefs.h. */
52774 rm -f conftest.$ac_objext conftest$ac_exeext
52775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52776 (eval $ac_link) 2>&5
52778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52779 (exit $ac_status); } &&
52780 { ac_try='test -s conftest$ac_exeext'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; }; then
52786 ac_cv_lib_m_main=yes
52788 echo "$as_me: failed program was:" >&5
52789 sed 's/^/| /' conftest.$ac_ext >&5
52791 ac_cv_lib_m_main=no
52793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52794 LIBS=$ac_check_lib_save_LIBS
52796 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52797 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52798 if test $ac_cv_lib_m_main = yes; then
52799 cat >>confdefs.h <<_ACEOF
52800 #define HAVE_LIBM 1
52809 for ac_func in nan copysignf
52811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52812 echo "$as_me:$LINENO: checking for $ac_func" >&5
52813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52814 if eval "test \"\${$as_ac_var+set}\" = set"; then
52815 echo $ECHO_N "(cached) $ECHO_C" >&6
52817 if test x$gcc_no_link = xyes; then
52818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52820 { (exit 1); exit 1; }; }
52822 cat >conftest.$ac_ext <<_ACEOF
52823 #line $LINENO "configure"
52826 cat confdefs.h >>conftest.$ac_ext
52827 cat >>conftest.$ac_ext <<_ACEOF
52828 /* end confdefs.h. */
52829 /* System header to define __stub macros and hopefully few prototypes,
52830 which can conflict with char $ac_func (); below.
52831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52832 <limits.h> exists even on freestanding compilers. */
52834 # include <limits.h>
52836 # include <assert.h>
52838 /* Override any gcc2 internal prototype to avoid an error. */
52843 /* We use char because int might match the return type of a gcc2
52844 builtin and then its argument prototype would still apply. */
52846 /* The GNU C library defines this for functions which it implements
52847 to always fail with ENOSYS. Some functions are actually named
52848 something starting with __ and the normal name is an alias. */
52849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52852 char (*f) () = $ac_func;
52861 return f != $ac_func;
52866 rm -f conftest.$ac_objext conftest$ac_exeext
52867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52868 (eval $ac_link) 2>&5
52870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52871 (exit $ac_status); } &&
52872 { ac_try='test -s conftest$ac_exeext'
52873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52874 (eval $ac_try) 2>&5
52876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52877 (exit $ac_status); }; }; then
52878 eval "$as_ac_var=yes"
52880 echo "$as_me: failed program was:" >&5
52881 sed 's/^/| /' conftest.$ac_ext >&5
52883 eval "$as_ac_var=no"
52885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52889 if test `eval echo '${'$as_ac_var'}'` = yes; then
52890 cat >>confdefs.h <<_ACEOF
52891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52895 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52901 for ac_func in __signbit
52903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52904 echo "$as_me:$LINENO: checking for $ac_func" >&5
52905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52906 if eval "test \"\${$as_ac_var+set}\" = set"; then
52907 echo $ECHO_N "(cached) $ECHO_C" >&6
52909 if test x$gcc_no_link = xyes; then
52910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52912 { (exit 1); exit 1; }; }
52914 cat >conftest.$ac_ext <<_ACEOF
52915 #line $LINENO "configure"
52918 cat confdefs.h >>conftest.$ac_ext
52919 cat >>conftest.$ac_ext <<_ACEOF
52920 /* end confdefs.h. */
52921 /* System header to define __stub macros and hopefully few prototypes,
52922 which can conflict with char $ac_func (); below.
52923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52924 <limits.h> exists even on freestanding compilers. */
52926 # include <limits.h>
52928 # include <assert.h>
52930 /* Override any gcc2 internal prototype to avoid an error. */
52935 /* We use char because int might match the return type of a gcc2
52936 builtin and then its argument prototype would still apply. */
52938 /* The GNU C library defines this for functions which it implements
52939 to always fail with ENOSYS. Some functions are actually named
52940 something starting with __ and the normal name is an alias. */
52941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52944 char (*f) () = $ac_func;
52953 return f != $ac_func;
52958 rm -f conftest.$ac_objext conftest$ac_exeext
52959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52960 (eval $ac_link) 2>&5
52962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52963 (exit $ac_status); } &&
52964 { ac_try='test -s conftest$ac_exeext'
52965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52966 (eval $ac_try) 2>&5
52968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52969 (exit $ac_status); }; }; then
52970 eval "$as_ac_var=yes"
52972 echo "$as_me: failed program was:" >&5
52973 sed 's/^/| /' conftest.$ac_ext >&5
52975 eval "$as_ac_var=no"
52977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52981 if test `eval echo '${'$as_ac_var'}'` = yes; then
52982 cat >>confdefs.h <<_ACEOF
52983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52987 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52992 for ac_func in __signbitf
52994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52995 echo "$as_me:$LINENO: checking for $ac_func" >&5
52996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52997 if eval "test \"\${$as_ac_var+set}\" = set"; then
52998 echo $ECHO_N "(cached) $ECHO_C" >&6
53000 if test x$gcc_no_link = xyes; then
53001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53003 { (exit 1); exit 1; }; }
53005 cat >conftest.$ac_ext <<_ACEOF
53006 #line $LINENO "configure"
53009 cat confdefs.h >>conftest.$ac_ext
53010 cat >>conftest.$ac_ext <<_ACEOF
53011 /* end confdefs.h. */
53012 /* System header to define __stub macros and hopefully few prototypes,
53013 which can conflict with char $ac_func (); below.
53014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53015 <limits.h> exists even on freestanding compilers. */
53017 # include <limits.h>
53019 # include <assert.h>
53021 /* Override any gcc2 internal prototype to avoid an error. */
53026 /* We use char because int might match the return type of a gcc2
53027 builtin and then its argument prototype would still apply. */
53029 /* The GNU C library defines this for functions which it implements
53030 to always fail with ENOSYS. Some functions are actually named
53031 something starting with __ and the normal name is an alias. */
53032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53035 char (*f) () = $ac_func;
53044 return f != $ac_func;
53049 rm -f conftest.$ac_objext conftest$ac_exeext
53050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53051 (eval $ac_link) 2>&5
53053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53054 (exit $ac_status); } &&
53055 { ac_try='test -s conftest$ac_exeext'
53056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53057 (eval $ac_try) 2>&5
53059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53060 (exit $ac_status); }; }; then
53061 eval "$as_ac_var=yes"
53063 echo "$as_me: failed program was:" >&5
53064 sed 's/^/| /' conftest.$ac_ext >&5
53066 eval "$as_ac_var=no"
53068 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53072 if test `eval echo '${'$as_ac_var'}'` = yes; then
53073 cat >>confdefs.h <<_ACEOF
53074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53078 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53083 if test x$ac_cv_func_copysignl = x"yes"; then
53085 for ac_func in __signbitl
53087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53088 echo "$as_me:$LINENO: checking for $ac_func" >&5
53089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53090 if eval "test \"\${$as_ac_var+set}\" = set"; then
53091 echo $ECHO_N "(cached) $ECHO_C" >&6
53093 if test x$gcc_no_link = xyes; then
53094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53096 { (exit 1); exit 1; }; }
53098 cat >conftest.$ac_ext <<_ACEOF
53099 #line $LINENO "configure"
53102 cat confdefs.h >>conftest.$ac_ext
53103 cat >>conftest.$ac_ext <<_ACEOF
53104 /* end confdefs.h. */
53105 /* System header to define __stub macros and hopefully few prototypes,
53106 which can conflict with char $ac_func (); below.
53107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53108 <limits.h> exists even on freestanding compilers. */
53110 # include <limits.h>
53112 # include <assert.h>
53114 /* Override any gcc2 internal prototype to avoid an error. */
53119 /* We use char because int might match the return type of a gcc2
53120 builtin and then its argument prototype would still apply. */
53122 /* The GNU C library defines this for functions which it implements
53123 to always fail with ENOSYS. Some functions are actually named
53124 something starting with __ and the normal name is an alias. */
53125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53128 char (*f) () = $ac_func;
53137 return f != $ac_func;
53142 rm -f conftest.$ac_objext conftest$ac_exeext
53143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53144 (eval $ac_link) 2>&5
53146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53147 (exit $ac_status); } &&
53148 { ac_try='test -s conftest$ac_exeext'
53149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53150 (eval $ac_try) 2>&5
53152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53153 (exit $ac_status); }; }; then
53154 eval "$as_ac_var=yes"
53156 echo "$as_me: failed program was:" >&5
53157 sed 's/^/| /' conftest.$ac_ext >&5
53159 eval "$as_ac_var=no"
53161 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53165 if test `eval echo '${'$as_ac_var'}'` = yes; then
53166 cat >>confdefs.h <<_ACEOF
53167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53171 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53177 # XXX Review this. Nothing uses it.
53178 if test -n "$LIBMATHOBJS"; then
53184 # Test wchar.h for mbstate_t, which is needed for char_traits and
53185 # others even if wchar_t support is not on.
53186 echo "$as_me:$LINENO: checking for mbstate_t" >&5
53187 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53188 cat >conftest.$ac_ext <<_ACEOF
53189 #line $LINENO "configure"
53192 cat confdefs.h >>conftest.$ac_ext
53193 cat >>conftest.$ac_ext <<_ACEOF
53194 /* end confdefs.h. */
53199 mbstate_t teststate;
53204 rm -f conftest.$ac_objext
53205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53206 (eval $ac_compile) 2>&5
53208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209 (exit $ac_status); } &&
53210 { ac_try='test -s conftest.$ac_objext'
53211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53212 (eval $ac_try) 2>&5
53214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53215 (exit $ac_status); }; }; then
53218 echo "$as_me: failed program was:" >&5
53219 sed 's/^/| /' conftest.$ac_ext >&5
53223 rm -f conftest.$ac_objext conftest.$ac_ext
53224 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53225 echo "${ECHO_T}$have_mbstate_t" >&6
53226 if test x"$have_mbstate_t" = xyes; then
53227 cat >>confdefs.h <<\_ACEOF
53228 #define HAVE_MBSTATE_T 1
53233 # Sanity check for existence of ISO C99 headers for extended encoding.
53235 for ac_header in wchar.h
53237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53239 echo "$as_me:$LINENO: checking for $ac_header" >&5
53240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53242 echo $ECHO_N "(cached) $ECHO_C" >&6
53244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53247 # Is the header compilable?
53248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53250 cat >conftest.$ac_ext <<_ACEOF
53251 #line $LINENO "configure"
53254 cat confdefs.h >>conftest.$ac_ext
53255 cat >>conftest.$ac_ext <<_ACEOF
53256 /* end confdefs.h. */
53257 $ac_includes_default
53258 #include <$ac_header>
53260 rm -f conftest.$ac_objext
53261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53262 (eval $ac_compile) 2>&5
53264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53265 (exit $ac_status); } &&
53266 { ac_try='test -s conftest.$ac_objext'
53267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53268 (eval $ac_try) 2>&5
53270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53271 (exit $ac_status); }; }; then
53272 ac_header_compiler=yes
53274 echo "$as_me: failed program was:" >&5
53275 sed 's/^/| /' conftest.$ac_ext >&5
53277 ac_header_compiler=no
53279 rm -f conftest.$ac_objext conftest.$ac_ext
53280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53281 echo "${ECHO_T}$ac_header_compiler" >&6
53283 # Is the header present?
53284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53286 cat >conftest.$ac_ext <<_ACEOF
53287 #line $LINENO "configure"
53290 cat confdefs.h >>conftest.$ac_ext
53291 cat >>conftest.$ac_ext <<_ACEOF
53292 /* end confdefs.h. */
53293 #include <$ac_header>
53295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53298 grep -v '^ *+' conftest.er1 >conftest.err
53300 cat conftest.err >&5
53301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302 (exit $ac_status); } >/dev/null; then
53303 if test -s conftest.err; then
53304 ac_cpp_err=$ac_c_preproc_warn_flag
53311 if test -z "$ac_cpp_err"; then
53312 ac_header_preproc=yes
53314 echo "$as_me: failed program was:" >&5
53315 sed 's/^/| /' conftest.$ac_ext >&5
53317 ac_header_preproc=no
53319 rm -f conftest.err conftest.$ac_ext
53320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53321 echo "${ECHO_T}$ac_header_preproc" >&6
53323 # So? What about this header?
53324 case $ac_header_compiler:$ac_header_preproc in
53326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53332 ## ------------------------------------ ##
53333 ## Report this to bug-autoconf@gnu.org. ##
53334 ## ------------------------------------ ##
53337 sed "s/^/$as_me: WARNING: /" >&2
53340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53348 ## ------------------------------------ ##
53349 ## Report this to bug-autoconf@gnu.org. ##
53350 ## ------------------------------------ ##
53353 sed "s/^/$as_me: WARNING: /" >&2
53356 echo "$as_me:$LINENO: checking for $ac_header" >&5
53357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53359 echo $ECHO_N "(cached) $ECHO_C" >&6
53361 eval "$as_ac_Header=$ac_header_preproc"
53363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53368 cat >>confdefs.h <<_ACEOF
53369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53379 for ac_header in wctype.h
53381 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53383 echo "$as_me:$LINENO: checking for $ac_header" >&5
53384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53386 echo $ECHO_N "(cached) $ECHO_C" >&6
53388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53391 # Is the header compilable?
53392 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53393 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53394 cat >conftest.$ac_ext <<_ACEOF
53395 #line $LINENO "configure"
53398 cat confdefs.h >>conftest.$ac_ext
53399 cat >>conftest.$ac_ext <<_ACEOF
53400 /* end confdefs.h. */
53401 $ac_includes_default
53402 #include <$ac_header>
53404 rm -f conftest.$ac_objext
53405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53406 (eval $ac_compile) 2>&5
53408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53409 (exit $ac_status); } &&
53410 { ac_try='test -s conftest.$ac_objext'
53411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53412 (eval $ac_try) 2>&5
53414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53415 (exit $ac_status); }; }; then
53416 ac_header_compiler=yes
53418 echo "$as_me: failed program was:" >&5
53419 sed 's/^/| /' conftest.$ac_ext >&5
53421 ac_header_compiler=no
53423 rm -f conftest.$ac_objext conftest.$ac_ext
53424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53425 echo "${ECHO_T}$ac_header_compiler" >&6
53427 # Is the header present?
53428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53430 cat >conftest.$ac_ext <<_ACEOF
53431 #line $LINENO "configure"
53434 cat confdefs.h >>conftest.$ac_ext
53435 cat >>conftest.$ac_ext <<_ACEOF
53436 /* end confdefs.h. */
53437 #include <$ac_header>
53439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53442 grep -v '^ *+' conftest.er1 >conftest.err
53444 cat conftest.err >&5
53445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53446 (exit $ac_status); } >/dev/null; then
53447 if test -s conftest.err; then
53448 ac_cpp_err=$ac_c_preproc_warn_flag
53455 if test -z "$ac_cpp_err"; then
53456 ac_header_preproc=yes
53458 echo "$as_me: failed program was:" >&5
53459 sed 's/^/| /' conftest.$ac_ext >&5
53461 ac_header_preproc=no
53463 rm -f conftest.err conftest.$ac_ext
53464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53465 echo "${ECHO_T}$ac_header_preproc" >&6
53467 # So? What about this header?
53468 case $ac_header_compiler:$ac_header_preproc in
53470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53476 ## ------------------------------------ ##
53477 ## Report this to bug-autoconf@gnu.org. ##
53478 ## ------------------------------------ ##
53481 sed "s/^/$as_me: WARNING: /" >&2
53484 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53486 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53487 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53492 ## ------------------------------------ ##
53493 ## Report this to bug-autoconf@gnu.org. ##
53494 ## ------------------------------------ ##
53497 sed "s/^/$as_me: WARNING: /" >&2
53500 echo "$as_me:$LINENO: checking for $ac_header" >&5
53501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53503 echo $ECHO_N "(cached) $ECHO_C" >&6
53505 eval "$as_ac_Header=$ac_header_preproc"
53507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53511 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53512 cat >>confdefs.h <<_ACEOF
53513 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53515 ac_has_wctype_h=yes
53523 # Only continue checking if the ISO C99 headers exist and support is on.
53524 if test x"$ac_has_wchar_h" = xyes &&
53525 test x"$ac_has_wctype_h" = xyes &&
53526 test x"$enable_c_mbchar" != xno; then
53528 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
53529 # numeric_limits can instantiate type_traits<wchar_t>
53530 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
53531 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
53532 cat >conftest.$ac_ext <<_ACEOF
53533 #line $LINENO "configure"
53536 cat confdefs.h >>conftest.$ac_ext
53537 cat >>conftest.$ac_ext <<_ACEOF
53538 /* end confdefs.h. */
53543 int i = WCHAR_MIN; int j = WCHAR_MAX;
53548 rm -f conftest.$ac_objext
53549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53550 (eval $ac_compile) 2>&5
53552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53553 (exit $ac_status); } &&
53554 { ac_try='test -s conftest.$ac_objext'
53555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53556 (eval $ac_try) 2>&5
53558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53559 (exit $ac_status); }; }; then
53560 has_wchar_minmax=yes
53562 echo "$as_me: failed program was:" >&5
53563 sed 's/^/| /' conftest.$ac_ext >&5
53565 has_wchar_minmax=no
53567 rm -f conftest.$ac_objext conftest.$ac_ext
53568 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
53569 echo "${ECHO_T}$has_wchar_minmax" >&6
53571 # Test wchar.h for WEOF, which is what we use to determine whether
53572 # to specialize for char_traits<wchar_t> or not.
53573 echo "$as_me:$LINENO: checking for WEOF" >&5
53574 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
53575 cat >conftest.$ac_ext <<_ACEOF
53576 #line $LINENO "configure"
53579 cat confdefs.h >>conftest.$ac_ext
53580 cat >>conftest.$ac_ext <<_ACEOF
53581 /* end confdefs.h. */
53584 #include <stddef.h>
53593 rm -f conftest.$ac_objext
53594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53595 (eval $ac_compile) 2>&5
53597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53598 (exit $ac_status); } &&
53599 { ac_try='test -s conftest.$ac_objext'
53600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53601 (eval $ac_try) 2>&5
53603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53604 (exit $ac_status); }; }; then
53607 echo "$as_me: failed program was:" >&5
53608 sed 's/^/| /' conftest.$ac_ext >&5
53612 rm -f conftest.$ac_objext conftest.$ac_ext
53613 echo "$as_me:$LINENO: result: $has_weof" >&5
53614 echo "${ECHO_T}$has_weof" >&6
53616 # Tests for wide character functions used in char_traits<wchar_t>.
53624 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
53626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53627 echo "$as_me:$LINENO: checking for $ac_func" >&5
53628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53629 if eval "test \"\${$as_ac_var+set}\" = set"; then
53630 echo $ECHO_N "(cached) $ECHO_C" >&6
53632 if test x$gcc_no_link = xyes; then
53633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53635 { (exit 1); exit 1; }; }
53637 cat >conftest.$ac_ext <<_ACEOF
53638 #line $LINENO "configure"
53641 cat confdefs.h >>conftest.$ac_ext
53642 cat >>conftest.$ac_ext <<_ACEOF
53643 /* end confdefs.h. */
53644 /* System header to define __stub macros and hopefully few prototypes,
53645 which can conflict with char $ac_func (); below.
53646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53647 <limits.h> exists even on freestanding compilers. */
53649 # include <limits.h>
53651 # include <assert.h>
53653 /* Override any gcc2 internal prototype to avoid an error. */
53658 /* We use char because int might match the return type of a gcc2
53659 builtin and then its argument prototype would still apply. */
53661 /* The GNU C library defines this for functions which it implements
53662 to always fail with ENOSYS. Some functions are actually named
53663 something starting with __ and the normal name is an alias. */
53664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53667 char (*f) () = $ac_func;
53676 return f != $ac_func;
53681 rm -f conftest.$ac_objext conftest$ac_exeext
53682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53683 (eval $ac_link) 2>&5
53685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53686 (exit $ac_status); } &&
53687 { ac_try='test -s conftest$ac_exeext'
53688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53689 (eval $ac_try) 2>&5
53691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53692 (exit $ac_status); }; }; then
53693 eval "$as_ac_var=yes"
53695 echo "$as_me: failed program was:" >&5
53696 sed 's/^/| /' conftest.$ac_ext >&5
53698 eval "$as_ac_var=no"
53700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53704 if test `eval echo '${'$as_ac_var'}'` = yes; then
53705 cat >>confdefs.h <<_ACEOF
53706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53715 # Checks for names injected into std:: by the c_std headers.
53766 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
53767 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
53768 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
53769 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
53770 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
53771 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
53773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53774 echo "$as_me:$LINENO: checking for $ac_func" >&5
53775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53776 if eval "test \"\${$as_ac_var+set}\" = set"; then
53777 echo $ECHO_N "(cached) $ECHO_C" >&6
53779 if test x$gcc_no_link = xyes; then
53780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53782 { (exit 1); exit 1; }; }
53784 cat >conftest.$ac_ext <<_ACEOF
53785 #line $LINENO "configure"
53788 cat confdefs.h >>conftest.$ac_ext
53789 cat >>conftest.$ac_ext <<_ACEOF
53790 /* end confdefs.h. */
53791 /* System header to define __stub macros and hopefully few prototypes,
53792 which can conflict with char $ac_func (); below.
53793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53794 <limits.h> exists even on freestanding compilers. */
53796 # include <limits.h>
53798 # include <assert.h>
53800 /* Override any gcc2 internal prototype to avoid an error. */
53805 /* We use char because int might match the return type of a gcc2
53806 builtin and then its argument prototype would still apply. */
53808 /* The GNU C library defines this for functions which it implements
53809 to always fail with ENOSYS. Some functions are actually named
53810 something starting with __ and the normal name is an alias. */
53811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53814 char (*f) () = $ac_func;
53823 return f != $ac_func;
53828 rm -f conftest.$ac_objext conftest$ac_exeext
53829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53830 (eval $ac_link) 2>&5
53832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53833 (exit $ac_status); } &&
53834 { ac_try='test -s conftest$ac_exeext'
53835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53836 (eval $ac_try) 2>&5
53838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53839 (exit $ac_status); }; }; then
53840 eval "$as_ac_var=yes"
53842 echo "$as_me: failed program was:" >&5
53843 sed 's/^/| /' conftest.$ac_ext >&5
53845 eval "$as_ac_var=no"
53847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53851 if test `eval echo '${'$as_ac_var'}'` = yes; then
53852 cat >>confdefs.h <<_ACEOF
53853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53862 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
53863 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
53864 if test x"$has_weof" = xyes &&
53865 test x"$has_wchar_minmax" = xyes &&
53866 test x"$ac_wfuncs" = xyes;
53868 ac_isoC99_wchar_t=yes
53870 ac_isoC99_wchar_t=no
53872 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
53873 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
53875 # Use iconv for wchar_t to char conversions. As such, check for
53876 # X/Open Portability Guide, version 2 features (XPG2).
53877 if test "${ac_cv_header_iconv_h+set}" = set; then
53878 echo "$as_me:$LINENO: checking for iconv.h" >&5
53879 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
53880 if test "${ac_cv_header_iconv_h+set}" = set; then
53881 echo $ECHO_N "(cached) $ECHO_C" >&6
53883 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
53884 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
53886 # Is the header compilable?
53887 echo "$as_me:$LINENO: checking iconv.h usability" >&5
53888 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
53889 cat >conftest.$ac_ext <<_ACEOF
53890 #line $LINENO "configure"
53893 cat confdefs.h >>conftest.$ac_ext
53894 cat >>conftest.$ac_ext <<_ACEOF
53895 /* end confdefs.h. */
53896 $ac_includes_default
53899 rm -f conftest.$ac_objext
53900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53901 (eval $ac_compile) 2>&5
53903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53904 (exit $ac_status); } &&
53905 { ac_try='test -s conftest.$ac_objext'
53906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53907 (eval $ac_try) 2>&5
53909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53910 (exit $ac_status); }; }; then
53911 ac_header_compiler=yes
53913 echo "$as_me: failed program was:" >&5
53914 sed 's/^/| /' conftest.$ac_ext >&5
53916 ac_header_compiler=no
53918 rm -f conftest.$ac_objext conftest.$ac_ext
53919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53920 echo "${ECHO_T}$ac_header_compiler" >&6
53922 # Is the header present?
53923 echo "$as_me:$LINENO: checking iconv.h presence" >&5
53924 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
53925 cat >conftest.$ac_ext <<_ACEOF
53926 #line $LINENO "configure"
53929 cat confdefs.h >>conftest.$ac_ext
53930 cat >>conftest.$ac_ext <<_ACEOF
53931 /* end confdefs.h. */
53934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53937 grep -v '^ *+' conftest.er1 >conftest.err
53939 cat conftest.err >&5
53940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53941 (exit $ac_status); } >/dev/null; then
53942 if test -s conftest.err; then
53943 ac_cpp_err=$ac_c_preproc_warn_flag
53950 if test -z "$ac_cpp_err"; then
53951 ac_header_preproc=yes
53953 echo "$as_me: failed program was:" >&5
53954 sed 's/^/| /' conftest.$ac_ext >&5
53956 ac_header_preproc=no
53958 rm -f conftest.err conftest.$ac_ext
53959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53960 echo "${ECHO_T}$ac_header_preproc" >&6
53962 # So? What about this header?
53963 case $ac_header_compiler:$ac_header_preproc in
53965 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
53966 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
53967 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
53968 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
53971 ## ------------------------------------ ##
53972 ## Report this to bug-autoconf@gnu.org. ##
53973 ## ------------------------------------ ##
53976 sed "s/^/$as_me: WARNING: /" >&2
53979 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
53980 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
53981 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
53982 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
53983 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
53984 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
53987 ## ------------------------------------ ##
53988 ## Report this to bug-autoconf@gnu.org. ##
53989 ## ------------------------------------ ##
53992 sed "s/^/$as_me: WARNING: /" >&2
53995 echo "$as_me:$LINENO: checking for iconv.h" >&5
53996 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
53997 if test "${ac_cv_header_iconv_h+set}" = set; then
53998 echo $ECHO_N "(cached) $ECHO_C" >&6
54000 ac_cv_header_iconv_h=$ac_header_preproc
54002 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54003 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54006 if test $ac_cv_header_iconv_h = yes; then
54013 if test "${ac_cv_header_langinfo_h+set}" = set; then
54014 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54015 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54016 if test "${ac_cv_header_langinfo_h+set}" = set; then
54017 echo $ECHO_N "(cached) $ECHO_C" >&6
54019 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54020 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54022 # Is the header compilable?
54023 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54024 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54025 cat >conftest.$ac_ext <<_ACEOF
54026 #line $LINENO "configure"
54029 cat confdefs.h >>conftest.$ac_ext
54030 cat >>conftest.$ac_ext <<_ACEOF
54031 /* end confdefs.h. */
54032 $ac_includes_default
54033 #include <langinfo.h>
54035 rm -f conftest.$ac_objext
54036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54037 (eval $ac_compile) 2>&5
54039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54040 (exit $ac_status); } &&
54041 { ac_try='test -s conftest.$ac_objext'
54042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54043 (eval $ac_try) 2>&5
54045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54046 (exit $ac_status); }; }; then
54047 ac_header_compiler=yes
54049 echo "$as_me: failed program was:" >&5
54050 sed 's/^/| /' conftest.$ac_ext >&5
54052 ac_header_compiler=no
54054 rm -f conftest.$ac_objext conftest.$ac_ext
54055 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54056 echo "${ECHO_T}$ac_header_compiler" >&6
54058 # Is the header present?
54059 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54060 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54061 cat >conftest.$ac_ext <<_ACEOF
54062 #line $LINENO "configure"
54065 cat confdefs.h >>conftest.$ac_ext
54066 cat >>conftest.$ac_ext <<_ACEOF
54067 /* end confdefs.h. */
54068 #include <langinfo.h>
54070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54073 grep -v '^ *+' conftest.er1 >conftest.err
54075 cat conftest.err >&5
54076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54077 (exit $ac_status); } >/dev/null; then
54078 if test -s conftest.err; then
54079 ac_cpp_err=$ac_c_preproc_warn_flag
54086 if test -z "$ac_cpp_err"; then
54087 ac_header_preproc=yes
54089 echo "$as_me: failed program was:" >&5
54090 sed 's/^/| /' conftest.$ac_ext >&5
54092 ac_header_preproc=no
54094 rm -f conftest.err conftest.$ac_ext
54095 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54096 echo "${ECHO_T}$ac_header_preproc" >&6
54098 # So? What about this header?
54099 case $ac_header_compiler:$ac_header_preproc in
54101 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54102 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54103 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54104 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54107 ## ------------------------------------ ##
54108 ## Report this to bug-autoconf@gnu.org. ##
54109 ## ------------------------------------ ##
54112 sed "s/^/$as_me: WARNING: /" >&2
54115 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54116 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54117 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54118 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54119 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54120 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54123 ## ------------------------------------ ##
54124 ## Report this to bug-autoconf@gnu.org. ##
54125 ## ------------------------------------ ##
54128 sed "s/^/$as_me: WARNING: /" >&2
54131 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54132 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54133 if test "${ac_cv_header_langinfo_h+set}" = set; then
54134 echo $ECHO_N "(cached) $ECHO_C" >&6
54136 ac_cv_header_langinfo_h=$ac_header_preproc
54138 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54139 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54142 if test $ac_cv_header_langinfo_h = yes; then
54143 ac_has_langinfo_h=yes
54145 ac_has_langinfo_h=no
54150 # Check for existence of libiconv.a providing XPG2 wchar_t support.
54151 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54152 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54153 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54154 echo $ECHO_N "(cached) $ECHO_C" >&6
54156 ac_check_lib_save_LIBS=$LIBS
54157 LIBS="-liconv $LIBS"
54158 if test x$gcc_no_link = xyes; then
54159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54161 { (exit 1); exit 1; }; }
54163 cat >conftest.$ac_ext <<_ACEOF
54164 #line $LINENO "configure"
54167 cat confdefs.h >>conftest.$ac_ext
54168 cat >>conftest.$ac_ext <<_ACEOF
54169 /* end confdefs.h. */
54171 /* Override any gcc2 internal prototype to avoid an error. */
54175 /* We use char because int might match the return type of a gcc2
54176 builtin and then its argument prototype would still apply. */
54186 rm -f conftest.$ac_objext conftest$ac_exeext
54187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54188 (eval $ac_link) 2>&5
54190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54191 (exit $ac_status); } &&
54192 { ac_try='test -s conftest$ac_exeext'
54193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54194 (eval $ac_try) 2>&5
54196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54197 (exit $ac_status); }; }; then
54198 ac_cv_lib_iconv_iconv=yes
54200 echo "$as_me: failed program was:" >&5
54201 sed 's/^/| /' conftest.$ac_ext >&5
54203 ac_cv_lib_iconv_iconv=no
54205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54206 LIBS=$ac_check_lib_save_LIBS
54208 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
54209 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
54210 if test $ac_cv_lib_iconv_iconv = yes; then
54214 ac_save_LIBS="$LIBS"
54215 LIBS="$LIBS $libiconv"
54221 for ac_func in iconv_open iconv_close iconv nl_langinfo
54223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54224 echo "$as_me:$LINENO: checking for $ac_func" >&5
54225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54226 if eval "test \"\${$as_ac_var+set}\" = set"; then
54227 echo $ECHO_N "(cached) $ECHO_C" >&6
54229 if test x$gcc_no_link = xyes; then
54230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54232 { (exit 1); exit 1; }; }
54234 cat >conftest.$ac_ext <<_ACEOF
54235 #line $LINENO "configure"
54238 cat confdefs.h >>conftest.$ac_ext
54239 cat >>conftest.$ac_ext <<_ACEOF
54240 /* end confdefs.h. */
54241 /* System header to define __stub macros and hopefully few prototypes,
54242 which can conflict with char $ac_func (); below.
54243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54244 <limits.h> exists even on freestanding compilers. */
54246 # include <limits.h>
54248 # include <assert.h>
54250 /* Override any gcc2 internal prototype to avoid an error. */
54255 /* We use char because int might match the return type of a gcc2
54256 builtin and then its argument prototype would still apply. */
54258 /* The GNU C library defines this for functions which it implements
54259 to always fail with ENOSYS. Some functions are actually named
54260 something starting with __ and the normal name is an alias. */
54261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54264 char (*f) () = $ac_func;
54273 return f != $ac_func;
54278 rm -f conftest.$ac_objext conftest$ac_exeext
54279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54280 (eval $ac_link) 2>&5
54282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54283 (exit $ac_status); } &&
54284 { ac_try='test -s conftest$ac_exeext'
54285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54286 (eval $ac_try) 2>&5
54288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54289 (exit $ac_status); }; }; then
54290 eval "$as_ac_var=yes"
54292 echo "$as_me: failed program was:" >&5
54293 sed 's/^/| /' conftest.$ac_ext >&5
54295 eval "$as_ac_var=no"
54297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54301 if test `eval echo '${'$as_ac_var'}'` = yes; then
54302 cat >>confdefs.h <<_ACEOF
54303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54312 LIBS="$ac_save_LIBS"
54314 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
54315 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
54316 if test x"$ac_has_iconv_h" = xyes &&
54317 test x"$ac_has_langinfo_h" = xyes &&
54318 test x"$ac_XPG2funcs" = xyes;
54320 ac_XPG2_wchar_t=yes
54324 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
54325 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
54327 # At the moment, only enable wchar_t specializations if all the
54328 # above support is present.
54329 if test x"$ac_isoC99_wchar_t" = xyes &&
54330 test x"$ac_XPG2_wchar_t" = xyes;
54332 cat >>confdefs.h <<\_ACEOF
54333 #define _GLIBCXX_USE_WCHAR_T 1
54339 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
54340 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
54341 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
54342 echo "${ECHO_T}$enable_wchar_t" >&6
54346 #os_include_dir="os/bsd/netbsd"
54359 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
54360 machine/endian.h machine/param.h sys/machine.h sys/types.h \
54361 fp.h locale.h float.h inttypes.h
54363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54365 echo "$as_me:$LINENO: checking for $ac_header" >&5
54366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54368 echo $ECHO_N "(cached) $ECHO_C" >&6
54370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54373 # Is the header compilable?
54374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54376 cat >conftest.$ac_ext <<_ACEOF
54377 #line $LINENO "configure"
54380 cat confdefs.h >>conftest.$ac_ext
54381 cat >>conftest.$ac_ext <<_ACEOF
54382 /* end confdefs.h. */
54383 $ac_includes_default
54384 #include <$ac_header>
54386 rm -f conftest.$ac_objext
54387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54388 (eval $ac_compile) 2>&5
54390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54391 (exit $ac_status); } &&
54392 { ac_try='test -s conftest.$ac_objext'
54393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54394 (eval $ac_try) 2>&5
54396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54397 (exit $ac_status); }; }; then
54398 ac_header_compiler=yes
54400 echo "$as_me: failed program was:" >&5
54401 sed 's/^/| /' conftest.$ac_ext >&5
54403 ac_header_compiler=no
54405 rm -f conftest.$ac_objext conftest.$ac_ext
54406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54407 echo "${ECHO_T}$ac_header_compiler" >&6
54409 # Is the header present?
54410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54412 cat >conftest.$ac_ext <<_ACEOF
54413 #line $LINENO "configure"
54416 cat confdefs.h >>conftest.$ac_ext
54417 cat >>conftest.$ac_ext <<_ACEOF
54418 /* end confdefs.h. */
54419 #include <$ac_header>
54421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54424 grep -v '^ *+' conftest.er1 >conftest.err
54426 cat conftest.err >&5
54427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54428 (exit $ac_status); } >/dev/null; then
54429 if test -s conftest.err; then
54430 ac_cpp_err=$ac_c_preproc_warn_flag
54437 if test -z "$ac_cpp_err"; then
54438 ac_header_preproc=yes
54440 echo "$as_me: failed program was:" >&5
54441 sed 's/^/| /' conftest.$ac_ext >&5
54443 ac_header_preproc=no
54445 rm -f conftest.err conftest.$ac_ext
54446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54447 echo "${ECHO_T}$ac_header_preproc" >&6
54449 # So? What about this header?
54450 case $ac_header_compiler:$ac_header_preproc in
54452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54458 ## ------------------------------------ ##
54459 ## Report this to bug-autoconf@gnu.org. ##
54460 ## ------------------------------------ ##
54463 sed "s/^/$as_me: WARNING: /" >&2
54466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54474 ## ------------------------------------ ##
54475 ## Report this to bug-autoconf@gnu.org. ##
54476 ## ------------------------------------ ##
54479 sed "s/^/$as_me: WARNING: /" >&2
54482 echo "$as_me:$LINENO: checking for $ac_header" >&5
54483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54485 echo $ECHO_N "(cached) $ECHO_C" >&6
54487 eval "$as_ac_Header=$ac_header_preproc"
54489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54494 cat >>confdefs.h <<_ACEOF
54495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54502 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54505 # If we're not using GNU ld, then there's no point in even trying these
54506 # tests. Check for that first. We should have already tested for gld
54507 # by now (in libtool), but require it now just to be safe...
54508 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54509 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54513 # The name set by libtool depends on the version of libtool. Shame on us
54514 # for depending on an impl detail, but c'est la vie. Older versions used
54515 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54516 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54517 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54518 # set (hence we're using an older libtool), then set it.
54519 if test x${with_gnu_ld+set} != xset; then
54520 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54521 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54524 with_gnu_ld=$ac_cv_prog_gnu_ld
54528 # Start by getting the version number. I think the libtool test already
54529 # does some of this, but throws away the result.
54531 ldver=`$LD --version 2>/dev/null | head -1 | \
54532 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
54534 glibcxx_gnu_ld_version=`echo $ldver | \
54535 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54537 # Set --gc-sections.
54538 if test "$with_gnu_ld" = "notbroken"; then
54539 # GNU ld it is! Joy and bunny rabbits!
54541 # All these tests are for C++; save the language and the compiler flags.
54542 # Need to do this so that g++ won't try to link in libstdc++
54543 ac_test_CFLAGS="${CFLAGS+set}"
54544 ac_save_CFLAGS="$CFLAGS"
54545 CFLAGS='-x c++ -Wl,--gc-sections'
54547 # Check for -Wl,--gc-sections
54548 # XXX This test is broken at the moment, as symbols required for linking
54549 # are now in libsupc++ (not built yet). In addition, this test has
54550 # cored on solaris in the past. In addition, --gc-sections doesn't
54551 # really work at the moment (keeps on discarding used sections, first
54552 # .eh_frame and now some of the glibc sections for iconv).
54553 # Bzzzzt. Thanks for playing, maybe next time.
54554 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
54555 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
54556 if test "$cross_compiling" = yes; then
54557 ac_sectionLDflags=yes
54559 cat >conftest.$ac_ext <<_ACEOF
54560 #line $LINENO "configure"
54563 cat confdefs.h >>conftest.$ac_ext
54564 cat >>conftest.$ac_ext <<_ACEOF
54565 /* end confdefs.h. */
54575 rm -f conftest$ac_exeext
54576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54577 (eval $ac_link) 2>&5
54579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
54581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54582 (eval $ac_try) 2>&5
54584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54585 (exit $ac_status); }; }; then
54586 ac_sectionLDflags=yes
54588 echo "$as_me: program exited with status $ac_status" >&5
54589 echo "$as_me: failed program was:" >&5
54590 sed 's/^/| /' conftest.$ac_ext >&5
54592 ( exit $ac_status )
54593 ac_sectionLDflags=no
54595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
54597 if test "$ac_test_CFLAGS" = set; then
54598 CFLAGS="$ac_save_CFLAGS"
54600 # this is the suspicious part
54603 if test "$ac_sectionLDflags" = "yes"; then
54604 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54606 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
54607 echo "${ECHO_T}$ac_sectionLDflags" >&6
54610 # Set linker optimization flags.
54611 if test x"$with_gnu_ld" = x"yes"; then
54612 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54620 echo "$as_me:$LINENO: checking for main in -lm" >&5
54621 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
54622 if test "${ac_cv_lib_m_main+set}" = set; then
54623 echo $ECHO_N "(cached) $ECHO_C" >&6
54625 ac_check_lib_save_LIBS=$LIBS
54627 if test x$gcc_no_link = xyes; then
54628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54630 { (exit 1); exit 1; }; }
54632 cat >conftest.$ac_ext <<_ACEOF
54633 #line $LINENO "configure"
54636 cat confdefs.h >>conftest.$ac_ext
54637 cat >>conftest.$ac_ext <<_ACEOF
54638 /* end confdefs.h. */
54649 rm -f conftest.$ac_objext conftest$ac_exeext
54650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54651 (eval $ac_link) 2>&5
54653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654 (exit $ac_status); } &&
54655 { ac_try='test -s conftest$ac_exeext'
54656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54657 (eval $ac_try) 2>&5
54659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54660 (exit $ac_status); }; }; then
54661 ac_cv_lib_m_main=yes
54663 echo "$as_me: failed program was:" >&5
54664 sed 's/^/| /' conftest.$ac_ext >&5
54666 ac_cv_lib_m_main=no
54668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54669 LIBS=$ac_check_lib_save_LIBS
54671 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
54672 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
54673 if test $ac_cv_lib_m_main = yes; then
54674 cat >>confdefs.h <<_ACEOF
54675 #define HAVE_LIBM 1
54684 for ac_func in nan copysignf
54686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54687 echo "$as_me:$LINENO: checking for $ac_func" >&5
54688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54689 if eval "test \"\${$as_ac_var+set}\" = set"; then
54690 echo $ECHO_N "(cached) $ECHO_C" >&6
54692 if test x$gcc_no_link = xyes; then
54693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54695 { (exit 1); exit 1; }; }
54697 cat >conftest.$ac_ext <<_ACEOF
54698 #line $LINENO "configure"
54701 cat confdefs.h >>conftest.$ac_ext
54702 cat >>conftest.$ac_ext <<_ACEOF
54703 /* end confdefs.h. */
54704 /* System header to define __stub macros and hopefully few prototypes,
54705 which can conflict with char $ac_func (); below.
54706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54707 <limits.h> exists even on freestanding compilers. */
54709 # include <limits.h>
54711 # include <assert.h>
54713 /* Override any gcc2 internal prototype to avoid an error. */
54718 /* We use char because int might match the return type of a gcc2
54719 builtin and then its argument prototype would still apply. */
54721 /* The GNU C library defines this for functions which it implements
54722 to always fail with ENOSYS. Some functions are actually named
54723 something starting with __ and the normal name is an alias. */
54724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54727 char (*f) () = $ac_func;
54736 return f != $ac_func;
54741 rm -f conftest.$ac_objext conftest$ac_exeext
54742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54743 (eval $ac_link) 2>&5
54745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54746 (exit $ac_status); } &&
54747 { ac_try='test -s conftest$ac_exeext'
54748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54749 (eval $ac_try) 2>&5
54751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54752 (exit $ac_status); }; }; then
54753 eval "$as_ac_var=yes"
54755 echo "$as_me: failed program was:" >&5
54756 sed 's/^/| /' conftest.$ac_ext >&5
54758 eval "$as_ac_var=no"
54760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54764 if test `eval echo '${'$as_ac_var'}'` = yes; then
54765 cat >>confdefs.h <<_ACEOF
54766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54770 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
54776 for ac_func in __signbit
54778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54779 echo "$as_me:$LINENO: checking for $ac_func" >&5
54780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54781 if eval "test \"\${$as_ac_var+set}\" = set"; then
54782 echo $ECHO_N "(cached) $ECHO_C" >&6
54784 if test x$gcc_no_link = xyes; then
54785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54787 { (exit 1); exit 1; }; }
54789 cat >conftest.$ac_ext <<_ACEOF
54790 #line $LINENO "configure"
54793 cat confdefs.h >>conftest.$ac_ext
54794 cat >>conftest.$ac_ext <<_ACEOF
54795 /* end confdefs.h. */
54796 /* System header to define __stub macros and hopefully few prototypes,
54797 which can conflict with char $ac_func (); below.
54798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54799 <limits.h> exists even on freestanding compilers. */
54801 # include <limits.h>
54803 # include <assert.h>
54805 /* Override any gcc2 internal prototype to avoid an error. */
54810 /* We use char because int might match the return type of a gcc2
54811 builtin and then its argument prototype would still apply. */
54813 /* The GNU C library defines this for functions which it implements
54814 to always fail with ENOSYS. Some functions are actually named
54815 something starting with __ and the normal name is an alias. */
54816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54819 char (*f) () = $ac_func;
54828 return f != $ac_func;
54833 rm -f conftest.$ac_objext conftest$ac_exeext
54834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54835 (eval $ac_link) 2>&5
54837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838 (exit $ac_status); } &&
54839 { ac_try='test -s conftest$ac_exeext'
54840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54841 (eval $ac_try) 2>&5
54843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54844 (exit $ac_status); }; }; then
54845 eval "$as_ac_var=yes"
54847 echo "$as_me: failed program was:" >&5
54848 sed 's/^/| /' conftest.$ac_ext >&5
54850 eval "$as_ac_var=no"
54852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54856 if test `eval echo '${'$as_ac_var'}'` = yes; then
54857 cat >>confdefs.h <<_ACEOF
54858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54862 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
54867 for ac_func in __signbitf
54869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54870 echo "$as_me:$LINENO: checking for $ac_func" >&5
54871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54872 if eval "test \"\${$as_ac_var+set}\" = set"; then
54873 echo $ECHO_N "(cached) $ECHO_C" >&6
54875 if test x$gcc_no_link = xyes; then
54876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54878 { (exit 1); exit 1; }; }
54880 cat >conftest.$ac_ext <<_ACEOF
54881 #line $LINENO "configure"
54884 cat confdefs.h >>conftest.$ac_ext
54885 cat >>conftest.$ac_ext <<_ACEOF
54886 /* end confdefs.h. */
54887 /* System header to define __stub macros and hopefully few prototypes,
54888 which can conflict with char $ac_func (); below.
54889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54890 <limits.h> exists even on freestanding compilers. */
54892 # include <limits.h>
54894 # include <assert.h>
54896 /* Override any gcc2 internal prototype to avoid an error. */
54901 /* We use char because int might match the return type of a gcc2
54902 builtin and then its argument prototype would still apply. */
54904 /* The GNU C library defines this for functions which it implements
54905 to always fail with ENOSYS. Some functions are actually named
54906 something starting with __ and the normal name is an alias. */
54907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54910 char (*f) () = $ac_func;
54919 return f != $ac_func;
54924 rm -f conftest.$ac_objext conftest$ac_exeext
54925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54926 (eval $ac_link) 2>&5
54928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54929 (exit $ac_status); } &&
54930 { ac_try='test -s conftest$ac_exeext'
54931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54932 (eval $ac_try) 2>&5
54934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54935 (exit $ac_status); }; }; then
54936 eval "$as_ac_var=yes"
54938 echo "$as_me: failed program was:" >&5
54939 sed 's/^/| /' conftest.$ac_ext >&5
54941 eval "$as_ac_var=no"
54943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54947 if test `eval echo '${'$as_ac_var'}'` = yes; then
54948 cat >>confdefs.h <<_ACEOF
54949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54953 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
54958 if test x$ac_cv_func_copysignl = x"yes"; then
54960 for ac_func in __signbitl
54962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54963 echo "$as_me:$LINENO: checking for $ac_func" >&5
54964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54965 if eval "test \"\${$as_ac_var+set}\" = set"; then
54966 echo $ECHO_N "(cached) $ECHO_C" >&6
54968 if test x$gcc_no_link = xyes; then
54969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54971 { (exit 1); exit 1; }; }
54973 cat >conftest.$ac_ext <<_ACEOF
54974 #line $LINENO "configure"
54977 cat confdefs.h >>conftest.$ac_ext
54978 cat >>conftest.$ac_ext <<_ACEOF
54979 /* end confdefs.h. */
54980 /* System header to define __stub macros and hopefully few prototypes,
54981 which can conflict with char $ac_func (); below.
54982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54983 <limits.h> exists even on freestanding compilers. */
54985 # include <limits.h>
54987 # include <assert.h>
54989 /* Override any gcc2 internal prototype to avoid an error. */
54994 /* We use char because int might match the return type of a gcc2
54995 builtin and then its argument prototype would still apply. */
54997 /* The GNU C library defines this for functions which it implements
54998 to always fail with ENOSYS. Some functions are actually named
54999 something starting with __ and the normal name is an alias. */
55000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55003 char (*f) () = $ac_func;
55012 return f != $ac_func;
55017 rm -f conftest.$ac_objext conftest$ac_exeext
55018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55019 (eval $ac_link) 2>&5
55021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55022 (exit $ac_status); } &&
55023 { ac_try='test -s conftest$ac_exeext'
55024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55025 (eval $ac_try) 2>&5
55027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55028 (exit $ac_status); }; }; then
55029 eval "$as_ac_var=yes"
55031 echo "$as_me: failed program was:" >&5
55032 sed 's/^/| /' conftest.$ac_ext >&5
55034 eval "$as_ac_var=no"
55036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55040 if test `eval echo '${'$as_ac_var'}'` = yes; then
55041 cat >>confdefs.h <<_ACEOF
55042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55046 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55052 # XXX Review this. Nothing uses it.
55053 if test -n "$LIBMATHOBJS"; then
55059 # Test wchar.h for mbstate_t, which is needed for char_traits and
55060 # others even if wchar_t support is not on.
55061 echo "$as_me:$LINENO: checking for mbstate_t" >&5
55062 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
55063 cat >conftest.$ac_ext <<_ACEOF
55064 #line $LINENO "configure"
55067 cat confdefs.h >>conftest.$ac_ext
55068 cat >>conftest.$ac_ext <<_ACEOF
55069 /* end confdefs.h. */
55074 mbstate_t teststate;
55079 rm -f conftest.$ac_objext
55080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55081 (eval $ac_compile) 2>&5
55083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55084 (exit $ac_status); } &&
55085 { ac_try='test -s conftest.$ac_objext'
55086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55087 (eval $ac_try) 2>&5
55089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55090 (exit $ac_status); }; }; then
55093 echo "$as_me: failed program was:" >&5
55094 sed 's/^/| /' conftest.$ac_ext >&5
55098 rm -f conftest.$ac_objext conftest.$ac_ext
55099 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55100 echo "${ECHO_T}$have_mbstate_t" >&6
55101 if test x"$have_mbstate_t" = xyes; then
55102 cat >>confdefs.h <<\_ACEOF
55103 #define HAVE_MBSTATE_T 1
55108 # Sanity check for existence of ISO C99 headers for extended encoding.
55110 for ac_header in wchar.h
55112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55114 echo "$as_me:$LINENO: checking for $ac_header" >&5
55115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55117 echo $ECHO_N "(cached) $ECHO_C" >&6
55119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55122 # Is the header compilable?
55123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55125 cat >conftest.$ac_ext <<_ACEOF
55126 #line $LINENO "configure"
55129 cat confdefs.h >>conftest.$ac_ext
55130 cat >>conftest.$ac_ext <<_ACEOF
55131 /* end confdefs.h. */
55132 $ac_includes_default
55133 #include <$ac_header>
55135 rm -f conftest.$ac_objext
55136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55137 (eval $ac_compile) 2>&5
55139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55140 (exit $ac_status); } &&
55141 { ac_try='test -s conftest.$ac_objext'
55142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55143 (eval $ac_try) 2>&5
55145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55146 (exit $ac_status); }; }; then
55147 ac_header_compiler=yes
55149 echo "$as_me: failed program was:" >&5
55150 sed 's/^/| /' conftest.$ac_ext >&5
55152 ac_header_compiler=no
55154 rm -f conftest.$ac_objext conftest.$ac_ext
55155 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55156 echo "${ECHO_T}$ac_header_compiler" >&6
55158 # Is the header present?
55159 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55161 cat >conftest.$ac_ext <<_ACEOF
55162 #line $LINENO "configure"
55165 cat confdefs.h >>conftest.$ac_ext
55166 cat >>conftest.$ac_ext <<_ACEOF
55167 /* end confdefs.h. */
55168 #include <$ac_header>
55170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55173 grep -v '^ *+' conftest.er1 >conftest.err
55175 cat conftest.err >&5
55176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55177 (exit $ac_status); } >/dev/null; then
55178 if test -s conftest.err; then
55179 ac_cpp_err=$ac_c_preproc_warn_flag
55186 if test -z "$ac_cpp_err"; then
55187 ac_header_preproc=yes
55189 echo "$as_me: failed program was:" >&5
55190 sed 's/^/| /' conftest.$ac_ext >&5
55192 ac_header_preproc=no
55194 rm -f conftest.err conftest.$ac_ext
55195 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55196 echo "${ECHO_T}$ac_header_preproc" >&6
55198 # So? What about this header?
55199 case $ac_header_compiler:$ac_header_preproc in
55201 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55202 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55207 ## ------------------------------------ ##
55208 ## Report this to bug-autoconf@gnu.org. ##
55209 ## ------------------------------------ ##
55212 sed "s/^/$as_me: WARNING: /" >&2
55215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55223 ## ------------------------------------ ##
55224 ## Report this to bug-autoconf@gnu.org. ##
55225 ## ------------------------------------ ##
55228 sed "s/^/$as_me: WARNING: /" >&2
55231 echo "$as_me:$LINENO: checking for $ac_header" >&5
55232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55234 echo $ECHO_N "(cached) $ECHO_C" >&6
55236 eval "$as_ac_Header=$ac_header_preproc"
55238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55243 cat >>confdefs.h <<_ACEOF
55244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55254 for ac_header in wctype.h
55256 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55258 echo "$as_me:$LINENO: checking for $ac_header" >&5
55259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55261 echo $ECHO_N "(cached) $ECHO_C" >&6
55263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55266 # Is the header compilable?
55267 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55268 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55269 cat >conftest.$ac_ext <<_ACEOF
55270 #line $LINENO "configure"
55273 cat confdefs.h >>conftest.$ac_ext
55274 cat >>conftest.$ac_ext <<_ACEOF
55275 /* end confdefs.h. */
55276 $ac_includes_default
55277 #include <$ac_header>
55279 rm -f conftest.$ac_objext
55280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55281 (eval $ac_compile) 2>&5
55283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55284 (exit $ac_status); } &&
55285 { ac_try='test -s conftest.$ac_objext'
55286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55287 (eval $ac_try) 2>&5
55289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55290 (exit $ac_status); }; }; then
55291 ac_header_compiler=yes
55293 echo "$as_me: failed program was:" >&5
55294 sed 's/^/| /' conftest.$ac_ext >&5
55296 ac_header_compiler=no
55298 rm -f conftest.$ac_objext conftest.$ac_ext
55299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55300 echo "${ECHO_T}$ac_header_compiler" >&6
55302 # Is the header present?
55303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55305 cat >conftest.$ac_ext <<_ACEOF
55306 #line $LINENO "configure"
55309 cat confdefs.h >>conftest.$ac_ext
55310 cat >>conftest.$ac_ext <<_ACEOF
55311 /* end confdefs.h. */
55312 #include <$ac_header>
55314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55317 grep -v '^ *+' conftest.er1 >conftest.err
55319 cat conftest.err >&5
55320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55321 (exit $ac_status); } >/dev/null; then
55322 if test -s conftest.err; then
55323 ac_cpp_err=$ac_c_preproc_warn_flag
55330 if test -z "$ac_cpp_err"; then
55331 ac_header_preproc=yes
55333 echo "$as_me: failed program was:" >&5
55334 sed 's/^/| /' conftest.$ac_ext >&5
55336 ac_header_preproc=no
55338 rm -f conftest.err conftest.$ac_ext
55339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55340 echo "${ECHO_T}$ac_header_preproc" >&6
55342 # So? What about this header?
55343 case $ac_header_compiler:$ac_header_preproc in
55345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55351 ## ------------------------------------ ##
55352 ## Report this to bug-autoconf@gnu.org. ##
55353 ## ------------------------------------ ##
55356 sed "s/^/$as_me: WARNING: /" >&2
55359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55367 ## ------------------------------------ ##
55368 ## Report this to bug-autoconf@gnu.org. ##
55369 ## ------------------------------------ ##
55372 sed "s/^/$as_me: WARNING: /" >&2
55375 echo "$as_me:$LINENO: checking for $ac_header" >&5
55376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55378 echo $ECHO_N "(cached) $ECHO_C" >&6
55380 eval "$as_ac_Header=$ac_header_preproc"
55382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55387 cat >>confdefs.h <<_ACEOF
55388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55390 ac_has_wctype_h=yes
55398 # Only continue checking if the ISO C99 headers exist and support is on.
55399 if test x"$ac_has_wchar_h" = xyes &&
55400 test x"$ac_has_wctype_h" = xyes &&
55401 test x"$enable_c_mbchar" != xno; then
55403 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
55404 # numeric_limits can instantiate type_traits<wchar_t>
55405 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
55406 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
55407 cat >conftest.$ac_ext <<_ACEOF
55408 #line $LINENO "configure"
55411 cat confdefs.h >>conftest.$ac_ext
55412 cat >>conftest.$ac_ext <<_ACEOF
55413 /* end confdefs.h. */
55418 int i = WCHAR_MIN; int j = WCHAR_MAX;
55423 rm -f conftest.$ac_objext
55424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55425 (eval $ac_compile) 2>&5
55427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55428 (exit $ac_status); } &&
55429 { ac_try='test -s conftest.$ac_objext'
55430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55431 (eval $ac_try) 2>&5
55433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55434 (exit $ac_status); }; }; then
55435 has_wchar_minmax=yes
55437 echo "$as_me: failed program was:" >&5
55438 sed 's/^/| /' conftest.$ac_ext >&5
55440 has_wchar_minmax=no
55442 rm -f conftest.$ac_objext conftest.$ac_ext
55443 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
55444 echo "${ECHO_T}$has_wchar_minmax" >&6
55446 # Test wchar.h for WEOF, which is what we use to determine whether
55447 # to specialize for char_traits<wchar_t> or not.
55448 echo "$as_me:$LINENO: checking for WEOF" >&5
55449 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
55450 cat >conftest.$ac_ext <<_ACEOF
55451 #line $LINENO "configure"
55454 cat confdefs.h >>conftest.$ac_ext
55455 cat >>conftest.$ac_ext <<_ACEOF
55456 /* end confdefs.h. */
55459 #include <stddef.h>
55468 rm -f conftest.$ac_objext
55469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55470 (eval $ac_compile) 2>&5
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); } &&
55474 { ac_try='test -s conftest.$ac_objext'
55475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476 (eval $ac_try) 2>&5
55478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479 (exit $ac_status); }; }; then
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55487 rm -f conftest.$ac_objext conftest.$ac_ext
55488 echo "$as_me:$LINENO: result: $has_weof" >&5
55489 echo "${ECHO_T}$has_weof" >&6
55491 # Tests for wide character functions used in char_traits<wchar_t>.
55499 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
55501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55502 echo "$as_me:$LINENO: checking for $ac_func" >&5
55503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55504 if eval "test \"\${$as_ac_var+set}\" = set"; then
55505 echo $ECHO_N "(cached) $ECHO_C" >&6
55507 if test x$gcc_no_link = xyes; then
55508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55510 { (exit 1); exit 1; }; }
55512 cat >conftest.$ac_ext <<_ACEOF
55513 #line $LINENO "configure"
55516 cat confdefs.h >>conftest.$ac_ext
55517 cat >>conftest.$ac_ext <<_ACEOF
55518 /* end confdefs.h. */
55519 /* System header to define __stub macros and hopefully few prototypes,
55520 which can conflict with char $ac_func (); below.
55521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55522 <limits.h> exists even on freestanding compilers. */
55524 # include <limits.h>
55526 # include <assert.h>
55528 /* Override any gcc2 internal prototype to avoid an error. */
55533 /* We use char because int might match the return type of a gcc2
55534 builtin and then its argument prototype would still apply. */
55536 /* The GNU C library defines this for functions which it implements
55537 to always fail with ENOSYS. Some functions are actually named
55538 something starting with __ and the normal name is an alias. */
55539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55542 char (*f) () = $ac_func;
55551 return f != $ac_func;
55556 rm -f conftest.$ac_objext conftest$ac_exeext
55557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55558 (eval $ac_link) 2>&5
55560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55561 (exit $ac_status); } &&
55562 { ac_try='test -s conftest$ac_exeext'
55563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55564 (eval $ac_try) 2>&5
55566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55567 (exit $ac_status); }; }; then
55568 eval "$as_ac_var=yes"
55570 echo "$as_me: failed program was:" >&5
55571 sed 's/^/| /' conftest.$ac_ext >&5
55573 eval "$as_ac_var=no"
55575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55579 if test `eval echo '${'$as_ac_var'}'` = yes; then
55580 cat >>confdefs.h <<_ACEOF
55581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55590 # Checks for names injected into std:: by the c_std headers.
55641 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
55642 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
55643 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
55644 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
55645 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
55646 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
55648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55649 echo "$as_me:$LINENO: checking for $ac_func" >&5
55650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55651 if eval "test \"\${$as_ac_var+set}\" = set"; then
55652 echo $ECHO_N "(cached) $ECHO_C" >&6
55654 if test x$gcc_no_link = xyes; then
55655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55657 { (exit 1); exit 1; }; }
55659 cat >conftest.$ac_ext <<_ACEOF
55660 #line $LINENO "configure"
55663 cat confdefs.h >>conftest.$ac_ext
55664 cat >>conftest.$ac_ext <<_ACEOF
55665 /* end confdefs.h. */
55666 /* System header to define __stub macros and hopefully few prototypes,
55667 which can conflict with char $ac_func (); below.
55668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55669 <limits.h> exists even on freestanding compilers. */
55671 # include <limits.h>
55673 # include <assert.h>
55675 /* Override any gcc2 internal prototype to avoid an error. */
55680 /* We use char because int might match the return type of a gcc2
55681 builtin and then its argument prototype would still apply. */
55683 /* The GNU C library defines this for functions which it implements
55684 to always fail with ENOSYS. Some functions are actually named
55685 something starting with __ and the normal name is an alias. */
55686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55689 char (*f) () = $ac_func;
55698 return f != $ac_func;
55703 rm -f conftest.$ac_objext conftest$ac_exeext
55704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55705 (eval $ac_link) 2>&5
55707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55708 (exit $ac_status); } &&
55709 { ac_try='test -s conftest$ac_exeext'
55710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55711 (eval $ac_try) 2>&5
55713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55714 (exit $ac_status); }; }; then
55715 eval "$as_ac_var=yes"
55717 echo "$as_me: failed program was:" >&5
55718 sed 's/^/| /' conftest.$ac_ext >&5
55720 eval "$as_ac_var=no"
55722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55726 if test `eval echo '${'$as_ac_var'}'` = yes; then
55727 cat >>confdefs.h <<_ACEOF
55728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55737 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
55738 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
55739 if test x"$has_weof" = xyes &&
55740 test x"$has_wchar_minmax" = xyes &&
55741 test x"$ac_wfuncs" = xyes;
55743 ac_isoC99_wchar_t=yes
55745 ac_isoC99_wchar_t=no
55747 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
55748 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
55750 # Use iconv for wchar_t to char conversions. As such, check for
55751 # X/Open Portability Guide, version 2 features (XPG2).
55752 if test "${ac_cv_header_iconv_h+set}" = set; then
55753 echo "$as_me:$LINENO: checking for iconv.h" >&5
55754 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55755 if test "${ac_cv_header_iconv_h+set}" = set; then
55756 echo $ECHO_N "(cached) $ECHO_C" >&6
55758 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55759 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55761 # Is the header compilable?
55762 echo "$as_me:$LINENO: checking iconv.h usability" >&5
55763 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
55764 cat >conftest.$ac_ext <<_ACEOF
55765 #line $LINENO "configure"
55768 cat confdefs.h >>conftest.$ac_ext
55769 cat >>conftest.$ac_ext <<_ACEOF
55770 /* end confdefs.h. */
55771 $ac_includes_default
55774 rm -f conftest.$ac_objext
55775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55776 (eval $ac_compile) 2>&5
55778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55779 (exit $ac_status); } &&
55780 { ac_try='test -s conftest.$ac_objext'
55781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55782 (eval $ac_try) 2>&5
55784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55785 (exit $ac_status); }; }; then
55786 ac_header_compiler=yes
55788 echo "$as_me: failed program was:" >&5
55789 sed 's/^/| /' conftest.$ac_ext >&5
55791 ac_header_compiler=no
55793 rm -f conftest.$ac_objext conftest.$ac_ext
55794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55795 echo "${ECHO_T}$ac_header_compiler" >&6
55797 # Is the header present?
55798 echo "$as_me:$LINENO: checking iconv.h presence" >&5
55799 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
55800 cat >conftest.$ac_ext <<_ACEOF
55801 #line $LINENO "configure"
55804 cat confdefs.h >>conftest.$ac_ext
55805 cat >>conftest.$ac_ext <<_ACEOF
55806 /* end confdefs.h. */
55809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55812 grep -v '^ *+' conftest.er1 >conftest.err
55814 cat conftest.err >&5
55815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55816 (exit $ac_status); } >/dev/null; then
55817 if test -s conftest.err; then
55818 ac_cpp_err=$ac_c_preproc_warn_flag
55825 if test -z "$ac_cpp_err"; then
55826 ac_header_preproc=yes
55828 echo "$as_me: failed program was:" >&5
55829 sed 's/^/| /' conftest.$ac_ext >&5
55831 ac_header_preproc=no
55833 rm -f conftest.err conftest.$ac_ext
55834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55835 echo "${ECHO_T}$ac_header_preproc" >&6
55837 # So? What about this header?
55838 case $ac_header_compiler:$ac_header_preproc in
55840 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
55841 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55842 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55843 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55846 ## ------------------------------------ ##
55847 ## Report this to bug-autoconf@gnu.org. ##
55848 ## ------------------------------------ ##
55851 sed "s/^/$as_me: WARNING: /" >&2
55854 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
55855 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
55856 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
55857 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
55858 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55859 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55862 ## ------------------------------------ ##
55863 ## Report this to bug-autoconf@gnu.org. ##
55864 ## ------------------------------------ ##
55867 sed "s/^/$as_me: WARNING: /" >&2
55870 echo "$as_me:$LINENO: checking for iconv.h" >&5
55871 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55872 if test "${ac_cv_header_iconv_h+set}" = set; then
55873 echo $ECHO_N "(cached) $ECHO_C" >&6
55875 ac_cv_header_iconv_h=$ac_header_preproc
55877 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55878 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55881 if test $ac_cv_header_iconv_h = yes; then
55888 if test "${ac_cv_header_langinfo_h+set}" = set; then
55889 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55890 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55891 if test "${ac_cv_header_langinfo_h+set}" = set; then
55892 echo $ECHO_N "(cached) $ECHO_C" >&6
55894 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55895 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55897 # Is the header compilable?
55898 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
55899 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
55900 cat >conftest.$ac_ext <<_ACEOF
55901 #line $LINENO "configure"
55904 cat confdefs.h >>conftest.$ac_ext
55905 cat >>conftest.$ac_ext <<_ACEOF
55906 /* end confdefs.h. */
55907 $ac_includes_default
55908 #include <langinfo.h>
55910 rm -f conftest.$ac_objext
55911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55912 (eval $ac_compile) 2>&5
55914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55915 (exit $ac_status); } &&
55916 { ac_try='test -s conftest.$ac_objext'
55917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55918 (eval $ac_try) 2>&5
55920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55921 (exit $ac_status); }; }; then
55922 ac_header_compiler=yes
55924 echo "$as_me: failed program was:" >&5
55925 sed 's/^/| /' conftest.$ac_ext >&5
55927 ac_header_compiler=no
55929 rm -f conftest.$ac_objext conftest.$ac_ext
55930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55931 echo "${ECHO_T}$ac_header_compiler" >&6
55933 # Is the header present?
55934 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
55935 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
55936 cat >conftest.$ac_ext <<_ACEOF
55937 #line $LINENO "configure"
55940 cat confdefs.h >>conftest.$ac_ext
55941 cat >>conftest.$ac_ext <<_ACEOF
55942 /* end confdefs.h. */
55943 #include <langinfo.h>
55945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55948 grep -v '^ *+' conftest.er1 >conftest.err
55950 cat conftest.err >&5
55951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55952 (exit $ac_status); } >/dev/null; then
55953 if test -s conftest.err; then
55954 ac_cpp_err=$ac_c_preproc_warn_flag
55961 if test -z "$ac_cpp_err"; then
55962 ac_header_preproc=yes
55964 echo "$as_me: failed program was:" >&5
55965 sed 's/^/| /' conftest.$ac_ext >&5
55967 ac_header_preproc=no
55969 rm -f conftest.err conftest.$ac_ext
55970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55971 echo "${ECHO_T}$ac_header_preproc" >&6
55973 # So? What about this header?
55974 case $ac_header_compiler:$ac_header_preproc in
55976 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
55977 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55978 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55979 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55982 ## ------------------------------------ ##
55983 ## Report this to bug-autoconf@gnu.org. ##
55984 ## ------------------------------------ ##
55987 sed "s/^/$as_me: WARNING: /" >&2
55990 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
55991 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
55992 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
55993 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
55994 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55995 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55998 ## ------------------------------------ ##
55999 ## Report this to bug-autoconf@gnu.org. ##
56000 ## ------------------------------------ ##
56003 sed "s/^/$as_me: WARNING: /" >&2
56006 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56007 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56008 if test "${ac_cv_header_langinfo_h+set}" = set; then
56009 echo $ECHO_N "(cached) $ECHO_C" >&6
56011 ac_cv_header_langinfo_h=$ac_header_preproc
56013 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56014 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56017 if test $ac_cv_header_langinfo_h = yes; then
56018 ac_has_langinfo_h=yes
56020 ac_has_langinfo_h=no
56025 # Check for existence of libiconv.a providing XPG2 wchar_t support.
56026 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56027 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56028 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56029 echo $ECHO_N "(cached) $ECHO_C" >&6
56031 ac_check_lib_save_LIBS=$LIBS
56032 LIBS="-liconv $LIBS"
56033 if test x$gcc_no_link = xyes; then
56034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56036 { (exit 1); exit 1; }; }
56038 cat >conftest.$ac_ext <<_ACEOF
56039 #line $LINENO "configure"
56042 cat confdefs.h >>conftest.$ac_ext
56043 cat >>conftest.$ac_ext <<_ACEOF
56044 /* end confdefs.h. */
56046 /* Override any gcc2 internal prototype to avoid an error. */
56050 /* We use char because int might match the return type of a gcc2
56051 builtin and then its argument prototype would still apply. */
56061 rm -f conftest.$ac_objext conftest$ac_exeext
56062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56063 (eval $ac_link) 2>&5
56065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56066 (exit $ac_status); } &&
56067 { ac_try='test -s conftest$ac_exeext'
56068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56069 (eval $ac_try) 2>&5
56071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56072 (exit $ac_status); }; }; then
56073 ac_cv_lib_iconv_iconv=yes
56075 echo "$as_me: failed program was:" >&5
56076 sed 's/^/| /' conftest.$ac_ext >&5
56078 ac_cv_lib_iconv_iconv=no
56080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56081 LIBS=$ac_check_lib_save_LIBS
56083 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
56084 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
56085 if test $ac_cv_lib_iconv_iconv = yes; then
56089 ac_save_LIBS="$LIBS"
56090 LIBS="$LIBS $libiconv"
56096 for ac_func in iconv_open iconv_close iconv nl_langinfo
56098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56099 echo "$as_me:$LINENO: checking for $ac_func" >&5
56100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56101 if eval "test \"\${$as_ac_var+set}\" = set"; then
56102 echo $ECHO_N "(cached) $ECHO_C" >&6
56104 if test x$gcc_no_link = xyes; then
56105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56107 { (exit 1); exit 1; }; }
56109 cat >conftest.$ac_ext <<_ACEOF
56110 #line $LINENO "configure"
56113 cat confdefs.h >>conftest.$ac_ext
56114 cat >>conftest.$ac_ext <<_ACEOF
56115 /* end confdefs.h. */
56116 /* System header to define __stub macros and hopefully few prototypes,
56117 which can conflict with char $ac_func (); below.
56118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56119 <limits.h> exists even on freestanding compilers. */
56121 # include <limits.h>
56123 # include <assert.h>
56125 /* Override any gcc2 internal prototype to avoid an error. */
56130 /* We use char because int might match the return type of a gcc2
56131 builtin and then its argument prototype would still apply. */
56133 /* The GNU C library defines this for functions which it implements
56134 to always fail with ENOSYS. Some functions are actually named
56135 something starting with __ and the normal name is an alias. */
56136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56139 char (*f) () = $ac_func;
56148 return f != $ac_func;
56153 rm -f conftest.$ac_objext conftest$ac_exeext
56154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56155 (eval $ac_link) 2>&5
56157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56158 (exit $ac_status); } &&
56159 { ac_try='test -s conftest$ac_exeext'
56160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56161 (eval $ac_try) 2>&5
56163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56164 (exit $ac_status); }; }; then
56165 eval "$as_ac_var=yes"
56167 echo "$as_me: failed program was:" >&5
56168 sed 's/^/| /' conftest.$ac_ext >&5
56170 eval "$as_ac_var=no"
56172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56176 if test `eval echo '${'$as_ac_var'}'` = yes; then
56177 cat >>confdefs.h <<_ACEOF
56178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56187 LIBS="$ac_save_LIBS"
56189 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
56190 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
56191 if test x"$ac_has_iconv_h" = xyes &&
56192 test x"$ac_has_langinfo_h" = xyes &&
56193 test x"$ac_XPG2funcs" = xyes;
56195 ac_XPG2_wchar_t=yes
56199 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
56200 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
56202 # At the moment, only enable wchar_t specializations if all the
56203 # above support is present.
56204 if test x"$ac_isoC99_wchar_t" = xyes &&
56205 test x"$ac_XPG2_wchar_t" = xyes;
56207 cat >>confdefs.h <<\_ACEOF
56208 #define _GLIBCXX_USE_WCHAR_T 1
56214 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
56215 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
56216 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
56217 echo "${ECHO_T}$enable_wchar_t" >&6
56219 cat >>confdefs.h <<\_ACEOF
56220 #define HAVE_COPYSIGN 1
56223 cat >>confdefs.h <<\_ACEOF
56224 #define HAVE_COPYSIGNF 1
56227 cat >>confdefs.h <<\_ACEOF
56228 #define HAVE_FINITEF 1
56231 cat >>confdefs.h <<\_ACEOF
56232 #define HAVE_FINITE 1
56235 cat >>confdefs.h <<\_ACEOF
56236 #define HAVE_FREXPF 1
56239 cat >>confdefs.h <<\_ACEOF
56240 #define HAVE_HYPOTF 1
56243 cat >>confdefs.h <<\_ACEOF
56244 #define HAVE_ISINF 1
56247 cat >>confdefs.h <<\_ACEOF
56248 #define HAVE_ISINFF 1
56251 cat >>confdefs.h <<\_ACEOF
56252 #define HAVE_ISNAN 1
56255 cat >>confdefs.h <<\_ACEOF
56256 #define HAVE_ISNANF 1
56259 if test x"long_double_math_on_this_cpu" = x"yes"; then
56260 cat >>confdefs.h <<\_ACEOF
56261 #define HAVE_FINITEL 1
56264 cat >>confdefs.h <<\_ACEOF
56265 #define HAVE_ISINFL 1
56268 cat >>confdefs.h <<\_ACEOF
56269 #define HAVE_ISNANL 1
56274 *-qnx6.1* | *-qnx6.2*)
56275 #os_include_dir="os/qnx/qnx6.1"
56276 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56279 # If we're not using GNU ld, then there's no point in even trying these
56280 # tests. Check for that first. We should have already tested for gld
56281 # by now (in libtool), but require it now just to be safe...
56282 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56283 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56287 # The name set by libtool depends on the version of libtool. Shame on us
56288 # for depending on an impl detail, but c'est la vie. Older versions used
56289 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56290 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56291 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56292 # set (hence we're using an older libtool), then set it.
56293 if test x${with_gnu_ld+set} != xset; then
56294 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56295 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56298 with_gnu_ld=$ac_cv_prog_gnu_ld
56302 # Start by getting the version number. I think the libtool test already
56303 # does some of this, but throws away the result.
56305 ldver=`$LD --version 2>/dev/null | head -1 | \
56306 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
56308 glibcxx_gnu_ld_version=`echo $ldver | \
56309 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56311 # Set --gc-sections.
56312 if test "$with_gnu_ld" = "notbroken"; then
56313 # GNU ld it is! Joy and bunny rabbits!
56315 # All these tests are for C++; save the language and the compiler flags.
56316 # Need to do this so that g++ won't try to link in libstdc++
56317 ac_test_CFLAGS="${CFLAGS+set}"
56318 ac_save_CFLAGS="$CFLAGS"
56319 CFLAGS='-x c++ -Wl,--gc-sections'
56321 # Check for -Wl,--gc-sections
56322 # XXX This test is broken at the moment, as symbols required for linking
56323 # are now in libsupc++ (not built yet). In addition, this test has
56324 # cored on solaris in the past. In addition, --gc-sections doesn't
56325 # really work at the moment (keeps on discarding used sections, first
56326 # .eh_frame and now some of the glibc sections for iconv).
56327 # Bzzzzt. Thanks for playing, maybe next time.
56328 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
56329 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
56330 if test "$cross_compiling" = yes; then
56331 ac_sectionLDflags=yes
56333 cat >conftest.$ac_ext <<_ACEOF
56334 #line $LINENO "configure"
56337 cat confdefs.h >>conftest.$ac_ext
56338 cat >>conftest.$ac_ext <<_ACEOF
56339 /* end confdefs.h. */
56349 rm -f conftest$ac_exeext
56350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56351 (eval $ac_link) 2>&5
56353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
56355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56356 (eval $ac_try) 2>&5
56358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56359 (exit $ac_status); }; }; then
56360 ac_sectionLDflags=yes
56362 echo "$as_me: program exited with status $ac_status" >&5
56363 echo "$as_me: failed program was:" >&5
56364 sed 's/^/| /' conftest.$ac_ext >&5
56366 ( exit $ac_status )
56367 ac_sectionLDflags=no
56369 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
56371 if test "$ac_test_CFLAGS" = set; then
56372 CFLAGS="$ac_save_CFLAGS"
56374 # this is the suspicious part
56377 if test "$ac_sectionLDflags" = "yes"; then
56378 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56380 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
56381 echo "${ECHO_T}$ac_sectionLDflags" >&6
56384 # Set linker optimization flags.
56385 if test x"$with_gnu_ld" = x"yes"; then
56386 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56394 echo "$as_me:$LINENO: checking for main in -lm" >&5
56395 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
56396 if test "${ac_cv_lib_m_main+set}" = set; then
56397 echo $ECHO_N "(cached) $ECHO_C" >&6
56399 ac_check_lib_save_LIBS=$LIBS
56401 if test x$gcc_no_link = xyes; then
56402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56404 { (exit 1); exit 1; }; }
56406 cat >conftest.$ac_ext <<_ACEOF
56407 #line $LINENO "configure"
56410 cat confdefs.h >>conftest.$ac_ext
56411 cat >>conftest.$ac_ext <<_ACEOF
56412 /* end confdefs.h. */
56423 rm -f conftest.$ac_objext conftest$ac_exeext
56424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56425 (eval $ac_link) 2>&5
56427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56428 (exit $ac_status); } &&
56429 { ac_try='test -s conftest$ac_exeext'
56430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56431 (eval $ac_try) 2>&5
56433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56434 (exit $ac_status); }; }; then
56435 ac_cv_lib_m_main=yes
56437 echo "$as_me: failed program was:" >&5
56438 sed 's/^/| /' conftest.$ac_ext >&5
56440 ac_cv_lib_m_main=no
56442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56443 LIBS=$ac_check_lib_save_LIBS
56445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
56446 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
56447 if test $ac_cv_lib_m_main = yes; then
56448 cat >>confdefs.h <<_ACEOF
56449 #define HAVE_LIBM 1
56458 for ac_func in nan copysignf
56460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56461 echo "$as_me:$LINENO: checking for $ac_func" >&5
56462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56463 if eval "test \"\${$as_ac_var+set}\" = set"; then
56464 echo $ECHO_N "(cached) $ECHO_C" >&6
56466 if test x$gcc_no_link = xyes; then
56467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56469 { (exit 1); exit 1; }; }
56471 cat >conftest.$ac_ext <<_ACEOF
56472 #line $LINENO "configure"
56475 cat confdefs.h >>conftest.$ac_ext
56476 cat >>conftest.$ac_ext <<_ACEOF
56477 /* end confdefs.h. */
56478 /* System header to define __stub macros and hopefully few prototypes,
56479 which can conflict with char $ac_func (); below.
56480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56481 <limits.h> exists even on freestanding compilers. */
56483 # include <limits.h>
56485 # include <assert.h>
56487 /* Override any gcc2 internal prototype to avoid an error. */
56492 /* We use char because int might match the return type of a gcc2
56493 builtin and then its argument prototype would still apply. */
56495 /* The GNU C library defines this for functions which it implements
56496 to always fail with ENOSYS. Some functions are actually named
56497 something starting with __ and the normal name is an alias. */
56498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56501 char (*f) () = $ac_func;
56510 return f != $ac_func;
56515 rm -f conftest.$ac_objext conftest$ac_exeext
56516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56517 (eval $ac_link) 2>&5
56519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56520 (exit $ac_status); } &&
56521 { ac_try='test -s conftest$ac_exeext'
56522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56523 (eval $ac_try) 2>&5
56525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56526 (exit $ac_status); }; }; then
56527 eval "$as_ac_var=yes"
56529 echo "$as_me: failed program was:" >&5
56530 sed 's/^/| /' conftest.$ac_ext >&5
56532 eval "$as_ac_var=no"
56534 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56538 if test `eval echo '${'$as_ac_var'}'` = yes; then
56539 cat >>confdefs.h <<_ACEOF
56540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56544 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
56550 for ac_func in __signbit
56552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56553 echo "$as_me:$LINENO: checking for $ac_func" >&5
56554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56555 if eval "test \"\${$as_ac_var+set}\" = set"; then
56556 echo $ECHO_N "(cached) $ECHO_C" >&6
56558 if test x$gcc_no_link = xyes; then
56559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56561 { (exit 1); exit 1; }; }
56563 cat >conftest.$ac_ext <<_ACEOF
56564 #line $LINENO "configure"
56567 cat confdefs.h >>conftest.$ac_ext
56568 cat >>conftest.$ac_ext <<_ACEOF
56569 /* end confdefs.h. */
56570 /* System header to define __stub macros and hopefully few prototypes,
56571 which can conflict with char $ac_func (); below.
56572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56573 <limits.h> exists even on freestanding compilers. */
56575 # include <limits.h>
56577 # include <assert.h>
56579 /* Override any gcc2 internal prototype to avoid an error. */
56584 /* We use char because int might match the return type of a gcc2
56585 builtin and then its argument prototype would still apply. */
56587 /* The GNU C library defines this for functions which it implements
56588 to always fail with ENOSYS. Some functions are actually named
56589 something starting with __ and the normal name is an alias. */
56590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56593 char (*f) () = $ac_func;
56602 return f != $ac_func;
56607 rm -f conftest.$ac_objext conftest$ac_exeext
56608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56609 (eval $ac_link) 2>&5
56611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56612 (exit $ac_status); } &&
56613 { ac_try='test -s conftest$ac_exeext'
56614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56615 (eval $ac_try) 2>&5
56617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56618 (exit $ac_status); }; }; then
56619 eval "$as_ac_var=yes"
56621 echo "$as_me: failed program was:" >&5
56622 sed 's/^/| /' conftest.$ac_ext >&5
56624 eval "$as_ac_var=no"
56626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56630 if test `eval echo '${'$as_ac_var'}'` = yes; then
56631 cat >>confdefs.h <<_ACEOF
56632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56636 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
56641 for ac_func in __signbitf
56643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56644 echo "$as_me:$LINENO: checking for $ac_func" >&5
56645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56646 if eval "test \"\${$as_ac_var+set}\" = set"; then
56647 echo $ECHO_N "(cached) $ECHO_C" >&6
56649 if test x$gcc_no_link = xyes; then
56650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56652 { (exit 1); exit 1; }; }
56654 cat >conftest.$ac_ext <<_ACEOF
56655 #line $LINENO "configure"
56658 cat confdefs.h >>conftest.$ac_ext
56659 cat >>conftest.$ac_ext <<_ACEOF
56660 /* end confdefs.h. */
56661 /* System header to define __stub macros and hopefully few prototypes,
56662 which can conflict with char $ac_func (); below.
56663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56664 <limits.h> exists even on freestanding compilers. */
56666 # include <limits.h>
56668 # include <assert.h>
56670 /* Override any gcc2 internal prototype to avoid an error. */
56675 /* We use char because int might match the return type of a gcc2
56676 builtin and then its argument prototype would still apply. */
56678 /* The GNU C library defines this for functions which it implements
56679 to always fail with ENOSYS. Some functions are actually named
56680 something starting with __ and the normal name is an alias. */
56681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56684 char (*f) () = $ac_func;
56693 return f != $ac_func;
56698 rm -f conftest.$ac_objext conftest$ac_exeext
56699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56700 (eval $ac_link) 2>&5
56702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56703 (exit $ac_status); } &&
56704 { ac_try='test -s conftest$ac_exeext'
56705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56706 (eval $ac_try) 2>&5
56708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56709 (exit $ac_status); }; }; then
56710 eval "$as_ac_var=yes"
56712 echo "$as_me: failed program was:" >&5
56713 sed 's/^/| /' conftest.$ac_ext >&5
56715 eval "$as_ac_var=no"
56717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56721 if test `eval echo '${'$as_ac_var'}'` = yes; then
56722 cat >>confdefs.h <<_ACEOF
56723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56727 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
56732 if test x$ac_cv_func_copysignl = x"yes"; then
56734 for ac_func in __signbitl
56736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56737 echo "$as_me:$LINENO: checking for $ac_func" >&5
56738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56739 if eval "test \"\${$as_ac_var+set}\" = set"; then
56740 echo $ECHO_N "(cached) $ECHO_C" >&6
56742 if test x$gcc_no_link = xyes; then
56743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56745 { (exit 1); exit 1; }; }
56747 cat >conftest.$ac_ext <<_ACEOF
56748 #line $LINENO "configure"
56751 cat confdefs.h >>conftest.$ac_ext
56752 cat >>conftest.$ac_ext <<_ACEOF
56753 /* end confdefs.h. */
56754 /* System header to define __stub macros and hopefully few prototypes,
56755 which can conflict with char $ac_func (); below.
56756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56757 <limits.h> exists even on freestanding compilers. */
56759 # include <limits.h>
56761 # include <assert.h>
56763 /* Override any gcc2 internal prototype to avoid an error. */
56768 /* We use char because int might match the return type of a gcc2
56769 builtin and then its argument prototype would still apply. */
56771 /* The GNU C library defines this for functions which it implements
56772 to always fail with ENOSYS. Some functions are actually named
56773 something starting with __ and the normal name is an alias. */
56774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56777 char (*f) () = $ac_func;
56786 return f != $ac_func;
56791 rm -f conftest.$ac_objext conftest$ac_exeext
56792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56793 (eval $ac_link) 2>&5
56795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56796 (exit $ac_status); } &&
56797 { ac_try='test -s conftest$ac_exeext'
56798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56799 (eval $ac_try) 2>&5
56801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56802 (exit $ac_status); }; }; then
56803 eval "$as_ac_var=yes"
56805 echo "$as_me: failed program was:" >&5
56806 sed 's/^/| /' conftest.$ac_ext >&5
56808 eval "$as_ac_var=no"
56810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56814 if test `eval echo '${'$as_ac_var'}'` = yes; then
56815 cat >>confdefs.h <<_ACEOF
56816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56820 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56826 # XXX Review this. Nothing uses it.
56827 if test -n "$LIBMATHOBJS"; then
56833 # Test wchar.h for mbstate_t, which is needed for char_traits and
56834 # others even if wchar_t support is not on.
56835 echo "$as_me:$LINENO: checking for mbstate_t" >&5
56836 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
56837 cat >conftest.$ac_ext <<_ACEOF
56838 #line $LINENO "configure"
56841 cat confdefs.h >>conftest.$ac_ext
56842 cat >>conftest.$ac_ext <<_ACEOF
56843 /* end confdefs.h. */
56848 mbstate_t teststate;
56853 rm -f conftest.$ac_objext
56854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56855 (eval $ac_compile) 2>&5
56857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56858 (exit $ac_status); } &&
56859 { ac_try='test -s conftest.$ac_objext'
56860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56861 (eval $ac_try) 2>&5
56863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56864 (exit $ac_status); }; }; then
56867 echo "$as_me: failed program was:" >&5
56868 sed 's/^/| /' conftest.$ac_ext >&5
56872 rm -f conftest.$ac_objext conftest.$ac_ext
56873 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
56874 echo "${ECHO_T}$have_mbstate_t" >&6
56875 if test x"$have_mbstate_t" = xyes; then
56876 cat >>confdefs.h <<\_ACEOF
56877 #define HAVE_MBSTATE_T 1
56882 # Sanity check for existence of ISO C99 headers for extended encoding.
56884 for ac_header in wchar.h
56886 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56888 echo "$as_me:$LINENO: checking for $ac_header" >&5
56889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56891 echo $ECHO_N "(cached) $ECHO_C" >&6
56893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56896 # Is the header compilable?
56897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56899 cat >conftest.$ac_ext <<_ACEOF
56900 #line $LINENO "configure"
56903 cat confdefs.h >>conftest.$ac_ext
56904 cat >>conftest.$ac_ext <<_ACEOF
56905 /* end confdefs.h. */
56906 $ac_includes_default
56907 #include <$ac_header>
56909 rm -f conftest.$ac_objext
56910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56911 (eval $ac_compile) 2>&5
56913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56914 (exit $ac_status); } &&
56915 { ac_try='test -s conftest.$ac_objext'
56916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56917 (eval $ac_try) 2>&5
56919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56920 (exit $ac_status); }; }; then
56921 ac_header_compiler=yes
56923 echo "$as_me: failed program was:" >&5
56924 sed 's/^/| /' conftest.$ac_ext >&5
56926 ac_header_compiler=no
56928 rm -f conftest.$ac_objext conftest.$ac_ext
56929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56930 echo "${ECHO_T}$ac_header_compiler" >&6
56932 # Is the header present?
56933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56935 cat >conftest.$ac_ext <<_ACEOF
56936 #line $LINENO "configure"
56939 cat confdefs.h >>conftest.$ac_ext
56940 cat >>conftest.$ac_ext <<_ACEOF
56941 /* end confdefs.h. */
56942 #include <$ac_header>
56944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56947 grep -v '^ *+' conftest.er1 >conftest.err
56949 cat conftest.err >&5
56950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56951 (exit $ac_status); } >/dev/null; then
56952 if test -s conftest.err; then
56953 ac_cpp_err=$ac_c_preproc_warn_flag
56960 if test -z "$ac_cpp_err"; then
56961 ac_header_preproc=yes
56963 echo "$as_me: failed program was:" >&5
56964 sed 's/^/| /' conftest.$ac_ext >&5
56966 ac_header_preproc=no
56968 rm -f conftest.err conftest.$ac_ext
56969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56970 echo "${ECHO_T}$ac_header_preproc" >&6
56972 # So? What about this header?
56973 case $ac_header_compiler:$ac_header_preproc in
56975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56981 ## ------------------------------------ ##
56982 ## Report this to bug-autoconf@gnu.org. ##
56983 ## ------------------------------------ ##
56986 sed "s/^/$as_me: WARNING: /" >&2
56989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56997 ## ------------------------------------ ##
56998 ## Report this to bug-autoconf@gnu.org. ##
56999 ## ------------------------------------ ##
57002 sed "s/^/$as_me: WARNING: /" >&2
57005 echo "$as_me:$LINENO: checking for $ac_header" >&5
57006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57008 echo $ECHO_N "(cached) $ECHO_C" >&6
57010 eval "$as_ac_Header=$ac_header_preproc"
57012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57017 cat >>confdefs.h <<_ACEOF
57018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57028 for ac_header in wctype.h
57030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57032 echo "$as_me:$LINENO: checking for $ac_header" >&5
57033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57035 echo $ECHO_N "(cached) $ECHO_C" >&6
57037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57040 # Is the header compilable?
57041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57043 cat >conftest.$ac_ext <<_ACEOF
57044 #line $LINENO "configure"
57047 cat confdefs.h >>conftest.$ac_ext
57048 cat >>conftest.$ac_ext <<_ACEOF
57049 /* end confdefs.h. */
57050 $ac_includes_default
57051 #include <$ac_header>
57053 rm -f conftest.$ac_objext
57054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57055 (eval $ac_compile) 2>&5
57057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57058 (exit $ac_status); } &&
57059 { ac_try='test -s conftest.$ac_objext'
57060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57061 (eval $ac_try) 2>&5
57063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57064 (exit $ac_status); }; }; then
57065 ac_header_compiler=yes
57067 echo "$as_me: failed program was:" >&5
57068 sed 's/^/| /' conftest.$ac_ext >&5
57070 ac_header_compiler=no
57072 rm -f conftest.$ac_objext conftest.$ac_ext
57073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57074 echo "${ECHO_T}$ac_header_compiler" >&6
57076 # Is the header present?
57077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57079 cat >conftest.$ac_ext <<_ACEOF
57080 #line $LINENO "configure"
57083 cat confdefs.h >>conftest.$ac_ext
57084 cat >>conftest.$ac_ext <<_ACEOF
57085 /* end confdefs.h. */
57086 #include <$ac_header>
57088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57091 grep -v '^ *+' conftest.er1 >conftest.err
57093 cat conftest.err >&5
57094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57095 (exit $ac_status); } >/dev/null; then
57096 if test -s conftest.err; then
57097 ac_cpp_err=$ac_c_preproc_warn_flag
57104 if test -z "$ac_cpp_err"; then
57105 ac_header_preproc=yes
57107 echo "$as_me: failed program was:" >&5
57108 sed 's/^/| /' conftest.$ac_ext >&5
57110 ac_header_preproc=no
57112 rm -f conftest.err conftest.$ac_ext
57113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57114 echo "${ECHO_T}$ac_header_preproc" >&6
57116 # So? What about this header?
57117 case $ac_header_compiler:$ac_header_preproc in
57119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57125 ## ------------------------------------ ##
57126 ## Report this to bug-autoconf@gnu.org. ##
57127 ## ------------------------------------ ##
57130 sed "s/^/$as_me: WARNING: /" >&2
57133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57141 ## ------------------------------------ ##
57142 ## Report this to bug-autoconf@gnu.org. ##
57143 ## ------------------------------------ ##
57146 sed "s/^/$as_me: WARNING: /" >&2
57149 echo "$as_me:$LINENO: checking for $ac_header" >&5
57150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57152 echo $ECHO_N "(cached) $ECHO_C" >&6
57154 eval "$as_ac_Header=$ac_header_preproc"
57156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57161 cat >>confdefs.h <<_ACEOF
57162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57164 ac_has_wctype_h=yes
57172 # Only continue checking if the ISO C99 headers exist and support is on.
57173 if test x"$ac_has_wchar_h" = xyes &&
57174 test x"$ac_has_wctype_h" = xyes &&
57175 test x"$enable_c_mbchar" != xno; then
57177 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
57178 # numeric_limits can instantiate type_traits<wchar_t>
57179 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
57180 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
57181 cat >conftest.$ac_ext <<_ACEOF
57182 #line $LINENO "configure"
57185 cat confdefs.h >>conftest.$ac_ext
57186 cat >>conftest.$ac_ext <<_ACEOF
57187 /* end confdefs.h. */
57192 int i = WCHAR_MIN; int j = WCHAR_MAX;
57197 rm -f conftest.$ac_objext
57198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57199 (eval $ac_compile) 2>&5
57201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57202 (exit $ac_status); } &&
57203 { ac_try='test -s conftest.$ac_objext'
57204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57205 (eval $ac_try) 2>&5
57207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57208 (exit $ac_status); }; }; then
57209 has_wchar_minmax=yes
57211 echo "$as_me: failed program was:" >&5
57212 sed 's/^/| /' conftest.$ac_ext >&5
57214 has_wchar_minmax=no
57216 rm -f conftest.$ac_objext conftest.$ac_ext
57217 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
57218 echo "${ECHO_T}$has_wchar_minmax" >&6
57220 # Test wchar.h for WEOF, which is what we use to determine whether
57221 # to specialize for char_traits<wchar_t> or not.
57222 echo "$as_me:$LINENO: checking for WEOF" >&5
57223 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
57224 cat >conftest.$ac_ext <<_ACEOF
57225 #line $LINENO "configure"
57228 cat confdefs.h >>conftest.$ac_ext
57229 cat >>conftest.$ac_ext <<_ACEOF
57230 /* end confdefs.h. */
57233 #include <stddef.h>
57242 rm -f conftest.$ac_objext
57243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57244 (eval $ac_compile) 2>&5
57246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57247 (exit $ac_status); } &&
57248 { ac_try='test -s conftest.$ac_objext'
57249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57250 (eval $ac_try) 2>&5
57252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57253 (exit $ac_status); }; }; then
57256 echo "$as_me: failed program was:" >&5
57257 sed 's/^/| /' conftest.$ac_ext >&5
57261 rm -f conftest.$ac_objext conftest.$ac_ext
57262 echo "$as_me:$LINENO: result: $has_weof" >&5
57263 echo "${ECHO_T}$has_weof" >&6
57265 # Tests for wide character functions used in char_traits<wchar_t>.
57273 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
57275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57276 echo "$as_me:$LINENO: checking for $ac_func" >&5
57277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57278 if eval "test \"\${$as_ac_var+set}\" = set"; then
57279 echo $ECHO_N "(cached) $ECHO_C" >&6
57281 if test x$gcc_no_link = xyes; then
57282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57284 { (exit 1); exit 1; }; }
57286 cat >conftest.$ac_ext <<_ACEOF
57287 #line $LINENO "configure"
57290 cat confdefs.h >>conftest.$ac_ext
57291 cat >>conftest.$ac_ext <<_ACEOF
57292 /* end confdefs.h. */
57293 /* System header to define __stub macros and hopefully few prototypes,
57294 which can conflict with char $ac_func (); below.
57295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57296 <limits.h> exists even on freestanding compilers. */
57298 # include <limits.h>
57300 # include <assert.h>
57302 /* Override any gcc2 internal prototype to avoid an error. */
57307 /* We use char because int might match the return type of a gcc2
57308 builtin and then its argument prototype would still apply. */
57310 /* The GNU C library defines this for functions which it implements
57311 to always fail with ENOSYS. Some functions are actually named
57312 something starting with __ and the normal name is an alias. */
57313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57316 char (*f) () = $ac_func;
57325 return f != $ac_func;
57330 rm -f conftest.$ac_objext conftest$ac_exeext
57331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57332 (eval $ac_link) 2>&5
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); } &&
57336 { ac_try='test -s conftest$ac_exeext'
57337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57338 (eval $ac_try) 2>&5
57340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57341 (exit $ac_status); }; }; then
57342 eval "$as_ac_var=yes"
57344 echo "$as_me: failed program was:" >&5
57345 sed 's/^/| /' conftest.$ac_ext >&5
57347 eval "$as_ac_var=no"
57349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57353 if test `eval echo '${'$as_ac_var'}'` = yes; then
57354 cat >>confdefs.h <<_ACEOF
57355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57364 # Checks for names injected into std:: by the c_std headers.
57415 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
57416 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
57417 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
57418 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
57419 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
57420 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
57422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57423 echo "$as_me:$LINENO: checking for $ac_func" >&5
57424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57425 if eval "test \"\${$as_ac_var+set}\" = set"; then
57426 echo $ECHO_N "(cached) $ECHO_C" >&6
57428 if test x$gcc_no_link = xyes; then
57429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57431 { (exit 1); exit 1; }; }
57433 cat >conftest.$ac_ext <<_ACEOF
57434 #line $LINENO "configure"
57437 cat confdefs.h >>conftest.$ac_ext
57438 cat >>conftest.$ac_ext <<_ACEOF
57439 /* end confdefs.h. */
57440 /* System header to define __stub macros and hopefully few prototypes,
57441 which can conflict with char $ac_func (); below.
57442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57443 <limits.h> exists even on freestanding compilers. */
57445 # include <limits.h>
57447 # include <assert.h>
57449 /* Override any gcc2 internal prototype to avoid an error. */
57454 /* We use char because int might match the return type of a gcc2
57455 builtin and then its argument prototype would still apply. */
57457 /* The GNU C library defines this for functions which it implements
57458 to always fail with ENOSYS. Some functions are actually named
57459 something starting with __ and the normal name is an alias. */
57460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57463 char (*f) () = $ac_func;
57472 return f != $ac_func;
57477 rm -f conftest.$ac_objext conftest$ac_exeext
57478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57479 (eval $ac_link) 2>&5
57481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57482 (exit $ac_status); } &&
57483 { ac_try='test -s conftest$ac_exeext'
57484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57485 (eval $ac_try) 2>&5
57487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57488 (exit $ac_status); }; }; then
57489 eval "$as_ac_var=yes"
57491 echo "$as_me: failed program was:" >&5
57492 sed 's/^/| /' conftest.$ac_ext >&5
57494 eval "$as_ac_var=no"
57496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57500 if test `eval echo '${'$as_ac_var'}'` = yes; then
57501 cat >>confdefs.h <<_ACEOF
57502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57511 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
57512 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
57513 if test x"$has_weof" = xyes &&
57514 test x"$has_wchar_minmax" = xyes &&
57515 test x"$ac_wfuncs" = xyes;
57517 ac_isoC99_wchar_t=yes
57519 ac_isoC99_wchar_t=no
57521 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
57522 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
57524 # Use iconv for wchar_t to char conversions. As such, check for
57525 # X/Open Portability Guide, version 2 features (XPG2).
57526 if test "${ac_cv_header_iconv_h+set}" = set; then
57527 echo "$as_me:$LINENO: checking for iconv.h" >&5
57528 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57529 if test "${ac_cv_header_iconv_h+set}" = set; then
57530 echo $ECHO_N "(cached) $ECHO_C" >&6
57532 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57533 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57535 # Is the header compilable?
57536 echo "$as_me:$LINENO: checking iconv.h usability" >&5
57537 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
57538 cat >conftest.$ac_ext <<_ACEOF
57539 #line $LINENO "configure"
57542 cat confdefs.h >>conftest.$ac_ext
57543 cat >>conftest.$ac_ext <<_ACEOF
57544 /* end confdefs.h. */
57545 $ac_includes_default
57548 rm -f conftest.$ac_objext
57549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57550 (eval $ac_compile) 2>&5
57552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57553 (exit $ac_status); } &&
57554 { ac_try='test -s conftest.$ac_objext'
57555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57556 (eval $ac_try) 2>&5
57558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57559 (exit $ac_status); }; }; then
57560 ac_header_compiler=yes
57562 echo "$as_me: failed program was:" >&5
57563 sed 's/^/| /' conftest.$ac_ext >&5
57565 ac_header_compiler=no
57567 rm -f conftest.$ac_objext conftest.$ac_ext
57568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57569 echo "${ECHO_T}$ac_header_compiler" >&6
57571 # Is the header present?
57572 echo "$as_me:$LINENO: checking iconv.h presence" >&5
57573 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
57574 cat >conftest.$ac_ext <<_ACEOF
57575 #line $LINENO "configure"
57578 cat confdefs.h >>conftest.$ac_ext
57579 cat >>conftest.$ac_ext <<_ACEOF
57580 /* end confdefs.h. */
57583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57586 grep -v '^ *+' conftest.er1 >conftest.err
57588 cat conftest.err >&5
57589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57590 (exit $ac_status); } >/dev/null; then
57591 if test -s conftest.err; then
57592 ac_cpp_err=$ac_c_preproc_warn_flag
57599 if test -z "$ac_cpp_err"; then
57600 ac_header_preproc=yes
57602 echo "$as_me: failed program was:" >&5
57603 sed 's/^/| /' conftest.$ac_ext >&5
57605 ac_header_preproc=no
57607 rm -f conftest.err conftest.$ac_ext
57608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57609 echo "${ECHO_T}$ac_header_preproc" >&6
57611 # So? What about this header?
57612 case $ac_header_compiler:$ac_header_preproc in
57614 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
57615 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57616 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
57617 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
57620 ## ------------------------------------ ##
57621 ## Report this to bug-autoconf@gnu.org. ##
57622 ## ------------------------------------ ##
57625 sed "s/^/$as_me: WARNING: /" >&2
57628 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
57629 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
57630 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
57631 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
57632 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
57633 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
57636 ## ------------------------------------ ##
57637 ## Report this to bug-autoconf@gnu.org. ##
57638 ## ------------------------------------ ##
57641 sed "s/^/$as_me: WARNING: /" >&2
57644 echo "$as_me:$LINENO: checking for iconv.h" >&5
57645 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57646 if test "${ac_cv_header_iconv_h+set}" = set; then
57647 echo $ECHO_N "(cached) $ECHO_C" >&6
57649 ac_cv_header_iconv_h=$ac_header_preproc
57651 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57652 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57655 if test $ac_cv_header_iconv_h = yes; then
57662 if test "${ac_cv_header_langinfo_h+set}" = set; then
57663 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57664 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57665 if test "${ac_cv_header_langinfo_h+set}" = set; then
57666 echo $ECHO_N "(cached) $ECHO_C" >&6
57668 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57669 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57671 # Is the header compilable?
57672 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
57673 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
57674 cat >conftest.$ac_ext <<_ACEOF
57675 #line $LINENO "configure"
57678 cat confdefs.h >>conftest.$ac_ext
57679 cat >>conftest.$ac_ext <<_ACEOF
57680 /* end confdefs.h. */
57681 $ac_includes_default
57682 #include <langinfo.h>
57684 rm -f conftest.$ac_objext
57685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57686 (eval $ac_compile) 2>&5
57688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57689 (exit $ac_status); } &&
57690 { ac_try='test -s conftest.$ac_objext'
57691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57692 (eval $ac_try) 2>&5
57694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57695 (exit $ac_status); }; }; then
57696 ac_header_compiler=yes
57698 echo "$as_me: failed program was:" >&5
57699 sed 's/^/| /' conftest.$ac_ext >&5
57701 ac_header_compiler=no
57703 rm -f conftest.$ac_objext conftest.$ac_ext
57704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57705 echo "${ECHO_T}$ac_header_compiler" >&6
57707 # Is the header present?
57708 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
57709 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
57710 cat >conftest.$ac_ext <<_ACEOF
57711 #line $LINENO "configure"
57714 cat confdefs.h >>conftest.$ac_ext
57715 cat >>conftest.$ac_ext <<_ACEOF
57716 /* end confdefs.h. */
57717 #include <langinfo.h>
57719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57722 grep -v '^ *+' conftest.er1 >conftest.err
57724 cat conftest.err >&5
57725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57726 (exit $ac_status); } >/dev/null; then
57727 if test -s conftest.err; then
57728 ac_cpp_err=$ac_c_preproc_warn_flag
57735 if test -z "$ac_cpp_err"; then
57736 ac_header_preproc=yes
57738 echo "$as_me: failed program was:" >&5
57739 sed 's/^/| /' conftest.$ac_ext >&5
57741 ac_header_preproc=no
57743 rm -f conftest.err conftest.$ac_ext
57744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57745 echo "${ECHO_T}$ac_header_preproc" >&6
57747 # So? What about this header?
57748 case $ac_header_compiler:$ac_header_preproc in
57750 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
57751 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57752 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57753 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57756 ## ------------------------------------ ##
57757 ## Report this to bug-autoconf@gnu.org. ##
57758 ## ------------------------------------ ##
57761 sed "s/^/$as_me: WARNING: /" >&2
57764 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
57765 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
57766 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
57767 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
57768 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57769 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57772 ## ------------------------------------ ##
57773 ## Report this to bug-autoconf@gnu.org. ##
57774 ## ------------------------------------ ##
57777 sed "s/^/$as_me: WARNING: /" >&2
57780 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57781 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57782 if test "${ac_cv_header_langinfo_h+set}" = set; then
57783 echo $ECHO_N "(cached) $ECHO_C" >&6
57785 ac_cv_header_langinfo_h=$ac_header_preproc
57787 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57788 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57791 if test $ac_cv_header_langinfo_h = yes; then
57792 ac_has_langinfo_h=yes
57794 ac_has_langinfo_h=no
57799 # Check for existence of libiconv.a providing XPG2 wchar_t support.
57800 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
57801 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
57802 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
57803 echo $ECHO_N "(cached) $ECHO_C" >&6
57805 ac_check_lib_save_LIBS=$LIBS
57806 LIBS="-liconv $LIBS"
57807 if test x$gcc_no_link = xyes; then
57808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57810 { (exit 1); exit 1; }; }
57812 cat >conftest.$ac_ext <<_ACEOF
57813 #line $LINENO "configure"
57816 cat confdefs.h >>conftest.$ac_ext
57817 cat >>conftest.$ac_ext <<_ACEOF
57818 /* end confdefs.h. */
57820 /* Override any gcc2 internal prototype to avoid an error. */
57824 /* We use char because int might match the return type of a gcc2
57825 builtin and then its argument prototype would still apply. */
57835 rm -f conftest.$ac_objext conftest$ac_exeext
57836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57837 (eval $ac_link) 2>&5
57839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57840 (exit $ac_status); } &&
57841 { ac_try='test -s conftest$ac_exeext'
57842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57843 (eval $ac_try) 2>&5
57845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57846 (exit $ac_status); }; }; then
57847 ac_cv_lib_iconv_iconv=yes
57849 echo "$as_me: failed program was:" >&5
57850 sed 's/^/| /' conftest.$ac_ext >&5
57852 ac_cv_lib_iconv_iconv=no
57854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57855 LIBS=$ac_check_lib_save_LIBS
57857 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57858 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57859 if test $ac_cv_lib_iconv_iconv = yes; then
57863 ac_save_LIBS="$LIBS"
57864 LIBS="$LIBS $libiconv"
57870 for ac_func in iconv_open iconv_close iconv nl_langinfo
57872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57873 echo "$as_me:$LINENO: checking for $ac_func" >&5
57874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57875 if eval "test \"\${$as_ac_var+set}\" = set"; then
57876 echo $ECHO_N "(cached) $ECHO_C" >&6
57878 if test x$gcc_no_link = xyes; then
57879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57881 { (exit 1); exit 1; }; }
57883 cat >conftest.$ac_ext <<_ACEOF
57884 #line $LINENO "configure"
57887 cat confdefs.h >>conftest.$ac_ext
57888 cat >>conftest.$ac_ext <<_ACEOF
57889 /* end confdefs.h. */
57890 /* System header to define __stub macros and hopefully few prototypes,
57891 which can conflict with char $ac_func (); below.
57892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57893 <limits.h> exists even on freestanding compilers. */
57895 # include <limits.h>
57897 # include <assert.h>
57899 /* Override any gcc2 internal prototype to avoid an error. */
57904 /* We use char because int might match the return type of a gcc2
57905 builtin and then its argument prototype would still apply. */
57907 /* The GNU C library defines this for functions which it implements
57908 to always fail with ENOSYS. Some functions are actually named
57909 something starting with __ and the normal name is an alias. */
57910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57913 char (*f) () = $ac_func;
57922 return f != $ac_func;
57927 rm -f conftest.$ac_objext conftest$ac_exeext
57928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57929 (eval $ac_link) 2>&5
57931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57932 (exit $ac_status); } &&
57933 { ac_try='test -s conftest$ac_exeext'
57934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57935 (eval $ac_try) 2>&5
57937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57938 (exit $ac_status); }; }; then
57939 eval "$as_ac_var=yes"
57941 echo "$as_me: failed program was:" >&5
57942 sed 's/^/| /' conftest.$ac_ext >&5
57944 eval "$as_ac_var=no"
57946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57950 if test `eval echo '${'$as_ac_var'}'` = yes; then
57951 cat >>confdefs.h <<_ACEOF
57952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57961 LIBS="$ac_save_LIBS"
57963 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57964 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57965 if test x"$ac_has_iconv_h" = xyes &&
57966 test x"$ac_has_langinfo_h" = xyes &&
57967 test x"$ac_XPG2funcs" = xyes;
57969 ac_XPG2_wchar_t=yes
57973 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57974 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57976 # At the moment, only enable wchar_t specializations if all the
57977 # above support is present.
57978 if test x"$ac_isoC99_wchar_t" = xyes &&
57979 test x"$ac_XPG2_wchar_t" = xyes;
57981 cat >>confdefs.h <<\_ACEOF
57982 #define _GLIBCXX_USE_WCHAR_T 1
57988 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57989 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57990 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57991 echo "${ECHO_T}$enable_wchar_t" >&6
57993 cat >>confdefs.h <<\_ACEOF
57994 #define HAVE_COSF 1
57997 cat >>confdefs.h <<\_ACEOF
57998 #define HAVE_COSL 1
58001 cat >>confdefs.h <<\_ACEOF
58002 #define HAVE_COSHF 1
58005 cat >>confdefs.h <<\_ACEOF
58006 #define HAVE_COSHL 1
58009 cat >>confdefs.h <<\_ACEOF
58010 #define HAVE_LOGF 1
58013 cat >>confdefs.h <<\_ACEOF
58014 #define HAVE_LOGL 1
58017 cat >>confdefs.h <<\_ACEOF
58018 #define HAVE_LOG10F 1
58021 cat >>confdefs.h <<\_ACEOF
58022 #define HAVE_LOG10L 1
58025 cat >>confdefs.h <<\_ACEOF
58026 #define HAVE_SINF 1
58029 cat >>confdefs.h <<\_ACEOF
58030 #define HAVE_SINL 1
58033 cat >>confdefs.h <<\_ACEOF
58034 #define HAVE_SINHF 1
58037 cat >>confdefs.h <<\_ACEOF
58038 #define HAVE_SINHL 1
58045 # os_include_dir="os/solaris/solaris2.5"
58048 # os_include_dir="os/solaris/solaris2.6"
58050 # *-solaris2.7 | *-solaris2.8 | *-solaris2.9)
58051 # os_include_dir="os/solaris/solaris2.7"
58054 cat >>confdefs.h <<\_ACEOF
58055 #define HAVE_STRTOF 1
58058 cat >>confdefs.h <<\_ACEOF
58059 #define HAVE_STRTOLD 1
58062 cat >>confdefs.h <<\_ACEOF
58063 #define HAVE_MMAP 1
58066 cat >>confdefs.h <<\_ACEOF
58067 #define HAVE_COPYSIGN 1
58070 cat >>confdefs.h <<\_ACEOF
58071 #define HAVE_ISNAN 1
58074 cat >>confdefs.h <<\_ACEOF
58075 #define HAVE_ISNANF 1
58078 cat >>confdefs.h <<\_ACEOF
58079 #define HAVE_MODFF 1
58082 cat >>confdefs.h <<\_ACEOF
58083 #define HAVE_HYPOT 1
58088 #os_include_dir="os/windiss"
58089 cat >>confdefs.h <<\_ACEOF
58090 #define HAVE_ACOSF 1
58093 cat >>confdefs.h <<\_ACEOF
58094 #define HAVE_ASINF 1
58097 cat >>confdefs.h <<\_ACEOF
58098 #define HAVE_ATAN2F 1
58101 cat >>confdefs.h <<\_ACEOF
58102 #define HAVE_ATANF 1
58105 cat >>confdefs.h <<\_ACEOF
58106 #define HAVE_CEILF 1
58109 cat >>confdefs.h <<\_ACEOF
58110 #define HAVE_COPYSIGN 1
58113 cat >>confdefs.h <<\_ACEOF
58114 #define HAVE_COPYSIGNF 1
58117 cat >>confdefs.h <<\_ACEOF
58118 #define HAVE_COSF 1
58121 cat >>confdefs.h <<\_ACEOF
58122 #define HAVE_COSHF 1
58125 cat >>confdefs.h <<\_ACEOF
58126 #define HAVE_EXPF 1
58129 cat >>confdefs.h <<\_ACEOF
58130 #define HAVE_FABSF 1
58133 cat >>confdefs.h <<\_ACEOF
58134 #define HAVE_FLOORF 1
58137 cat >>confdefs.h <<\_ACEOF
58138 #define HAVE_FMODF 1
58141 cat >>confdefs.h <<\_ACEOF
58142 #define HAVE_FREXPF 1
58145 cat >>confdefs.h <<\_ACEOF
58146 #define HAVE_LDEXPF 1
58149 cat >>confdefs.h <<\_ACEOF
58150 #define HAVE_LOG10F 1
58153 cat >>confdefs.h <<\_ACEOF
58154 #define HAVE_LOGF 1
58157 cat >>confdefs.h <<\_ACEOF
58158 #define HAVE_MODFF 1
58161 cat >>confdefs.h <<\_ACEOF
58162 #define HAVE_POWF 1
58165 cat >>confdefs.h <<\_ACEOF
58166 #define HAVE_SINF 1
58169 cat >>confdefs.h <<\_ACEOF
58170 #define HAVE_SINHF 1
58173 cat >>confdefs.h <<\_ACEOF
58174 #define HAVE_SQRTF 1
58177 cat >>confdefs.h <<\_ACEOF
58178 #define HAVE_TANF 1
58181 cat >>confdefs.h <<\_ACEOF
58182 #define HAVE_TANHF 1
58187 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
58188 echo "$as_me: error: No support for this host/target combination." >&2;}
58189 { (exit 1); exit 1; }; }
58196 # At some point, we should differentiate between architectures
58197 # like x86, which have long double versions, and alpha/powerpc/etc.,
58198 # which don't. For the time being, punt.
58199 if test x"long_double_math_on_this_cpu" = x"yes"; then
58200 cat >>confdefs.h <<\_ACEOF
58201 #define HAVE_ACOSL 1
58204 cat >>confdefs.h <<\_ACEOF
58205 #define HAVE_ASINL 1
58208 cat >>confdefs.h <<\_ACEOF
58209 #define HAVE_ATAN2L 1
58212 cat >>confdefs.h <<\_ACEOF
58213 #define HAVE_ATANL 1
58216 cat >>confdefs.h <<\_ACEOF
58217 #define HAVE_CEILL 1
58220 cat >>confdefs.h <<\_ACEOF
58221 #define HAVE_COPYSIGNL 1
58224 cat >>confdefs.h <<\_ACEOF
58225 #define HAVE_COSL 1
58228 cat >>confdefs.h <<\_ACEOF
58229 #define HAVE_COSHL 1
58232 cat >>confdefs.h <<\_ACEOF
58233 #define HAVE_EXPL 1
58236 cat >>confdefs.h <<\_ACEOF
58237 #define HAVE_FABSL 1
58240 cat >>confdefs.h <<\_ACEOF
58241 #define HAVE_FLOORL 1
58244 cat >>confdefs.h <<\_ACEOF
58245 #define HAVE_FMODL 1
58248 cat >>confdefs.h <<\_ACEOF
58249 #define HAVE_FREXPL 1
58252 cat >>confdefs.h <<\_ACEOF
58253 #define HAVE_LDEXPL 1
58256 cat >>confdefs.h <<\_ACEOF
58257 #define HAVE_LOG10L 1
58260 cat >>confdefs.h <<\_ACEOF
58261 #define HAVE_LOGL 1
58264 cat >>confdefs.h <<\_ACEOF
58265 #define HAVE_MODFL 1
58268 cat >>confdefs.h <<\_ACEOF
58269 #define HAVE_POWL 1
58272 cat >>confdefs.h <<\_ACEOF
58273 #define HAVE_SINCOSL 1
58276 cat >>confdefs.h <<\_ACEOF
58277 #define HAVE_SINL 1
58280 cat >>confdefs.h <<\_ACEOF
58281 #define HAVE_SINHL 1
58284 cat >>confdefs.h <<\_ACEOF
58285 #define HAVE_SQRTL 1
58288 cat >>confdefs.h <<\_ACEOF
58289 #define HAVE_TANL 1
58292 cat >>confdefs.h <<\_ACEOF
58293 #define HAVE_TANHL 1
58300 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58303 # Check whether --enable-symvers or --disable-symvers was given.
58304 if test "${enable_symvers+set}" = set; then
58305 enableval="$enable_symvers"
58307 case "$enableval" in
58309 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
58310 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
58311 { (exit 1); exit 1; }; } ;;
58319 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58320 # don't know enough about $LD to do tricks...
58322 # FIXME The following test is too strict, in theory.
58323 if test $enable_shared = no ||
58325 test x$glibcxx_gnu_ld_version = x; then
58329 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58330 if test $enable_symvers != no; then
58331 echo "$as_me:$LINENO: checking for shared libgcc" >&5
58332 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
58333 ac_save_CFLAGS="$CFLAGS"
58335 if test x$gcc_no_link = xyes; then
58336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58338 { (exit 1); exit 1; }; }
58340 cat >conftest.$ac_ext <<_ACEOF
58341 #line $LINENO "configure"
58344 cat confdefs.h >>conftest.$ac_ext
58345 cat >>conftest.$ac_ext <<_ACEOF
58346 /* end confdefs.h. */
58356 rm -f conftest.$ac_objext conftest$ac_exeext
58357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58358 (eval $ac_link) 2>&5
58360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58361 (exit $ac_status); } &&
58362 { ac_try='test -s conftest$ac_exeext'
58363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58364 (eval $ac_try) 2>&5
58366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58367 (exit $ac_status); }; }; then
58368 glibcxx_shared_libgcc=yes
58370 echo "$as_me: failed program was:" >&5
58371 sed 's/^/| /' conftest.$ac_ext >&5
58373 glibcxx_shared_libgcc=no
58375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58376 CFLAGS="$ac_save_CFLAGS"
58377 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
58378 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
58381 # For GNU ld, we need at least this version. The format is described in
58382 # GLIBCXX_CHECK_LINKER_FEATURES above.
58383 glibcxx_min_gnu_ld_version=21400
58384 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
58386 # Check to see if unspecified "yes" value can win, given results above.
58387 # Change "yes" into either "no" or a style name.
58388 if test $enable_symvers = yes; then
58389 if test $with_gnu_ld = yes &&
58390 test $glibcxx_shared_libgcc = yes;
58392 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
58395 # The right tools, the right setup, but too old. Fallbacks?
58396 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58397 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58398 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
58399 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58400 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
58401 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58402 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58403 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58404 if test $glibcxx_gnu_ld_version -ge 21200 ; then
58405 # Globbing fix is present, proper block support is not.
58406 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
58407 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58411 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
58412 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58417 # just fail for now
58418 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
58419 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
58420 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
58421 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
58422 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
58423 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
58424 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
58425 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58430 # Everything parsed; figure out what file to use.
58431 case $enable_symvers in
58433 SYMVER_MAP=config/linker-map.dummy
58436 SYMVER_MAP=config/linker-map.gnu
58437 cat >>confdefs.h <<\_ACEOF
58438 #define _GLIBCXX_SYMVER 1
58447 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
58448 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58451 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58453 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
58454 # Do checks for memory limit functions.
58456 setrlimit_have_headers=yes
58460 for ac_header in unistd.h sys/time.h sys/resource.h
58462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58464 echo "$as_me:$LINENO: checking for $ac_header" >&5
58465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58467 echo $ECHO_N "(cached) $ECHO_C" >&6
58469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58472 # Is the header compilable?
58473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58475 cat >conftest.$ac_ext <<_ACEOF
58476 #line $LINENO "configure"
58479 cat confdefs.h >>conftest.$ac_ext
58480 cat >>conftest.$ac_ext <<_ACEOF
58481 /* end confdefs.h. */
58482 $ac_includes_default
58483 #include <$ac_header>
58485 rm -f conftest.$ac_objext
58486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58487 (eval $ac_compile) 2>&5
58489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58490 (exit $ac_status); } &&
58491 { ac_try='test -s conftest.$ac_objext'
58492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58493 (eval $ac_try) 2>&5
58495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58496 (exit $ac_status); }; }; then
58497 ac_header_compiler=yes
58499 echo "$as_me: failed program was:" >&5
58500 sed 's/^/| /' conftest.$ac_ext >&5
58502 ac_header_compiler=no
58504 rm -f conftest.$ac_objext conftest.$ac_ext
58505 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58506 echo "${ECHO_T}$ac_header_compiler" >&6
58508 # Is the header present?
58509 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58511 cat >conftest.$ac_ext <<_ACEOF
58512 #line $LINENO "configure"
58515 cat confdefs.h >>conftest.$ac_ext
58516 cat >>conftest.$ac_ext <<_ACEOF
58517 /* end confdefs.h. */
58518 #include <$ac_header>
58520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58523 grep -v '^ *+' conftest.er1 >conftest.err
58525 cat conftest.err >&5
58526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58527 (exit $ac_status); } >/dev/null; then
58528 if test -s conftest.err; then
58529 ac_cpp_err=$ac_c_preproc_warn_flag
58536 if test -z "$ac_cpp_err"; then
58537 ac_header_preproc=yes
58539 echo "$as_me: failed program was:" >&5
58540 sed 's/^/| /' conftest.$ac_ext >&5
58542 ac_header_preproc=no
58544 rm -f conftest.err conftest.$ac_ext
58545 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58546 echo "${ECHO_T}$ac_header_preproc" >&6
58548 # So? What about this header?
58549 case $ac_header_compiler:$ac_header_preproc in
58551 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58552 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58557 ## ------------------------------------ ##
58558 ## Report this to bug-autoconf@gnu.org. ##
58559 ## ------------------------------------ ##
58562 sed "s/^/$as_me: WARNING: /" >&2
58565 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58566 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58567 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58568 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58570 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58573 ## ------------------------------------ ##
58574 ## Report this to bug-autoconf@gnu.org. ##
58575 ## ------------------------------------ ##
58578 sed "s/^/$as_me: WARNING: /" >&2
58581 echo "$as_me:$LINENO: checking for $ac_header" >&5
58582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58584 echo $ECHO_N "(cached) $ECHO_C" >&6
58586 eval "$as_ac_Header=$ac_header_preproc"
58588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58593 cat >>confdefs.h <<_ACEOF
58594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58598 setrlimit_have_headers=no
58603 # If don't have the headers, then we can't run the tests now, and we
58604 # won't be seeing any of these during testsuite compilation.
58605 if test $setrlimit_have_headers = yes; then
58606 # Can't do these in a loop, else the resulting syntax is wrong.
58608 cat >conftest.$ac_ext <<_ACEOF
58609 #line $LINENO "configure"
58612 cat confdefs.h >>conftest.$ac_ext
58613 cat >>conftest.$ac_ext <<_ACEOF
58614 /* end confdefs.h. */
58615 #include <unistd.h>
58616 #include <sys/time.h>
58617 #include <sys/resource.h>
58622 int f = RLIMIT_DATA ;
58627 rm -f conftest.$ac_objext
58628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58629 (eval $ac_compile) 2>&5
58631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58632 (exit $ac_status); } &&
58633 { ac_try='test -s conftest.$ac_objext'
58634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58635 (eval $ac_try) 2>&5
58637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58638 (exit $ac_status); }; }; then
58641 echo "$as_me: failed program was:" >&5
58642 sed 's/^/| /' conftest.$ac_ext >&5
58646 rm -f conftest.$ac_objext conftest.$ac_ext
58648 cat >>confdefs.h <<_ACEOF
58649 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
58654 cat >conftest.$ac_ext <<_ACEOF
58655 #line $LINENO "configure"
58658 cat confdefs.h >>conftest.$ac_ext
58659 cat >>conftest.$ac_ext <<_ACEOF
58660 /* end confdefs.h. */
58661 #include <unistd.h>
58662 #include <sys/time.h>
58663 #include <sys/resource.h>
58668 int f = RLIMIT_RSS ;
58673 rm -f conftest.$ac_objext
58674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58675 (eval $ac_compile) 2>&5
58677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58678 (exit $ac_status); } &&
58679 { ac_try='test -s conftest.$ac_objext'
58680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58681 (eval $ac_try) 2>&5
58683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58684 (exit $ac_status); }; }; then
58687 echo "$as_me: failed program was:" >&5
58688 sed 's/^/| /' conftest.$ac_ext >&5
58692 rm -f conftest.$ac_objext conftest.$ac_ext
58694 cat >>confdefs.h <<_ACEOF
58695 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
58700 cat >conftest.$ac_ext <<_ACEOF
58701 #line $LINENO "configure"
58704 cat confdefs.h >>conftest.$ac_ext
58705 cat >>conftest.$ac_ext <<_ACEOF
58706 /* end confdefs.h. */
58707 #include <unistd.h>
58708 #include <sys/time.h>
58709 #include <sys/resource.h>
58714 int f = RLIMIT_VMEM ;
58719 rm -f conftest.$ac_objext
58720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58721 (eval $ac_compile) 2>&5
58723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58724 (exit $ac_status); } &&
58725 { ac_try='test -s conftest.$ac_objext'
58726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58727 (eval $ac_try) 2>&5
58729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58730 (exit $ac_status); }; }; then
58733 echo "$as_me: failed program was:" >&5
58734 sed 's/^/| /' conftest.$ac_ext >&5
58738 rm -f conftest.$ac_objext conftest.$ac_ext
58740 cat >>confdefs.h <<_ACEOF
58741 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
58746 cat >conftest.$ac_ext <<_ACEOF
58747 #line $LINENO "configure"
58750 cat confdefs.h >>conftest.$ac_ext
58751 cat >>conftest.$ac_ext <<_ACEOF
58752 /* end confdefs.h. */
58753 #include <unistd.h>
58754 #include <sys/time.h>
58755 #include <sys/resource.h>
58760 int f = RLIMIT_AS ;
58765 rm -f conftest.$ac_objext
58766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58767 (eval $ac_compile) 2>&5
58769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58770 (exit $ac_status); } &&
58771 { ac_try='test -s conftest.$ac_objext'
58772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58773 (eval $ac_try) 2>&5
58775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58776 (exit $ac_status); }; }; then
58779 echo "$as_me: failed program was:" >&5
58780 sed 's/^/| /' conftest.$ac_ext >&5
58784 rm -f conftest.$ac_objext conftest.$ac_ext
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
58792 # Check for rlimit, setrlimit.
58793 if test "${ac_setrlimit+set}" = set; then
58794 echo $ECHO_N "(cached) $ECHO_C" >&6
58797 cat >conftest.$ac_ext <<_ACEOF
58798 #line $LINENO "configure"
58801 cat confdefs.h >>conftest.$ac_ext
58802 cat >>conftest.$ac_ext <<_ACEOF
58803 /* end confdefs.h. */
58804 #include <unistd.h>
58805 #include <sys/time.h>
58806 #include <sys/resource.h>
58817 rm -f conftest.$ac_objext
58818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58819 (eval $ac_compile) 2>&5
58821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58822 (exit $ac_status); } &&
58823 { ac_try='test -s conftest.$ac_objext'
58824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58825 (eval $ac_try) 2>&5
58827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58828 (exit $ac_status); }; }; then
58831 echo "$as_me: failed program was:" >&5
58832 sed 's/^/| /' conftest.$ac_ext >&5
58836 rm -f conftest.$ac_objext conftest.$ac_ext
58842 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
58843 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
58844 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
58846 cat >>confdefs.h <<\_ACEOF
58847 #define _GLIBCXX_MEM_LIMITS 1
58853 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
58854 echo "${ECHO_T}$ac_mem_limits" >&6
58857 # Look for setenv, so that extended locale tests can be performed.
58859 echo "$as_me:$LINENO: checking for setenv declaration" >&5
58860 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
58861 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58862 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
58863 echo $ECHO_N "(cached) $ECHO_C" >&6
58869 ac_cpp='$CXXCPP $CPPFLAGS'
58870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874 cat >conftest.$ac_ext <<_ACEOF
58875 #line $LINENO "configure"
58878 cat confdefs.h >>conftest.$ac_ext
58879 cat >>conftest.$ac_ext <<_ACEOF
58880 /* end confdefs.h. */
58881 #include <stdlib.h>
58890 rm -f conftest.$ac_objext
58891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58892 (eval $ac_compile) 2>&5
58894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58895 (exit $ac_status); } &&
58896 { ac_try='test -s conftest.$ac_objext'
58897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58898 (eval $ac_try) 2>&5
58900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58901 (exit $ac_status); }; }; then
58902 glibcxx_cv_func_setenv_use=yes
58904 echo "$as_me: failed program was:" >&5
58905 sed 's/^/| /' conftest.$ac_ext >&5
58907 glibcxx_cv_func_setenv_use=no
58909 rm -f conftest.$ac_objext conftest.$ac_ext
58911 ac_cpp='$CPP $CPPFLAGS'
58912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
58921 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
58922 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58924 for ac_func in setenv
58926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58927 echo "$as_me:$LINENO: checking for $ac_func" >&5
58928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58929 if eval "test \"\${$as_ac_var+set}\" = set"; then
58930 echo $ECHO_N "(cached) $ECHO_C" >&6
58932 if test x$gcc_no_link = xyes; then
58933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58935 { (exit 1); exit 1; }; }
58937 cat >conftest.$ac_ext <<_ACEOF
58938 #line $LINENO "configure"
58941 cat confdefs.h >>conftest.$ac_ext
58942 cat >>conftest.$ac_ext <<_ACEOF
58943 /* end confdefs.h. */
58944 /* System header to define __stub macros and hopefully few prototypes,
58945 which can conflict with char $ac_func (); below.
58946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58947 <limits.h> exists even on freestanding compilers. */
58949 # include <limits.h>
58951 # include <assert.h>
58953 /* Override any gcc2 internal prototype to avoid an error. */
58958 /* We use char because int might match the return type of a gcc2
58959 builtin and then its argument prototype would still apply. */
58961 /* The GNU C library defines this for functions which it implements
58962 to always fail with ENOSYS. Some functions are actually named
58963 something starting with __ and the normal name is an alias. */
58964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58967 char (*f) () = $ac_func;
58976 return f != $ac_func;
58981 rm -f conftest.$ac_objext conftest$ac_exeext
58982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58983 (eval $ac_link) 2>&5
58985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58986 (exit $ac_status); } &&
58987 { ac_try='test -s conftest$ac_exeext'
58988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58989 (eval $ac_try) 2>&5
58991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58992 (exit $ac_status); }; }; then
58993 eval "$as_ac_var=yes"
58995 echo "$as_me: failed program was:" >&5
58996 sed 's/^/| /' conftest.$ac_ext >&5
58998 eval "$as_ac_var=no"
59000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59004 if test `eval echo '${'$as_ac_var'}'` = yes; then
59005 cat >>confdefs.h <<_ACEOF
59006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59016 # Export file names for ABI checking.
59017 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
59020 # Determine if checking the ABI is desirable.
59021 if test $enable_symvers = no || test $is_hosted = no; then
59022 enable_abi_check=no
59026 enable_abi_check=no ;;
59028 enable_abi_check=yes ;;
59036 # Propagate the target-specific source directories through the build chain.
59037 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
59038 # uses it, and it only gets used in this file.)
59039 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
59040 OS_INC_SRCDIR=config/${os_include_dir}
59041 FPOS_INC_SRCDIR=config/${fpos_include_dir}
59046 # Determine cross-compile flags and AM_CONDITIONALs.
59047 #AC_SUBST(GLIBCXX_IS_NATIVE)
59048 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
59049 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
59050 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
59053 if test $is_hosted = yes; then
59054 GLIBCXX_HOSTED_TRUE=
59055 GLIBCXX_HOSTED_FALSE='#'
59057 GLIBCXX_HOSTED_TRUE='#'
59058 GLIBCXX_HOSTED_FALSE=
59064 if test $enable_libstdcxx_pch = yes; then
59065 GLIBCXX_BUILD_PCH_TRUE=
59066 GLIBCXX_BUILD_PCH_FALSE='#'
59068 GLIBCXX_BUILD_PCH_TRUE='#'
59069 GLIBCXX_BUILD_PCH_FALSE=
59075 if test $enable_cheaders = c; then
59076 GLIBCXX_C_HEADERS_C_TRUE=
59077 GLIBCXX_C_HEADERS_C_FALSE='#'
59079 GLIBCXX_C_HEADERS_C_TRUE='#'
59080 GLIBCXX_C_HEADERS_C_FALSE=
59086 if test $enable_cheaders = c_std; then
59087 GLIBCXX_C_HEADERS_C_STD_TRUE=
59088 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
59090 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
59091 GLIBCXX_C_HEADERS_C_STD_FALSE=
59097 if test $c_compatibility = yes; then
59098 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
59099 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
59101 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
59102 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
59108 if test $enable_libstdcxx_debug = yes; then
59109 GLIBCXX_BUILD_DEBUG_TRUE=
59110 GLIBCXX_BUILD_DEBUG_FALSE='#'
59112 GLIBCXX_BUILD_DEBUG_TRUE='#'
59113 GLIBCXX_BUILD_DEBUG_FALSE=
59119 if test $enable_symvers != no; then
59120 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
59121 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
59123 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
59124 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
59130 if test $enable_wchar_t = yes; then
59131 GLIBCXX_TEST_WCHAR_T_TRUE=
59132 GLIBCXX_TEST_WCHAR_T_FALSE='#'
59134 GLIBCXX_TEST_WCHAR_T_TRUE='#'
59135 GLIBCXX_TEST_WCHAR_T_FALSE=
59141 if test $enable_abi_check = yes; then
59142 GLIBCXX_TEST_ABI_TRUE=
59143 GLIBCXX_TEST_ABI_FALSE='#'
59145 GLIBCXX_TEST_ABI_TRUE='#'
59146 GLIBCXX_TEST_ABI_FALSE=
59152 cat >confcache <<\_ACEOF
59153 # This file is a shell script that caches the results of configure
59154 # tests run on this system so they can be shared between configure
59155 # scripts and configure runs, see configure's option --config-cache.
59156 # It is not useful on other systems. If it contains results you don't
59157 # want to keep, you may remove or edit it.
59159 # config.status only pays attention to the cache file if you give it
59160 # the --recheck option to rerun configure.
59162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59164 # following values.
59168 # The following way of writing the cache mishandles newlines in values,
59169 # but we know of no workaround that is simple, portable, and efficient.
59170 # So, don't put newlines in cache variables' values.
59171 # Ultrix sh set writes to stderr and can't be redirected directly,
59172 # and sets the high bit in the cache file unless we assign to the vars.
59175 case `(ac_space=' '; set | grep ac_space) 2>&1` in
59177 # `set' does not quote correctly, so add quotes (double-quote
59178 # substitution turns \\\\ into \\, and sed turns \\ into \).
59181 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59184 # `set' quotes correctly as required by POSIX, so do not add quotes.
59186 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
59193 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59195 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59197 if diff $cache_file confcache >/dev/null 2>&1; then :; else
59198 if test -w $cache_file; then
59199 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
59200 cat confcache >$cache_file
59202 echo "not updating unwritable cache $cache_file"
59207 if test ${multilib} = yes; then
59208 multilib_arg="--enable-multilib"
59213 # Export all the install information.
59215 glibcxx_toolexecdir=no
59216 glibcxx_toolexeclibdir=no
59217 glibcxx_prefixdir=$prefix
59219 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
59220 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
59222 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
59223 if test "${with_gxx_include_dir+set}" = set; then
59224 withval="$with_gxx_include_dir"
59226 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
59227 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
59228 { (exit 1); exit 1; }; } ;;
59229 no) gxx_include_dir=no ;;
59230 *) gxx_include_dir=$withval ;;
59235 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
59236 echo "${ECHO_T}$gxx_include_dir" >&6
59238 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
59239 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
59240 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
59241 if test "${enable_version_specific_runtime_libs+set}" = set; then
59242 enableval="$enable_version_specific_runtime_libs"
59243 case "$enableval" in
59244 yes) version_specific_libs=yes ;;
59245 no) version_specific_libs=no ;;
59246 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
59247 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
59248 { (exit 1); exit 1; }; };;
59251 version_specific_libs=no
59253 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
59254 echo "${ECHO_T}$version_specific_libs" >&6
59256 # Default case for install directory for include files.
59257 if test $version_specific_libs = no && test $gxx_include_dir = no; then
59258 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
59261 # Version-specific runtime libs processing.
59262 if test $version_specific_libs = yes; then
59263 # Need the gcc compiler version to know where to install libraries
59264 # and header files if --enable-version-specific-runtime-libs option
59266 if test x"$gxx_include_dir" = x"no"; then
59267 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
59269 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
59270 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
59273 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59274 # Install a library built with a cross compiler in tooldir, not libdir.
59275 if test x"$glibcxx_toolexecdir" = x"no"; then
59276 if test -n "$with_cross_host" &&
59277 test x"$with_cross_host" != x"no"; then
59278 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59279 glibcxx_toolexeclibdir='${toolexecdir}/lib'
59281 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
59282 glibcxx_toolexeclibdir='${libdir}'
59284 multi_os_directory=`$CXX -print-multi-os-directory`
59285 case $multi_os_directory in
59286 .) ;; # Avoid trailing /.
59287 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59291 echo "$as_me:$LINENO: checking for install location" >&5
59292 echo $ECHO_N "checking for install location... $ECHO_C" >&6
59293 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
59294 echo "${ECHO_T}$gxx_include_dir" >&6
59302 # Export all the include and flag information to Makefiles.
59304 # Used for every C++ compile we perform.
59305 GLIBCXX_INCLUDES="\
59306 -I$glibcxx_builddir/include/$host_alias \
59307 -I$glibcxx_builddir/include \
59308 -I$glibcxx_srcdir/libsupc++"
59310 # For Canadian crosses, pick this up too.
59311 if test $CANADIAN = yes; then
59312 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59315 # Stuff in the actual top level. Currently only used by libsupc++ to
59316 # get unwind* headers from the gcc dir.
59317 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59318 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59320 # Now, export this to all the little Makefiles....
59325 # Optimization flags that are probably a good idea for thrill-seekers. Just
59326 # uncomment the lines below and make, everything else is ready to go...
59327 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59331 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings'
59335 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
59336 grep "enable shared" > /dev/null;
59338 LIBSUPCXX_PICFLAGS=-prefer-pic
59340 LIBSUPCXX_PICFLAGS=
59344 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
59346 ac_config_files="$ac_config_files scripts/check_survey"
59348 ac_config_files="$ac_config_files scripts/testsuite_flags"
59351 ac_config_commands="$ac_config_commands default"
59354 cat >confcache <<\_ACEOF
59355 # This file is a shell script that caches the results of configure
59356 # tests run on this system so they can be shared between configure
59357 # scripts and configure runs, see configure's option --config-cache.
59358 # It is not useful on other systems. If it contains results you don't
59359 # want to keep, you may remove or edit it.
59361 # config.status only pays attention to the cache file if you give it
59362 # the --recheck option to rerun configure.
59364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59366 # following values.
59370 # The following way of writing the cache mishandles newlines in values,
59371 # but we know of no workaround that is simple, portable, and efficient.
59372 # So, don't put newlines in cache variables' values.
59373 # Ultrix sh set writes to stderr and can't be redirected directly,
59374 # and sets the high bit in the cache file unless we assign to the vars.
59377 case `(ac_space=' '; set | grep ac_space) 2>&1` in
59379 # `set' does not quote correctly, so add quotes (double-quote
59380 # substitution turns \\\\ into \\, and sed turns \\ into \).
59383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59386 # `set' quotes correctly as required by POSIX, so do not add quotes.
59388 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
59395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59397 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59399 if diff $cache_file confcache >/dev/null 2>&1; then :; else
59400 if test -w $cache_file; then
59401 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
59402 cat confcache >$cache_file
59404 echo "not updating unwritable cache $cache_file"
59409 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59410 # Let make expand exec_prefix.
59411 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59413 # VPATH may cause trouble with some makes, so we remove $(srcdir),
59414 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
59415 # trailing colons and then remove the whole line if VPATH becomes empty
59416 # (actually we leave an empty line to preserve line numbers).
59417 if test "x$srcdir" = x.; then
59418 ac_vpsub='/^[ ]*VPATH[ ]*=/{
59419 s/:*\$(srcdir):*/:/;
59420 s/:*\${srcdir}:*/:/;
59422 s/^\([^=]*=[ ]*\):*/\1/;
59428 DEFS=-DHAVE_CONFIG_H
59432 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59433 # 1. Remove the extension, and $U if already installed.
59434 ac_i=`echo "$ac_i" |
59435 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
59437 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
59438 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
59440 LIBOBJS=$ac_libobjs
59442 LTLIBOBJS=$ac_ltlibobjs
59445 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59446 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
59447 Usually this means the macro was only invoked conditionally." >&5
59448 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
59449 Usually this means the macro was only invoked conditionally." >&2;}
59450 { (exit 1); exit 1; }; }
59452 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59453 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
59454 Usually this means the macro was only invoked conditionally." >&5
59455 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
59456 Usually this means the macro was only invoked conditionally." >&2;}
59457 { (exit 1); exit 1; }; }
59459 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59460 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59461 Usually this means the macro was only invoked conditionally." >&5
59462 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59463 Usually this means the macro was only invoked conditionally." >&2;}
59464 { (exit 1); exit 1; }; }
59466 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59467 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59468 Usually this means the macro was only invoked conditionally." >&5
59469 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59470 Usually this means the macro was only invoked conditionally." >&2;}
59471 { (exit 1); exit 1; }; }
59473 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59474 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59475 Usually this means the macro was only invoked conditionally." >&5
59476 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59477 Usually this means the macro was only invoked conditionally." >&2;}
59478 { (exit 1); exit 1; }; }
59480 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59481 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59482 Usually this means the macro was only invoked conditionally." >&5
59483 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59484 Usually this means the macro was only invoked conditionally." >&2;}
59485 { (exit 1); exit 1; }; }
59487 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59488 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59489 Usually this means the macro was only invoked conditionally." >&5
59490 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59491 Usually this means the macro was only invoked conditionally." >&2;}
59492 { (exit 1); exit 1; }; }
59494 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
59495 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
59496 Usually this means the macro was only invoked conditionally." >&5
59497 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
59498 Usually this means the macro was only invoked conditionally." >&2;}
59499 { (exit 1); exit 1; }; }
59501 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
59502 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
59503 Usually this means the macro was only invoked conditionally." >&5
59504 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
59505 Usually this means the macro was only invoked conditionally." >&2;}
59506 { (exit 1); exit 1; }; }
59508 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
59509 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
59510 Usually this means the macro was only invoked conditionally." >&5
59511 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
59512 Usually this means the macro was only invoked conditionally." >&2;}
59513 { (exit 1); exit 1; }; }
59516 : ${CONFIG_STATUS=./config.status}
59517 ac_clean_files_save=$ac_clean_files
59518 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59519 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
59520 echo "$as_me: creating $CONFIG_STATUS" >&6;}
59521 cat >$CONFIG_STATUS <<_ACEOF
59523 # Generated by $as_me.
59524 # Run this file to recreate the current configuration.
59525 # Compiler output produced by configure, useful for debugging
59526 # configure, is in config.log if it exists.
59529 ac_cs_recheck=false
59531 SHELL=\${CONFIG_SHELL-$SHELL}
59534 cat >>$CONFIG_STATUS <<\_ACEOF
59535 ## --------------------- ##
59536 ## M4sh Initialization. ##
59537 ## --------------------- ##
59539 # Be Bourne compatible
59540 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
59543 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
59544 # is contrary to our usage. Disable this feature.
59545 alias -g '${1+"$@"}'='"$@"'
59546 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
59550 # Support unset when possible.
59551 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
59558 # Work around bugs in pre-3.0 UWIN ksh.
59559 $as_unset ENV MAIL MAILPATH
59566 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
59567 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
59568 LC_TELEPHONE LC_TIME
59570 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
59571 eval $as_var=C; export $as_var
59577 # Required to use basename.
59578 if expr a : '\(a\)' >/dev/null 2>&1; then
59584 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59585 as_basename=basename
59591 # Name of the executable.
59592 as_me=`$as_basename "$0" ||
59593 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59594 X"$0" : 'X\(//\)$' \| \
59595 X"$0" : 'X\(/\)$' \| \
59596 . : '\(.\)' 2>/dev/null ||
59598 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
59599 /^X\/\(\/\/\)$/{ s//\1/; q; }
59600 /^X\/\(\/\).*/{ s//\1/; q; }
59604 # PATH needs CR, and LINENO needs CR and PATH.
59605 # Avoid depending upon Character Ranges.
59606 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59607 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59608 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59609 as_cr_digits='0123456789'
59610 as_cr_alnum=$as_cr_Letters$as_cr_digits
59612 # The user is always right.
59613 if test "${PATH_SEPARATOR+set}" != set; then
59614 echo "#! /bin/sh" >conf$$.sh
59615 echo "exit 0" >>conf$$.sh
59617 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
59626 as_lineno_1=$LINENO
59627 as_lineno_2=$LINENO
59628 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
59629 test "x$as_lineno_1" != "x$as_lineno_2" &&
59630 test "x$as_lineno_3" = "x$as_lineno_2" || {
59631 # Find who we are. Look in the path if we contain no path at all
59634 *[\\/]* ) as_myself=$0 ;;
59635 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59636 for as_dir in $PATH
59639 test -z "$as_dir" && as_dir=.
59640 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59645 # We did not find ourselves, most probably we were run as `sh COMMAND'
59646 # in which case we are not to be found in the path.
59647 if test "x$as_myself" = x; then
59650 if test ! -f "$as_myself"; then
59651 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
59652 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
59653 { (exit 1); exit 1; }; }
59655 case $CONFIG_SHELL in
59657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59658 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
59661 test -z "$as_dir" && as_dir=.
59662 for as_base in sh bash ksh sh5; do
59665 if ("$as_dir/$as_base" -c '
59666 as_lineno_1=$LINENO
59667 as_lineno_2=$LINENO
59668 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
59669 test "x$as_lineno_1" != "x$as_lineno_2" &&
59670 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
59671 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
59672 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
59673 CONFIG_SHELL=$as_dir/$as_base
59674 export CONFIG_SHELL
59675 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
59683 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
59684 # uniformly replaced by the line number. The first 'sed' inserts a
59685 # line-number line before each line; the second 'sed' does the real
59686 # work. The second script uses 'N' to pair each line-number line
59687 # with the numbered line, and appends trailing '-' during
59688 # substitution so that $LINENO is not a special case at line end.
59689 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
59690 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
59691 sed '=' <$as_myself |
59696 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
59699 s,^['$as_cr_digits']*\n,,
59700 ' >$as_me.lineno &&
59701 chmod +x $as_me.lineno ||
59702 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
59703 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
59704 { (exit 1); exit 1; }; }
59706 # Don't try to exec as it changes $[0], causing all sort of problems
59707 # (the dirname of $[0] is not the place where we might find the
59708 # original and so on. Autoconf is especially sensible to this).
59710 # Exit status is that of the last command.
59715 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
59716 *c*,-n*) ECHO_N= ECHO_C='
59718 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
59719 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
59722 if expr a : '\(a\)' >/dev/null 2>&1; then
59728 rm -f conf$$ conf$$.exe conf$$.file
59730 if ln -s conf$$.file conf$$ 2>/dev/null; then
59731 # We could just check for DJGPP; but this test a) works b) is more generic
59732 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
59733 if test -f conf$$.exe; then
59734 # Don't use ln at all; we don't have any links
59739 elif ln conf$$.file conf$$ 2>/dev/null; then
59744 rm -f conf$$ conf$$.exe conf$$.file
59746 if mkdir -p . 2>/dev/null; then
59752 as_executable_p="test -f"
59754 # Sed expression to map a string onto a valid CPP name.
59755 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
59757 # Sed expression to map a string onto a valid variable name.
59758 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
59762 # We need space, tab and new line, in precisely that order.
59772 # Open the log real soon, to keep \$[0] and so on meaningful, and to
59773 # report actual input values of CONFIG_FILES etc. instead of their
59774 # values after options handling. Logging --version etc. is OK.
59778 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59779 ## Running $as_me. ##
59784 This file was extended by package-unused $as_me version-unused, which was
59785 generated by GNU Autoconf 2.57. Invocation command line was
59787 CONFIG_FILES = $CONFIG_FILES
59788 CONFIG_HEADERS = $CONFIG_HEADERS
59789 CONFIG_LINKS = $CONFIG_LINKS
59790 CONFIG_COMMANDS = $CONFIG_COMMANDS
59794 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
59798 # Files that config.status was made for.
59799 if test -n "$ac_config_files"; then
59800 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
59803 if test -n "$ac_config_headers"; then
59804 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
59807 if test -n "$ac_config_links"; then
59808 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
59811 if test -n "$ac_config_commands"; then
59812 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
59815 cat >>$CONFIG_STATUS <<\_ACEOF
59818 \`$as_me' instantiates files from templates according to the
59819 current configuration.
59821 Usage: $0 [OPTIONS] [FILE]...
59823 -h, --help print this help, then exit
59824 -V, --version print version number, then exit
59825 -q, --quiet do not print progress messages
59826 -d, --debug don't remove temporary files
59827 --recheck update $as_me by reconfiguring in the same conditions
59828 --file=FILE[:TEMPLATE]
59829 instantiate the configuration file FILE
59830 --header=FILE[:TEMPLATE]
59831 instantiate the configuration header FILE
59833 Configuration files:
59836 Configuration headers:
59839 Configuration commands:
59842 Report bugs to <bug-autoconf@gnu.org>."
59845 cat >>$CONFIG_STATUS <<_ACEOF
59847 package-unused config.status version-unused
59848 configured by $0, generated by GNU Autoconf 2.57,
59849 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
59851 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
59852 Free Software Foundation, Inc.
59853 This config.status script is free software; the Free Software Foundation
59854 gives unlimited permission to copy, distribute and modify it."
59859 cat >>$CONFIG_STATUS <<\_ACEOF
59860 # If no file are specified by the user, then we need to provide default
59861 # value. By we need to know if files were specified by the user.
59867 ac_option=`expr "x$1" : 'x\([^=]*\)='`
59868 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
59876 *) # This is not an option, so the user has probably given explicit
59879 ac_need_defaults=false;;
59883 # Handling of the options.
59885 cat >>$CONFIG_STATUS <<\_ACEOF
59886 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59888 --version | --vers* | -V )
59889 echo "$ac_cs_version"; exit 0 ;;
59891 # Conflict between --help and --header
59892 { { echo "$as_me:$LINENO: error: ambiguous option: $1
59893 Try \`$0 --help' for more information." >&5
59894 echo "$as_me: error: ambiguous option: $1
59895 Try \`$0 --help' for more information." >&2;}
59896 { (exit 1); exit 1; }; };;
59897 --help | --hel | -h )
59898 echo "$ac_cs_usage"; exit 0 ;;
59899 --debug | --d* | -d )
59901 --file | --fil | --fi | --f )
59903 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
59904 ac_need_defaults=false;;
59905 --header | --heade | --head | --hea )
59907 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
59908 ac_need_defaults=false;;
59909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59913 # This is an error.
59914 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
59915 Try \`$0 --help' for more information." >&5
59916 echo "$as_me: error: unrecognized option: $1
59917 Try \`$0 --help' for more information." >&2;}
59918 { (exit 1); exit 1; }; } ;;
59920 *) ac_config_targets="$ac_config_targets $1" ;;
59926 ac_configure_extra_args=
59928 if $ac_cs_silent; then
59930 ac_configure_extra_args="$ac_configure_extra_args --silent"
59934 cat >>$CONFIG_STATUS <<_ACEOF
59935 if \$ac_cs_recheck; then
59936 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
59937 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59942 cat >>$CONFIG_STATUS <<_ACEOF
59944 # INIT-COMMANDS section.
59951 with_multisubdir="$with_multisubdir"
59952 with_multisrctop="$with_multisrctop"
59953 with_target_subdir="$with_target_subdir"
59954 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59955 multi_basedir="$multi_basedir"
59956 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59959 # Variables needed in config.status (file generation) which aren't already
59960 # passed by autoconf.
59968 cat >>$CONFIG_STATUS <<\_ACEOF
59969 for ac_config_target in $ac_config_targets
59971 case "$ac_config_target" in
59972 # Handling of arguments.
59973 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
59974 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
59975 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
59976 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
59977 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
59978 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
59979 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
59980 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
59981 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
59982 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
59983 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
59984 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
59985 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
59986 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
59987 { (exit 1); exit 1; }; };;
59991 # If the user did not use the arguments to specify the items to instantiate,
59992 # then the envvar interface is used. Set only those that are not.
59993 # We use the long form for the default assignment because of an extremely
59994 # bizarre bug on SunOS 4.1.3.
59995 if $ac_need_defaults; then
59996 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
59997 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
59998 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60001 # Have a temporary directory for convenience. Make it in the build tree
60002 # simply because there is no reason to put it here, and in addition,
60003 # creating and moving files from /tmp can sometimes cause problems.
60004 # Create a temporary directory, and hook for its removal unless debugging.
60007 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
60008 trap '{ (exit 1); exit 1; }' 1 2 13 15
60011 # Create a (secure) tmp directory for tmp files.
60014 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
60015 test -n "$tmp" && test -d "$tmp"
60018 tmp=./confstat$$-$RANDOM
60019 (umask 077 && mkdir $tmp)
60022 echo "$me: cannot create a temporary directory in ." >&2
60023 { (exit 1); exit 1; }
60028 cat >>$CONFIG_STATUS <<_ACEOF
60031 # CONFIG_FILES section.
60034 # No need to generate the scripts if there are no CONFIG_FILES.
60035 # This happens for instance when ./config.status config.h
60036 if test -n "\$CONFIG_FILES"; then
60037 # Protect against being on the right side of a sed subst in config.status.
60038 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
60039 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
60040 s,@SHELL@,$SHELL,;t t
60041 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
60042 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
60043 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
60044 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
60045 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
60046 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
60047 s,@exec_prefix@,$exec_prefix,;t t
60048 s,@prefix@,$prefix,;t t
60049 s,@program_transform_name@,$program_transform_name,;t t
60050 s,@bindir@,$bindir,;t t
60051 s,@sbindir@,$sbindir,;t t
60052 s,@libexecdir@,$libexecdir,;t t
60053 s,@datadir@,$datadir,;t t
60054 s,@sysconfdir@,$sysconfdir,;t t
60055 s,@sharedstatedir@,$sharedstatedir,;t t
60056 s,@localstatedir@,$localstatedir,;t t
60057 s,@libdir@,$libdir,;t t
60058 s,@includedir@,$includedir,;t t
60059 s,@oldincludedir@,$oldincludedir,;t t
60060 s,@infodir@,$infodir,;t t
60061 s,@mandir@,$mandir,;t t
60062 s,@build_alias@,$build_alias,;t t
60063 s,@host_alias@,$host_alias,;t t
60064 s,@target_alias@,$target_alias,;t t
60065 s,@DEFS@,$DEFS,;t t
60066 s,@ECHO_C@,$ECHO_C,;t t
60067 s,@ECHO_N@,$ECHO_N,;t t
60068 s,@ECHO_T@,$ECHO_T,;t t
60069 s,@LIBS@,$LIBS,;t t
60070 s,@libtool_VERSION@,$libtool_VERSION,;t t
60071 s,@multi_basedir@,$multi_basedir,;t t
60072 s,@build@,$build,;t t
60073 s,@build_cpu@,$build_cpu,;t t
60074 s,@build_vendor@,$build_vendor,;t t
60075 s,@build_os@,$build_os,;t t
60076 s,@host@,$host,;t t
60077 s,@host_cpu@,$host_cpu,;t t
60078 s,@host_vendor@,$host_vendor,;t t
60079 s,@host_os@,$host_os,;t t
60080 s,@target@,$target,;t t
60081 s,@target_cpu@,$target_cpu,;t t
60082 s,@target_vendor@,$target_vendor,;t t
60083 s,@target_os@,$target_os,;t t
60084 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
60085 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
60086 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
60087 s,@CYGPATH_W@,$CYGPATH_W,;t t
60088 s,@PACKAGE@,$PACKAGE,;t t
60089 s,@VERSION@,$VERSION,;t t
60090 s,@ACLOCAL@,$ACLOCAL,;t t
60091 s,@AUTOCONF@,$AUTOCONF,;t t
60092 s,@AUTOMAKE@,$AUTOMAKE,;t t
60093 s,@AUTOHEADER@,$AUTOHEADER,;t t
60094 s,@MAKEINFO@,$MAKEINFO,;t t
60095 s,@AMTAR@,$AMTAR,;t t
60096 s,@install_sh@,$install_sh,;t t
60097 s,@STRIP@,$STRIP,;t t
60098 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
60099 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
60101 s,@SET_MAKE@,$SET_MAKE,;t t
60102 s,@am__leading_dot@,$am__leading_dot,;t t
60103 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
60104 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
60105 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
60107 s,@ac_ct_CC@,$ac_ct_CC,;t t
60108 s,@EXEEXT@,$EXEEXT,;t t
60109 s,@OBJEXT@,$OBJEXT,;t t
60111 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
60112 s,@CFLAGS@,$CFLAGS,;t t
60113 s,@CXXFLAGS@,$CXXFLAGS,;t t
60114 s,@LN_S@,$LN_S,;t t
60116 s,@ac_ct_AS@,$ac_ct_AS,;t t
60118 s,@ac_ct_AR@,$ac_ct_AR,;t t
60119 s,@RANLIB@,$RANLIB,;t t
60120 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
60121 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
60122 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
60123 s,@MAINT@,$MAINT,;t t
60124 s,@LIBTOOL@,$LIBTOOL,;t t
60125 s,@CXXCPP@,$CXXCPP,;t t
60126 s,@CPPFLAGS@,$CPPFLAGS,;t t
60127 s,@enable_shared@,$enable_shared,;t t
60128 s,@enable_static@,$enable_static,;t t
60129 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
60130 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
60131 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
60132 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
60133 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
60134 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
60135 s,@CSTDIO_H@,$CSTDIO_H,;t t
60136 s,@FPOS_H@,$FPOS_H,;t t
60137 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
60138 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
60140 s,@EGREP@,$EGREP,;t t
60141 s,@check_msgfmt@,$check_msgfmt,;t t
60142 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
60143 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
60144 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
60145 s,@USE_NLS@,$USE_NLS,;t t
60146 s,@CLOCALE_H@,$CLOCALE_H,;t t
60147 s,@CCODECVT_H@,$CCODECVT_H,;t t
60148 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
60149 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
60150 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
60151 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
60152 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
60153 s,@CMONEY_CC@,$CMONEY_CC,;t t
60154 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
60155 s,@CTIME_H@,$CTIME_H,;t t
60156 s,@CTIME_CC@,$CTIME_CC,;t t
60157 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
60158 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
60159 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
60160 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
60161 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
60162 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
60163 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
60164 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
60165 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
60166 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
60167 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
60168 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
60169 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
60170 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
60171 s,@WERROR@,$WERROR,;t t
60172 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
60173 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
60174 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
60175 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
60176 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
60177 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
60178 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
60179 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
60180 s,@baseline_dir@,$baseline_dir,;t t
60181 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
60182 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
60183 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
60184 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
60185 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
60186 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
60187 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
60188 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
60189 s,@gxx_include_dir@,$gxx_include_dir,;t t
60190 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
60191 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
60192 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
60193 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
60194 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
60195 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
60196 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
60197 s,@LIBOBJS@,$LIBOBJS,;t t
60198 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
60203 cat >>$CONFIG_STATUS <<\_ACEOF
60204 # Split the substitutions into bite-sized pieces for seds with
60205 # small command number limits, like on Digital OSF/1 and HP-UX.
60206 ac_max_sed_lines=48
60207 ac_sed_frag=1 # Number of current file.
60208 ac_beg=1 # First line for current file.
60209 ac_end=$ac_max_sed_lines # Line after last line for current file.
60212 while $ac_more_lines; do
60213 if test $ac_beg -gt 1; then
60214 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
60216 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
60218 if test ! -s $tmp/subs.frag; then
60219 ac_more_lines=false
60221 # The purpose of the label and of the branching condition is to
60222 # speed up the sed processing (if there are no `@' at all, there
60223 # is no need to browse any of the substitutions).
60224 # These are the two extra sed commands mentioned above.
60226 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
60227 if test -z "$ac_sed_cmds"; then
60228 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
60230 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
60232 ac_sed_frag=`expr $ac_sed_frag + 1`
60234 ac_end=`expr $ac_end + $ac_max_sed_lines`
60237 if test -z "$ac_sed_cmds"; then
60240 fi # test -n "$CONFIG_FILES"
60243 cat >>$CONFIG_STATUS <<\_ACEOF
60244 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
60245 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
60247 - | *:- | *:-:* ) # input from stdin
60249 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
60250 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
60251 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
60252 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
60253 * ) ac_file_in=$ac_file.in ;;
60256 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
60257 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
60258 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60259 X"$ac_file" : 'X\(//\)[^/]' \| \
60260 X"$ac_file" : 'X\(//\)$' \| \
60261 X"$ac_file" : 'X\(/\)' \| \
60262 . : '\(.\)' 2>/dev/null ||
60264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
60265 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
60266 /^X\(\/\/\)$/{ s//\1/; q; }
60267 /^X\(\/\).*/{ s//\1/; q; }
60269 { if $as_mkdir_p; then
60274 while test ! -d "$as_dir"; do
60275 as_dirs="$as_dir $as_dirs"
60276 as_dir=`(dirname "$as_dir") 2>/dev/null ||
60277 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60278 X"$as_dir" : 'X\(//\)[^/]' \| \
60279 X"$as_dir" : 'X\(//\)$' \| \
60280 X"$as_dir" : 'X\(/\)' \| \
60281 . : '\(.\)' 2>/dev/null ||
60283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
60284 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
60285 /^X\(\/\/\)$/{ s//\1/; q; }
60286 /^X\(\/\).*/{ s//\1/; q; }
60289 test ! -n "$as_dirs" || mkdir $as_dirs
60290 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
60291 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
60292 { (exit 1); exit 1; }; }; }
60296 if test "$ac_dir" != .; then
60297 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
60298 # A "../" for each directory in $ac_dir_suffix.
60299 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
60301 ac_dir_suffix= ac_top_builddir=
60305 .) # No --srcdir option. We are building in place.
60307 if test -z "$ac_top_builddir"; then
60310 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
60312 [\\/]* | ?:[\\/]* ) # Absolute path.
60313 ac_srcdir=$srcdir$ac_dir_suffix;
60314 ac_top_srcdir=$srcdir ;;
60315 *) # Relative path.
60316 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
60317 ac_top_srcdir=$ac_top_builddir$srcdir ;;
60319 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
60321 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
60322 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
60323 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
60324 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
60328 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60329 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
60332 if test x"$ac_file" != x-; then
60333 { echo "$as_me:$LINENO: creating $ac_file" >&5
60334 echo "$as_me: creating $ac_file" >&6;}
60337 # Let's still pretend it is `configure' which instantiates (i.e., don't
60338 # use $as_me), people would be surprised to read:
60339 # /* config.h. Generated by config.status. */
60340 if test x"$ac_file" = x-; then
60343 configure_input="$ac_file. "
60345 configure_input=$configure_input"Generated from `echo $ac_file_in |
60346 sed 's,.*/,,'` by configure."
60348 # First look for the input files in the build tree, otherwise in the
60350 ac_file_inputs=`IFS=:
60351 for f in $ac_file_in; do
60353 -) echo $tmp/stdin ;;
60355 # Absolute (can't be DOS-style, as IFS=:)
60356 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
60357 echo "$as_me: error: cannot find input file: $f" >&2;}
60358 { (exit 1); exit 1; }; }
60361 if test -f "$f"; then
60364 elif test -f "$srcdir/$f"; then
60369 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
60370 echo "$as_me: error: cannot find input file: $f" >&2;}
60371 { (exit 1); exit 1; }; }
60374 done` || { (exit 1); exit 1; }
60376 cat >>$CONFIG_STATUS <<_ACEOF
60380 cat >>$CONFIG_STATUS <<\_ACEOF
60382 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60383 s,@configure_input@,$configure_input,;t t
60384 s,@srcdir@,$ac_srcdir,;t t
60385 s,@abs_srcdir@,$ac_abs_srcdir,;t t
60386 s,@top_srcdir@,$ac_top_srcdir,;t t
60387 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
60388 s,@builddir@,$ac_builddir,;t t
60389 s,@abs_builddir@,$ac_abs_builddir,;t t
60390 s,@top_builddir@,$ac_top_builddir,;t t
60391 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
60392 s,@INSTALL@,$ac_INSTALL,;t t
60393 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
60395 if test x"$ac_file" != x-; then
60396 mv $tmp/out $ac_file
60402 # Run the commands associated with the file.
60404 scripts/check_survey ) chmod +x scripts/check_survey ;;
60405 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
60409 cat >>$CONFIG_STATUS <<\_ACEOF
60412 # CONFIG_HEADER section.
60415 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
60416 # NAME is the cpp macro being defined and VALUE is the value it is being given.
60418 # ac_d sets the value in "#define NAME VALUE" lines.
60419 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
60420 ac_dB='[ ].*$,\1#\2'
60423 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
60424 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
60425 ac_uB='$,\1#\2define\3'
60429 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
60430 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
60432 - | *:- | *:-:* ) # input from stdin
60434 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
60435 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
60436 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
60437 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
60438 * ) ac_file_in=$ac_file.in ;;
60441 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
60442 echo "$as_me: creating $ac_file" >&6;}
60444 # First look for the input files in the build tree, otherwise in the
60446 ac_file_inputs=`IFS=:
60447 for f in $ac_file_in; do
60449 -) echo $tmp/stdin ;;
60451 # Absolute (can't be DOS-style, as IFS=:)
60452 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
60453 echo "$as_me: error: cannot find input file: $f" >&2;}
60454 { (exit 1); exit 1; }; }
60457 if test -f "$f"; then
60460 elif test -f "$srcdir/$f"; then
60465 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
60466 echo "$as_me: error: cannot find input file: $f" >&2;}
60467 { (exit 1); exit 1; }; }
60470 done` || { (exit 1); exit 1; }
60471 # Remove the trailing spaces.
60472 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
60476 # Transform confdefs.h into two sed scripts, `conftest.defines' and
60477 # `conftest.undefs', that substitutes the proper values into
60478 # config.h.in to produce config.h. The first handles `#define'
60479 # templates, and the second `#undef' templates.
60480 # And first: Protect against being on the right side of a sed subst in
60481 # config.status. Protect against being in an unquoted here document
60482 # in config.status.
60483 rm -f conftest.defines conftest.undefs
60484 # Using a here document instead of a string reduces the quoting nightmare.
60485 # Putting comments in sed scripts is not portable.
60487 # `end' is used to avoid that the second main sed command (meant for
60488 # 0-ary CPP macros) applies to n-ary macro definitions.
60489 # See the Autoconf documentation for `clear'.
60490 cat >confdef2sed.sed <<\_ACEOF
60495 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
60497 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
60500 # If some macros were called several times there might be several times
60501 # the same #defines, which is useless. Nevertheless, we may not want to
60502 # sort them, since we want the *last* AC-DEFINE to be honored.
60503 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
60504 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
60505 rm -f confdef2sed.sed
60507 # This sed command replaces #undef with comments. This is necessary, for
60508 # example, in the case of _POSIX_SOURCE, which is predefined and required
60509 # on some systems where configure will not decide to define it.
60510 cat >>conftest.undefs <<\_ACEOF
60511 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
60514 # Break up conftest.defines because some shells have a limit on the size
60515 # of here documents, and old seds have small limits too (100 cmds).
60516 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
60517 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
60518 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
60519 echo ' :' >>$CONFIG_STATUS
60520 rm -f conftest.tail
60521 while grep . conftest.defines >/dev/null
60523 # Write a limited-size here document to $tmp/defines.sed.
60524 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
60525 # Speed up: don't consider the non `#define' lines.
60526 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
60527 # Work around the forget-to-reset-the-flag bug.
60528 echo 't clr' >>$CONFIG_STATUS
60529 echo ': clr' >>$CONFIG_STATUS
60530 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
60532 sed -f $tmp/defines.sed $tmp/in >$tmp/out
60534 mv $tmp/out $tmp/in
60536 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
60537 rm -f conftest.defines
60538 mv conftest.tail conftest.defines
60540 rm -f conftest.defines
60541 echo ' fi # grep' >>$CONFIG_STATUS
60542 echo >>$CONFIG_STATUS
60544 # Break up conftest.undefs because some shells have a limit on the size
60545 # of here documents, and old seds have small limits too (100 cmds).
60546 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
60547 rm -f conftest.tail
60548 while grep . conftest.undefs >/dev/null
60550 # Write a limited-size here document to $tmp/undefs.sed.
60551 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
60552 # Speed up: don't consider the non `#undef'
60553 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
60554 # Work around the forget-to-reset-the-flag bug.
60555 echo 't clr' >>$CONFIG_STATUS
60556 echo ': clr' >>$CONFIG_STATUS
60557 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
60559 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
60561 mv $tmp/out $tmp/in
60563 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
60564 rm -f conftest.undefs
60565 mv conftest.tail conftest.undefs
60567 rm -f conftest.undefs
60569 cat >>$CONFIG_STATUS <<\_ACEOF
60570 # Let's still pretend it is `configure' which instantiates (i.e., don't
60571 # use $as_me), people would be surprised to read:
60572 # /* config.h. Generated by config.status. */
60573 if test x"$ac_file" = x-; then
60574 echo "/* Generated by configure. */" >$tmp/config.h
60576 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
60578 cat $tmp/in >>$tmp/config.h
60580 if test x"$ac_file" != x-; then
60581 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
60582 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
60583 echo "$as_me: $ac_file is unchanged" >&6;}
60585 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
60586 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60587 X"$ac_file" : 'X\(//\)[^/]' \| \
60588 X"$ac_file" : 'X\(//\)$' \| \
60589 X"$ac_file" : 'X\(/\)' \| \
60590 . : '\(.\)' 2>/dev/null ||
60592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
60593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
60594 /^X\(\/\/\)$/{ s//\1/; q; }
60595 /^X\(\/\).*/{ s//\1/; q; }
60597 { if $as_mkdir_p; then
60602 while test ! -d "$as_dir"; do
60603 as_dirs="$as_dir $as_dirs"
60604 as_dir=`(dirname "$as_dir") 2>/dev/null ||
60605 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60606 X"$as_dir" : 'X\(//\)[^/]' \| \
60607 X"$as_dir" : 'X\(//\)$' \| \
60608 X"$as_dir" : 'X\(/\)' \| \
60609 . : '\(.\)' 2>/dev/null ||
60611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
60612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
60613 /^X\(\/\/\)$/{ s//\1/; q; }
60614 /^X\(\/\).*/{ s//\1/; q; }
60617 test ! -n "$as_dirs" || mkdir $as_dirs
60618 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
60619 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
60620 { (exit 1); exit 1; }; }; }
60623 mv $tmp/config.h $ac_file
60627 rm -f $tmp/config.h
60629 # Compute $ac_file's index in $config_headers.
60631 for _am_header in $config_headers :; do
60632 case $_am_header in
60633 $ac_file | $ac_file:* )
60636 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60639 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
60640 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60641 X$ac_file : 'X\(//\)[^/]' \| \
60642 X$ac_file : 'X\(//\)$' \| \
60643 X$ac_file : 'X\(/\)' \| \
60644 . : '\(.\)' 2>/dev/null ||
60646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
60647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
60648 /^X\(\/\/\)$/{ s//\1/; q; }
60649 /^X\(\/\).*/{ s//\1/; q; }
60650 s/.*/./; q'`/stamp-h$_am_stamp_count
60653 cat >>$CONFIG_STATUS <<\_ACEOF
60656 # CONFIG_COMMANDS section.
60658 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
60659 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
60660 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
60661 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
60662 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60663 X"$ac_dest" : 'X\(//\)[^/]' \| \
60664 X"$ac_dest" : 'X\(//\)$' \| \
60665 X"$ac_dest" : 'X\(/\)' \| \
60666 . : '\(.\)' 2>/dev/null ||
60668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
60669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
60670 /^X\(\/\/\)$/{ s//\1/; q; }
60671 /^X\(\/\).*/{ s//\1/; q; }
60675 if test "$ac_dir" != .; then
60676 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
60677 # A "../" for each directory in $ac_dir_suffix.
60678 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
60680 ac_dir_suffix= ac_top_builddir=
60684 .) # No --srcdir option. We are building in place.
60686 if test -z "$ac_top_builddir"; then
60689 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
60691 [\\/]* | ?:[\\/]* ) # Absolute path.
60692 ac_srcdir=$srcdir$ac_dir_suffix;
60693 ac_top_srcdir=$srcdir ;;
60694 *) # Relative path.
60695 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
60696 ac_top_srcdir=$ac_top_builddir$srcdir ;;
60698 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
60700 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
60701 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
60702 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
60703 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
60706 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
60707 echo "$as_me: executing $ac_dest commands" >&6;}
60710 # Only add multilib support code if we just rebuilt the top-level
60712 case " $CONFIG_FILES " in
60714 ac_file=Makefile . ${multi_basedir}/config-ml.in
60717 default ) if test -n "$CONFIG_FILES"; then
60718 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
60719 # that multilib installs will end up installed in the correct place.
60720 # The testsuite needs it for multilib-aware ABI baseline files.
60721 # To work around this not being passed down from config-ml.in ->
60722 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
60723 # append it here. Only modify Makefiles that have just been created.
60725 # Also, get rid of this simulated-VPATH thing that automake does.
60726 cat > vpsed << \_EOF
60727 s!`test -f '$<' || echo '$(srcdir)/'`!!
60729 for i in $SUBDIRS; do
60730 case $CONFIG_FILES in
60732 #echo "Adding MULTISUBDIR to $i/Makefile"
60733 sed -f vpsed $i/Makefile > tmp
60734 grep '^MULTISUBDIR =' Makefile >> tmp
60741 (cd include && ${MAKE-make})
60747 cat >>$CONFIG_STATUS <<\_ACEOF
60749 { (exit 0); exit 0; }
60751 chmod +x $CONFIG_STATUS
60752 ac_clean_files=$ac_clean_files_save
60755 # configure is writing to config.log, and then calls config.status.
60756 # config.status does its own redirection, appending to config.log.
60757 # Unfortunately, on DOS this fails, as config.log is still kept open
60758 # by configure, so config.status won't be able to write to it; its
60759 # output is simply discarded. So we exec the FD to /dev/null,
60760 # effectively closing config.log, so it can be properly (re)opened and
60761 # appended to by config.status. When coming back to configure, we
60762 # need to make the FD available again.
60763 if test "$no_create" != yes; then
60765 ac_config_status_args=
60766 test "$silent" = yes &&
60767 ac_config_status_args="$ac_config_status_args --quiet"
60769 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
60771 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
60772 # would make configure fail if this is the last instruction.
60773 $ac_cs_success || { (exit 1); exit 1; }